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_6a9b4061b41c62ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.293, -0.528), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.866, 0.703).lineTo(0.866, 0.21).lineTo(-0.377, 0.21).lineTo(-0.377, -0.21).lineTo(0.866, -0.21).lineTo(0.866, -0.703).lineTo(-0.866, -0.703).lineTo(-0.866, 0.703).lineTo(0.866, 0.703)...
8
35
1.138796
train_b7f667c3628ce96b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.106, 0, 0), normal=(-0.231, 0.5, -0.834), xDir=(-0.908, -0.42, 0))).moveTo(0.639, 0.578).lineTo(0.639, -0.578).lineTo(-0.639, -0.578).lineTo(-0.639, 0.578).lineTo(-0.24, 0.578).lineTo(-0.24, 0.203).lineTo(0.24, 0.203).lineTo(0.24, 0.578).lineTo(...
6
41
1.454731
train_1eb71e16e45114ae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.196, 2).extrude(0.22) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.336, -0.339).lineTo(0.336, -0.339).lineTo(-0.336, -0.461).cl...
12
32
0.421847
train_91d37d7272d8b5a9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.22, -0.185, -0.37), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.598, 0.398).lineTo(0.863, 0.133).threePointArc((0.996, 0), (0.863, -0.133)).lineTo(0.598, -0.398).threePointArc((0.465, -0.529), (0.334, -0.398)).lineTo(0.069, -0.133).threePointAr...
11
137
0.37104
train_b4c885dc22b73a13
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.017, -0.425, 0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.004, 1.196).threePointArc((0.257, 1.401), (0.288, 1.12)).lineTo(0.624, 0.634).lineTo(0.663, 0.471).lineTo(0.56, 0.348).lineTo(-0.002, 0.073).lineTo(-0.397, -1.401).lineTo(-0.663, -...
4
45
0.05398
train_9d4b4ef7a5c89ebf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.577), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.154).lineTo(1, 0.664).lineTo(0.968, 0.664).lineTo(0.968, 0).lineTo(0, 0).lineTo(0, 1.154).lineTo(1, 1.154).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) res...
2
6
3.008385
train_1a7dbdda1bb3be06
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.208, 0.181, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.311, 2.208).threePointArc((0.786, 2.011), (0.982, 1.536)).lineTo(0.982, 0.88).threePointArc((0.786, 0.406), (0.311, 0.209)).lineTo(-0.311, 0.209).threePointArc((-0.786, 0.406), (-0.982...
9
256
0.589653
train_85a7c3bce218b6a6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.419), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.441).extrude(0.578) result = result.cut(cq.Workplane(cq.Plane(origin=(0.441, 0, -0.419), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.084, 0.26), (-0.304, 0.42), (-0.578, 0.4...
10
81
0.483214
train_3eb38d785a388983
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 0.148, -0.328), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.136, 0.627).threePointArc((0.176, 0.594), (0.227, 0.592)).lineTo(0.227, 0.308).lineTo(0.563, 0.308).lineTo(0.563, -0.256).lineTo(0.227, -0.256).lineTo(0.227, -0.54).lineTo(-0.227, -0....
10
247
1.760863
train_4bbe6429f06d4f36
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.842, 0.316).lineTo(0.842, 0.158).lineTo(1, 0.158).lineTo(1, -0.006).lineTo(0.691, -0.316).lineTo(-0.72, -0.316).lineTo(-1, -0.035).lineTo(-1, 0.006).lineTo(-0.691, 0.316).lineTo(0.842, 0.3...
9
38
0.171673
train_fb8257d236571cb1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.275, -0.328, -0.331), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.153, 0.22).lineTo(0.15, 0.201).lineTo(0.197, 0.183).lineTo(0.191, 0.163).lineTo(0.142, 0.176).lineTo(0.134, 0.158).lineTo(0.174, 0.127).lineTo(0.162, 0.11).lineTo(0.119, 0.136).li...
6
124
0.537736
train_4e5a338c7ec74308
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.823, 0, -3.227), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.806).extrude(4.286) result = result.union(cq.Workplane(cq.Plane(origin=(-0.823, 0, -0.227), normal=(0.932, 0, 0.362), xDir=(0.362, 0, -0.932))).circle(1).extrude(1.122)) result = resu...
6
24
0.643228
train_3b534a401bc17b35
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(0.531, 1).lineTo(0.82, -1).threePointArc((-0.059, -0.802), (-0.82, -0.251)).lineTo(-0.703, 0.11).lineTo(-0.306, 0.6).lineTo(0.531, 1).close().extrude(0.09) result = result.cut(cq.Workplane(c...
7
53
0.372943
train_c92c1dbb21836bb1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.798, 0.181, 0.781), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.034, 0.564).threePointArc((0.156, 0.514), (0.206, 0.393)).lineTo(0.206, 0.191).threePointArc((0.156, 0.07), (0.034, 0.019)).lineTo(-0.025, 0.019).threePointArc((-0.147, 0.07), (-0....
4
57
0.40337
train_349536d9fe1433b9
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(0.933, 0.93).lineTo(1, 0.871).lineTo(1, -0.855).lineTo(0.917, -0.93).lineTo(-0.918, -0.93).lineTo(-1, -0.858).lineTo(-1, 0.818).lineTo(-0.875, 0.93).lineTo(0.933, 0.93).close().extrude(0.161...
12
59
1.247726
train_2196e1f3cede6b1f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.06, 0.092, -0.75), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.475, 0.793).threePointArc((0.516, 0.773), (0.533, 0.728)).lineTo(0.533, 0.54).threePointArc((0.571, 0.439), (0.662, 0.396)).lineTo(0.786, 0.396).threePointArc((0.858, 0.363), (0.889,...
7
98
1.981289
train_88e2bc0aed8c0fc4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.026, 0.055, -0.868), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.765, 0.081).lineTo(0.765, 0.012).lineTo(-0.51, 0.012).lineTo(-0.51, -0.012).lineTo(0.765, -0.012).lineTo(0.765, -0.081).lineTo(-0.765, -0.081).lineTo(-0.765, -0.058).lineTo(0.51, ...
20
237
0.435377
train_e28d7390ec176d8d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.405), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.545, 1.178).lineTo(0.545, 0.275).lineTo(1, 0.275).lineTo(1, 0).lineTo(0.419, 0).lineTo(0.419, 1.178).lineTo(0.545, 1.178).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
5
28
1.262122
train_c6cedc90f31aea0c
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.134, 0.78).lineTo(0.474, 0.494).lineTo(1, -0.171).lineTo(0.501, -0.593).lineTo(0.528, -0.68).threePointArc((0.402, -0.78), (0.302, -0.652)).lineTo(-0.365, -0.558).threePointArc((-0.43, -0.42), (-0.591, -0.428)).lineTo(-1, 0.089).lineTo(-0.32, 0.75)...
1
30
1.021575
train_cf60b34dfed217f2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.07, -0.128), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.324, 0.343).lineTo(1, -0.169).lineTo(0.876, -0.28).lineTo(0.693, -0.174).lineTo(0.66, -0.337).lineTo(0.406, -0.252).lineTo(0.353, -0.343).lineTo(0.224, -0.146).lineTo(0.118, -0.329).li...
10
172
0.517078
train_b368eafa662f269b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.252, 0.084, -0.637), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.453, 0.119).lineTo(0.453, 0.021).lineTo(0.245, 0.021).lineTo(0.245, -0.021).lineTo(0.453, -0.021).lineTo(0.453, -0.119).lineTo(0.147, -0.119).lineTo(0.147, 0.119).lineTo(0.453, 0....
10
168
0.22253
train_9444cc4e9f5d9fa6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.008, -0.093, 0.008), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.026, 0.602).threePointArc((1.037, 0.535), (0.312, -0.602)).threePointArc((0.051, -0.349), (-0.09, 0.056)).threePointArc((-0.16, 0.136), (-0.31, 0.066)).threePointArc((-1.037, 0.40...
5
52
1.801032
train_4c34770f9c3c63ff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.438), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.415, 1).lineTo(0.64, 0.771).lineTo(0.64, -0.855).lineTo(0.505, -1).lineTo(-0.44, -1).lineTo(-0.64, -0.794).lineTo(-0.64, 0.812).lineTo(-0.459, 1).lineTo(0.415, 1).close().extrude(0.126) re...
17
79
1.01147
train_e6365f63a1991ecc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.283, 0.112, -0.303), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.642, 0.118).threePointArc((0.693, 0.099), (0.713, 0.048)).lineTo(0.713, -0.062).threePointArc((0.697, -0.103), (0.656, -0.118)).lineTo(-0.596, -0.118).threePointArc((-0.679, -0.085...
17
74
0.193559
train_a8f9ae7c5b8cbf4b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.271, -0.196, -0.813), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.366, 0.578).lineTo(0.366, -0.578).lineTo(-0.366, -0.578).lineTo(-0.366, 0.578).lineTo(-0.111, 0.578).lineTo(-0.111, 0.059).lineTo(0.111, 0.059).lineTo(0.111, 0.578).lineTo(0.366,...
17
230
1.149761
train_f516cdedff908293
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.127), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.341, 0.254).lineTo(0.341, 0).lineTo(-0.341, 0).lineTo(-0.341, 0.254).lineTo(-0.239, 0.254).lineTo(-0.239, 0.102).lineTo(0.239, 0.102).lineTo(0.239, 0.254).lineTo(0.341, 0.254).close().ext...
5
27
0.193717
train_bc333938d7958aa2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.386).extrude(0.798, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.202), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.083).extrude(0.727, both=True)) result = resul...
12
116
0.247153
train_6d6c4bbca557783c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.021, -0.274, -0.303), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.009, 0.734).lineTo(0.517, 0.52).lineTo(0.734, -0.017).lineTo(0.528, -0.509).lineTo(0, -0.734).lineTo(-0.523, -0.514).lineTo(-0.734, 0.017).lineTo(-0.512, 0.525).lineTo(0.009, 0.73...
5
175
2.244299
train_1d7cff6297c5d75e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.034, -0.256), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.399, 0.446).lineTo(0.893, -0.446).lineTo(-0.893, -0.446).lineTo(-0.399, 0.446).lineTo(0.399, 0.446).close().extrude(0.431, taper=-13.826) result = result.cut(cq.Workplane(cq.Plane(ori...
12
89
0.300988
train_06f498d3c68b1835
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.722, 0, -0.33), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.398, 0.66).lineTo(0.398, 0.398).lineTo(1.444, 0.398).lineTo(1.444, 0).lineTo(0, 0).lineTo(0, 0.66).lineTo(0.398, 0.66).close().extrude(1, both=True) result = result.cut(cq.Workplane(c...
13
40
1.201104
train_7c1f22b8fe08a665
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.07), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.75, 0.404).threePointArc((0.926, 0.382), (1, 0.328)).lineTo(1, 0.277).threePointArc((0.926, 0.224), (0.752, 0.202)).lineTo(0.457, 0.202).threePointArc((0.37, 0.191), (0.333, 0.164)).lin...
13
162
0.526469
train_5c687ddeca952007
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, -0.096, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.599, 0.435).threePointArc((0.875, 0.155), (0.599, -0.125)).lineTo(-0.599, -0.125).threePointArc((-0.875, 0.155), (-0.599, 0.435)).lineTo(0.599, 0.435).close().extrude(2) result = result.c...
15
464
3.042555
train_c4b98f270283456f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.055), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.316, 0.747).threePointArc((0.444, 0.693), (0.498, 0.564)).lineTo(0.498, 0.362).threePointArc((0.532, 0.283), (0.611, 0.249)).lineTo(0.833, 0.249).threePointArc((0.945, 0.202), (1, 0.091)).l...
6
80
0.27551
train_dc0d9924ba24d689
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.151, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.958, 0.203).lineTo(1, 0.161).lineTo(1, -0.143).threePointArc((0.981, -0.186), (0.938, -0.203)).lineTo(-1, -0.203).lineTo(-1, 0.103).threePointArc((-0.969, 0.173), (-0.899, 0.203)).line...
10
67
0.318568
train_355a7119a330c949
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.313).lineTo(0, 0.156).lineTo(1, 0.156).lineTo(1, -0.156).lineTo(0, -0.156).lineTo(0, -0.313).lineTo(-0.667, -0.313).lineTo(-0.667, -0.156).lineTo(-1, -0.156).lineTo(-1, 0).lineTo(-0.667...
6
60
0.152364
train_b55a9a18ddc99584
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.388, -0.293), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.136, 0.522).threePointArc((0.246, 0.418), (0.289, 0.203)).threePointArc((0.255, -0.067), (0.152, -0.319)).threePointArc((0.009, -0.485), (-0.136, -0.522)).threePointArc((-0.246, -0.41...
8
63
0.64851
train_c250da06c6313318
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.016, 0, 0.298), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.496, 0.994).lineTo(1.015, 0.764).lineTo(0.942, -0.994).lineTo(-1.015, -0.703).lineTo(-0.496, 0.994).close().extrude(0.273) result = result.union(cq.Workplane(cq.Plane(origin=(-0.661, ...
13
218
1.044313
train_ef4a3c6e8120ab6f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.01, 0, -0.745), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.369, 1).threePointArc((-0.285, 0.956), (-0.249, 0.871)).lineTo(-0.249, 0.692).threePointArc((-0.191, 0.555), (-0.055, 0.498)).lineTo(0.105, 0.498).threePointArc((0.206, 0.455), (0.249,...
4
46
2.599074
train_223c93c21aa5aa41
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.856, -1.214, -0.006), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.131, 1.634).threePointArc((0.201, 1.593), (0.246, 1.524)).threePointArc((0.276, 1.453), (0.318, 1.393)).threePointArc((0.374, 1.33), (0.418, 1.25)).threePointArc((0.413, 1.162), ...
14
28
3.059417
train_abc3b8364e5a1708
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.128), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.849, 0.105).lineTo(1, -0.05).lineTo(0.912, -0.183).lineTo(0.684, -0.425).lineTo(0.405, -0.495).lineTo(0.126, -0.399).lineTo(-0.01, -0.136).lineTo(-0.064, 0.196).lineTo(-0.009, 0.307).three...
2
44
0.363207
train_adebffe1f9a75276
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.086, 0, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.87, -0.236).lineTo(0.74, -0.449).lineTo(0.538, -0.619).lineTo(0.283, -0.727).lineTo(0, -0.765).lineTo(-0.283, -0.727).lineTo(-0.538, -0.619).lineTo(-0.74, -0.449).lineTo(-0.87, -0.236)...
4
75
1.09774
train_c25bca51073f1870
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.03, 0, -1.093), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.952, 1.871).lineTo(0.952, 1.316).lineTo(0.593, 1.316).lineTo(0.593, 0.67).lineTo(1, 0.67).lineTo(1, 0.315).lineTo(0.275, 0.315).lineTo(0.275, 0).lineTo(0, 0).lineTo(0, 1.871).lineTo(0...
5
27
1.614659
train_814f12131cf970cd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.503, 0, -0.829), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.496, 1.657).lineTo(0.496, 0.496).lineTo(0.804, 0.496).lineTo(0.804, 0).lineTo(0, 0).lineTo(0, 1.657).lineTo(0.496, 1.657).close().extrude(1, both=True) result = result.cut(cq.Workpla...
9
86
0.41956
train_6257d3da58ee411c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.252), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.893, 0.242).threePointArc((0.963, 0.212), (1, 0.142)).lineTo(1, -0.129).threePointArc((0.958, -0.208), (0.878, -0.242)).lineTo(-0.889, -0.242).threePointArc((-0.961, -0.212), (-1, -0.138))...
12
85
0.255626
train_3f0df126f6ae47ef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.183, 0.012, -0.729), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.316, 0.252).threePointArc((0.338, 0.242), (0.347, 0.22)).lineTo(0.347, 0.146).threePointArc((0.353, 0.132), (0.368, 0.126)).lineTo(0.448, 0.126).threePointArc((0.465, 0.118), (0.47...
4
118
0.510521
train_46ca00f61358746b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.855), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.849, 1.518).lineTo(0.849, 1.454).lineTo(0.556, 1.454).lineTo(0.556, 1.08).lineTo(1, 1.08).lineTo(1, 0.191).lineTo(0.111, 0.191).lineTo(0.111, 0).lineTo(0, 0).lineTo(0, 1.518).lineTo(0.849...
3
114
3.21576
train_d7c940476633826e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.301, 0, 0.286), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.256, 0.142).threePointArc((0.27, 0.136), (0.276, 0.122)).lineTo(0.276, -0.119).lineTo(0.253, -0.142).lineTo(-0.276, -0.142).lineTo(-0.276, 0.095).threePointArc((-0.262, 0.128), (-0.23,...
11
168
0.239669
train_e135de79d61d75a3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.733, -0.082, -0.242), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.235, 0.04).lineTo(0.256, -0.036).lineTo(0.263, -0.19).lineTo(0.178, -0.276).threePointArc((0.051, -0.194), (-0.024, -0.138)).lineTo(-0.104, -0.083).threePointArc((-0.193, -0.035)...
3
24
0.072355
train_d23bec9de2e886da
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.204), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.261, 0.889).lineTo(-0.173, 0.749).lineTo(-0.016, 0.667).lineTo(0.055, 0.513).lineTo(0.444, 0.813).lineTo(0.402, 0.324).lineTo(0.889, 0.261).lineTo(0.513, -0.055).lineTo(0.813, -0.444).li...
12
303
2.610796
train_7999fc763da85a70
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.427), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.119, 1).threePointArc((-0.025, 0.725), (0.037, 0.575)).lineTo(0.285, 0.884).threePointArc((0.225, 0.453), (0.238, 0.332)).lineTo(0.461, 0.471).lineTo(0.55, 0.205).threePointArc((0.618, 0....
19
418
2.077446
train_9381154cb2085972
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.243), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.669, 0.826).threePointArc((0.901, 0.73), (1, 0.496)).lineTo(1, -0.826).lineTo(-0.807, -0.826).lineTo(-1, -0.636).lineTo(-1, 0.521).threePointArc((-0.906, 0.738), (-0.694, 0.826)).lineTo(0....
11
134
1.215367
train_6239782114585384
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.192), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.836, 0.383).lineTo(0.911, 0.316).lineTo(1, 0.134).lineTo(1, 0).lineTo(0.774, 0).lineTo(0.774, 0.114).lineTo(0.674, 0.316).lineTo(0, 0.161).lineTo(0, 0.383).lineTo(0.836, 0.383).close().re...
9
44
0.500603
train_47264c60927f67eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.067, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.213).extrude(1.043) result = result.union(cq.Workplane(cq.Plane(origin=(-0.067, 0, -0.271), normal=(0.107, 0, 0.994), xDir=(0.994, 0, -0.107))).circle(0.249).extrude(1.251)) result = resu...
3
9
0.1573
train_736353002e8dbb15
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.034, -0.775), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.388, 1.033).threePointArc((0.443, 1.016), (0.466, 0.976)).lineTo(0.466, 0.427).threePointArc((0.499, 0.369), (0.577, 0.344)).lineTo(0.844, 0.344).threePointArc((0.905, 0.325), (0.931,...
8
137
1.456333
train_981ec045519a6d4f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.007, 0, -0.59), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.166) result = result.cut(cq.Workplane(cq.Plane(origin=(0.999, 0, -0.59), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.372, 0.778), (-1.213, 0.966), (-1.885, 0.4...
13
82
0.522119
train_48ae21eae1066e70
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.026, -0.337), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.256).lineTo(1, -0.237).lineTo(0.962, -0.276).lineTo(-1, -0.276).lineTo(-1, 0.257).lineTo(-0.982, 0.276).lineTo(0.98, 0.276).lineTo(1, 0.256).close().extrude(0.202) result = result....
13
125
0.520577
train_9b38d495ed22cfd1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.009, -0.473), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.199, 0.418).lineTo(0.199, 0).lineTo(1, 0).lineTo(1, -0.209).lineTo(0.597, -0.209).lineTo(0.597, -0.418).lineTo(0.199, -0.418).lineTo(0.199, -0.209).lineTo(-0.199, -0.209).lineTo(-0.199...
13
75
0.428736
train_de8f8c172631d680
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.305), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.754, 1).lineTo(0.936, 0.809).lineTo(0.936, -0.785).threePointArc((0.874, -0.93), (0.729, -1)).lineTo(-0.936, -1).lineTo(-0.936, 0.741).threePointArc((-0.86, 0.917), (-0.684, 1)).lineTo(0.7...
8
49
1.352668
train_60fb4750bf5b6db5
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.298, 0.686).threePointArc((0.45, 0.621), (0.515, 0.469)).lineTo(0.515, 0.091).threePointArc((0.542, 0.027), (0.604, 0)).lineTo(0.762, 0).threePointArc((0.828, -0.029), (0.853, -0.096)).lineTo(0.853, -0.273).threePointArc((0.832, -0.323), (0.787, -0....
6
47
3.059791
train_e1c490a63ccbcd9a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.347, 0, -0.347), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.392, 0.503).lineTo(0.392, 0.392).lineTo(0.503, 0.392).lineTo(0.503, 0).lineTo(0, 0).lineTo(0, 0.503).lineTo(0.392, 0.503).close().extrude(1, both=True) result = result.cut(cq.Workpla...
9
68
0.388433
train_a9f56ce50fa62798
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.031, 0.053), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.77, 0.42).lineTo(0.77, -0.14).lineTo(0.808, -0.095).lineTo(0.836, -0.118).lineTo(0.949, -0.111).lineTo(0.949, -0.14).lineTo(1, -0.14).lineTo(1, -0.27).lineTo(0.77, -0.27).lineTo(0.894, ...
10
208
0.572992
train_6d3bd979b7c50119
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.032, 0, -0.309), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.506, 0.982).threePointArc((-0.467, 0.968), (-0.451, 0.933)).lineTo(-0.451, -0.203).threePointArc((-0.34, -0.433), (-0.078, -0.53)).lineTo(0.864, -0.53).threePointArc((0.937, -0.557), ...
20
38
1.194843
train_87a1dc84769df7a5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.272, 0, -0.859), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.728).extrude(1.114) result = result.union(cq.Workplane(cq.Plane(origin=(-0.272, 0, -0.079), normal=(0.932, 0, 0.362), xDir=(0.362, 0, -0.932))).circle(0.56).extrude(1.147)) result = r...
8
78
1.711515
train_999be874a2ec54e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.239, 0.13, -0.079), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.241, 0.848).threePointArc((0.82, -0.284), (-0.82, -0.848)).lineTo(-0.241, 0.848).close().extrude(1.044, both=True).intersect(cq.Workplane(cq.Plane(origin=(0.239, 0.13, -0.079), nor...
6
23
1.041368
train_8846057bba0d74d5
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.974, -0.17).threePointArc((-0.95, -0.23), (-0.893, -0.255)).lineTo(-0.154, -0.255).threePointArc((-0.046, -0.303), (0, -0.417)).lineTo(0, -0.687).threePointArc((0.023, -0.742), (0.076, -0.766)).lineTo(0.348, -0.766).threePointArc((0.446, -0.723), (...
7
143
0.880348
train_dae1ed88b0262ebe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.281, -0.205, 0.326), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.102, 0.161).threePointArc((0.13, 0.135), (0.13, 0.097)).lineTo(0.146, 0.032).threePointArc((0.12, 0.005), (0.124, -0.032)).lineTo(0.124, -0.097).threePointArc((0.096, -0.122), (0.1...
6
297
0.545012
train_eb224dd83309448a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.689, 0.577, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.016, 1.054).lineTo(0.492, 0.597).lineTo(0.025, 0.101).lineTo(-0.492, 0.587).lineTo(0.016, 1.054).close().extrude(1.689) result = result.union(cq.Workplane(cq.Plane(origin=(-2.519, 1.15...
22
101
0.595115
train_567923e2cd79f553
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.651).extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.399), normal=(0.212, 0, 0.977), xDir=(0.977, 0, -0.212))).circle(0.477).extrude(0.516)) result = result.cut(cq.Workp...
8
40
1.556513
train_43dd9db68c8e792e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.27), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.674, 0.73).lineTo(0.674, 0.404).lineTo(1, 0.404).lineTo(1, -0.399).lineTo(0.668, -0.399).lineTo(0.668, -0.73).lineTo(-0.736, -0.73).lineTo(-0.736, -0.464).lineTo(-1, -0.464).lineTo(-1, 0.46...
13
61
0.959685
train_970e5eee327f1ea2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.716, -0.434, -0.843), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.433).threePointArc((1.013, 1.013), (1.433, 0)).lineTo(0.448, 0).threePointArc((0.315, 0.315), (0, 0.448)).lineTo(0, 1.433).close().extrude(1.271) result = result.union(cq.Work...
9
54
2.571832
train_bd99ac628f7bef01
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.469, 0.296).threePointArc((0.528, 0.28), (0.601, 0.271)).lineTo(0.81, 0.201).threePointArc((0.852, 0.164), (0.93, 0.133)).lineTo(1.011, 0.039).threePointArc((0.993, 0.002), (1.013, -0.034)...
7
178
0.45537
train_4771f398c7bf208a
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(1, 0.134).lineTo(1, 0.087).threePointArc((0.963, 0.076), (0.875, 0.072)).lineTo(-0.24, 0.072).threePointArc((-0.339, 0.067), (-0.381, 0.056)).lineTo(-0.381, -0.032).threePointArc((-0.279, -0...
10
206
0.385626
train_01ad7e9e029e3203
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.83, 0.776).threePointArc((0.944, 0.743), (1, 0.663)).lineTo(1, 0.376).threePointArc((0.962, 0.328), (0.891, 0.307)).lineTo(-0.15, 0.307).threePointArc((-0.272, 0.271), (-0.324, 0.185)).lineTo(-0.324, -0.151).threePointArc((-0.258, -0.261), (-0.102, ...
11
64
2.52096
train_a15e506eb128ee2c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.072, -0.18, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.196, 0.139).lineTo(0.196, -0.139).lineTo(-0.196, -0.139).lineTo(-0.196, 0.139).lineTo(-0.129, 0.139).lineTo(-0.129, -0.073).lineTo(0.129, -0.073).lineTo(0.129, 0.139).lineTo(0.196, 0.1...
18
214
0.577642
train_a69da04abeff566f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.839), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.01, 1).threePointArc((0.357, 0.855), (0.502, 0.508)).lineTo(0.502, -0.602).lineTo(0.106, -1).lineTo(-0.502, -1).lineTo(-0.502, 0.679).lineTo(-0.183, 0.679).lineTo(-0.183, 1).lineTo(0.01, 1...
11
56
2.305661
train_68b95b7ad0503732
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.365, 0.255, 0.372), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.424, 0.589).threePointArc((0.541, 0.541), (0.589, 0.424)).lineTo(0.589, -0.189).threePointArc((0.471, -0.471), (0.189, -0.589)).lineTo(-0.512, -0.589).threePointArc((-0.566, -0.566...
17
136
2.455456
train_2d6e7278f80a1334
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.688, 0.75).threePointArc((-0.556, 0.694), (-0.5, 0.562)).lineTo(-0.5, 0.403).threePointArc((-0.455, 0.295), (-0.347, 0.25)).lineTo(0.309, 0.25).threePointArc((0.443, 0.193), (0.5, 0.059))....
6
54
0.62677
train_36484b3b4b003171
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.162, 0, -0.451), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.837, 0.36).lineTo(0.837, 0.245).lineTo(0.124, 0.245).lineTo(0.124, -0.36).lineTo(-0.124, -0.36).lineTo(-0.124, 0.245).lineTo(-0.837, 0.245).lineTo(-0.837, 0.36).lineTo(0.837, 0.36).clo...
17
431
0.547676
train_ed7586cb19b64b0c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.443), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.758, 0.445).threePointArc((1, 0), (0.758, -0.445)).lineTo(0, -0.445).lineTo(-0.758, -0.445).threePointArc((-1, 0), (-0.758, 0.445)).lineTo(0, 0.445).lineTo(0.758, 0.445).close().extrude(0....
12
69
1.190577
train_2dcbaa5eb69f0b90
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.213), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.683, 0.914).threePointArc((0.899, 0.808), (1, 0.561)).lineTo(1, -0.453).threePointArc((0.871, -0.776), (0.589, -0.914)).lineTo(-0.103, -0.914).threePointArc((-0.17, -0.881), (-0.199, -0.80...
7
239
0.850917
train_89e908414066073c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, -0.229, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.355, 0.087).threePointArc((-0.376, 0.025), (-0.757, 0.059)).threePointArc((0.757, 0.763), (0.566, -0.228)).lineTo(0.254, -0.71).threePointArc((0.142, -0.763), (-0.134, -0.686))....
4
34
0.21219
train_f96c348a263bb879
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.72, 0, -0.121), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.202, 0.321).lineTo(0.202, 0.202).lineTo(1.439, 0.202).lineTo(1.439, 0).lineTo(0, 0).lineTo(0, 0.321).lineTo(0.202, 0.321).close().extrude(1, both=True) result = result.cut(cq.Workplan...
10
86
0.577361
train_d0733237f376db3c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.893, 0.107, 0.042), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.053).threePointArc((0.037, 0.037), (0.053, 0)).threePointArc((0.037, -0.037), (0, -0.053)).threePointArc((-0.037, -0.037), (-0.053, 0)).threePointArc((-0.037, 0.037), (0, 0.053)...
1
6
0.024969
train_a590f250798bcd8b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.055, -0.232), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.172).lineTo(1, -0.019).lineTo(0.838, -0.019).lineTo(0.838, -0.172).lineTo(-0.826, -0.172).threePointArc((-0.942, -0.122), (-1, -0.003)).lineTo(-1, 0.05).threePointArc((-0.955, 0.136...
12
66
0.20938
train_3ef7d06b4fb4ec08
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.256), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.459, 0.512).lineTo(0.459, 0).lineTo(-0.459, 0).lineTo(-0.459, 0.512).lineTo(-0.268, 0.512).lineTo(-0.268, 0.191).lineTo(0.268, 0.191).lineTo(0.268, 0.512).lineTo(0.459, 0.512).close().ext...
3
41
0.253789
train_a4e673eb82221980
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.11, 0.049, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.889, 0).threePointArc((0, -0.072), (-0.889, 0)).threePointArc((0, 0.072), (0.889, 0)).close().extrude(0.109, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(-0.626, 0.093,...
6
22
0.038906
train_c8d9c1915da968b8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.256), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.17).lineTo(1, 0.074).lineTo(0.26, 0.074).lineTo(0.26, -0.17).lineTo(-0.26, -0.17).lineTo(-0.26, 0.074).lineTo(-1, 0.074).lineTo(-1, 0.17).lineTo(1, 0.17).close().extrude(0.512) result =...
7
38
0.127414
train_5932cabde37069e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.579, 0.038, -0.019), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.305, 0.736).threePointArc((0.349, 0.717), (0.368, 0.673)).lineTo(0.368, 0.454).threePointArc((0.394, 0.394), (0.454, 0.368)).lineTo(0.592, 0.368).threePointArc((0.693, 0.325), (0....
8
121
0.700154
train_103f6e0b09972db7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.447), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.692, 0.624).lineTo(0.692, -0.624).lineTo(-0.692, -0.624).lineTo(-0.692, 0.624).lineTo(0.692, 0.624).close().extrude(0.518) result = result.union(cq.Workplane(cq.Plane(origin=(0.715, 0, 0.0...
9
83
0.769914
train_7c2cbbb4e457284d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.716), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.003).extrude(0.762) result = result.cut(cq.Workplane(cq.Plane(origin=(1.003, 0, -0.716), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.294, 0.709), (-1.003, 1.003), (-1.712, 0...
8
144
0.390663
train_1c181289e024a48d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.168, 0, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.226, 0.803).threePointArc((0.43, 0.599), (0.486, 0.677)).lineTo(0.689, 0.47).threePointArc((0.715, 0.184), (0.809, 0.207)).lineTo(0.831, -0.082).threePointArc((0.666, -0.319), (0.752,...
11
153
0.328542
train_df5a664e2d90fcee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.775).lineTo(1, -0.775).lineTo(-1, -0.775).lineTo(-1, 0.775).lineTo(1, 0.775).close().extrude(0.216) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.006), normal=(0, 0, 1), xD...
15
129
0.451645
train_fcd29d8ff23edb25
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.586, -0.879, -0.511), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.402, 0.661).threePointArc((0.485, 0.498), (0.408, 0.346)).threePointArc((0.404, 0.217), (0.308, 0.187)).threePointArc((0.12, 0.119), (-0.061, 0.203)).threePointArc((-0.149, 0.346...
4
29
1.581934
train_d830d04e3146be22
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.82, 0.273).workplane(offset=1.448).rect(0.44, 0.409).loft() result = result.union(cq.Workplane(cq.Plane(origin=(-0.012, -0.015, 0.327), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.347, 0.137).work...
5
48
0.308391
train_9fe96164ffb3b851
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.083), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.936, 0.464).lineTo(1, 0.404).lineTo(1, -0.418).lineTo(0.951, -0.418).lineTo(0.951, -0.464).lineTo(-1, -0.464).lineTo(-1, 0.395).lineTo(-0.927, 0.464).lineTo(0.936, 0.464).close().extrude(0...
9
71
0.597751
train_7b6f9f856d91a166
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.477, 1).lineTo(0.477, 0.776).lineTo(0.696, 0.776).lineTo(0.696, -1).lineTo(-0.696, -1).lineTo(-0.696, 1).lineTo(0.477, 1).close().extrude(0.159) result = result.cut(cq.Workplane(cq.Plane(or...
17
378
0.335094
train_746c2f0aeb48e0cf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.201, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.936, 0.664).lineTo(1, 0.608).lineTo(1, -0.621).threePointArc((0.98, -0.651), (0.95, -0.664)).lineTo(-0.966, -0.664).lineTo(-0.966, -0.638).lineTo(-1, -0.638).lineTo(-1, 0.621).lineTo(-...
7
71
0.929616
train_8c56a6ca7ba1c569
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.276, -0.117, -0.787), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.719, 0.076).lineTo(0.714, -0.076).threePointArc((-0.046, -0.055), (0.719, 0.076)).close().moveTo(0.461, 0.021).lineTo(0.455, -0.028).threePointArc((0.217, 0.05), (0.461, 0.021)).c...
14
102
0.798575
train_c29c9aff38e747b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.155, -0.36, 0.163), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.827, 1.653).lineTo(0.827, -1.653).lineTo(0, -1.653).lineTo(0, 0).lineTo(-0.827, 0).lineTo(-0.827, 0.827).lineTo(0, 0.827).lineTo(0, 1.653).lineTo(0.827, 1.653).close().extrude(2.81...
8
94
0.560587
train_f4dcaa51fe15e5df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.068, 0.128, -0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.337, 0.811).lineTo(0.418, 0.748).threePointArc((0.443, 0.732), (0.47, 0.719)).lineTo(0.582, 0.676).threePointArc((0.603, 0.665), (0.622, 0.651)).lineTo(0.703, 0.578).threePointArc(...
6
47
0.230282