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_cbb341993967a1a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.152, -0.718, 2.855), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.102, 0.027).threePointArc((0.027, 0.102), (0.102, -0.027)).threePointArc((-0.027, -0.102), (-0.102, 0.027)).close().extrude(3.851, both=True) result = result.union(cq.Workplane(c...
8
23
0.520469
train_9bb1840a29f12644
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.045, 0.598, 0.271), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.096, 0.357).threePointArc((0.362, 0.209), (0.357, -0.096)).threePointArc((0.209, -0.362), (-0.096, -0.357)).threePointArc((-0.362, -0.209), (-0.357, 0.096)).threePointArc((-0.209, 0...
20
95
0.516375
train_e2844729eef96f97
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.306, -0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.604, 0.606).threePointArc((0.649, 0.592), (0.668, 0.558)).lineTo(0.668, 0.429).threePointArc((0.647, 0.391), (0.596, 0.375)).lineTo(-0.183, 0.375).threePointArc((-0.307, 0.336), (-0.36,...
15
65
1.529924
train_f2029f512074c926
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0.004, 0.003), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.002, 0.594).lineTo(0.59, 0.554).lineTo(0.621, 0.5).lineTo(0.683, 0.509).lineTo(0.969, 0.197).lineTo(0.588, -0.329).lineTo(0.65, -0.468).threePointArc((0.45, -0.594), (0.355, -0.40...
6
49
1.659088
train_a81d5665da4f8ded
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.953), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.551, 0.038).lineTo(0.551, 0.028).lineTo(0.551, 0.009).lineTo(0.579, 0).lineTo(0.541, -0.019).lineTo(0.551, -0.047).lineTo(0.523, -0.028).lineTo(0.494, -0.047).lineTo(0.494, -0.009).lineTo...
2
94
0.487921
train_b2bc589a8789899a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.352, 0.841).lineTo(-0.352, -0.35).lineTo(0.888, -0.35).lineTo(0.888, -0.841).lineTo(-0.888, -0.841).lineTo(-0.888, 0.841).lineTo(-0.352, 0.841).close().extrude(0.63, taper=-10.006) result...
21
13
1.201295
train_4672109593d3bd01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.055, 0.007, -0.719), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.191, 0.186).lineTo(0.187, 0.08).threePointArc((0.117, -0.186), (-0.006, 0.069)).lineTo(-0.174, 0.049).lineTo(-0.191, 0.074).lineTo(-0.176, 0.103).lineTo(0.116, 0.135).lineTo(0.191,...
13
63
0.076582
train_cc0ba690e240e141
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.306, -0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.231).lineTo(0.332, 0.173).lineTo(1, 0.173).lineTo(1, 0.144).lineTo(0.332, 0.115).lineTo(1, 0.087).lineTo(0.332, 0.029).lineTo(1, 0.029).lineTo(1, 0).lineTo(0.332, -0.029).lineTo(1, ...
17
363
0.597025
train_bb196acc66a77bab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.237), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.708).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.708).lineTo(-0.756, 0.708).lineTo(-0.756, 0.161).lineTo(0.756, 0.161).lineTo(0.756, 0.708).lineTo(1, 0.708).close().extrude(0.183, both=Tru...
8
83
0.236206
train_0c64d7ec29762423
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.107, -0.362, -0.087), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.426, 0.474).lineTo(0.426, -0.325).threePointArc((0, -0.751), (-0.426, -0.325)).lineTo(-0.426, 0.474).threePointArc((0, 0.9), (0.426, 0.474)).close().extrude(0.987) result = result...
9
105
1.06487
train_3c3f01dd1209c023
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.147, -0.233, -0.173), normal=(-0.265, -0.073, 0.961), xDir=(0, -0.997, -0.076))).moveTo(0.712, 0.305).lineTo(0.712, -0.305).lineTo(-0.712, -0.305).lineTo(-0.712, -0.102).lineTo(0.509, -0.102).lineTo(0.509, 0.102).lineTo(-0.712, 0.102).lineTo(-0....
2
35
0.95374
train_4a5ee227c04f1134
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.006, -0.154, -0.845), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.092, 0.276).threePointArc((0.222, 0.222), (0.276, 0.092)).lineTo(0.276, -0.16).threePointArc((0.242, -0.242), (0.16, -0.276)).lineTo(-0.11, -0.276).threePointArc((-0.227, -0.227)...
4
50
1.300264
train_5e0100d1aab0a18d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.976).lineTo(1, -0.975).lineTo(0.98, -0.987).lineTo(-0.986, -0.987).lineTo(-1, -0.981).lineTo(-1, 0.98).lineTo(-0.985, 0.98).lineTo(-0.985, 0.987).lineTo(0.981, 0.987).lineTo(1, 0.976).c...
13
90
0.621225
train_0aa2e4c12a259739
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.353, 0.517, -0.501), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.248, 0.913).threePointArc((0.248, 0.913), (0.495, 0.489)).threePointArc((0.248, 0.06), (-0.248, 0.06)).threePointArc((-0.495, 0.489), (-0.248, 0.913)).close().revolve(angleDegree...
8
35
1.358194
train_64bd43c654832241
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.782, -0.152, 0.352), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.107, 0.184).threePointArc((0.107, 0.184), (0.213, 0)).threePointArc((0.107, -0.184), (-0.107, -0.184)).threePointArc((-0.213, 0), (-0.107, 0.184)).close().transformed(offset=(0....
5
14
0.181467
train_932be4e5891777df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.464, -0.659, -0.722), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.216, 1.198).lineTo(0.536, 0.414).lineTo(-0.271, 0.12).lineTo(-0.536, 0.898).lineTo(0.216, 1.198).close().extrude(1.443) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.472, ...
20
161
1.837617
train_551ac4e199cf40a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.213, -0.411), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.715).lineTo(1, 0.429).lineTo(-0.597, 0.429).lineTo(-0.597, 0.143).lineTo(1, 0.143).lineTo(1, -0.715).lineTo(-1, -0.715).lineTo(-1, -0.429).lineTo(0.597, -0.429).lineTo(0.597, -0.14...
10
150
0.597709
train_48f41c47d6399fc3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.197), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.699, 0.393).lineTo(0.699, 0).lineTo(-0.699, 0).lineTo(-0.699, 0.393).lineTo(-0.363, 0.393).lineTo(-0.363, 0.336).lineTo(0.363, 0.336).lineTo(0.363, 0.393).lineTo(0.699, 0.393).close().ext...
2
11
0.992314
train_4705559b619883de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.006, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.386, 0.592).threePointArc((-0.017, 0.755), (0.278, 0.564)).lineTo(-0.024, -0.281).lineTo(0.578, -0.412).threePointArc((0.74, -0.594), (0.49, -0.755)).lineTo(-0.334, -0.595).threePointArc(...
10
12
3.451167
train_5e0bc78130950de8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.277, 0, -0.542), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.722, 1.083).lineTo(0.722, 0).lineTo(-0.722, 0).lineTo(-0.722, 1.083).lineTo(-0.499, 1.083).lineTo(-0.499, 0.223).lineTo(0.499, 0.223).lineTo(0.499, 1.083).lineTo(0.722, 1.083).close()...
4
28
0.475867
train_40019c06e5181c07
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.176) result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.099, 0.433), (-0.377, 0.782), (-0.778, 0.974), (...
5
67
0.462647
train_1eaf2e755c6552db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.162, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.244, 0.975).lineTo(0.244, 0.488).lineTo(0.731, 0.488).lineTo(0.731, -0.975).lineTo(-0.244, -0.975).lineTo(-0.244, 0).lineTo(-0.731, 0).lineTo(-0.731, 0.488).lineTo(-0.244, 0.488).lineTo(-0...
6
60
0.516582
train_7f9432f772728743
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.755, 0.036, -0.328), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.135, 0.376).threePointArc((0.2, 0.348), (0.228, 0.283)).lineTo(0.228, -0.151).threePointArc((0.2, -0.216), (0.135, -0.244)).lineTo(-0.088, -0.244).threePointArc((-0.154, -0.216), ...
9
264
1.53645
train_4fe3176d7db308f5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.447, 0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.139, 1.174).lineTo(0.729, 0.781).lineTo(0.56, 0.407).lineTo(0.213, 0.563).lineTo(-0.039, 0.006).lineTo(0.309, -0.151).lineTo(0.139, -0.525).lineTo(-0.729, -0.134).lineTo(-0.56, 0.242)...
7
97
1.222839
train_d595b2cef55593ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.005, -0.32, -0.367), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.872, 0.462).lineTo(0.359, -0.564).lineTo(-0.872, 0.051).lineTo(-0.872, 0.154).threePointArc((-0.051, 0.564), (0.872, 0.462)).close().moveTo(0.564, 0.359).lineTo(0.257, -0.359).lin...
18
219
0.508248
train_f854ba99ea86ba4c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.017, -0.293), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.854, 0.379).lineTo(1, 0.242).lineTo(1, -0.379).lineTo(-0.861, -0.379).threePointArc((-0.953, -0.34), (-1, -0.248)).lineTo(-1, 0.31).threePointArc((-0.972, 0.358), (-0.922, 0.379)).line...
17
115
0.285249
train_7c822706c1af8fdc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.227, -0.019, 0.261), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.17, 0.454).lineTo(0.427, 0.172).lineTo(0.368, -0.204).lineTo(0.036, -0.392).lineTo(-0.317, -0.251).lineTo(-0.427, 0.114).lineTo(-0.21, 0.428).lineTo(0.17, 0.454).close().extrude(0...
7
61
0.675379
train_84ef7e02d4e6258d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.015, 0, -0.963), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.139, 0.036).threePointArc((0.164, -0.01), (0.119, -0.036)).threePointArc((0.094, 0.01), (0.139, 0.036)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.015, 0, -0.963), normal=(0, 0, ...
3
66
0.02064
train_d9909834d866fd61
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.209, -0.171), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.791).extrude(0.342) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.209, -0.171), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.631).extrude(1.026, both=True)) result = result.u...
12
61
0.589771
train_6efcee34e304a447
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.789), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.473, 0).lineTo(0.473, 1.577).lineTo(1, 1.577).lineTo(1, 0.521).lineTo(0.429, 0.521).lineTo(0.429, 0).lineTo(0.473, 0).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,...
5
52
3.737076
train_36ad41664b985654
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.527), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.053).lineTo(1, 0.403).lineTo(0.173, 0.403).lineTo(0.173, 0).lineTo(0, 0).lineTo(0, 1.053).lineTo(1, 1.053).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) res...
2
6
2.07515
train_ba3ad50258a8d461
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.429, 0.528), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.272, 0.294).lineTo(0.294, 0.272).lineTo(0.272, -0.294).lineTo(-0.294, -0.272).lineTo(-0.272, 0.294).close().sweep(cq.Workplane(cq.Plane(origin=(0, -0.429, -0.242), normal=(1, 0, 0), x...
12
226
0.505925
train_d35743549137242e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.49, 0.513, -0.001), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.188, 1.445).threePointArc((0.068, 1.415), (0.272, 1.262)).threePointArc((0.498, 1.181), (0.783, 1.081)).threePointArc((0.921, 0.828), (0.841, 0.541)).threePointArc((0.763, 0.3), (...
10
40
2.472567
train_092ed6318c62ca3f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.332, 0.2).lineTo(0.332, 0.154).threePointArc((0.365, 0.143), (0.444, 0.138)).lineTo(0.783, 0.138).threePointArc((0.929, 0.129), (1, 0.11)).lineTo(1, -0.174).threePointArc((0.869, -0.214), (...
5
76
0.207696
train_66d0e60997e00135
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.139), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.907, 1).lineTo(0.907, -1).lineTo(-0.907, -1).lineTo(-0.907, 1).lineTo(-0.329, 1).lineTo(-0.329, -0.344).lineTo(0.329, -0.344).lineTo(0.329, 1).lineTo(0.907, 1).close().extrude(0.277) resul...
7
38
0.820121
train_8514e17ea16338c6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.127, 0.572, -0.014), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.167, 1.769).threePointArc((0.278, 1.598), (0.337, 1.444)).threePointArc((0.46, 1.34), (0.612, 1.182)).threePointArc((0.607, 0.977), (0.424, 0.857)).threePointArc((0.245, 0.812), (...
4
24
1.165247
train_9bbea539c6c7a714
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.505, -0.249), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.169, 0.378).threePointArc((0.174, 0.307), (0.225, 0.257)).lineTo(0.215, 0.136).lineTo(0.261, 0.016).lineTo(0.148, -0.105).threePointArc((0.175, -0.163), (0.169, -0.226)).threePointArc...
13
292
0.702226
train_d20e76fb35defbc0
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.389).lineTo(0.988, -0.356).threePointArc((0.947, -0.401), (0.909, -0.354)).threePointArc((0.87, -0.308), (0.83, -0.353)).threePointArc((0.789, -0.398), (0.751, -0.352)).threePointArc((0.712, -0.305), (0.672, -0.35)).threePointArc((0.631, -0.396),...
2
13
2.085478
train_0e4d832147680faf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.228), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.856, 0.312).threePointArc((0.952, 0.272), (1, 0.177)).lineTo(1, -0.236).threePointArc((0.97, -0.29), (0.917, -0.312)).lineTo(-0.888, -0.312).threePointArc((-0.962, -0.282), (-1, -0.208)).l...
12
53
0.284448
train_700490cceab4d120
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.035, 0.108).threePointArc((0.059, 0.096), (0.08, 0.081)).lineTo(0.109, 0.028).threePointArc((0.111, -0.001), (0.108, -0.029)).lineTo(0.075, -0.086).threePointArc((0.058, -0.098), (0.038, -0.10...
4
54
0.296537
train_28df96f9df24be26
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.197, 0, -0.624), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.275) result = result.cut(cq.Workplane(cq.Plane(origin=(0.803, 0, -0.624), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.692, 0.951), (-1.809, 0.588), (-1.809, ...
8
83
0.686535
train_e55b8215435e6c08
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.093, 0, -0.345), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.238, 0.951).threePointArc((0.475, 0.951), (0.475, 0.713)).lineTo(0.475, -0.713).threePointArc((0.475, -0.951), (0.238, -0.951)).lineTo(-0.238, -0.951).threePointArc((-0.475, -0.951), (...
14
168
0.796035
train_f9176290fa6a8061
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.602, 0.664).threePointArc((0.645, 0.645), (0.664, 0.602)).lineTo(0.664, 0.395).threePointArc((0.645, 0.35), (0.6, 0.332)).lineTo(0.406, 0.332).threePointArc((0.354, 0.31), (0.332, 0.257)).line...
4
200
1.051894
train_72d5b954e8a8566c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.003, -0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.378, 0.796).threePointArc((-0.309, 0.802), (-0.164, 0.739)).threePointArc((0.767, -0.328), (0.808, -0.434)).threePointArc((0.802, -0.525), (0.679, -0.717)).threePointArc((0.545, -0.80...
1
13
2.573287
train_561d81af7393f02d
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.852, 0.712).lineTo(0.852, -0.712).lineTo(-0.852, -0.712).lineTo(-0.852, 0).lineTo(-0.284, 0).lineTo(-0.284, 0.712).lineTo(0.852, 0.712).close().extrude(0.715, taper=-11.628, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.582),...
5
101
3.206658
train_73133856c73d64df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.281, 0, -0.106), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.346, 0.172).threePointArc((0.504, 0.273), (0.704, 0.107)).lineTo(0.701, -0.002).lineTo(0.718, -0.006).lineTo(0.649, -0.273).lineTo(0.553, -0.247).threePointArc((0.428, -0.251), (0.32...
4
57
0.680863
train_c9945db24a6e02b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.189, -0.213, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.396, 0.085).threePointArc((-0.424, 0.023), (-0.748, 0.069)).threePointArc((0.748, 0.757), (0.513, -0.267)).lineTo(0.512, -0.688).threePointArc((0.399, -0.757), (0.176, -0.697))....
9
56
0.396775
train_38bdded9e8c21275
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.241, -0.142, 0.395), normal=(0.71, 0.317, 0.628), xDir=(-0.408, 0.913, 0))).moveTo(-0.052, 0.265).lineTo(0.116, -0.054).threePointArc((0.168, -0.319), (0.052, -0.265)).lineTo(-0.116, 0.054).threePointArc((-0.168, 0.319), (-0.052, 0.265)).close(...
15
533
0.584841
train_36543a73056f583f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.923, -0.845, -0.993), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.845).threePointArc((1.305, 1.305), (1.845, 0)).lineTo(1.227, 0).threePointArc((0.868, 0.868), (0, 1.227)).lineTo(0, 1.845).close().extrude(1.986) result = result.union(cq.Work...
3
13
3.231732
train_0bc9cdaec25a5bee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.2), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.789, 0.399).lineTo(0.92, 0.379).lineTo(1, 0.14).lineTo(1, 0).lineTo(0.862, 0).lineTo(0.862, 0.12).lineTo(0.762, 0.379).lineTo(0, 0.262).lineTo(0, 0.399).lineTo(0.789, 0.399).close().revolve...
11
30
0.309765
train_b9fd718962e3fcb9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.863, 0, -0.08), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.146, 0.099).threePointArc((0, -0.046), (-0.146, 0.099)).threePointArc((0, 0.245), (0.146, 0.099)).close().moveTo(-0.009, 0.18).threePointArc((0.007, 0.174), (0.014, 0.157)).threePointA...
3
54
1.427362
train_d744ac0e4f2196a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.428, -0.375, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.856).threePointArc((0.604, 0.604), (0.856, 0)).lineTo(0.486, 0).threePointArc((0.343, 0.343), (0, 0.486)).lineTo(0, 0.856).close().extrude(2) result = result.union(cq.Workplane(cq...
4
17
0.810216
train_f9fd7f77a89e948a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.051, 0, -0.353), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.229, 1).lineTo(0.64, 0.802).lineTo(1.026, 0).lineTo(0.64, -0.802).lineTo(-0.229, -1).lineTo(-0.924, -0.445).lineTo(-0.924, 0.445).lineTo(-0.229, 1).close().extrude(0.706) result = re...
7
40
1.513325
train_590665e3905c8a45
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.775), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.352, 1).threePointArc((0.667, 0.867), (0.8, 0.552)).lineTo(0.8, -0.812).threePointArc((0.744, -0.944), (0.612, -1)).lineTo(0.121, -1).threePointArc((0.036, -0.964), (0, -0.879)).lineTo(0, ...
7
13
4.788496
train_b77d89f2537126ba
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.248).lineTo(0.885, 0).lineTo(1, -0.248).lineTo(0.212, -0.248).lineTo(0.212, 0.248).lineTo(1, 0.248).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.55, 0, 0), normal=(0...
8
64
0.937102
train_61b3f352e2db936e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.387), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.855, 0.356).lineTo(0.855, 0.211).lineTo(1, 0.211).lineTo(1, -0.173).lineTo(0.816, -0.173).lineTo(0.816, -0.356).lineTo(-0.779, -0.356).lineTo(-0.779, -0.135).lineTo(-1, -0.135).lineTo(-1, ...
4
31
0.526115
train_ff2d990d34459db7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.114, 0.067), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.054, 0.728).lineTo(0.378, 0.422).lineTo(0.526, 0.004).lineTo(0.282, -0.365).lineTo(-0.184, -0.495).lineTo(-0.526, -0.121).lineTo(-0.46, 0.368).lineTo(-0.054, 0.728).close().extrude(2)...
5
152
1.438469
train_5594eaa579f4b97a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.431, -0.286, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.861).threePointArc((0.609, 0.609), (0.861, 0)).lineTo(0.416, 0).threePointArc((0.294, 0.294), (0, 0.416)).lineTo(0, 0.861).close().extrude(2) result = result.union(cq.Workplane(cq...
6
22
1.041324
train_63641393d73eb4da
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.022, -0.006, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.728, 0.171).lineTo(0.728, -0.171).threePointArc((-0.728, 0), (0.728, 0.171)).close().extrude(0.124, taper=11.534, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.022, ...
5
44
0.285448
train_ff97b0b93fc770ef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.134), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.912, 0.256).lineTo(1, 0.095).lineTo(1, 0).lineTo(0.833, 0).lineTo(0.833, 0.081).lineTo(0.739, 0.256).lineTo(0, 0.111).lineTo(0, 0.269).lineTo(0.752, 0.269).lineTo(0.912, 0.256).close().re...
4
40
0.318195
train_3560b6c93d540c0a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.504), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.469, 0.789).threePointArc((0.684, 0.7), (0.774, 0.485)).lineTo(0.774, -0.607).lineTo(0.589, -0.607).lineTo(0.589, -0.789).lineTo(-0.5, -0.789).threePointArc((-0.693, -0.709), (-0.774, -0.5...
13
52
1.178187
train_a2241c956d9ea1fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.075, 0.472, 0.056), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.134, 0.035).lineTo(0.133, 0.014).lineTo(-0.008, -0.146).lineTo(0.011, -0.173).lineTo(0.014, -0.201).threePointArc((-0.077, -0.251), (-0.073, -0.135)).lineTo(-0.134, 0.021).threePoin...
11
141
0.041266
train_15632ba751c51ff3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.023, -0.188, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.876, 0.788).lineTo(0.292, -0.788).threePointArc((-0.876, -0.113), (0.876, 0.788)).close().moveTo(-0.292, 0.788).lineTo(0.486, 0.562).threePointArc((-0.486, -0.113), (-0.292, 0.788)).cl...
10
196
0.346184
train_97446e424ac595c7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, 0, -0.681), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.362) result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.681), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.121, 0.464), (-0.432, 0.82), (-0.877, 0.985)...
10
184
2.172487
train_6cfc71b69fefb101
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.531, 2).extrude(0.17) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.583, 0.812).lineTo(0.583, -0.812).lineTo(-0.583, -0.812).c...
7
68
0.193626
train_d107eb74a5a4258e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.712, -0.427, -0.91), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.426).threePointArc((1.007, 1.007), (1.426, 0)).lineTo(0.798, 0).threePointArc((0.567, 0.567), (0, 0.798)).lineTo(0, 1.426).close().extrude(1.819) result = result.union(cq.Workp...
3
15
2.433404
train_c5eafbd95fbaef8a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.432, 0.26).lineTo(0.432, -0.31).lineTo(-0.028, -0.31).lineTo(-0.028, 0.26).threePointArc((0.018, 0.31), (0.064, 0.26)).threePointArc((0.11, 0.21), (0.156, 0.26)).threePointArc((0.202, 0.31), (...
3
15
0.995876
train_f87512676a6078a8
import cadquery as cq import math result = cq.Workplane('XY').circle(0.607).extrude(1, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.505).extrude(0.985, both=True)) result = result.cut(cq.Workplane('XY').circle(0.335).extrude(3, both=True)) result =...
13
146
2.033113
train_df0ea139fedcc9d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.823).lineTo(1, -0.823).lineTo(-1, -0.823).lineTo(-1, 0.823).lineTo(1, 0.823).close().extrude(0.209) result = result.cut(cq.Workplane(cq.Plane(origin=(0.564, 0, -0.001), normal=(0, 0, 1)...
9
21
0.5964
train_1a04053318c1bbd1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.025, 0.175, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.077, 0.434).threePointArc((0.83, -0.245), (-0.092, -0.434)).lineTo(-0.757, -0.256).threePointArc((-0.83, -0.227), (-0.752, -0.219)).lineTo(-0.037, -0.231).threePointArc((0.369, -...
10
89
0.242891
train_01dd916e3416c4f0
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.206).lineTo(0.82, 0).lineTo(1, -0.206).lineTo(0.139, -0.206).lineTo(0.139, 0.206).lineTo(1, 0.206).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.718, 0.229, 0), norm...
12
42
0.601619
train_dbeaa3efe9e35810
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.161, 0.077, 0.233), normal=(-0.718, -0.494, 0.49), xDir=(0.567, -0.824, 0))).moveTo(1.067, 0.156).lineTo(1.067, 0.093).lineTo(0.303, 0.093).lineTo(0.303, -0.093).lineTo(1.067, -0.093).lineTo(1.067, -0.156).lineTo(-1.067, -0.156).lineTo(-1.067, -...
10
146
0.167224
train_929a28cb1ae0eb3a
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.122).lineTo(0.842, 0).lineTo(1, -0.122).lineTo(0.285, -0.122).lineTo(0.285, 0.122).lineTo(1, 0.122).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.343, 0.43, 0), norma...
11
66
0.406015
train_8d2ad225a1051109
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.738, 0.677).threePointArc((1, 0), (0.738, -0.677)).lineTo(0, -0.677).lineTo(-0.738, -0.677).threePointArc((-1, 0), (-0.738, 0.677)).lineTo(0, 0.677).lineTo(0.738, 0.677).close().extrude(0.36, both=True) result = result.cut(cq.Workplane(cq.Plane(orig...
7
11
1.783401
train_689b367722012d62
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.267, 0.451, -0.198), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(-0.108, 0.201).lineTo(-0.068, 0.21).lineTo(-0.027, 0.217).lineTo(0.015, 0.222).lineTo(0.057, 0.227).lineTo(0.099, 0.23).lineTo(0.142, 0.232).lineTo(0.185, 0.232).lineTo(0.228, 0.232...
7
614
0.32813
train_3e0888774a24aaa1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.18, -0.002, 0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.524, 0.758).threePointArc((-0.06, 0.996), (0.298, 0.445)).threePointArc((1.054, -0.084), (0.524, -0.54)).threePointArc((0.369, -0.62), (0.459, -0.758)).threePointArc((-0.006, -0.9...
7
42
2.021819
train_147ac7eb7e0e0876
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.288, 0, -0.529), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.003, 0.089).threePointArc((0.065, 0.061), (0.089, -0.003)).threePointArc((0.061, -0.065), (-0.003, -0.089)).threePointArc((-0.065, -0.061), (-0.089, 0.003)).threePointArc((-0.061, 0.0...
12
90
0.104766
train_6bff2c34784a5e08
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.03), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.366).lineTo(1, -0.171).threePointArc((0.942, -0.308), (0.805, -0.366)).lineTo(-0.913, -0.366).lineTo(-1, -0.279).lineTo(-1, 0.253).lineTo(-0.887, 0.253).lineTo(-0.887, 0.366).lineTo(1, 0...
9
66
0.726875
train_8c9e4bdbb0d834ef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.003, 0.014), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.213, -0.67).lineTo(-0.252, -0.651).lineTo(-0.569, -0.251).lineTo(-0.552, 0.297).lineTo(-0.213, 0.67).lineTo(0.252, 0.651).lineTo(0.569, 0.251).lineTo(0.552, -0.297).close().moveTo(-0.0...
2
136
0.597449
train_c2a9789f47b98043
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.094, 0, -0.023), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.418, 0.489).lineTo(-0.084, 0.442).lineTo(-0.127, 0.133).lineTo(0.548, 0.039).lineTo(0.504, -0.274).lineTo(-0.171, -0.18).lineTo(-0.214, -0.489).lineTo(-0.548, -0.442).lineTo(-0.418, ...
3
27
0.394511
train_51f42e378656ef7d
import cadquery as cq import math result = cq.Workplane('XY').circle(0.502).extrude(0.481, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.226).extrude(1, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(...
4
11
0.883177
train_88977bc59a00da8f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.125, -0.043, -0.77), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.679, 0.797).threePointArc((0.818, 0.744), (0.877, 0.617)).lineTo(0.877, 0.429).threePointArc((0.824, 0.315), (0.698, 0.266)).lineTo(0.463, 0.266).threePointArc((0.343, 0.219), (0....
16
85
1.32612
train_311a7c5c94d139c2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.435), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.006).extrude(0.87) result = result.cut(cq.Workplane(cq.Plane(origin=(1.006, 0, -0.435), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.076, 0.385), (-0.295, 0.711), (-0.621, 0....
10
146
1.439312
train_ad7e08419afbd4b9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.362, 0.216, -0.006), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.318, 0.55).threePointArc((0.318, 0.55), (0.634, 0)).threePointArc((0.318, -0.55), (-0.318, -0.55)).threePointArc((-0.634, 0), (-0.318, 0.55)).close().sweep(cq.Workplane(cq.Plane(...
3
13
0.462218
train_019114af3fac00a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.023, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.277, 0.135).threePointArc((0.005, -0.135), (-0.018, 0.135)).lineTo(0.277, 0.135).close().extrude(2).union(cq.Workplane(cq.Plane(origin=(0, 0.023, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).mo...
10
83
0.30464
train_5b29496e25877fbf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.045, 0.559, 0.37), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.147, 0.325).lineTo(0.288, -0.211).lineTo(-0.147, -0.325).lineTo(-0.182, -0.194).lineTo(0.099, -0.121).lineTo(0.027, 0.154).lineTo(-0.254, 0.08).lineTo(-0.288, 0.211).lineTo(0.147, ...
10
190
0.308484
train_6e992df79633b141
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.078, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.669, 0.586).workplane(offset=2).rect(0.214, 0.526).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.078, 0.082, -0.165), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.003, 0.308)...
5
48
0.396848
train_f99e5fc48685ec71
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.115), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.794, 0.23).lineTo(0.912, 0.201).lineTo(1, 0.081).lineTo(1, 0).lineTo(0.894, 0).lineTo(0.894, 0.069).lineTo(0.798, 0.201).lineTo(0, 0.132).lineTo(0, 0.23).lineTo(0.794, 0.23).close().revol...
8
76
0.182522
train_cc18c6e7c8b17beb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, -0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.267, 0.073).lineTo(0.274, -0.037).threePointArc((-0.274, -0.073), (0.267, 0.073)).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0.147, -0.001, -0.756)...
6
17
0.441006
train_5e803794834f1b55
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.835).lineTo(1, -0.835).lineTo(-1, -0.835).lineTo(-1, 0.835).lineTo(-0.602, 0.835).lineTo(-0.602, -0.437).lineTo(0.602, -0.437).lineTo(0.602, 0.835).lineTo(1, 0.835).close().extrude(0.21...
5
22
0.359833
train_95731e8ede3ca900
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.468, -0.696, -0.239), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.027, 0.321).threePointArc((0.026, 0.313), (0.069, 0.275)).threePointArc((0.098, 0.231), (0.126, 0.202)).threePointArc((0.172, 0.187), (0.233, 0.166)).threePointArc((0.286, 0.12...
9
50
0.924172
train_926bf80093d3bd52
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.043, 0, -0.204), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.407) result = result.cut(cq.Workplane(cq.Plane(origin=(0.043, 0, -0.204), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.85).extrude(1.22, both=True)) result = result.union(cq....
12
45
0.750121
train_3b485033129e0488
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.394, 0.238, -0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.284, 0.491).threePointArc((0.491, 0.284), (0.284, -0.491)).threePointArc((-0.491, -0.284), (-0.284, 0.491)).close().sweep(cq.Workplane(cq.Plane(origin=(0.394, 0.238, -0.046), norm...
13
82
0.27318
train_c8d649bbd4266ab4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.011, -0.27, -0.317), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.737, 0.691).lineTo(0.737, -0.691).lineTo(-0.737, -0.691).lineTo(-0.737, 0.691).lineTo(-0.266, 0.691).lineTo(-0.266, -0.276).lineTo(0.266, -0.276).lineTo(0.266, 0.691).lineTo(0.737...
27
107
1.469514
train_3193f2c803af661a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.448), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.288, 0.895).lineTo(0.288, 0.288).lineTo(2, 0.288).lineTo(2, 0).lineTo(0, 0).lineTo(0, 0.895).lineTo(0.288, 0.895).close().extrude(0.617, both=True) result = result.cut(cq.Workplane(cq.Pl...
7
54
0.883919
train_59ec464b6d1edc72
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.075, -0.057, -0.52), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.377, 0.631).lineTo(0.715, -0.631).threePointArc((-0.715, -0.338), (0.377, 0.631)).close().twistExtrude(1.261, 60.575) result = result.union(cq.Workplane(cq.Plane(origin=(-1.056, 0...
4
36
2.362381
train_0a9231117468b269
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.017, 0.517, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.166, 0.482).lineTo(0.28, 0.403).lineTo(0.28, 0.14).lineTo(0.343, 0.096).lineTo(0.454, 0.096).lineTo(0.561, 0.023).lineTo(0.561, -0.22).lineTo(0.46, -0.289).lineTo(0.384, -0.289).lineTo...
6
77
2.57043
train_8f3303d906c8f4c3
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.358).lineTo(0.769, 0).lineTo(1, -0.358).lineTo(0.238, -0.358).lineTo(0.238, 0.358).lineTo(1, 0.358).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane('XY').circle(0.389).extrude(1.428, both...
18
62
0.428086
train_a607829e153832de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.374, -0.004, -0.145), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.515, -0.074).lineTo(0.616, -0.103).lineTo(0.61, -0.133).lineTo(0.507, -0.116).lineTo(0.485, -0.187).lineTo(0.578, -0.237).lineTo(0.565, -0.266).lineTo(0.469, -0.225).lineTo(0.431...
8
148
0.206625
train_5b50d10a0f8ef52c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.149, -0.194, -0.296), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.249, 0.247).lineTo(0.244, 0.214).lineTo(0.293, 0.201).lineTo(0.279, 0.158).lineTo(0.232, 0.174).lineTo(0.218, 0.145).lineTo(0.26, 0.118).lineTo(0.234, 0.08).lineTo(0.194, 0.11).l...
3
108
0.454353