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_1560698ce3c908e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.62), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.507, 1.239).lineTo(0.507, 0.304).lineTo(1, 0.304).lineTo(1, 0).lineTo(0.212, 0).lineTo(0.212, 1.239).lineTo(0.507, 1.239).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0,...
2
54
1.43438
train_3a1850443703c3aa
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.652, 0.664).lineTo(0.652, -0.664).lineTo(-0.652, -0.664).lineTo(-0.652, 0.664).lineTo(-0.399, 0.664).lineTo(-0.399, -0.423).lineTo(0.399, -0.423).lineTo(0.399, 0.664).lineTo(0.652, 0.664).clos...
7
63
1.97127
train_03a1219abeddef7b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.394), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.503, 0.525).threePointArc((-0.4, 0.5), (-0.356, 0.441)).lineTo(-0.356, -0.085).threePointArc((-0.319, -0.135), (-0.23, -0.157)).lineTo(0.886, -0.157).threePointArc((0.966, -0.176), (1, -0...
8
198
1.135642
train_881b3c3e30b38d9b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.019, 0.08, 0.071), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.177, 1.079).threePointArc((-0.053, 1.036), (0, 0.935)).lineTo(0, 0.532).threePointArc((0.063, 0.411), (0.213, 0.36)).lineTo(0.655, 0.36).threePointArc((0.819, 0.304), (0.889, 0.171)...
5
47
0.565663
train_232161d0e79f957a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.054, 0.51, -0.009), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.656, 0).threePointArc((0, -0.656), (-0.656, 0)).threePointArc((0, 0.656), (0.656, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.054, 0.51, -0.009), normal=(0, -1, 0), xDir=(1, 0...
7
58
1.296135
train_ee68606f2f73263c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.483, -0.689), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.14, -0.061).threePointArc((0.363, 0.259), (0.392, -0.142)).lineTo(0.366, -0.241).threePointArc((0.35, -0.259), (0.295, -0.234)).lineTo(0.321, -0.127).threePointArc((0.332, -0.103), (0...
14
322
0.532933
train_9cbeefd40d6c16d1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.424, 0, -0.9), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.474, 1.801).lineTo(0.474, 0.474).lineTo(0.83, 0.474).lineTo(0.83, 0).lineTo(0, 0).lineTo(0, 1.801).lineTo(0.474, 1.801).close().extrude(1, both=True) result = result.cut(cq.Workplane(c...
11
78
1.75926
train_afba7425e4eeb04e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.095, -0.268), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.809, 0.904).lineTo(0.809, -0.904).lineTo(-0.809, -0.904).lineTo(-0.809, 0.904).lineTo(0.809, 0.904).close().extrude(0.537) result = result.union(cq.Workplane(cq.Plane(origin=(-0.404, -...
12
56
0.586171
train_0806da30383c3af2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.202, 0.028, -0.31), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.271, 0.684).lineTo(-0.271, -0.291).lineTo(0.723, -0.291).lineTo(0.723, -0.684).lineTo(-0.723, -0.684).lineTo(-0.723, 0.684).lineTo(-0.271, 0.684).close().extrude(0.29, taper=3.1) ...
15
306
0.647228
train_a475982854893530
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.297, 0.972).threePointArc((0.772, 0.864), (0.891, 0.54)).threePointArc((0.653, -0.216), (0.059, -0.864)).lineTo(-0.147, -0.864).threePointArc((-0.176, -0.869), (-0.2, -0.884)).lineTo(...
2
34
0.137574
train_8c3929938a9535ef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.343), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.905).lineTo(1, 0.309).lineTo(0.332, 0.309).lineTo(0.332, -0.905).lineTo(-0.332, -0.905).lineTo(-0.332, 0.309).lineTo(-1, 0.309).lineTo(-1, 0.905).lineTo(1, 0.905).close().extrude(0.192)...
10
34
0.575227
train_b41f0604492efc13
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.233, -0.047), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.776, 0.284).lineTo(0.912, 0.161).lineTo(1, 0.099).lineTo(1, 0).lineTo(0.827, 0).lineTo(0.827, 0.086).lineTo(0.728, 0.161).lineTo(0, 0.115).lineTo(0, 0.284).lineTo(0.776, 0.284).close...
12
149
0.315991
train_e825a896b0c0a264
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.168, 0.162, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.161, 0.188).threePointArc((0.186, 0.168), (0.197, 0.119)).lineTo(0.197, 0.056).threePointArc((0.188, 0.017), (0.168, 0)).lineTo(0.129, 0).threePointArc((0.108, -0.018), (0.098, -0.059)...
5
42
0.251746
train_6aac00cb8185912c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.689, 1).threePointArc((0.73, 0.976), (0.746, 0.936)).lineTo(0.746, -0.928).threePointArc((0.727, -0.973), (0.682, -1)).lineTo(-0.673, -1).threePointArc((-0.724, -0.971), (-0.746, -0.919))....
9
69
0.147455
train_16502ba608fc8cd2
import cadquery as cq import math result = cq.Workplane('XY').circle(0.704).extrude(0.956, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.603).extrude(1, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.432, -0.623, 0), normal=(0, 1, ...
7
25
3.611125
train_ad6cd3d8521e33d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.143), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.482, 0.877).lineTo(1, 0.004).lineTo(0.478, -0.877).lineTo(-0.509, -0.859).lineTo(-1, -0.002).lineTo(-0.512, 0.86).lineTo(0.482, 0.877).close().extrude(0.186) result = result.union(cq.Workp...
11
348
0.772916
train_9ab01414afe65705
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.497, -0.388, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.99).threePointArc((0.702, 0.702), (0.99, 0)).lineTo(0.321, 0).threePointArc((0.226, 0.226), (0, 0.321)).lineTo(0, 0.99).close().extrude(2) result = result.union(cq.Workplane(cq.Pl...
6
39
1.062334
train_74a21a3903aa2c25
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.35, 0.146).lineTo(0.35, -0.099).lineTo(0.305, -0.146).lineTo(-0.306, -0.146).threePointArc((-0.337, -0.133), (-0.35, -0.102)).lineTo(-0.35, 0.085).lineTo(-0.289, 0.146).lineTo(0.35, 0.146)...
6
10
0.749419
train_40a9749203848821
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.078, -0.234, -0.62), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.655, 0.715).lineTo(0.787, 0.43).threePointArc((0.918, 0.43), (0.918, 0)).lineTo(0.263, -0.715).threePointArc((0, -0.715), (-0.066, -0.358)).lineTo(0.245, -0.019).threePointArc((0...
2
31
2.01395
train_ab2d99d5441b8493
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.024, -0.342), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.255, 0.401).lineTo(0.387, 0.22).lineTo(0.568, 0.353).lineTo(0.532, 0.131).lineTo(0.754, 0.098).threePointArc((0.724, 0.085), (0.716, 0.054)).lineTo(0.658, 0.04).lineTo(0.623, -0.009).t...
12
214
1.051682
train_587b3d25ef7c16d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.297, -0.08), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.332, 0.703).threePointArc((0.395, 0.676), (0.422, 0.613)).lineTo(0.422, 0.488).threePointArc((0.442, 0.442), (0.488, 0.422)).lineTo(0.63, 0.422).threePointArc((0.681, 0.401), (0.703, 0...
6
79
0.281495
train_46dfca787bf096c3
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.208, 0.213).workplane(offset=2).rect(0.655, 0.131).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.119).extrude(0.64, both=Tru...
9
63
0.090909
train_19df388bef27879c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.004, -0.239), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.864, 0.617).threePointArc((0.96, 0.598), (1, 0.554)).lineTo(1, -0.382).threePointArc((0.848, -0.547), (0.487, -0.617)).lineTo(-0.681, -0.617).threePointArc((-0.905, -0.573), (-1, -0.47...
7
90
0.614733
train_61d596e6c4dfeb7f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.771).extrude(1.263) result = result.cut(cq.Workplane(cq.Plane(origin=(0.775, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.289, 0.603), (-0.941, 0.752), (-1.464, 0.334...
13
120
2.014018
train_cbf52aa3b087cf89
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.183, 0.193, -0.052), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.05, 0.491).threePointArc((0.145, 0.368), (0.156, 0.099)).threePointArc((0.075, -0.157), (-0.05, -0.251)).threePointArc((-0.145, -0.127), (-0.156, 0.141)).threePointArc((-0.075, 0....
16
92
0.462009
train_b2507fbaca0012cb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.105, 0, -0.072), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.266, 0.232).lineTo(0.266, 0).lineTo(-0.266, 0).lineTo(-0.266, 0.232).lineTo(-0.21, 0.232).lineTo(-0.21, 0.056).lineTo(0.21, 0.056).lineTo(0.21, 0.232).lineTo(0.266, 0.232).close().ex...
12
112
0.078838
train_8084515ee2df8241
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.335, 0, -0.112), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.277, 0.224).lineTo(0.277, 0.138).lineTo(0.664, 0.138).lineTo(0.664, 0).lineTo(0.157, 0).lineTo(0.157, 0.224).lineTo(0.277, 0.224).close().revolve(angleDegrees=360, axisStart=(0, 0, 0)...
7
82
0.202392
train_c5bc3fcd3963755e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.211, -0.253), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.679).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.679).lineTo(-0.669, 0.679).lineTo(-0.669, 0.325).lineTo(0.669, 0.325).lineTo(0.669, 0.679).lineTo(1, 0.679).close().extrude(0.29, both...
9
63
0.240972
train_cfee50d54ef9927c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.094, -0.084, -0.246), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.728, 0.261).threePointArc((0.728, 0.784), (0.728, -0.261)).lineTo(0.728, -0.784).lineTo(0.243, 0).threePointArc((0.728, 0.522), (-0.243, 0.522)).lineTo(-0.243, 0).lineTo(-0.728,...
16
128
1.226905
train_84ca874e5fb2ca5d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.528, 10.531, -0.263), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(9.321, 0).threePointArc((0, -9.321), (-9.321, 0)).threePointArc((0, 9.321), (9.321, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-1.528, 10.531, -0.263), normal=(0, -1, 0), xDir...
2
5
0.109325
train_8d1ec9f17d94c278
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.024, 0.056, -0.311), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.472, 0.8).threePointArc((0.716, 0.648), (0.82, 0.29)).lineTo(0.82, -0.609).threePointArc((0.781, -0.743), (0.689, -0.8)).lineTo(0.372, -0.8).threePointArc((0.303, -0.757), (0.274, ...
19
116
0.84992
train_a9a88544ab0cbdd7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.346), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.886, -0.309).lineTo(0.925, -0.379).lineTo(0.876, -0.483).lineTo(0.813, -0.47).lineTo(0.612, -0.712).lineTo(0.612, -0.792).lineTo(0.517, -0.857).lineTo(0.47, -0.813).lineTo(0.175, -0.923).l...
6
75
1.732497
train_cec71dfe54a4dff4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.25, 0.006, -0.663), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.552, 0.442).threePointArc((0.691, 0.425), (0.75, 0.384)).lineTo(0.75, 0.202).threePointArc((0.805, 0.164), (0.935, 0.147)).lineTo(1.128, 0.147).threePointArc((1.213, 0.137), (1.249...
15
60
0.892081
train_9900acbe36289ef8
import cadquery as cq import math result = cq.Workplane('XY').circle(1).extrude(0.833, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.937).extrude(0.839, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(...
8
95
2.856801
train_cfd55e017e62c347
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.56, 0.157, 0.022), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.22, 0.385).threePointArc((0.22, 0.385), (0.44, 0)).threePointArc((0.22, -0.385), (-0.22, -0.385)).threePointArc((-0.44, 0), (-0.22, 0.385)).close().sweep(cq.Workplane(cq.Plane(orig...
10
137
0.180939
train_a88bed511f483466
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.847, 0.048, 0.035), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.153, 0.099).lineTo(0.153, -0.099).lineTo(-0.153, -0.099).lineTo(-0.153, 0.099).lineTo(-0.055, 0.099).lineTo(-0.055, -0.005).lineTo(0.055, -0.005).lineTo(0.055, 0.099).lineTo(0.153,...
7
101
0.096664
train_33981f5fb4667972
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.455), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.119, 1.322).lineTo(0.119, 0.909).lineTo(1, 0.909).lineTo(1, 0.799).lineTo(0.492, 0.799).lineTo(0.492, 0.395).lineTo(0.195, 0.395).lineTo(0.195, 0).lineTo(0, 0).lineTo(0, 1.322).lineTo(0.1...
4
11
0.58928
train_615fec3defb8a71a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.247, 2.356, -0.68), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.809, 0.163).lineTo(1.809, -0.199).lineTo(1.506, -0.199).lineTo(1.506, 0.163).threePointArc((1.544, 0.127), (1.582, 0.163)).threePointArc((1.62, 0.199), (1.658, 0.163)).threePointA...
4
14
4.288569
train_12e2147666ade1ec
import cadquery as cq import math result = cq.Workplane('XY').box(1.58, 2, 1.531) result = result.edges().fillet(0.196) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.34, 0.139, 0.426), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.428, 1.446).threePointArc((0.233, 1.549), (0.836, 1.265)).threePointArc((1.202, 0.7...
9
52
2.713732
train_d52449537686114d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.132, 0.769, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(1, 0.132).threePointArc((0, -0.867), (-1, 0.132)).threePointArc((0, 1.131), (1, 0.132)).close().extrude(1.538) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.067, -0.007, -0.14), n...
6
98
3.493813
train_7f5b43eb265aa6b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, 0.53), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.571, 1.097).threePointArc((-0.344, 1.075), (-0.129, 0.926)).threePointArc((0.021, 0.798), (0.15, 0.806)).threePointArc((0.332, 0.928), (0.573, 1.028)).threePointArc((0.781, 0.981), (0...
5
142
1.990009
train_665864e3e6a68908
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.114, 0.027, -0.503), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.878, 0.51).lineTo(0.878, 0.303).lineTo(0.222, 0.303).lineTo(0.222, -0.51).lineTo(-0.222, -0.51).lineTo(-0.222, 0.303).lineTo(-0.878, 0.303).lineTo(-0.878, 0.51).lineTo(0.878, 0.51)...
30
412
0.840546
train_ddb7f4333b52f60e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.41, 0, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.59).extrude(0.254) result = result.cut(cq.Workplane(cq.Plane(origin=(0.41, 0, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.444).extrude(0.761, both=True)) result = result.union(...
10
83
0.409415
train_f5749ad53f8f5aff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.024, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.305, 1.024).lineTo(0.563, 0.764).lineTo(0.563, -0.471).lineTo(0.012, -1.024).lineTo(-0.18, -1.024).lineTo(-0.563, -0.639).lineTo(-0.563, 0.471).lineTo(-0.012, 1.024).lineTo(0.305, 1.0...
10
61
0.343039
train_2bb7cbf73ce7e9a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.046, -0.019, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.08, 0.226).threePointArc((0.084, 0.221), (0.086, 0.208)).lineTo(0.086, -0.1).threePointArc((0.073, -0.188), (0.043, -0.226)).lineTo(-0.07, -0.226).threePointArc((-0.081, -0.212), (-0.0...
13
258
0.075949
train_8894e56c30692533
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.057, 0.003, 0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.1, 0.621).threePointArc((0.747, 0.267), (-0.492, -0.436)).lineTo(-0.337, -0.022).lineTo(-0.582, 0.02).threePointArc((-0.747, 0.303), (-0.535, 0.523)).lineTo(-0.154, 0.474).lineTo(...
16
417
0.645319
train_75185cca9e5daddc
import cadquery as cq import math result = cq.Workplane('XY').box(1.596, 2, 0.8) result = result.edges().fillet(0.174) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.273).extrude(3.194, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), norma...
9
72
1.390339
train_bdeb581bb4c5a82d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.304), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.217, 0.853).threePointArc((-0.065, 0.801), (0, 0.671)).lineTo(0, 0.07).threePointArc((0.024, 0.021), (0.081, 0)).lineTo(0.37, 0).threePointArc((0.46, 0.033), (0.498, 0.11)).lineTo(0.498, ...
9
56
0.746792
train_0f6ae003e190a0f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.145, -0.153), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.326, 0.306).lineTo(0.326, 0).lineTo(-0.326, 0).lineTo(-0.326, 0.306).lineTo(-0.227, 0.306).lineTo(-0.227, 0.099).lineTo(0.227, 0.099).lineTo(0.227, 0.306).lineTo(0.326, 0.306).close(...
3
45
0.239138
train_00c5bfd0f08fa942
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.767), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.008).extrude(0.248) result = result.cut(cq.Workplane(cq.Plane(origin=(1.008, 0, -0.767), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.134, 0.504), (-0.504, 0.874), (-1.008, 1...
11
152
1.379375
train_23b6879c0bf34cb2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.029), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.106).lineTo(0.053, 0.092).lineTo(0.092, 0.053).lineTo(0.106, 0).lineTo(0.092, -0.053).lineTo(0.053, -0.092).lineTo(0, -0.106).lineTo(-0.053, -0.092).lineTo(-0.092, -0.053).lineTo(-0.106,...
8
27
0.054103
train_c877af2549b9db30
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0.104, -0.023), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.603, 0.106).threePointArc((0.733, -0.878), (-0.256, -0.884)).threePointArc((-0.149, -0.192), (-0.733, 0.145)).lineTo(-0.498, 0.798).threePointArc((-0.43, 0.884), (-0.32, 0.882)).li...
10
104
1.145869
train_bef4f2afa4f71e0a
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(0.414, 0.193).lineTo(0.551, 0.086).lineTo(0.975, 0.189).lineTo(1, 0.088).lineTo(0.575, -0.016).lineTo(0.503, -0.174).lineTo(0.468, -0.204).lineTo(0.422, -0.189).lineTo(0.285, -0.078).threePointArc((0.199, -0.041), (0.264, 0.007)).lineTo(0.335, 0.17).l...
6
26
0.4526
train_a4de958649ef6cbe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.185, 0.926, 0.056), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.588, 0.051).threePointArc((0.618, -0.013), (0.584, -0.051)).lineTo(0.557, -0.04).threePointArc((0.552, -0.036), (0.55, -0.031)).lineTo(0.545, -0.011).threePointArc((0.542, -0.006), ...
5
78
0.589548
train_290831f3f6a18e50
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.219, 0.432).threePointArc((0.219, 0.432), (0.436, 0)).threePointArc((0.219, -0.432), (-0.219, -0.432)).threePointArc((-0.436, 0), (-0.219, 0.432)).close().extrude(16.669, taper=12.31...
2
6
0.461799
train_09760002304919e9
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.36, 2).lineTo(0.36, 1.343).lineTo(0.681, 1.343).lineTo(0.681, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.36, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = r...
4
9
1.645003
train_09f041505406d564
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.086, -0.034), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.625, 0.424).lineTo(0.783, 0.266).lineTo(0.783, 0.058).lineTo(0.837, 0).lineTo(0.911, 0).lineTo(1, -0.081).lineTo(1, -0.162).lineTo(0.942, -0.212).lineTo(0.649, -0.212).lineTo(0.571, -...
8
157
0.165328
train_14a3e874184e6d09
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.031, 0, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.176, 1).lineTo(0.778, 0.653).lineTo(1.016, 0).lineTo(0.778, -0.653).lineTo(0.176, -1).lineTo(-0.507, -0.878).lineTo(-0.954, -0.347).lineTo(-0.954, 0.347).lineTo(-0.507, 0.878).lineTo(...
5
71
0.581541
train_9eecf0284841b2ae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.83, 0, -1.208), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.369).extrude(1.035) result = result.union(cq.Workplane(cq.Plane(origin=(-0.83, 0, -0.483), normal=(0.881, 0, 0.473), xDir=(0.473, 0, -0.881))).circle(0.76).extrude(1.668)) result = res...
7
34
1.221417
train_1e1dfb9cba1262b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.381, 0.838, 0.314), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.434, 0.985).lineTo(0.434, -0.204).threePointArc((-0.434, 0.391), (0.434, 0.985)).close().extrude(0.96) result = result.union(cq.Workplane(cq.Plane(origin=(0.072, 0.586, 0.747), nor...
21
147
0.899893
train_4f42792239f92c7c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.067, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.476, 0.666).lineTo(0.765, -0.388).lineTo(0.476, -0.632).lineTo(0.348, -0.666).lineTo(0.303, -0.629).lineTo(0.299, -0.482).lineTo(0.17, -0.516).lineTo(0.126, -0.478).lineTo(0.122, -0.331)...
14
103
0.35162
train_e74a4f485bdc2172
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.112, -0.674), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.723, 0.945).threePointArc((0.975, 0.299), (0.657, -0.458)).threePointArc((-0.046, -0.879), (-0.723, -0.722)).threePointArc((-0.975, -0.074), (-0.657, 0.682)).threePointArc((0.046, 1.1...
4
43
3.734427
train_2a888a5ac494e88e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.326, -0.379, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.864).threePointArc((0.611, 0.611), (0.864, 0)).lineTo(0.519, 0).threePointArc((0.367, 0.367), (0, 0.519)).lineTo(0, 0.864).close().extrude(2) result = result.union(cq.Workplane(cq...
5
38
0.779809
train_06634e6d905fbd0f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.029, 0, -0.584), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.137, 0.617).threePointArc((0.406, 0.644), (0.621, 0.522)).lineTo(0.926, 0.134).threePointArc((0.962, -0.064), (0.797, -0.222)).lineTo(-0.137, -0.617).threePointArc...
2
79
1.798408
train_c4f4c7cc8219108d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.308), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.329, 0.962).lineTo(0.329, -0.964).lineTo(0.3, -1).lineTo(-0.311, -1).lineTo(-0.311, -0.974).lineTo(-0.329, -0.974).lineTo(-0.329, 0.979).lineTo(-0.316, 0.979).lineTo(-0.316, 1).lineTo(0.3,...
7
48
0.350445
train_b08a9cae82304e66
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.216, 0.093, -0.02), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.092, 0.366).threePointArc((0.248, 0.301), (0.313, 0.144)).lineTo(0.313, 0.004).threePointArc((0.248, -0.152), (0.092, -0.217)).lineTo(-0.092, -0.217).threePointArc((-0.248, -0.152)...
19
492
0.35929
train_27e63d3e95cf690c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.259, 0, 0.434), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.063, 0.273).lineTo(0.3, 0.159).lineTo(0.258, -0.095).lineTo(0.104, -0.273).lineTo(-0.151, -0.253).lineTo(-0.3, -0.025).lineTo(-0.15, 0.183).lineTo(0.063, 0.273).close().sweep(cq.Workp...
6
149
0.514874
train_02ab660d8008f743
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.255), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.751, 0.478).threePointArc((0.809, 0.464), (0.83, 0.43)).lineTo(0.83, -0.23).threePointArc((0.804, -0.27), (0.735, -0.287)).lineTo(0.565, -0.287).threePointArc((0.52, -0.298), (0.501, -0.32...
22
173
0.969653
train_1d2ecf37c437078f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.124), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.912, 0.237).lineTo(1, 0.088).lineTo(1, 0).lineTo(0.823, 0).lineTo(0.823, 0.075).lineTo(0.724, 0.237).lineTo(0, 0.078).lineTo(0, 0.249).lineTo(0.607, 0.249).lineTo(0.912, 0.237).close().re...
10
62
0.287324
train_5168b96ce058a4eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.491, -0.033, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.053, 0.056).lineTo(0.053, -0.056).lineTo(-0.053, -0.056).lineTo(-0.053, 0.056).lineTo(-0.02, 0.056).lineTo(-0.02, -0.024).lineTo(0.02, -0.024).lineTo(0.02, 0.056).lineTo(0.053, 0.056)....
2
31
0.192893
train_31320de54e277ec7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.095, 0.008, 0.156), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.548, 0.201).lineTo(0.65, 0.168).lineTo(0.738, -0.005).lineTo(0.726, -0.041).lineTo(0.692, -0.058).lineTo(0.677, -0.104).lineTo(0.691, -0.131).lineTo(0.677, -0.177).lineTo(0.634, -0...
18
357
0.430089
train_93d378db4f56bbdb
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.808, 0.758).lineTo(0.808, 0).lineTo(0.485, 0).lineTo(0.485, -0.253).lineTo(0.162, -0.253).lineTo(0.162, -0.758).lineTo(-0.162, -0.758).lineTo(-0.162, -0.253).lineTo(-0.808, -0.253).lineTo(-0.8...
24
40
1.755769
train_f02876842de6ad97
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.236, 0, 0.386), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.092, 0.589).lineTo(0.054, 0.41).lineTo(0.335, 0.147).threePointArc((0.467, 0.085), (0.569, -0.02)).threePointArc((0.359, -0.166), (0.265, -0.279)).lineTo(0.278, -0.589).lineTo(-0.128,...
7
57
0.943028
train_704d9334b8ab9814
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.346, -0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.654).extrude(0.263) result = result.cut(cq.Workplane(cq.Plane(origin=(0.654, 0.346, -0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.327, 0.567), (-0.981, 0.567), (-...
8
64
0.456519
train_d5f989a49a548e0c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.122, 0.143, -0.514), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.866, 0.854).lineTo(0.866, -0.854).lineTo(-0.866, -0.854).lineTo(-0.866, 0.854).lineTo(-0.623, 0.854).lineTo(-0.623, -0.652).lineTo(0.623, -0.652).lineTo(0.623, 0.854).lineTo(0.866,...
5
76
0.538524
train_f25fb29ed3e28b8a
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, 0.428).threePointArc((0.747, 0.322), (1, 0)).threePointArc((0.747, -0.322), (0, -0.428)).threePointArc((-0.747, -0.322), (-1, 0)).threePointArc((-0.747, 0.322), (0, 0.428)).close().extrud...
5
23
0.886226
train_a5877bad6c50c7bc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.862, 0.34).lineTo(0.862, 0.268).lineTo(0.935, 0.268).lineTo(0.935, -0.202).threePointArc((0.894, -0.299), (0.796, -0.34)).lineTo(-0.869, -0.34).lineTo(-0.869, -0.275).lineTo(-0.935, -0.275...
6
43
0.154727
train_faf6c2a492628aa4
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.406, 0.217).lineTo(0.433, -0.217).lineTo(-0.028, -0.217).lineTo(-0.028, 0.217).lineTo(0.406, 0.217).close().extrude(2).union(cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1,...
1
6
0.728252
train_2e0f5ce6c005c011
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.186) result = result.cut(cq.Workplane(cq.Plane(origin=(0.001, 0, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.575).extrude(0.555, both=True)) result = result.union(c...
12
58
0.357157
train_5d76b907ea47d5a5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.044, -0.273, 0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.341, -0.216).threePointArc((0.25, -0.222), (0.143, -0.224)).lineTo(-0.15, -0.224).threePointArc((-0.244, -0.222), (-0.325, -0.217)).lineTo(-0.856, -0.17).threePointArc((-0.864, -0....
19
125
0.174875
train_465baacc0f205795
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.202).lineTo(0.707, 0).lineTo(1, -0.202).lineTo(0.189, -0.202).lineTo(0.189, 0.202).lineTo(1, 0.202).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...
14
79
0.466247
train_7289fc991a6a31e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.318, -0.031, 0.165), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-14.407, 16.656).threePointArc((7.872, 15.318), (14.407, 0.02)).lineTo(10.716, -0.968).threePointArc((9.855, -1.127), (8.979, -1.144)).lineTo(3.403, -0.809).threePointArc((2.443, -0...
9
94
0.357599
train_ba8a21cab8a9937b
import cadquery as cq import math result = cq.Workplane('XY').box(2, 1.75, 1.311) result = result.edges().fillet(0.261) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.459).extrude(3.972, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), norm...
5
36
2.06099
train_40834d65a251a9f4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.193, -0.223, -0.45), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.713, 0.443).lineTo(0.713, 0.266).lineTo(-0.357, 0.266).lineTo(-0.357, 0.089).lineTo(0.713, 0.089).lineTo(0.713, -0.443).lineTo(-0.713, -0.443).lineTo(-0.713, -0.266).lineTo(0.357,...
19
128
0.392156
train_b01551d38cb84db6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.045), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.859).lineTo(1, -0.87).lineTo(-0.991, -0.87).threePointArc((-0.997, -0.866), (-1, -0.86)).lineTo(-1, 0.857).threePointArc((-0.996, 0.866), (-0.987, 0.87)).lineTo(0.989, 0.87).lineTo(1, 0...
6
56
0.370209
train_ac6945d9526d6d52
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.069, -0.009, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.054, 0.006).threePointArc((-0.084, 0.008), (-0.007, 0.007)).lineTo(0.061, -0.007).threePointArc((0.084, -0.008), (0.019, -0.008)).lineTo(-0.054, 0.006).close().extrude(0.014, ta...
4
39
0.095196
train_ea1f1977c23b5138
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.074, 0.34).lineTo(0.366, 0.048).lineTo(0.366, -0.007).lineTo(0.033, -0.34).lineTo(-0.182, -0.34).lineTo(-0.366, -0.156).lineTo(-0.366, 0.07).lineTo(-0.096, 0.34).lineTo(0.074, 0.34).close(...
16
96
0.303366
train_3e4c178332afa0bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.128, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.048, 0.705).lineTo(0.173, 0.357).lineTo(0.586, 0.346).lineTo(0.323, 0.028).lineTo(0.44, -0.368).lineTo(0.056, -0.217).lineTo(-0.284, -0.45).lineTo(-0.301, -0.311).lineTo(-0.308, -0.173)....
13
19
1.123554
train_1d256f0d48683555
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.179), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.767, 0.664).threePointArc((0.924, 0.595), (1, 0.435)).lineTo(1, 0.186).threePointArc((0.937, 0.055), (0.809, 0)).lineTo(0.512, 0).threePointArc((0.385, -0.054), (0.332, -0.18)).lineTo(0.33...
8
58
0.43488
train_375d192a53927376
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.205, -0.002, 0.161), normal=(0.576, -0.02, -0.817), xDir=(0.035, 0.999, 0))).moveTo(0.064, 0.562).threePointArc((0.082, 0.515), (0.089, 0.403)).lineTo(0.089, 0.151).threePointArc((0.096, 0.045), (0.113, 0)).lineTo(0.145, 0).threePointArc((0.168...
8
87
0.313657
train_378eb9d29c67e643
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.228, -0.539, -0.619), normal=(0.012, 0.007, 1), xDir=(0, -1, 0.007))).moveTo(0.356, 0.499).lineTo(0.233, -0.499).lineTo(-0.233, -0.499).lineTo(-0.356, 0.499).lineTo(0.356, 0.499).close().extrude(1.091, both=False) result = result.union(cq.Workpl...
12
103
0.402808
train_d376d7443c0164ce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.661).extrude(0.55) result = result.cut(cq.Workplane(cq.Plane(origin=(0.666, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.155, 0.425), (-0.546, 0.651), (-0.991, 0.573)...
4
39
0.950914
train_3a9c8f277bc1af01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.38), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.486).lineTo(1, -0.387).threePointArc((0.923, -0.471), (0.739, -0.506)).lineTo(-0.745, -0.506).threePointArc((-0.924, -0.472), (-1, -0.39)).lineTo(-1, 0.482).threePointArc((-0.984, 0....
2
38
0.578337
train_57ce922f5ad0168b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.251, 0, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.748, 0).threePointArc((0, -0.748), (-0.748, 0)).threePointArc((0, 0.748), (0.748, 0)).close().extrude(0.321) result = result.cut(cq.Workplane(cq.Plane(origin=(0.251, -0.092, 0.012), no...
19
395
0.502548
train_7c5caf45b454ff18
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.657, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.515, 0.477).threePointArc((1.614, 0.457), (1.656, 0.409)).lineTo(1.656, 0.244).threePointArc((1.604, 0.184), (1.481, 0.159)).lineTo(0.674, 0.159).threePointArc((0.433, 0.11), (0.332, -0.006...
10
342
0.317555
train_1f9482fec88c9adc
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.097, 0.137).threePointArc((-0.092, 0.135), (-0.09, 0.13)).lineTo(-0.09, -0.042).threePointArc((-0.079, -0.068), (-0.053, -0.079)).lineTo(0.141, -0.079).threePointArc((0.146, -0.081), (0.148, ...
1
14
0.05929
train_b443b637a48d3837
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.231), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.403, 0.462).lineTo(0.403, 0).lineTo(-0.403, 0).lineTo(-0.403, 0.462).lineTo(-0.345, 0.462).lineTo(-0.345, 0.058).lineTo(0.345, 0.058).lineTo(0.345, 0.462).lineTo(0.403, 0.462).close().ext...
3
12
0.186081
train_00cad7eb6573625b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.142, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.132, -0.023).lineTo(0.126, -0.046).lineTo(0.181, -0.082).lineTo(0.162, -0.115).lineTo(0.103, -0.086).lineTo(0.086, -0.103).lineTo(0.115, -0.162).lineTo(0.082, -0.181).lineTo(0.046, -0.126...
3
109
0.275092
train_1863dec5eed51e77
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.032), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.002, 0.625).lineTo(1.002, -0.625).lineTo(-0.335, -0.625).lineTo(-0.335, -0.125).lineTo(-1.002, -0.125).lineTo(-1.002, 0.125).lineTo(-0.335, 0.125).lineTo(-0.335, 0.625).lineTo(1.002, 0.625)...
8
56
0.18136
train_3530c562b44bcea6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.171, 0.099, -0.052), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.375, 0.769).threePointArc((0.461, 0.728), (0.497, 0.628)).lineTo(0.497, 0.14).threePointArc((0.533, 0.042), (0.618, 0)).lineTo(0.709, 0).threePointArc((0.792, -0.041), (0.828, -0....
13
124
0.732288