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_a87e6177d4288835
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.096, -0.275), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.975, 1.139).threePointArc((1.035, 1.116), (1.06, 1.063)).lineTo(1.06, 0.76).threePointArc((1.025, 0.687), (0.942, 0.656)).lineTo(-0.15, 0.656).threePointArc((-0.405, 0.561), (-0.513, ...
7
78
0.69954
train_ed97b9c716492ae7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.332, -0.512, 0.039), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.149, 0.427).threePointArc((-0.025, 0.451), (0.07, 0.338)).threePointArc((0.132, 0.26), (0.27, 0.259)).threePointArc((0.399, 0.183), (0.368, 0.045)).threePointArc((0.285, -0.056)...
3
35
0.83961
train_800818f56265a785
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.456), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.824).lineTo(1, -0.824).lineTo(-0.216, -0.824).threePointArc((-0.769, -0.599), (-1, -0.047)).lineTo(-1, 0.824).lineTo(1, 0.824).close().extrude(0.912) result = result.cut(cq.Workplane(cq...
9
44
2.126923
train_63354eed0a88a3f4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.063, -0.064, -0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.798, 0.366).threePointArc((0.917, 0.348), (0.967, 0.305)).lineTo(0.967, 0.203).threePointArc((0.922, 0.166), (0.817, 0.15)).lineTo(0.451, 0.15).threePointArc((0.347, 0.134), (0.3...
19
159
0.163718
train_7600fed18167e688
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.057, 0, -0.038), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.613, 0.267).lineTo(0.912, 0.208).lineTo(1, 0.094).lineTo(1, 0).lineTo(0.827, 0).lineTo(0.827, 0.08).lineTo(0.727, 0.208).lineTo(0, 0.099).lineTo(0, 0.267).lineTo(0.613, 0.267).close(...
8
84
0.192843
train_0183e002f1816b6c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-4.121, 0.446, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.977, 1.732).threePointArc((2.227, 1.638), (2.533, 1.585)).lineTo(3.521, 1.136).threePointArc((3.698, 0.918), (4.023, 0.736)).lineTo(4.357, 0.135).threePointArc((4.278, -0.052), (4.339...
16
11
0.842242
train_48d092eada2f4336
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.664, -1.199, -0.004), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.473, 1.929).lineTo(0.645, 1.564).lineTo(0.709, 1.199).threePointArc((0.717, 1.01), (0.647, 0.834)).lineTo(0.473, 0.469).threePointArc((-0.717, 1.199), (0.473, 1.929)).close().wor...
4
15
1.316351
train_e77a83015efa2d42
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.211, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.36, 2).lineTo(0.36, 0.36).lineTo(0.422, 0.36).lineTo(0.422, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.36, 2).close().extrude(0.56, both=True) result = result.cut(cq.Workplane(cq.Plane(origin...
2
10
0.826628
train_589ae29fda1a9566
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.649, -0.278, -0.426), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.042, 0.198).threePointArc((0.062, 0.204), (0.157, 0.179)).threePointArc((0.228, 0.127), (0.264, 0.056)).threePointArc((0.26, -0.024), (0.216, -0.101)).threePointArc((0.14, -0.16...
15
164
0.372486
train_a18965c562da8d5d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.224), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.987, -0.578).lineTo(-0.987, -0.578).threePointArc((0, 0.578), (0.987, -0.578)).close().extrude(0.448) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.25, -0.932, -0.108), normal=(0, 0...
8
42
0.919138
train_c94c9bfd78d54acb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.145), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.24).lineTo(1, -0.24).lineTo(-1, -0.24).lineTo(-1, 0.24).lineTo(1, 0.24).close().extrude(0.279) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.134), normal=(0, 0, 1), xDir=(...
13
72
0.205878
train_413ccad8322c11bf
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.502).extrude(1.522) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.065), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.458).extrude(0.935)) result = result.cut(cq.Workplane(cq.Plane...
6
10
1.42221
train_71450fbb7a44349c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.341), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.264).lineTo(1, -0.237).threePointArc((0.976, -0.275), (0.938, -0.29)).lineTo(-0.942, -0.29).threePointArc((-0.977, -0.276), (-1, -0.241)).lineTo(-1, 0.266).threePointArc((-0.985, 0.283)...
11
128
0.256704
train_f386d59f8c1f1790
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.501, -1.148, -0.498), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.331, 1.584).threePointArc((0.447, 1.535), (0.495, 1.419)).lineTo(0.495, 0.873).threePointArc((0.447, 0.761), (0.331, 0.712)).lineTo(-0.331, 0.712).threePointArc((-0.447, 0.761), ...
8
707
1.148062
train_afdd44d9986c581c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.204, -0.401, -0.589), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.322, 0.46).lineTo(-0.322, -0.198).lineTo(0.691, -0.198).lineTo(0.691, -0.46).lineTo(-0.691, -0.46).lineTo(-0.691, 0.46).lineTo(-0.322, 0.46).close().extrude(0.712, taper=6.42) re...
9
117
0.892586
train_02bd33e8f4db4146
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.113, -0.097, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.326, 0.815).threePointArc((0.409, 0.783), (0.443, 0.708)).lineTo(0.443, 0.13).threePointArc((0.485, 0.039), (0.585, 0)).lineTo(0.745, 0).threePointArc((0.844, -0.039), (0.886, -0...
20
170
0.258958
train_ddf338fbec05678d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.004, 0.45, 0.33), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.378, -0.019).threePointArc((0.409, -0.106), (0.462, -0.238)).threePointArc((0.463, -0.399), (0.373, -0.521)).threePointArc((0.225, -0.548), (0.084, -0.481)).threePointArc((-0.015, -...
7
843
0.388613
train_79d7f7863740b5bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.533, 0.133, -0.306), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.46, 0.06).threePointArc((0.465, 0.058), (0.467, 0.054)).lineTo(0.467, -0.038).threePointArc((0.46, -0.054), (0.444, -0.06)).lineTo(0.396, -0.06).threePointArc((0.379, -0.053), (0...
12
269
0.341401
train_5e9875b0070ea2b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0, -0.224), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.169, 0.571).threePointArc((0.356, 0.698), (0.573, 0.517)).lineTo(0.465, -0.107).threePointArc((0.476, -0.183), (0.54, -0.227)).lineTo(0.885, -0.331).threePointArc((0.998, -0.541), (0....
6
22
1.777876
train_ffcff0b551ba51bd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.905, 0.048, 0.442), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.068, 0.952).lineTo(0.486, 0.595).lineTo(0.31, -0.02).threePointArc((0.254, -0.058), (0.185, -0.059)).lineTo(0.062, -0.119).lineTo(-0.067, -0.115).lineTo(-0.198, -0.101).threePoint...
16
1,130
2.574886
train_516d3c19bbc8eda7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.02, -0.875), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.925, 0.735).lineTo(0.925, -0.979).lineTo(-0.925, -0.979).lineTo(-0.925, 0.735).threePointArc((-0.741, 0.979), (-0.556, 0.735)).threePointArc((-0.37, 0.489), (-0.185,...
2
94
3.027191
train_a04b04023c477edd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.066, -0.452), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.574, 0.894).lineTo(-0.574, -0.469).lineTo(1, -0.469).lineTo(1, -0.894).lineTo(-1, -0.894).lineTo(-1, 0.894).lineTo(-0.574, 0.894).close().extrude(0.317, taper=0.786) result = result....
30
165
0.452939
train_60af836b73b1f511
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.577, 0.53).lineTo(0.853, 0.596).lineTo(0.926, 0.351).lineTo(0.651, 0.286).lineTo(0.826, 0.196).lineTo(1, 0.107).lineTo(0.899, -0.048).lineTo(0.725, 0.042).lineTo(0.799, -0.203).lineTo(0.97...
14
497
0.356952
train_4460a206bd79f7f5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0, -0.193), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.449, 0.88).threePointArc((0.449, 0.88), (0.897, 0)).threePointArc((0.449, -0.88), (-0.449, -0.88)).threePointArc((-0.897, 0), (-0.449, 0.88)).close().extrude(0.385, taper=7.653) resu...
2
10
1.0303
train_ce782aaa7edf34a3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.287, -0.837), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.592, -0.305).lineTo(0.589, -0.316).lineTo(0.583, -0.326).lineTo(0.575, -0.336).lineTo(0.565, -0.344).lineTo(0.553, -0.351).lineTo(0.54, -0.357).lineTo(0.526, -0.362).lineTo(0.511, -0....
38
687
1.384734
train_c6db8a99fd410b17
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.02, 0, 0.011), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.208).lineTo(0.296, -0.216).lineTo(0.255, 0.182).lineTo(0.66, 0.216).lineTo(1, 0.208).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.union(c...
18
235
0.657088
train_de6c4bffe0e6cf8e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.326, -0.071, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.001, 0.026).lineTo(0.019, 0.019).lineTo(0.026, 0).lineTo(0.019, -0.018).lineTo(0, -0.026).lineTo(-0.018, -0.019).lineTo(-0.026, 0).lineTo(-0.019, 0.018).lineTo(0.001, 0.026).close().e...
3
32
0.203323
train_ffa54d4da7fd1474
import cadquery as cq import math result = cq.Workplane('XY').circle(0.82).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.566).extrude(0.666, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0...
10
50
2.534784
train_dae7bdecca95cb36
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.176, -1, -0.433), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.118, 0.399).threePointArc((-0.059, 0.372), (-0.016, 0.337)).threePointArc((0.02, 0.328), (0.076, 0.342)).threePointArc((0.152, 0.347), (0.216, 0.314)).threePointArc((0.231, 0.247), ...
4
58
0.365355
train_22fbff86ff3b6ac2
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.76, 0.486).threePointArc((0.878, 0.382), (0.928, 0.134)).lineTo(0.928, -0.15).threePointArc((0.881, -0.387), (0.768, -0.486)).lineTo(-0.749, -0.486).threePointArc((-0.875, -0.375), (-0.928, -0.11)).lineTo(-0.928, 0.117).threePointArc((-0.876, 0.377)...
22
106
1.512039
train_ef0044382dc3786c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.157, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.222, 0.578).lineTo(0.4, -0.578).threePointArc((0.311, -0.667), (0.133, -0.578)).lineTo(0.133, -0.222).lineTo(-0.311, -0.222).threePointArc((-0.4, -0.133), (-0.311, -0.044)).lineTo(0.044, ...
8
38
0.664425
train_9dcd7ef71dee2942
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.505, 0.274).threePointArc((0.775, 0), (0.505, -0.274)).lineTo(-0.505, -0.274).threePointArc((-0.775, 0), (-0.505, 0.274)).lineTo(0.505, 0.274).close().workplane(offset=...
3
51
0.844723
train_60e91af579b41e39
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.08, 0.112, -0.682), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.92, 0.737).lineTo(0.92, -0.737).lineTo(-0.92, -0.737).lineTo(-0.92, 0.737).lineTo(-0.3, 0.737).lineTo(-0.3, -0.116).lineTo(0.3, -0.116).lineTo(0.3, 0.737).lineTo(0.92, 0.737).close...
30
131
0.922599
train_c99b5da742f32e77
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.96), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.266) result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.96), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.099, 0.434), (-0.376, 0.782), (-0.777, 0.975), (-1...
4
61
0.920048
train_ea86ecb0af25a28b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.124, 0.171, 0.053), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.185, 0.321).threePointArc((0.382, -0.078), (0.197, -0.399)).threePointArc((-0.185, -0.321), (-0.382, 0.078)).threePointArc((-0.197, 0.399), (0.185, 0.321)).close().sweep(cq.Workplan...
2
7
0.292474
train_51fd6ea47b8d64b5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.086, -0.122, -0.306), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.838, 0.712).lineTo(0.838, 0.638).lineTo(0.913, 0.638).lineTo(0.913, -0.623).lineTo(0.825, -0.623).lineTo(0.825, -0.712).lineTo(-0.844, -0.712).threePointArc((-0.893, -0.692), (-0....
16
205
0.900651
train_a60530e9f408f96c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.048, 0, -0.15), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.818, 0.38).threePointArc((0.908, 0.343), (0.945, 0.252)).lineTo(0.945, -0.38).lineTo(-0.775, -0.38).lineTo(-0.945, -0.209).lineTo(-0.945, 0.153).threePointArc((-0.879, 0.313), (-0.718, ...
8
39
0.2217
train_2e6f10b1645fd42a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.23), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.468).lineTo(1, -0.468).lineTo(-0.962, -0.468).lineTo(-1, -0.438).lineTo(-1, 0.456).threePointArc((-0.988, 0.464), (-0.98, 0.468)).lineTo(1, 0.468).close().extrude(0.349) result = result....
9
31
0.53807
train_94bbb5039f684b80
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.241), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.225, 0.802).lineTo(1, 0.032).lineTo(1, -0.802).lineTo(-0.456, -0.802).threePointArc((-0.834, -0.645), (-1, -0.267)).lineTo(-1, 0.134).lineTo(-0.328, 0.134).lineTo(-0.328, 0.802).lineTo(0.2...
16
85
0.800757
train_fee939785b9b4231
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.525), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.502) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.525), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.651).extrude(1.504, both=True)) result = result.union(cq.Workpl...
11
43
1.778776
train_47ab3b705d9c1cb6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.582), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.612, 0.849).threePointArc((0.885, 0.736), (1, 0.46)).lineTo(1, -0.507).lineTo(0.658, -0.849).lineTo(-0.378, -0.849).lineTo(-0.378, -0.227).lineTo(-1, -0.227).lineTo(-1, 0.293).threePointAr...
8
40
1.371061
train_fdb36c00d31f963f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.353), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.47).lineTo(1, -0.47).lineTo(-1, -0.47).lineTo(-1, 0.47).lineTo(-0.701, 0.47).lineTo(-0.701, -0.34).lineTo(0.701, -0.34).lineTo(0.701, 0.47).lineTo(1, 0.47).close().extrude(0.705) result...
2
24
0.52138
train_5627433e45ddd62f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.383, -0.235, -0.14), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.617, 0.108).lineTo(0.617, 0.049).lineTo(0.233, 0.049).lineTo(0.233, -0.108).lineTo(-0.233, -0.108).lineTo(-0.233, 0.049).lineTo(-0.617, 0.049).lineTo(-0.617, 0.108).lineTo(0.617, 0...
13
198
0.37518
train_6377a632a838fdd4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.294, 0.288, -0.065), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.036, 0.278).lineTo(0.186, 0.136).lineTo(0.068, 0.01).lineTo(0.283, -0.192).lineTo(0.202, -0.278).lineTo(-0.013, -0.077).lineTo(-0.131, -0.203).lineTo(-0.283, -0.061).lineTo(0.036,...
7
152
0.741477
train_67cf3531a4d1861b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.624), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.438, 0.877).lineTo(0.438, 0.175).lineTo(0.877, 0.175).lineTo(0.877, -0.175).lineTo(0.438, -0.175).lineTo(0.438, -0.877).lineTo(-0.438, -0.877).lineTo(-0.438, -0.175).lineTo(-0.877, -0.175)...
6
54
1.110712
train_ff225150f9dabe43
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.025, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.19, 0.247).lineTo(0.359, 0.079).lineTo(0.359, -0.005).lineTo(0.117, -0.247).lineTo(-0.183, -0.247).lineTo(-0.359, -0.072).lineTo(-0.359, 0.149).lineTo(-0.26, 0.247).lineTo(0.19, 0.247)...
7
30
0.331275
train_9ae795adc1525d9b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.254, 0.47), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.245, 0.371).threePointArc((0.48, 0.33), (0.688, 0.272)).lineTo(0.977, 0.069).threePointArc((1, -0.001), (0.972, -0.07)).lineTo(0.589, -0.32).threePointArc((0.478, -0.349), (0.355, -0.371...
17
130
0.792531
train_b598895556029536
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.006).extrude(0.323) result = result.cut(cq.Workplane(cq.Plane(origin=(1.006, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.134, 0.503), (-0.503, 0.872), (-1.006, 1.006), (...
5
76
4.259554
train_c8c14bc104daffe3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.329, 0, -0.355), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.241, 0.71).lineTo(0.241, 0.241).lineTo(0.657, 0.241).lineTo(0.657, 0).lineTo(0, 0).lineTo(0, 0.71).lineTo(0.241, 0.71).close().extrude(1, both=True) result = result.cut(cq.Workplane(...
6
28
0.544429
train_acfca2f62aa16c53
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.669, 0.844).threePointArc((0.897, 0.753), (1, 0.523)).lineTo(1, -0.525).threePointArc((0.897, -0.755), (0.671, -0.844)).lineTo(-0.641, -0.844).lineTo(-1, -0.492).lineTo(-1, 0.844).lineTo(0...
11
47
1.394451
train_2933b44701c5ba20
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.05, -0.246, -0.208), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.141, 0).threePointArc((0.118, -0.022), (0.096, 0)).threePointArc((0.118, 0.022), (0.141, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.05, -0.246, -0.208), normal=(0, 0, 1), x...
14
152
0.083726
train_0f81c0d78744a541
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(-0.651, 0.985).threePointArc((-0.592, 0.964), (-0.566, 0.914)).lineTo(-0.566, -0.435).threePointArc((-0.499, -0.57), (-0.338, -0.627)).lineTo(0.9, -0.627).threePointArc((0.965, -0.65), (1, -...
3
23
0.27188
train_51bdd13406702810
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.361, 0.02, -0.074), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.555, 0.229).threePointArc((0.614, 0.204), (0.638, 0.145)).lineTo(0.638, -0.156).threePointArc((0.617, -0.207), (0.565, -0.229)).lineTo(-0.549, -0.229).threePointArc((-0.612, -0.203)...
10
62
0.101441
train_fc165cf5d77bd701
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.101, -0.089, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.622, 0.182).lineTo(0.622, -0.182).lineTo(-0.622, -0.182).lineTo(-0.622, 0.182).lineTo(-0.347, 0.182).lineTo(-0.347, -0.097).lineTo(0.347, -0.097).lineTo(0.347, 0.182).lineTo(0.622, 0....
11
84
0.223371
train_09766bd6c0304434
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.336), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.672) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.336), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.399).extrude(2.011, both=True)) result = result.union(cq.Workpl...
11
26
0.855492
train_8d24ef768d5dcc90
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.133, 0.012, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.139, 0.142).lineTo(0.139, 0.074).lineTo(-0.05, 0.074).lineTo(-0.05, -0.074).lineTo(0.139, -0.074).lineTo(0.139, -0.142).lineTo(-0.139, -0.142).lineTo(-0.139, 0.142).lineTo(0.139, 0.142)...
12
139
0.040142
train_1f71ebe89b906996
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.105, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.038, 0.709).lineTo(0.332, 0.588).lineTo(0.587, 0.309).lineTo(0.524, -0.054).lineTo(0.402, -0.498).lineTo(-0.041, -0.375).lineTo(-0.369, -0.219).lineTo(-0.587, 0.136).lineTo(-0.383, 0.505)...
7
131
0.79948
train_5ca9e1248f76f0ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.415), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.719, 0.699).threePointArc((0.917, 0.617), (1, 0.418)).lineTo(1, -0.409).threePointArc((0.914, -0.614), (0.71, -0.699)).lineTo(-0.667, -0.699).threePointArc((-0.902, -0.601), (-1, -0.365))....
7
51
1.263874
train_936cc0c44873254b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.184, -0.175, -0.276), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.053, 0.426).threePointArc((0.115, 0.399), (0.142, 0.336)).lineTo(0.142, 0.207).threePointArc((0.161, 0.161), (0.207, 0.142)).lineTo(0.322, 0.142).threePointArc((0.395, 0.111), (0...
14
339
0.969424
train_fa1471451e931910
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.015, 0, 0.231), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.745, 0.227).lineTo(0.98, -0.029).threePointArc((1, -0.061), (0.978, -0.093)).lineTo(0.902, -0.163).threePointArc((0.872, -0.174), (0.843, -0.161)).lineTo(0.733, -0.04).threePointArc((...
10
182
0.664462
train_b59a64d7d0c76fcb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.044, 0.227, -0.372), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.273, 0.348).threePointArc((0.317, 0.33), (0.336, 0.285)).lineTo(0.336, -0.201).threePointArc((0.317, -0.246), (0.273, -0.265)).lineTo(-0.273, -0.265).threePointArc((-0.317, -0.246)...
12
79
0.324844
train_9f6fbe9a00810cec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.043, -1, -0.196), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.467, 0.895).threePointArc((0.601, 0.839), (0.657, 0.705)).lineTo(0.657, -0.619).threePointArc((0.601, -0.754), (0.467, -0.81)).lineTo(-0.467, -0.81).threePointArc((-0.601, -0.754), (...
4
50
4.630892
train_848863d95e96d4e5
import cadquery as cq import math result = cq.Workplane('XY').circle(0.293).extrude(0.978, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.813).extrude(1, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.244), normal=(0, 0, 1), x...
6
43
3.516266
train_613f996e9ae73ea3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.076, 0.061, -0.053), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.353, 0.723).lineTo(0.353, -0.571).threePointArc((0, -0.923), (-0.353, -0.571)).lineTo(-0.353, 0.723).threePointArc((0, 1.075), (0.353, 0.723)).close().extrude(0.185) result = resu...
15
108
0.282732
train_30e9fddab768761f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.312), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.836, 0.315).lineTo(0.836, 0.2).lineTo(0.95, 0.2).lineTo(0.95, -0.191).lineTo(0.826, -0.191).lineTo(0.826, -0.315).lineTo(-0.834, -0.315).lineTo(-0.95, -0.2).lineTo(-0.95, 0.315).lineTo(0.8...
6
29
0.197397
train_341fb35d7f3822e6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.137, 0.026, -0.028), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.857, 0).threePointArc((0, -0.247), (-0.857, 0)).threePointArc((0, 0.247), (0.857, 0)).close().extrude(0.175, taper=-1.682) result = result.union(cq.Workplane(cq.Plane(origin=(-0.67...
10
90
0.092327
train_9cdab729d2001ee8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.281, 0.099, -1.761), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.718, 2.423).lineTo(0.718, 2.102).lineTo(0.384, 2.102).lineTo(0.384, 1.1).lineTo(0.228, 1.1).lineTo(0.228, 0).lineTo(0, 0).lineTo(0, 2.423).lineTo(0.718, 2.423).close().revolve(an...
6
55
1.072817
train_e370da828f069894
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.303, -0.395), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.401).lineTo(1, -0.353).threePointArc((0.985, -0.387), (0.952, -0.401)).lineTo(-0.932, -0.401).lineTo(-1, -0.334).lineTo(-1, 0.401).lineTo(1, 0.401).close().extrude(0.79) result = re...
14
59
0.578881
train_b1dd005710007530
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, 0.011), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.176, 0.994).threePointArc((0.76, 0.643), (0.994, -0.059)).lineTo(0.176, 0.059).lineTo(0.059, 0.176).lineTo(0.059, -0.059).lineTo(-0.059, -0.176).lineTo(0.059, -0.994).threePointArc((-0...
3
60
3.866354
train_b8ff350a2c7d60da
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.038, -0.554, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.608, 0.72).threePointArc((0.689, 0.687), (0.722, 0.606)).lineTo(0.722, -0.531).threePointArc((0.689, -0.611), (0.608, -0.644)).lineTo(-0.608, -0.644).threePointArc((-0.689, -0.611), (...
8
395
2.839954
train_93a9d734581f4411
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.024, -0.329), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.927, 0.505).lineTo(1, 0.439).lineTo(1, -0.505).lineTo(-0.895, -0.505).threePointArc((-0.963, -0.476), (-1, -0.407)).lineTo(-1, 0.386).lineTo(-0.871, 0.386).lineTo(-0.871, 0.505).lineTo...
13
135
1.043669
train_0489f691ecc78fc6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.707, 0.707).threePointArc((0.707, 0.707), (0.707, -0.707)).threePointArc((-0.707, -0.707), (-0.707, 0.707)).close().extrude(0.303, taper=10.931) result = result.cut(cq.Workplane(cq.Plane(...
5
158
0.763055
train_d39bf63c2819c845
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.568).extrude(0.452) result = result.cut(cq.Workplane(cq.Plane(origin=(0.568, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.108, 0.334), (-0.393, 0.54), (-0.743, 0.54), (-1...
4
45
0.419842
train_19f36b74e3054cf0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.128, 0.007, -0.066), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.011, 0.394).threePointArc((1.149, 0.007), (-0.087, -0.358)).threePointArc((-0.628, -0.394), (-1.048, -0.309)).threePointArc((-1.096, -0.282), (-1.149, -0.151)).threePointArc((-1....
15
383
0.412539
train_b3b1eeae0a663098
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.093, 0.192, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.644, 0.808).lineTo(0.644, 0).lineTo(0.215, 0).lineTo(0.215, -0.808).lineTo(-0.644, -0.808).lineTo(-0.644, -0.404).lineTo(-0.215, -0.404).lineTo(-0.215, 0.404).lineTo(0.215, 0.404)...
5
53
0.585704
train_75061c2a93a1da42
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.086, 0.257, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.056, 0.364).lineTo(0.056, 0.292).lineTo(0.167, 0.337).lineTo(0.278, 0.311).threePointArc((0.529, 0.06), (0.278, -0.192)).lineTo(-0.278, -0.192).threePointArc((-0.529, 0.06), (-0.278, ...
11
92
0.544327
train_fb1a2d8b1fcfff2e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.068), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.27) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.068), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.835).extrude(0.809, both=True)) result = result.union(cq.Workplane...
15
121
0.761622
train_f83cb13bb69b5d32
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.138, 0, -0.038), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.564, 0.181).threePointArc((0.751, 0.181), (0.564, -0.181)).lineTo(-0.564, -0.181).threePointArc((-0.751, -0.181), (-0.564, 0.181)).lineTo(0.564, 0.181).close().extrude(0.064) result = ...
4
51
0.136805
train_9cfb5168907bbbf8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.146, -0.164, 0.079), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.634, 0.779).threePointArc((0.787, 0.72), (0.852, 0.58)).lineTo(0.852, -0.483).threePointArc((0.756, -0.691), (0.527, -0.779)).lineTo(-0.732, -0.779).threePointArc((-0.816, -0.747),...
12
213
1.160203
train_e6101da5b604c139
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.549, -0.492, -2.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.098, 1.647).threePointArc((1.098, 0.549), (0, -1.647)).threePointArc((-1.098, -1.647), (-1.098, -1.098)).lineTo(0, 1.098).lineTo(0.549, 1.647).lineTo(1.098, 1.647).close().extrude...
5
20
0.547242
train_ccba46f68107de47
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.208, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.6, 0.834).lineTo(0.6, 0).lineTo(1, 0).lineTo(1, -0.417).lineTo(0.6, -0.417).lineTo(0.6, -0.834).lineTo(-0.6, -0.834).lineTo(-0.6, -0.417).lineTo(-1, -0.417).lineTo(-1, 0).lineTo(-0.6, 0...
5
14
0.660528
train_51ccb6e0e8f3eb74
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.487, 0, -0.351), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.514, 0.267).lineTo(-0.5, 0.301).lineTo(-0.483, 0.332).lineTo(-0.463, 0.361).lineTo(-0.441, 0.387).lineTo(-0.417, 0.409).lineTo(-0.392, 0.427).lineTo(-0.366, 0.441).lineTo(-0.339, 0.45...
7
722
0.963666
train_6ef5d7180ec0b9b8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.244), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.608, 0.355).threePointArc((0.663, 0.333), (0.686, 0.279)).lineTo(0.686, -0.235).threePointArc((0.649, -0.321), (0.564, -0.355)).lineTo(-0.614, -0.355).threePointArc((-0.665, -0.335), (-0.6...
8
64
0.736814
train_c661af68928e8fd1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.014), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.441, 0.201).lineTo(0.716, 0.084).lineTo(1, -0.01).lineTo(0.928, -0.201).lineTo(0.062, 0.125).lineTo(0.08, 0.173).lineTo(0.318, 0.083).lineTo(0.441, 0.201).close().revolve(angleDegrees=360,...
4
41
0.606697
train_e36772af54de78bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.445, -0.695, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.184, 1.444).threePointArc((0.552, 1.291), (0.705, 0.923)).lineTo(0.705, -0.035).threePointArc((0.552, -0.403), (0.184, -0.555)).lineTo(-0.184, -0.555).threePointArc((-0.552, -0.403), ...
6
33
2.731071
train_5ee30285f61752ae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.127, 0.426, 0.164), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.134, 0.312).threePointArc((-0.074, 0.31), (-0.003, 0.26)).threePointArc((0.069, 0.171), (0.131, 0.056)).threePointArc((0.172, -0.067), (0.188, -0.181)).threePointArc((0.174, -0.2...
10
91
0.701402
train_5cd9a1e357d6bf0a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.043, -0.365, -0.462), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.561, 2.258).lineTo(2.704, 0.97).lineTo(2.358, -0.717).lineTo(1.614, -0.916).threePointArc((0.67, -0.373), (-0.418, -2.258)).threePointArc((-2.304, -1.17), (-2.704, 0.319)).lineTo(...
6
128
0.154312
train_f253a9b0ab64b5da
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.053, 0.258, -0.356), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.336, 0.721).threePointArc((0.928, -0.721), (-0.928, -0.046)).lineTo(0.336, 0.721).close().moveTo(-0.093, -0.39).threePointArc((0.134, -0.464), (-0.01, -0.564)).lineTo(-0.093, -0.3...
3
16
1.057932
train_418ab3ddd643f8cf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.029, 0, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.768, -0.228).lineTo(0.943, -0.329).lineTo(0.907, -0.418).lineTo(0.721, -0.347).lineTo(0.592, -0.539).lineTo(0.711, -0.707).lineTo(0.638, -0.773).lineTo(0.499, -0.626).lineTo(0.3, -0.7...
5
84
0.944028
train_7a9059d1ca57fae0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.005, -0.336), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.004, 0.672).lineTo(1.004, 0.441).lineTo(0.994, 0.441).lineTo(0.994, 0).lineTo(0.4, 0).lineTo(0.4, 0.672).lineTo(1.004, 0.672).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), a...
8
36
0.87621
train_37562a38beed26ce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.478, 0.464), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.532, 0.074).threePointArc((0.515, 0.12), (0.348, 0.134)).threePointArc((0.378, 0.214), (0.373, 0.297)).threePointArc((0.361, 0.352), (0.429, 0.509)).threePointArc((0.318, 0.436), (0.2...
3
42
1.155484
train_19a4c9a83cf519cb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.417), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.829, 0.635).lineTo(0.829, 0.472).lineTo(1, 0.472).lineTo(1, -0.412).lineTo(0.773, -0.412).lineTo(0.773, -0.635).lineTo(-0.735, -0.635).lineTo(-0.735, -0.374).lineTo(-1, -0.374).lineTo(-1, ...
11
39
1.341161
train_019bf912d43e755b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.007, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.017, 0.698).lineTo(0.219, 0.054).lineTo(-0.017, -0.698).lineTo(-0.085, -0.483).lineTo(0.017, -0.161).lineTo(-0.051, 0.054).lineTo(-0.151, -0.269).lineTo(-0.219, -0.054).lineTo(0.017, 0.698...
4
50
0.159297
train_0f595c9c0d7b31b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.293, -0.242), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.814, 0.199).threePointArc((0.895, 0.164), (1, 0.081)).lineTo(1, -0.122).threePointArc((0.907, -0.176), (0.852, -0.199)).lineTo(-1, -0.199).lineTo(-1, 0.144).threePointArc((-0.913, 0.1...
17
93
0.644394
train_c210ae759467f9d4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.059, -0.541, -0.468), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.214, 0.585).lineTo(0.532, 0.233).lineTo(0.455, -0.235).lineTo(0.041, -0.467).lineTo(-0.399, -0.287).lineTo(-0.532, 0.168).lineTo(-0.259, 0.556).lineTo(0.214, 0.585).close().extru...
15
223
1.280626
train_ba992435cb8a8cdd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.586, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 1.266).threePointArc((0.128, 1.231), (0.22, 1.116)).threePointArc((0.266, 0.983), (0.301, 0.887)).threePointArc((0.373, 0.835), (0.492, 0.79)).threePointArc((0.616, 0.708), (0.68, 0.586)...
12
43
1.872135
train_eb96d894b99f409b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.052, 0, -0.421), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.947, 0.686).lineTo(0.947, 0.369).lineTo(0.65, 0.369).lineTo(0.65, 0).lineTo(0.078, 0).lineTo(0.078, 0.686).lineTo(0.947, 0.686).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), ...
4
30
1.478506
train_18f07eed6efae985
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.05, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.584, 0.802).lineTo(0.713, 0.501).threePointArc((0.712, 0.351), (0.724, 0.2)).lineTo(0.78, -0.1).lineTo(0.707, -0.401).lineTo(0.584, -0.702).threePointArc((-0.78, 0.05), (0.584, 0.802)).clo...
14
149
3.190424
train_7874f8c94abfb66a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.479), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.718, 0.933).lineTo(0.933, 0.718).lineTo(0.933, 0.551).lineTo(0.693, 0.311).lineTo(0.513, 0.311).lineTo(0.311, 0.109).lineTo(0.311, -0.206).lineTo(0.416, -0.311).lineTo(0.764, -0.311).lineT...
9
211
1.473927
train_5d165be9bfa61cf4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.128, 0.776, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 1.616).threePointArc((0.345, 1.474), (0.488, 1.129)).threePointArc((0.345, 0.784), (0, 0.642)).threePointArc((-0.345, 0.784), (-0.488, 1.129)).threePointArc((-0.345, 1.474), (0, 1.616...
9
14
2.632921