id stringlengths 22 22 | code stringlengths 192 136k | num_ops int64 1 59 | face_count int64 1 4.31k | volume float64 0 17.4 |
|---|---|---|---|---|
train_55890572133dde96 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.34), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.804, 0.865).threePointArc((0.942, 0.808), (1, 0.67)).lineTo(1, -0.761).threePointArc((0.968, -0.835), (0.895, -0.865)).lineTo(-1, -0.865).lineTo(-1, 0.865).lineTo(0.804, 0.865).close().extr... | 13 | 55 | 0.959011 |
train_66e802e36e97f9bc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.31), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.621).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.621).lineTo(-0.807, 0.621).lineTo(-0.807, 0.188).lineTo(0.807, 0.188).lineTo(0.807, 0.621).lineTo(1, 0.621).close().extrude(0.857, both=True... | 8 | 49 | 0.457555 |
train_60bf9e76074f812e | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.527, 0, -0.485), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.121, 1).lineTo(0.348, 0.773).lineTo(0.348, -0.761).lineTo(0.109, -1).lineTo(-0.058, -1).lineTo(-0.348, -0.71).lineTo(-0.348, 0.755).lineTo(-0.103, 1).lineTo(0.121, 1).close().extrude(0... | 7 | 60 | 0.824996 |
train_13248242099b3d32 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.478), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.89, 0.617).lineTo(0.89, -0.617).lineTo(-0.89, -0.617).lineTo(-0.89, 0.617).lineTo(-0.456, 0.617).lineTo(-0.456, -0.346).lineTo(0.456, -0.346).lineTo(0.456, 0.617).lineTo(0.89, 0.617).close... | 5 | 16 | 1.68808 |
train_de17173810968d99 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.193, -0.906), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.958, 0.956).lineTo(0.958, -0.956).lineTo(-0.958, -0.956).lineTo(-0.958, 0.956).lineTo(-0.378, 0.956).lineTo(-0.378, -0.372).lineTo(0.378, -0.372).lineTo(0.378, 0.956).lineTo(0.958, 0.9... | 23 | 271 | 1.258273 |
train_95d5a19a4f631bcf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.115), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.964, 1).lineTo(0.964, 0.5).lineTo(0.321, 0.5).lineTo(0.321, 0).lineTo(0.964, 0).lineTo(0.964, -0.5).lineTo(0.321, -0.5).lineTo(0.321, -1).lineTo(-0.964, -1).lineTo(-0.964, 1).lineTo(0.964,... | 32 | 899 | 0.678219 |
train_df7fd15fffa28acf | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.287, -0.169, -0.184), normal=(0.07, -0.104, 0.992), xDir=(0, -0.995, -0.104))).moveTo(0.342, 0.38).lineTo(0.342, -0.38).lineTo(-0.342, -0.38).lineTo(-0.342, 0.38).lineTo(-0.19, 0.38).lineTo(-0.19, -0.076).lineTo(0.114, -0.076).lineTo(0.114, 0.3... | 7 | 131 | 0.899581 |
train_cc09516ed106bf9f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.172, 0.709), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.811).threePointArc((0.573, 0.573), (0.811, 0)).threePointArc((0.573, -0.573), (0, -0.811)).threePointArc((-0.573, -0.573), (-0.811, 0)).threePointArc((-0.573, 0.573), (0, 0.811)).c... | 12 | 125 | 2.802489 |
train_65ec8e972cdeda98 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(1).extrude(0.895, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.574).extrude(0.4, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0,... | 10 | 55 | 3.050917 |
train_8ec2aa30e55377b1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.31), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.575, 0.843).lineTo(0.575, -0.843).threePointArc((-0.575, 0), (0.575, 0.843)).close().workplane(offset=0.344).moveTo(0.647, 0.948).lineTo(0.647, -0.948).threePointArc((-0.647, 0), (0.647, 0.... | 14 | 200 | 0.765409 |
train_4599c87a086440b7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.272), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.886, 0.476).lineTo(1, 0.362).lineTo(1, -0.313).lineTo(0.837, -0.476).lineTo(-0.845, -0.476).lineTo(-1, -0.321).lineTo(-1, 0.278).lineTo(-0.802, 0.476).lineTo(0.886, 0.476).close().extrude(... | 8 | 30 | 0.719685 |
train_b4def0ac114b9629 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.039, 0, -0.016), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.688, 0.351).lineTo(0.931, 0.287).threePointArc((0.955, 0.268), (0.96, 0.237)).lineTo(0.94, 0.162).threePointArc((0.924, 0.141), (0.897, 0.138)).lineTo(0.731, 0.182).threePointArc((0.... | 17 | 110 | 1.144685 |
train_887c0c629818ce00 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.322), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.886, 0.293).lineTo(0.886, 0.196).lineTo(-0.51, 0.196).lineTo(-0.51, -0.196).lineTo(0.886, -0.196).lineTo(0.886, -0.293).lineTo(-0.886, -0.293).lineTo(-0.886, 0.293).lineTo(0.886, 0.293).cl... | 3 | 39 | 0.829409 |
train_b2203b611cb8a73f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.19, 0.133, -0.067), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.257, 0.16).lineTo(0.416, 0.075).threePointArc((0.45, 0.034), (0.444, -0.02)).lineTo(0.383, -0.132).threePointArc((0.342, -0.166), (0.289, -0.16)).lineTo(0.129, -0.075).threePointAr... | 9 | 94 | 0.701329 |
train_fb5f4d48a1d78721 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0.019, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.269, 0.854).threePointArc((0.662, 0.801), (0.848, 0.502)).lineTo(0.996, -0.26).threePointArc((0.976, -0.369), (0.86, -0.421)).lineTo(0.479, -0.474).threePointArc((0.145, -0.854), ... | 19 | 27 | 0.304718 |
train_a6bf94dac0383da9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.271), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.454, 0.35).lineTo(0.454, -0.35).lineTo(-0.454, -0.35).lineTo(-0.454, 0.35).lineTo(0.454, 0.35).close().extrude(0.725, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0... | 12 | 65 | 0.510818 |
train_adfc61ffa73d0124 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.33, -0.735), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.301, 0.342).threePointArc((0.328, 0.331), (0.339, 0.304)).lineTo(0.339, -0.171).threePointArc((0.288, -0.291), (0.167, -0.342)).lineTo(-0.173, -0.342).threePointArc((-0.29, -0.293), (-... | 13 | 60 | 0.936219 |
train_1fdd4cac170c2209 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.296, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.198, 0.977).lineTo(0.25, 0.682).lineTo(0.5, 0.455).lineTo(0.704, -0.928).lineTo(0.368, -0.977).lineTo(0.082, 0.96).lineTo(0.198, 0.977).close().revolve(angleDegrees=360, axisStart=(0, 0, 0... | 4 | 65 | 1.669288 |
train_89c500e79ae300a8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1.105, -0.946, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.51, 1.112).lineTo(0.96, 0.741).threePointArc((0.695, 0.614), (0.602, 0.409)).threePointArc((0.385, 0.465), (0.208, 0.553)).threePointArc((0.061, 0.601), (-0.038, 0.417)).lineTo(-0.275... | 19 | 639 | 2.793145 |
train_192ac03d0eab9018 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.016, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.745, 0).lineTo(0.726, -0.165).threePointArc((0.939, -0.215), (0.672, -0.324)).lineTo(0.583, -0.464).threePointArc((0.753, -0.601), (0.465, -0.583)).lineTo(0.324, -0.671).threePointArc((0.41... | 8 | 906 | 1.585835 |
train_7c0f686f86ff379c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.295), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.701, 2).extrude(0.388)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.081, -1, -0.198), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.01, -0.55).threePointArc((0.06, -0.571), (0.081, -0.... | 12 | 96 | 0.69054 |
train_a82b9488e0152871 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.144, -0.308), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.386, 0.33).lineTo(0.727, -0.33).lineTo(-0.727, -0.33).lineTo(-0.386, 0.33).lineTo(0.386, 0.33).close().extrude(0.659, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0.... | 9 | 170 | 0.382171 |
train_33d22241051ae9f0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.155, 0.284).threePointArc((0.42, 0.232), (0.668, 0.173)).threePointArc((0.801, 0.077), (1, -0.006)).lineTo(0.69, -0.163).threePointArc((0.412, -0.234), (0.181, -0.321)).lineTo(-0.475, -0.2... | 8 | 15 | 0.191651 |
train_f8d56425efe5a1ff | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.377, -0.001, -0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.569, -0.055).lineTo(0.619, -0.074).lineTo(0.61, -0.125).lineTo(0.558, -0.123).lineTo(0.544, -0.177).lineTo(0.588, -0.205).lineTo(0.569, -0.253).lineTo(0.519, -0.24).lineTo(0.493,... | 8 | 196 | 0.293705 |
train_e77f62604c2b672d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.139, 0.533, -0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.233, 0.404).threePointArc((0.233, 0.404), (0.466, 0)).threePointArc((0.233, -0.404), (-0.233, -0.404)).threePointArc((-0.466, 0), (-0.233, 0.404)).close().sweep(cq.Workplane(cq.Pl... | 16 | 158 | 0.137921 |
train_e1fd7e697e95eaf3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.021), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.16, 1).lineTo(0.98, 0.068).lineTo(0.347, -1).lineTo(-0.864, -0.728).lineTo(-0.98, 0.508).lineTo(0.16, 1).close().extrude(0.413)
result = result.union(cq.Workplane(cq.Plane(origin=(0.94, 0.... | 10 | 80 | 1.113128 |
train_d337bef34996dc8a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.533), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.347).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.347).lineTo(-0.404, 1.347).lineTo(-0.404, 0.596).lineTo(0.404, 0.596).lineTo(0.404, 1.347).lineTo(1, 1.347).close().extrude(0.301, both=Tru... | 5 | 71 | 1.428285 |
train_4a66d8d8c3726f42 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.176, 0.211, -0.493), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.653, 0.018).threePointArc((0.737, 0.066), (0.786, -0.018)).threePointArc((0.702, -0.066), (0.653, 0.018)).close().sweep(cq.Workplane(cq.Plane(origin=(0.176, 0.211, -0.493), normal... | 8 | 132 | 0.647893 |
train_54fde5819c1d6304 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, 0.327), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.16, 0.835).lineTo(1, -0.835).lineTo(-1, -0.681).lineTo(0.16, 0.835).close().extrude(0.503)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.056, 0.22, -0.328), normal=(0, 0, 1), xDir... | 19 | 451 | 0.783546 |
train_c2c519acc690c5d4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.152, 0.048, -0.428), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.585, 0.585).threePointArc((0.805, -0.219), (0.219, -0.805)).threePointArc((-0.585, -0.585), (-0.805, 0.219)).threePointArc((-0.219, 0.805), (0.585, 0.585)).close().sweep(cq.Workpla... | 4 | 48 | 2.246481 |
train_24d79d7a2ce66fdd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.37, 0, -0.337), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.547, 0.6).threePointArc((0.605, 0.576), (0.629, 0.518)).lineTo(0.629, -0.512).threePointArc((0.604, -0.575), (0.542, -0.6)).lineTo(-0.546, -0.6).threePointArc((-0.605, -0.575), (-0.629,... | 13 | 83 | 0.541715 |
train_fab183085be128f9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.125, 0.386, 0.546), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.325, -0.008).threePointArc((0.38, -0.171), (0.276, -0.297)).threePointArc((0.074, -0.342), (-0.103, -0.321)).threePointArc((-0.27, -0.354), (-0.38, -0.246)).threePointArc((-0.325,... | 9 | 129 | 0.547128 |
train_1eaf0fe8d6d01315 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.205, -0.093, 0.425), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.264, 0.695).threePointArc((0.309, 0.581), (0.33, 0.473)).lineTo(0.464, 0.298).threePointArc((0.573, 0.24), (0.529, 0.153)).threePointArc((0.366, 0.067), (0.311, -0.004)).lineTo(0.... | 12 | 189 | 0.487612 |
train_5493cb776281cea7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.389, 0, -0.148), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.611, 0.076).lineTo(0.496, 0).lineTo(0.611, -0.076).lineTo(0.114, -0.076).lineTo(0.114, 0.076).lineTo(0.611, 0.076).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, ... | 18 | 155 | 0.128445 |
train_f7d759f282ac2ca0 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.656, -0.256), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.389, 0.449).threePointArc((0, 0.06), (-0.389, 0.449)).threePointArc((0, 0.838), (0.389, 0.449)).close().extrude(0.228)
result = result.union(cq.Workplane(cq.Plane(origin=(0.377, -0.49... | 9 | 27 | 0.181103 |
train_dcb2902a3a2decf8 | import cadquery as cq
import math
result = cq.Workplane('XY').circle(0.494).extrude(0.673, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.509).extrude(1, both=True))
result = result.cut(cq.Workplane('XY').circle(0.284).extrude(2.014, both=True))
resu... | 4 | 17 | 1.654552 |
train_7338d0551cc54434 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.345, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.309, 1.103, 0.973)
result = result.edges().fillet(0.026)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.345, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.189).extrude(2.618, both=Tr... | 14 | 225 | 0.792802 |
train_a108b850514662d3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.209, -0.513, 0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.32, -0.149).lineTo(0.272, -0.284).lineTo(0.198, -0.39).lineTo(0.104, -0.459).lineTo(0, -0.483).lineTo(-0.104, -0.459).lineTo(-0.198, -0.39).lineTo(-0.272, -0.284).lineTo(-0.32, -0.... | 21 | 488 | 1.291246 |
train_5b627a4e421b3ae3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.289, -0.066, -0.153), normal=(-0.668, 0.53, 0.523), xDir=(-0.622, -0.783, 0))).moveTo(-0.376, 1.078).threePointArc((0.213, 0.952), (0.938, 0.293)).threePointArc((0.899, 0.176), (0.781, -0.177)).lineTo(0.489, -0.224).threePointArc((0.463, -0.237)... | 5 | 73 | 0.989506 |
train_4fee07ddcf74564b | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.999, -0.106, -0.061), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.08, 0.107).lineTo(0.099, 0.055).lineTo(0.045, 0.06).threePointArc((0.047, 0.038), (0.038, 0.029)).lineTo(0.009, 0.007).lineTo(-0.012, 0.052).lineTo(-0.041, 0.062).threePointArc((... | 5 | 91 | 0.02722 |
train_ef4eefba782bb4ce | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.404, 0.022, -0.103), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.418, -0.762).threePointArc((0.342, 0.972), (-0.056, -0.972)).lineTo(-0.418, -0.762).close().moveTo(-0.495, -0.477).threePointArc((0.495, 0.4), (-0.133, -0.686)).lineTo(-0.495, -0... | 13 | 26 | 0.224346 |
train_f054d91e2c2df18d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.096), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.074, 0.9).threePointArc((0.256, 0.831), (0.333, 0.667)).lineTo(0.333, 0.497).threePointArc((0.398, 0.358), (0.551, 0.3)).lineTo(0.834, 0.3).threePointArc((0.951, 0.256), (1, 0.15)).lineTo(... | 4 | 32 | 0.437051 |
train_a8165e1b5c654b81 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.999, -0.942, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 2.325).threePointArc((0.978, 1.92), (1.383, 0.941)).threePointArc((0.978, -0.037), (0, -0.443)).threePointArc((-0.978, -0.037), (-1.383, 0.941)).threePointArc((-0.978, 1.92), (0, 2.3... | 11 | 114 | 1.466637 |
train_f30e166e1a3f6430 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.341, 0.405, -0.715), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.191, 0.295).lineTo(0.175, 0.253).lineTo(0.246, 0.191).lineTo(0.189, 0.124).lineTo(0.116, 0.183).lineTo(0.077, 0.16).lineTo(0.092, 0.068).lineTo(0.005, 0.053).lineTo(-0.013, 0.145)... | 8 | 315 | 0.519094 |
train_de394903d830a5e7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.104, -0.011, -0.061), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.409, 0.276).threePointArc((0.593, 0.36), (0.51, 0.204)).lineTo(0.514, 0.037).threePointArc((0.422, -0.037), (0.459, -0.137)).lineTo(0.377, -0.249).lineTo(0.01, -0.36).lineTo(-0.0... | 20 | 248 | 1.087291 |
train_571ad7c4a638d79a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.015, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.985, 0.405).lineTo(0.826, 0).lineTo(0.985, -0.405).lineTo(0.484, -0.405).lineTo(0.484, 0.405).lineTo(0.985, 0.405).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))... | 8 | 124 | 1.258615 |
train_82df76e8180e6fc6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.789, 0.164).workplane(offset=2).rect(0.46, 0.211).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.504), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.111).extrude(0.492, both=Tru... | 11 | 81 | 0.194939 |
train_cf6e33ba093afec8 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.136, 0.026, -0.149), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.129, 0.647).lineTo(0, 0.259).lineTo(0.323, 0.453).lineTo(0.259, 0.129).lineTo(0.647, 0.129).lineTo(0.259, 0).lineTo(0.453, -0.323).lineTo(0.129, -0.259).lineTo(0.129, -0.647).line... | 12 | 256 | 0.945328 |
train_e52a94b5ae2b177d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.778, 0.379).workplane(offset=2).rect(0.639, 0.453).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.215).extrude(1.135, both=Tr... | 2 | 9 | 0.354912 |
train_785d5f0717a61cfa | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.191), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.137, 0.381).lineTo(0.137, 0).lineTo(-0.137, 0).lineTo(-0.137, 0.381).lineTo(-0.03, 0.381).lineTo(-0.03, 0.106).lineTo(0.03, 0.106).lineTo(0.03, 0.381).lineTo(0.137, 0.381).close().extrude... | 4 | 32 | 0.16886 |
train_e8645715e83a46b6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.008, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.098).lineTo(0.994, -0.113).threePointArc((-0.064, -0.083), (1, 0.098)).close().moveTo(0.808, 0.034).lineTo(0.793, -0.098).threePointArc((0.144, 0.113), (0.808, 0.034)).close().extr... | 6 | 28 | 0.655703 |
train_5f351274c35593c6 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.002, -0.003, -0.405), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.8, -0.189).lineTo(0.967, -0.267).lineTo(0.94, -0.348).lineTo(0.768, -0.297).lineTo(0.678, -0.466).lineTo(0.805, -0.598).lineTo(0.751, -0.664).lineTo(0.608, -0.554).lineTo(0.465, ... | 4 | 138 | 1.242804 |
train_d3bbbf37017c57fc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.195, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.248, 0.51).lineTo(-0.248, -0.142).lineTo(0.76, -0.142).lineTo(0.76, -0.51).lineTo(-0.76, -0.51).lineTo(-0.76, 0.51).lineTo(-0.248, 0.51).close().extrude(0.79, both=True)
result = resul... | 17 | 223 | 1.998295 |
train_67601787a5e9ba2d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.035, 0.03, -0.009), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.819, 0.428).lineTo(0.923, 0.261).lineTo(0.756, 0.156).lineTo(0.964, -0.179).lineTo(0.629, -0.387).lineTo(0.526, -0.22).lineTo(0.191, -0.428).lineTo(0.087, -0.261).lineTo(0.254, -0... | 10 | 195 | 0.63461 |
train_01f39b946d24a9de | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.009, -0.023), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.133, 0.572).lineTo(1.247, 0.495).lineTo(1.265, 0.059).lineTo(1.186, -0.061).lineTo(0.944, -0.103).lineTo(0.027, -0.095).lineTo(-1.038, -0.602).lineTo(-1.265, -0.493).lineTo(-0.2, 0.01... | 4 | 88 | 0.521013 |
train_786560cb6141980d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(1.116, 0.134, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.663, 1.978).lineTo(0.774, 1.403).threePointArc((0.661, 1.098), (0.843, 0.829)).lineTo(0.663, 0.255).threePointArc((-0.843, 1.116), (0.663, 1.978)).close().workplane(offset=0.049).moveT... | 5 | 15 | 0.65874 |
train_4129a70ddb269983 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.59, 0.083, -0.046), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.28, 0.719).lineTo(0.412, 0.642).lineTo(0.69, 0.006).lineTo(0.28, -0.553).lineTo(-0.412, -0.477).lineTo(-0.69, 0.159).lineTo(-0.28, 0.719).close().extrude(1.589)
result = result.un... | 3 | 13 | 2.013705 |
train_96b3629737b3d656 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.305), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.449, 0.61).lineTo(0.449, 0).lineTo(-0.449, 0).lineTo(-0.449, 0.61).lineTo(-0.24, 0.61).lineTo(-0.24, 0.21).lineTo(0.24, 0.21).lineTo(0.24, 0.61).lineTo(0.449, 0.61).close().extrude(1, bot... | 5 | 52 | 0.671766 |
train_09812df15c80a317 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.309).extrude(0.887)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.309, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.09, 0.219), (-0.309, 0.309), (-0.528, 0.219), (-... | 7 | 44 | 0.163837 |
train_98e945c7f1cd6463 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.443), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.574).lineTo(1, -0.574).lineTo(-1, -0.574).lineTo(-1, 0.574).lineTo(-0.433, 0.574).lineTo(-0.433, -0.32).lineTo(0.433, -0.32).lineTo(0.433, 0.574).lineTo(1, 0.574).close().extrude(0.886)... | 5 | 26 | 1.515286 |
train_19ceb730a1573afd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0.013, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.664, 0.261).threePointArc((0.963, 0), (0.664, -0.261)).lineTo(-0.664, -0.261).threePointArc((-0.963, 0), (-0.664, 0.261)).lineTo(0.664, 0.261).close().extrude(0.19, taper=-10.977)
resu... | 9 | 22 | 0.199014 |
train_32e4055954dd42fc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.277), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.81, 0.553).lineTo(0.921, 0.35).lineTo(1, 0.193).lineTo(1, 0).lineTo(0.756, 0).lineTo(0.756, 0.166).lineTo(0.656, 0.35).lineTo(0, 0.308).lineTo(0, 0.553).lineTo(0.81, 0.553).close().revolv... | 3 | 15 | 0.91025 |
train_fba8725125d13ff1 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.264), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.909, 0.578).lineTo(0.909, 0).lineTo(-0.909, 0).lineTo(-0.909, 0.578).lineTo(-0.822, 0.578).lineTo(-0.822, 0.087).lineTo(0.822, 0.087).lineTo(0.822, 0.578).lineTo(0.909, 0.578).close().ext... | 9 | 62 | 0.122005 |
train_4a3ec7fc1d585190 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.278), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.619, 1).lineTo(0.619, 0.882).lineTo(0.739, 0.882).lineTo(0.739, -0.785).lineTo(0.524, -0.785).lineTo(0.524, -1).lineTo(-0.614, -1).lineTo(-0.614, -0.876).lineTo(-0.739, -0.876).lineTo(-0.7... | 15 | 91 | 0.523288 |
train_ab59b0b0c8fcc2d7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.009, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.924, 0.269).lineTo(0.783, 0).lineTo(0.924, -0.269).lineTo(0.322, -0.269).lineTo(0.322, 0.269).lineTo(0.924, 0.269).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))... | 12 | 70 | 0.63303 |
train_d03e7498f6bd5677 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.305), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.744, 0.747).threePointArc((0.918, 0.674), (1, 0.495)).lineTo(1, -0.432).lineTo(0.681, -0.747).lineTo(-0.733, -0.747).lineTo(-1, -0.484).lineTo(-1, 0.551).lineTo(-0.798, 0.551).lineTo(-0.79... | 12 | 150 | 1.494671 |
train_9c6f64ab922b5a50 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.056, 0, 0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.944, 0.708).lineTo(0.944, -0.708).lineTo(-0.944, -0.708).lineTo(-0.944, -0.236).lineTo(0.472, -0.236).lineTo(0.472, 0.236).lineTo(-0.944, 0.236).lineTo(-0.944, 0.708).lineTo(0.944, 0.7... | 3 | 37 | 0.147839 |
train_d11b3a068f5f201c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.2, 0, -0.849), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.137, 1.697).lineTo(0.137, 0.137).lineTo(0.4, 0.137).lineTo(0.4, 0).lineTo(0, 0).lineTo(0, 1.697).lineTo(0.137, 1.697).close().extrude(1, both=True)
result = result.cut(cq.Workplane(cq.... | 5 | 26 | 0.419409 |
train_8730268cc0c4312c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.223, 0.508).workplane(offset=2).rect(1.171, 0.541).loft()
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.096).extrude(1.52, both=Tru... | 2 | 7 | 0.678461 |
train_59e48ff1375f9bf5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.041, -0.353), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.282, 0.24).threePointArc((0.749, 0.19), (0.947, 0.071)).lineTo(0.947, -0.103).threePointArc((0.787, -0.199), (0.408, -0.24)).lineTo(-0.634, -0.24).threePointArc((-0.854, -0.216), (-0.... | 4 | 45 | 0.675066 |
train_143a4a46805e45ad | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.999, 0.047, 0.013), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.029, 0.215).threePointArc((0.061, 0.209), (0.088, 0.193)).lineTo(0.147, 0.17).threePointArc((0.29, 0.027), (0.147, -0.116)).lineTo(-0.147, -0.116).threePointArc((-0.29, 0.027), (-0... | 8 | 98 | 0.233127 |
train_8832348b37fbfcb4 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.332, -1.055, 0.003), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.551, 1.579).lineTo(0.551, 0.531).threePointArc((0.075, 0.055), (-0.401, 0.531)).lineTo(-0.473, 0.74).lineTo(-0.362, 0.95).threePointArc((-0.515, 1.002), (-0.551, 1.16)).lineTo(-0.... | 23 | 346 | 0.842925 |
train_50ad503f8ef66ac3 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.39), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.835, -0.156).lineTo(0.804, -0.309).lineTo(0.753, -0.454).lineTo(0.684, -0.588).lineTo(0.597, -0.707).lineTo(0.497, -0.809).lineTo(0.384, -0.891).lineTo(0.261, -0.951).lineTo(0.132, -0.988).... | 7 | 66 | 1.765379 |
train_9a4628642cd4d72c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.225), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.607, 0.45).lineTo(0.607, 0).lineTo(-0.607, 0).lineTo(-0.607, 0.45).lineTo(-0.428, 0.45).lineTo(-0.428, 0.178).lineTo(0.428, 0.178).lineTo(0.428, 0.45).lineTo(0.607, 0.45).close().extrude(... | 9 | 64 | 0.403912 |
train_6c71e06a0ddff79a | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.597), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.274, 1.193).lineTo(0.274, 0.379).lineTo(1, 0.379).lineTo(1, 0).lineTo(0, 0).lineTo(0, 1.193).lineTo(0.274, 1.193).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))... | 1 | 5 | 1.382652 |
train_3075d23ac7550dd9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.16, -0.202, -0.266), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.102, 0.468).threePointArc((0.195, 0.428), (0.234, 0.336)).lineTo(0.234, -0.156).threePointArc((0.257, -0.211), (0.312, -0.234)).lineTo(0.402, -0.234).threePointArc((0.448, -0.253),... | 20 | 154 | 1.187794 |
train_8da6412771e536ac | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.033, 0.138, -0.293), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.954, 0.592).lineTo(0.954, 0.363).threePointArc((-0.639, -0.592), (-0.954, 0.592)).close().extrude(0.459)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.095, 0.377, -0.083)... | 5 | 52 | 1.042897 |
train_fd13cf233fa8a5e7 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.242, -0.148, -0.224), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.758, 0.642).lineTo(0.758, 0).lineTo(-0.758, 0).lineTo(-0.758, 0.642).lineTo(-0.561, 0.642).lineTo(-0.561, 0.198).lineTo(0.561, 0.198).lineTo(0.561, 0.642).lineTo(0.758, 0.642).c... | 11 | 114 | 0.235303 |
train_c14723a87e0eb80f | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.493)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.809).extrude(1.479, both=True))
result = result.union(cq.Workpl... | 10 | 74 | 0.649508 |
train_6a9bd035cf561bd2 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, -0.073, -0.528), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.149, 0.209).lineTo(0.149, -0.063).threePointArc((-0.149, 0.073), (0.149, 0.209)).close().extrude(1.528)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.03, 0.905, -0.981), normal=... | 17 | 248 | 0.150728 |
train_7bb897a5b22cdd1d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.663, -0.352, 0.506), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.134, 0.996).lineTo(0.532, 0.146).lineTo(-0.532, 0.039).lineTo(-0.134, 0.996).close().extrude(1.602)
result = result.union(cq.Workplane(cq.Plane(origin=(-0.48, -0.415, 0.136), nor... | 13 | 122 | 0.824317 |
train_327499edf3722a41 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.117), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.951, 0.234).lineTo(0.921, 0.189).lineTo(1, 0.082).lineTo(1, 0).lineTo(0.825, 0).lineTo(0.825, 0.07).lineTo(0.725, 0.189).lineTo(0, 0.058).lineTo(0, 0.234).lineTo(0.951, 0.234).close().rev... | 3 | 26 | 0.360013 |
train_289c2111b49f6347 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.419).lineTo(1, -0.419).lineTo(-1, -0.419).lineTo(-1, 0.419).lineTo(-0.47, 0.419).lineTo(-0.47, -0.179).lineTo(0.47, -0.179).lineTo(0.47, 0.419).lineTo(1, 0.419).close().extrude(0.628)
r... | 5 | 39 | 0.691924 |
train_6cb3dfb240596263 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.022, 0.095, 0.278), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.071, 0.056).lineTo(0.071, -0.056).lineTo(-0.071, -0.056).lineTo(-0.071, 0.056).lineTo(-0.024, 0.056).lineTo(-0.024, -0.009).lineTo(0.024, -0.009).lineTo(0.024, 0.056).lineTo(0.071,... | 15 | 158 | 0.268121 |
train_1e9e03d465509659 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.326, 0, -0.041), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.634, 0.27).lineTo(0.634, 0).lineTo(-0.634, 0).lineTo(-0.634, 0.27).lineTo(-0.557, 0.27).lineTo(-0.557, 0.077).lineTo(0.557, 0.077).lineTo(0.557, 0.27).lineTo(0.634, 0.27).close().extr... | 4 | 153 | 0.403116 |
train_f26f7af0eeff25f5 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-1, 0, 0.225), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.345, 0.109).lineTo(1.345, 0).lineTo(0, 0).lineTo(0, 0.109).lineTo(1.345, 0.109).close().extrude(0.766, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0.345, 0, 0.225), nor... | 14 | 68 | 0.14923 |
train_f5826db8be74000d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.442, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.114, 0.558, 1.306)
result = result.edges().fillet(0.182)
result = result.cut(cq.Workplane(cq.Plane(origin=(0.442, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.076).extrude(2.228, both=Tr... | 10 | 108 | 0.77445 |
train_9cb8629a44debe88 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.92, 0.4).threePointArc((0.976, 0.376), (1, 0.32)).lineTo(1, 0.144).threePointArc((0.957, 0.043), (0.856, 0)).lineTo(0.668, 0).threePointArc((0.62, -0.02), (0.6, -0.068)).lineTo(0.6, -0.325)... | 8 | 26 | 0.080551 |
train_ae925ea277287151 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.076, 0, -0.547), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.237, 0.4).threePointArc((0.116, 0.451), (0.4, 0.237)).threePointArc((0.451, -0.116), (0.237, -0.4)).threePointArc((-0.116, -0.451), (-0.4, -0.237)).threePointArc((-0.451, 0.116), (-0.... | 18 | 456 | 0.923243 |
train_265863a7894201b9 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.134, 0.332, 0.365), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.732, 0.938).lineTo(0.732, 0.592).lineTo(-0.387, 0.592).lineTo(-0.387, -0.592).lineTo(0.732, -0.592).lineTo(0.732, -0.938).lineTo(-0.732, -0.938).lineTo(-0.732, 0.938).lineTo(0.732,... | 16 | 226 | 0.381498 |
train_c0e16fc2a6c39edd | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.245, -0.034, -0.213), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.355, 0.623).lineTo(0.718, 0.018).lineTo(0.359, -0.623).lineTo(-0.37, -0.616).lineTo(-0.718, 0.017).lineTo(-0.364, 0.618).lineTo(0.355, 0.623).close().extrude(0.117, taper=7.636)
r... | 9 | 108 | 0.228205 |
train_5f109af72b043f22 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.201, 0.062, -0.962), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.674, 0.319).threePointArc((0.762, 0.282), (0.799, 0.193)).lineTo(0.799, -0.131).threePointArc((0.743, -0.263), (0.611, -0.319)).lineTo(-0.016, -0.319).threePointArc((-0.041, -0.308... | 12 | 338 | 1.561094 |
train_5f7a62c5bb1bad19 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.213), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.999).extrude(0.426)
result = result.cut(cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.213), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.002).extrude(1.279, both=True))
result = result.u... | 10 | 25 | 1.337644 |
train_db537c8e871e71cc | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.288, 0, 0.079), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.988, -0.091).lineTo(0.951, -0.179).lineTo(0.891, -0.263).lineTo(0.809, -0.341).lineTo(0.707, -0.41).lineTo(0.588, -0.469).lineTo(0.454, -0.517).lineTo(0.309, -0.552).lineTo(0.156, -0.5... | 10 | 967 | 0.564683 |
train_62016bf4545c045c | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(-0.5, -0.439, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.248, 0.866).threePointArc((0.248, 0.866), (0.496, 0.441)).threePointArc((0.248, 0.012), (-0.248, 0.012)).threePointArc((-0.496, 0.441), (-0.248, 0.866)).close().revolve(angleDegrees=27... | 13 | 195 | 1.373718 |
train_26026cf50b94da5d | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.525, 2).extrude(0.22)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.179, -0.082).lineTo(0.179, -0.909).lineTo(-0.179, -0.909).cl... | 15 | 160 | 0.071107 |
train_87b829b778622f39 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -0.163), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.761, 1).threePointArc((0.829, 0.963), (0.854, 0.894)).lineTo(0.854, -1).lineTo(-0.854, -1).lineTo(-0.854, 0.912).lineTo(-0.776, 1).lineTo(0.761, 1).close().extrude(0.326)
result = result.c... | 19 | 206 | 0.751285 |
train_ffceea56d17a6062 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0.346, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.654).extrude(0.451, both=True)
result = result.union(cq.Workplane(cq.Plane(origin=(0.346, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.33).extrude(0.544, both=True))
result = result.c... | 6 | 25 | 1.015441 |
train_f272b75f061d8352 | import cadquery as cq
import math
result = cq.Workplane('XY').box(2, 1.149, 1.731)
result = result.edges().fillet(0.285)
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.414).extrude(3.972, both=True))
result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor... | 5 | 36 | 1.846366 |
train_c01cdbcf06dd5e13 | import cadquery as cq
import math
result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.144, 1.241).lineTo(0.144, 1.022).lineTo(0.322, 1.022).lineTo(0.322, 0.759).lineTo(0.157, 0.759).lineTo(0.157, 0.617).lineTo(0.303, 0.617).lineTo(0.303, 0).lineTo(0, 0).lineTo(0, 1.241).lineTo... | 4 | 44 | 0.287183 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.