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_d09e6832c6ec8e28
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.118, 0, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.879, 0.879).lineTo(0.879, 0).lineTo(0, 0).lineTo(0, -0.879).lineTo(-0.439, -0.879).lineTo(-0.439, 0).lineTo(-0.879, 0).lineTo(-0.879, 0.439).lineTo(0.439, 0.439).lineTo(0.439, 0.879).l...
14
148
0.74201
train_3c4f0d6fb16e2283
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.886, 0, -0.829), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.381, 1.658).lineTo(0.381, 0.381).lineTo(1.771, 0.381).lineTo(1.771, 0).lineTo(0, 0).lineTo(0, 1.658).lineTo(0.381, 1.658).close().extrude(1, both=True) result = result.cut(cq.Workpla...
3
58
2.02357
train_629cd69252ea149f
import cadquery as cq import math result = cq.Workplane('XY').circle(0.177).extrude(0.751, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.402).extrude(1, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(...
9
49
0.553793
train_03563a78fe0c26d7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.409, 0, -0.117), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.133, 0).lineTo(0.133, 0.394).lineTo(0.089, 0.394).lineTo(0.089, 0.173).lineTo(1, 0.173).lineTo(1, 0).lineTo(0.133, 0).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
10
93
0.338947
train_133b3ab9c0789993
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.262, 0.097, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.386, 0.332).lineTo(0.386, -0.332).lineTo(-0.386, -0.332).lineTo(-0.386, 0.332).lineTo(-0.217, 0.332).lineTo(-0.217, -0.162).lineTo(0.217, -0.162).lineTo(0.217, 0.332).lineTo(0.386, 0.3...
20
192
0.363012
train_ed5e9b921ac5bead
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.139).lineTo(1, -0.091).threePointArc((0.85, -0.13), (0.494, -0.147)).lineTo(-0.681, -0.147).threePointArc((-0.905, -0.136), (-1, -0.111)).lineTo(-1, 0.132).threePointArc((-0.96, 0.142), ...
6
94
0.13899
train_a1ee68806efdd67a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.032, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.94, 0.855).threePointArc((0.982, 0.837), (1, 0.796)).lineTo(1, 0.615).threePointArc((0.986, 0.582), (0.953, 0.568)).lineTo(0.323, 0.568).threePointArc((0.197, 0.514), (0.144, 0.388)).lineTo...
4
26
0.91781
train_cbb3c913a2ec9421
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.23, 0, -0.187), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.507, 0.747).threePointArc((0.689, 0.635), (0.766, 0.368)).lineTo(0.766, -0.315).threePointArc((0.678, -0.619), (0.471, -0.747)).lineTo(-0.538, -0.747).threePointArc((-0.698, -0.649), (...
17
148
0.506806
train_079ba1399b066b59
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.627), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 0.408).workplane(offset=1.254).rect(0.649, 0.355).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.313), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.125).extrude(1.219, bot...
2
7
0.579569
train_8f5054b05e01d628
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.488).extrude(0.805) result = result.cut(cq.Workplane(cq.Plane(origin=(0.489, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.043, 0.198), (-0.162, 0.363), (-0.33...
9
140
1.113831
train_3cc4c78d737e99f8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.313), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.51).lineTo(1, -0.51).lineTo(-1, -0.51).lineTo(-1, 0.51).lineTo(1, 0.51).close().extrude(0.131) result = result.union(cq.Workplane(cq.Plane(origin=(0.205, 0, -0.182), normal=(0, 0, 1), x...
8
26
0.29995
train_466d49c5d3b55b12
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.255), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.518, 2).extrude(0.51) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.255), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.101, 0.841).lineTo(0.101, -0.841).lineTo(-0.101, -0.841).c...
8
31
0.340513
train_4274cdee0fbc6518
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.62, 0.966).lineTo(0.62, -0.95).threePointArc((0.606, -0.985), (0.571, -1)).lineTo(-0.594, -1).lineTo(-0.62, -0.973).lineTo(-0.62, 0.961).lineTo(-0.582, 0.961).lineTo(-0.582, 1).lineTo(0.58...
7
84
0.388842
train_31cdaf749d7a9712
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.292), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.735).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.735).lineTo(-0.505, 0.735).lineTo(-0.505, 0.495).lineTo(0.505, 0.495).lineTo(0.505, 0.735).lineTo(1, 0.735).close().extrude(0.248, both=Tru...
10
119
0.53002
train_fed832f206fbdc26
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.064, 3.717, -1.347), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(2.497, 2.239).lineTo(2.497, 1.318).lineTo(0.589, 1.318).lineTo(0.589, -2.239).lineTo(-0.589, -2.239).lineTo(-0.589, 1.318).lineTo(-2.497, 1.318).lineTo(-2.497, 2.239).lineTo(2.497, ...
16
94
1.626456
train_9a54aa21baf045cb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.285, 0, -0.385), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.583, 1.012).lineTo(1.169, 0).lineTo(-0.583, -1.012).lineTo(-0.583, 1.012).close().extrude(0.77) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.285, 0, -0.385), normal=(0, 0, 1)...
8
266
1.015787
train_b31e9b3dc33986d6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.009), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.073, 0.799).threePointArc((0.162, 0.762), (0.2, 0.673)).lineTo(0.2, 0.544).threePointArc((0.243, 0.443), (0.344, 0.4)).lineTo(0.867, 0.4).threePointArc((0.96, 0.36), (0.999, 0.268)).l...
3
47
0.297506
train_60e54d44b4e6285d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.162), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.498, 0.857).lineTo(0.857, 0.498).lineTo(1, 0).lineTo(0.857, -0.498).lineTo(0.498, -0.857).lineTo(0, -1).lineTo(-0.498, -0.857).lineTo(-0.857, -0.498).lineTo(-1, 0).lineTo(-0.8...
5
79
0.77758
train_fa9237518dc4ff94
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-3.058, -2.085, -5.632), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.492, -0.058).threePointArc((2.339, -0.057), (1.087, -0.145)).lineTo(-1.764, 0.058).threePointArc((-2.339, 0.063), (-1.358, 0.145)).lineTo(1.492, -0.058).close().extrude(0.217, ta...
16
14
1.648586
train_597b1ff3097a9048
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.018, 0.057), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.031, 0.237).lineTo(0.041, 0.178).lineTo(0.117, 0.192).lineTo(0.131, 0.113).lineTo(0.055, 0.1).lineTo(0.066, 0.041).lineTo(-0.031, 0.024).lineTo(-0.041, 0.083).lineTo(-0.117, 0.069).lin...
15
175
0.134182
train_2296b631483d949c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.655, -0.123, -0.32), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(-0.05, 0.25).lineTo(0.25, -0.05).threePointArc((0.3, -0.3), (0.05, -0.25)).lineTo(-0.25, 0.05).threePointArc((-0.3, 0.3), (-0.05, 0.25)).close().workplane(offset...
15
191
0.778263
train_9c506d269286ee59
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.167, 0.161).lineTo(0.074, -0.161).lineTo(-0.074, -0.161).lineTo(-0.167, 0.161).lineTo(0.167, 0.161).close().extrude(2, taper=-9.759) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.328, 0...
4
36
0.4154
train_413c81f8b08aa1b5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.5, 0.75).threePointArc((0.75, 0.375), (0.75, 0.5)).lineTo(1, 0).threePointArc((0.75, -0.375), (0.75, -0.5)).lineTo(0.5, -0.75).threePointArc((0, -0.875), (0, -1)).lineTo(-0.5, ...
12
205
1.451478
train_e2612cbc7395f0c6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.237), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.122, 0.61).threePointArc((0.271, 0.572), (0.333, 0.481)).lineTo(0.333, 0.314).threePointArc((0.387, 0.236), (0.514, 0.203)).lineTo(0.749, 0.203).threePointArc((0.925, 0.158), (1, 0.05)...
13
48
0.970828
train_e2104b6cb93e86bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.046, -0.005, -0.112), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.374, 0.278).lineTo(-0.374, -0.123).lineTo(0.946, -0.123).lineTo(0.946, -0.278).lineTo(-0.946, -0.278).lineTo(-0.946, 0.278).lineTo(-0.374, 0.278).close().extrude(0.099, taper=8....
16
126
0.447085
train_ea333dbd1109d856
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.196), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.392) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.196), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.928).extrude(1.175, both=True)) result = result.union(cq.Workpl...
10
47
0.695024
train_1a4fef0c70784f91
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.126).lineTo(0.781, 0).lineTo(1, -0.126).lineTo(0.758, -0.126).lineTo(0.758, 0.126).lineTo(1, 0.126).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = resu...
12
91
0.201613
train_f4b9df8e00963d2e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.267), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.689).lineTo(1, 0.098).lineTo(-0.714, 0.098).lineTo(-0.714, -0.098).lineTo(1, -0.098).lineTo(1, -0.689).lineTo(-1, -0.689).lineTo(-1, -0.492).lineTo(0.714, -0.492).lineTo(0.714, -0.295)....
2
98
0.924792
train_9e54d53865e8549c
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.119).lineTo(0.845, 0).lineTo(1, -0.119).lineTo(0.307, -0.119).lineTo(0.307, 0.119).lineTo(1, 0.119).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...
3
20
0.163735
train_acca7d755e811ff0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.171, 0.248, 0.171), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.294, 0.447).threePointArc((0.453, 0.411), (0.443, 0.274)).lineTo(0.165, 0.009).lineTo(-0.118, -0.208).lineTo(-0.266, -0.423).threePointArc((-0.361, -0.447), (-0.453, -0.312)).lineT...
5
84
0.433575
train_107e6d40ec8be053
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.239, 0.794).lineTo(0.256, -0.771).threePointArc((0.053, -0.997), (-0.238, -0.798)).lineTo(-0.256, 0.747).threePointArc((-0.031, 0.997), (0.239, 0.794)).close().extrude(0.18) result = re...
7
24
0.17468
train_606864fe26cc475f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.197, -0.188, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.823, 0.571).lineTo(0.823, -0.571).lineTo(-0.823, -0.571).lineTo(-0.823, 0.571).lineTo(-0.489, 0.571).lineTo(-0.489, -0.368).lineTo(0.489, -0.368).lineTo(0.489, 0.571).lineTo(0.82...
17
160
1.216648
train_2c4d520f7edcfd98
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.262, -0.811), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.889, 0.693).lineTo(1, 0.583).lineTo(1, -0.576).lineTo(0.881, -0.693).lineTo(-0.896, -0.693).lineTo(-1, -0.589).lineTo(-1, 0.571).lineTo(-0.876, 0.571).lineTo(-0.876, 0.693).lineTo(0.88...
12
79
2.309949
train_0ebe9cf6e15a3f64
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.197, 0, -0.231), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.171, 1.231).lineTo(0.171, 0.171).lineTo(0.403, 0.171).lineTo(0.403, 0).lineTo(0, 0).lineTo(0, 1.231).lineTo(0.171, 1.231).close().extrude(0.199, both=True) result = result.cut(cq.Wor...
10
80
0.156292
train_3f8b994790a62018
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.073), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.496, -0.872).threePointArc((-1.019, -1), (-0.778, -0.639)).lineTo(-0.794, -0.272).threePointArc((-0.67, -0.143), (-0.825, -0.016)).lineTo(-0.93, 0.514).threePointArc((-1.059, 0.632), (-0....
8
92
2.317148
train_9369eae3e922ab80
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.791), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.582) result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.791), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.192, 0.587), (-0.691, 0.951), (-1.309, 0.951), (...
8
110
1.9365
train_98aea40d4234baaa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.017, -0.12, -0.147), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.082, 0.007).threePointArc((0.082, -0.007), (0.07, -0.014)).threePointArc((0.058, -0.007), (0.058, 0.007)).threePointArc((0.07, 0.014), (0.082, 0.007)).close().sweep(cq.Workplane(c...
16
222
0.214413
train_bea8bbab507e8986
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.121, 0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.338).lineTo(0, 0.276).lineTo(1, 0.154).lineTo(1, 0.092).lineTo(0.333, -0.031).lineTo(0.333, -0.338).lineTo(-0.333, -0.338).lineTo(-0.333, -0.031).lineTo(-1, 0.092).lineTo(-1, 0.154)....
10
236
0.167872
train_74c194f4ca2d5ea4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.332, 0.214).lineTo(0.332, 0.183).threePointArc((0.394, 0.16), (0.543, 0.151)).lineTo(0.8, 0.151).threePointArc((0.934, 0.142), (1, 0.121)).lineTo(1, -0.032).threePointArc((0.955, -0.0...
20
46
0.093183
train_8837ee00c3c2fe45
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.513, -0.5), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.331, 0.001).threePointArc((0.338, -0.03), (0.296, -0.052)).lineTo(0.389, -0.244).lineTo(0.202, -0.269).lineTo(0.165, -0.404).threePointArc((0.086, -0.483), (-0.01, -0.463)).lineTo(-0.07...
7
330
0.608676
train_c52e0b15f84888e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.452), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.903).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.903).lineTo(-0.829, 0.903).lineTo(-0.829, 0.163).lineTo(0.829, 0.163).lineTo(0.829, 0.903).lineTo(1, 0.903).close().extrude(0.199, both=Tru...
6
75
0.261155
train_9b4c79ef3acc9f95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.041, 0, -0.14), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.638, 0.319).threePointArc((0.734, 0.28), (0.773, 0.184)).lineTo(0.773, -0.234).threePointArc((0.748, -0.294), (0.688, -0.319)).lineTo(-0.66, -0.319).threePointArc((-0.74, -0.286), (-0.7...
11
139
0.200505
train_8232d7a536a6cb81
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.004, 0.013, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.733, 0.283).lineTo(0.606, -0.002).threePointArc((0.994, -0.283), (0.495, -0.179)).lineTo(-0.623, 0.05).threePointArc((-0.994, 0.088), (-0.733, 0.283)).close().moveTo(0.743, -0.09...
11
110
0.074578
train_172857943365f392
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0.002, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.925, 0.689).lineTo(0.421, 0.964).threePointArc((0.925, -0.138), (0.925, -0.276)).threePointArc((0.757, -0.413), (0.757, -0.551)).threePointArc((0.084, -0.964), (-0.084, -0.964))....
3
29
0.556629
train_c442d3dd23ed334a
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.953, 0.088).lineTo(0.953, -0.088).lineTo(-0.953, -0.088).lineTo(-0.953, 0.088).lineTo(-0.65, 0.088).lineTo(-0.65, -0.058).lineTo(0.65, -0.058).lineTo(0.65, 0.088).lineTo(0.953, 0.088).close().extrude(0.265, taper=-10.016, both=True) result = result....
4
30
0.133514
train_11e0fec2af4ba738
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.037, -0.432), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.148, 0.424).threePointArc((0.466, 0.212), (1, -0.53)).threePointArc((0.886, -0.635), (0.783, -0.635)).lineTo(0.254, 0.106).threePointArc((-0.064, 0.318), (-0.064, 0.635)).threePointAr...
13
263
0.662129
train_c5b92d20f751e2a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.265, -0.367, -0.976), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.02, 0.255).lineTo(0.131, 0.225).lineTo(0.223, 0.192).threePointArc((0.261, 0.156), (0.293, 0.115)).threePointArc((0.307, 0.091), (0.315, 0.064)).lineTo(0.338, -0.059).lineTo(0.3...
11
173
1.36039
train_8d444b917bc2e94a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.349, 0.652), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.301, 0.551).threePointArc((-0.262, 0.534), (-0.245, 0.494)).lineTo(-0.245, -0.01).threePointArc((-0.205, -0.107), (-0.109, -0.148)).lineTo(0.539, -0.148).threePointArc((0.615, -0.181),...
7
25
0.758702
train_8f14dd406083d088
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.105, 0.093).lineTo(0.105, 0.056).lineTo(-0.075, 0.056).lineTo(-0.075, 0.019).lineTo(0.105, 0.019).lineTo(0.105, -0.093).lineTo(-0.105, -0.093).lineTo(-0.105, -0.056).lineTo(0.075, -0.056).line...
23
52
0.408312
train_30ad86020a2262a6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.324, -0.192, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.636, -0.674).threePointArc((-0.965, 0.966), (0.352, -0.346)).lineTo(0.928, -0.92).threePointArc((0.965, -0.966), (0.913, -0.938)).lineTo(0.022, -0.346).threePointArc((-0.471, 0.8...
6
37
0.072061
train_08b209706b6f1c2a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.407), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.768).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.768).lineTo(-0.564, 0.768).lineTo(-0.564, 0.43).lineTo(0.564, 0.43).lineTo(0.564, 0.768).lineTo(1, 0.768).close().extrude(0.286, both=True)...
8
85
0.545896
train_8c0271dfb3a4eb1c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.312, 0.3, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.195, 0.522).lineTo(0.584, 0.451).threePointArc((0.758, 0.277), (0.584, 0.102)).lineTo(-0.584, 0.102).threePointArc((-0.758, 0.277), (-0.584, 0.451)).threePointArc((-0.387, 0.443), (-0.19...
16
356
0.335918
train_173a7ebd0d091a44
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.175, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.704, 0.755).threePointArc((0.738, 0.741), (0.753, 0.71)).lineTo(0.753, -0.586).threePointArc((0.698, -0.704), (0.567, -0.755)).lineTo(-0.388, -0.755).threePointArc((-0.644, -0.656), (-0.75...
14
128
0.713612
train_8056babbeec676be
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, 0.921, -0.769), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(1.135, 0).threePointArc((0, -1.134), (-1.135, 0)).threePointArc((0, 1.134), (1.135, 0)).close().workplane(offset=2.111).moveTo(0.867, 0.113).threePointArc((-0.027...
16
40
0.741265
train_ab6c994bbf124e51
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.194).lineTo(0.793, 0).lineTo(1, -0.194).lineTo(0.184, -0.194).lineTo(0.184, 0.194).lineTo(1, 0.194).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -1.005, -0.146), no...
12
57
0.573815
train_2d60d02aed534035
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.059, -0.312), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.89, 0.496).threePointArc((0.962, 0.466), (1, 0.394)).lineTo(1, -0.389).threePointArc((0.961, -0.465), (0.884, -0.496)).lineTo(-0.924, -0.496).threePointArc((-0.972, -0.476), (-1, -0.42...
17
70
0.615205
train_542e50301da5836a
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.774, 0.523).threePointArc((0.993, -0.267), (0.985, -0.326)).lineTo(0.965, -0.349).threePointArc((0.238, -0.551), (0.179, -0.543)).lineTo(0.158, -0.525).threePointArc((0.156, -0.523), (0.15...
2
59
1.089199
train_ddda696a3e32574c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.339), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.841, 0.467).threePointArc((0.953, 0.447), (1, 0.399)).lineTo(1, 0.26).threePointArc((0.951, 0.21), (0.835, 0.189)).lineTo(-0.252, 0.189).threePointArc((-0.318, 0.178), (-0.346, 0.149)).lin...
6
95
0.880392
train_b093ccc6bda308f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.479, -0.037, -0.333), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.028, 0.115).threePointArc((0.018, 0.069), (0.065, 0.115)).threePointArc((0.341, 0.3), (0.433, 0.023)).threePointArc((0.249, -0.069), (0.157, -0.069)).lineTo(0.018, -0.207).threeP...
14
256
0.386637
train_1c8aeb10e2aae5d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.269, 0.037, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.3, -0.04).lineTo(0.536, -0.539).threePointArc((0.47, -0.517), (0.406, -0.489)).threePointArc((0.372, -0.469), (0.342, -0.446)).threePointArc((0.285, -0.39), (0.237, -0.327)).lineTo(0....
13
143
0.813934
train_550a9817cd1dd317
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.689), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.307, 0.943).lineTo(0.804, 0.584).lineTo(1, 0).lineTo(0.804, -0.584).lineTo(0.307, -0.943).lineTo(-0.307, -0.943).lineTo(-0.804, -0.584).lineTo(-1, 0).lineTo(-0.804, 0.584).lineTo(-0.307, 0...
2
17
3.721719
train_80ba990a8d9b9a2c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.404), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.807) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.404), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.405).extrude(2.425, both=True)) result = result.union(cq.Workpl...
11
15
2.363583
train_09ac42c4df665439
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.13, 0.063, -0.316), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.086, 0.383).threePointArc((0.312, 0.229), (0.364, -0.011)).threePointArc((0.176, -0.286), (-0.18, -0.394)).threePointArc((-0.161, -0.085), (-0.353, 0.112)).three...
13
109
0.654687
train_fea61e42155ebab8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.378), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.47).lineTo(1, 0.361).threePointArc((0.98, 0.347), (0.951, 0.341)).lineTo(-0.454, 0.341).threePointArc((-0.6, 0.312), (-0.663, 0.24)).lineTo(-0.663, -0.238).threePointArc((-0.599, -...
3
43
0.498084
train_65304cf96ee383bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.078, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.525, 1.843, 1.262) result = result.edges().fillet(0.052) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.078, -0.227), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.195).extrude(3.05...
8
59
2.331989
train_7082a357acf1f032
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1.993), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.105, 0.157).lineTo(0.105, 0.105).lineTo(0.052, 0.105).lineTo(0.052, 0).lineTo(0, 0).lineTo(0, -0.105).lineTo(0.052, -0.105).lineTo(0.052, -0.157).lineTo(-0.052, -0.157).lineTo(-0.052, -0.0...
3
16
0.076546
train_2895cd7a93e9d3c4
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.802, -0.095).lineTo(0.99, -0.14).lineTo(0.978, -0.21).lineTo(0.787, -0.18).lineTo(0.76, -0.271).lineTo(0.934, -0.357).lineTo(0.906, -0.423).lineTo(0.727, -0.35).lineTo(0.682, -0.433).lineT...
2
115
0.405353
train_2919c14b0bfcc126
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.201), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.349, 0.628).threePointArc((0.557, 0.542), (0.643, 0.336)).lineTo(0.643, -0.213).threePointArc((0.52, -0.506), (0.226, -0.628)).lineTo(-0.351, -0.628).threePointArc((-0.557, -0.544), (-0.64...
5
21
2.053478
train_f7af62a91602dac4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.007), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.688, 0.218).threePointArc((0, 0.314), (1.032, 0.169)).lineTo(1.032, 0.121).lineTo(1.032, 0.073).lineTo(0.344, -0.073).lineTo(0.344, -0.314).lineTo(-0.344, -0.314).lineTo(-0.344, -0.0...
15
84
0.056306
train_d6da84405d961616
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0.392), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.596, 0.323).lineTo(1, 0.029).lineTo(0.738, -0.323).lineTo(0.338, -0.029).lineTo(0.407, 0.065).lineTo(0.713, -0.159).lineTo(0.829, 0.004).lineTo(0.528, 0.228).lineTo(0.596, 0.323).close...
14
363
1.063321
train_151e4c247e63dfcb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.058), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.232, 0.976).threePointArc((0.481, 0.861), (0.708, 0.71)).lineTo(0.961, 0.281).threePointArc((1, -0.008), (0.966, -0.298)).lineTo(0.681, -0.8).threePointArc((0.539, -0.903), (0.379, -0.976)...
3
26
0.724236
train_5e056618d0833508
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.423, -0.888, 0.608), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(4.143, 0.261).lineTo(4.143, 0.187).lineTo(0.738, 0.187).lineTo(0.738, -0.261).lineTo(-0.738, -0.261).lineTo(-0.738, 0.187).lineTo(-4.143, 0.187).lineTo(-4.143, 0.261).lineTo(4.143, ...
5
26
3.24073
train_39950d43846bb2e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.072, -0.051, 0.018), normal=(0.979, 0.193, -0.066), xDir=(-0.193, 0.981, 0))).moveTo(0.818, 0.953).threePointArc((0.91, 0.918), (0.948, 0.836)).lineTo(0.948, 0.58).threePointArc((0.912, 0.504), (0.827, 0.472)).lineTo(-0.183, 0.472).threePointAr...
3
68
0.819883
train_90d6cd24e30c89f7
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.404, 2).lineTo(0.404, 0.872).lineTo(0.352, 0.872).lineTo(0.352, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.404, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result ...
5
33
0.86865
train_461342963e9d1da2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.215, 0.817).threePointArc((0.355, 0.782), (0.487, 0.729)).threePointArc((0.608, 0.661), (0.717, 0.577)).threePointArc((0.809, 0.481), (0.884, 0.375)).threePointArc((0.94, 0.26), (0.974, 0....
1
37
0.9111
train_7bb0e7283232fec2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.1, -0.096, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.112, 0.197).lineTo(0.112, 0.028).lineTo(-0.056, 0.028).lineTo(-0.056, -0.028).lineTo(0.112, -0.028).lineTo(0.112, -0.197).lineTo(-0.112, -0.197).lineTo(-0.112, -0.141).lineTo(0.056, -0.1...
6
78
0.111001
train_7484a5b931ac5414
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.095), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.301, 0.231).lineTo(0.301, 0).lineTo(-0.301, 0).lineTo(-0.301, 0.231).lineTo(-0.203, 0.231).lineTo(-0.203, 0.098).lineTo(0.203, 0.098).lineTo(0.203, 0.231).lineTo(0.301, 0.231).close().ext...
28
230
0.147529
train_21bbfe3a6f519fcd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.123), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.5, 0.862).lineTo(0.862, 0.5).lineTo(1, 0).lineTo(0.862, -0.5).lineTo(0.5, -0.862).lineTo(0, -1).lineTo(-0.5, -0.862).lineTo(-0.862, -0.5).lineTo(-1, 0).lineTo(-0.862, 0.5).lin...
7
43
0.653051
train_b317fa55f7deabb7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.793, 0.952).threePointArc((0.936, 0.865), (0.996, 0.661)).lineTo(0.996, 0.339).threePointArc((0.926, 0.101), (0.759, 0)).lineTo(0.451, 0).threePointArc((0.368, -0.051), (0.332, -0.17)).lin...
12
158
0.115568
train_f3a6c1f5b81caac9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.338, -0.029, 0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.125, 0.651).threePointArc((0.191, 0.635), (0.219, 0.595)).lineTo(0.219, 0.453).threePointArc((0.25, 0.409), (0.324, 0.391)).lineTo(0.514, 0.391).threePointArc((0.614, 0.365), (0.65...
17
221
0.824256
train_9910e6c6b07a1dfe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.038, 0, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.595, 0.855).threePointArc((0.852, 0.726), (0.961, 0.422)).lineTo(0.961, -0.763).threePointArc((0.938, -0.828), (0.884, -0.855)).lineTo(0.615, -0.855).threePointArc((0.521, -0.807), (0....
5
226
0.450134
train_bc4f4556a0e26ce6
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.29).lineTo(0.843, 0).lineTo(1, -0.29).lineTo(0.327, -0.29).lineTo(0.327, 0.29).lineTo(1, 0.29).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.548, 0, 0), normal=(0, 0,...
14
48
0.839931
train_921fae810fa99ed7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.187), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.574).lineTo(1, -0.574).lineTo(-1, -0.574).lineTo(-1, 0.574).lineTo(1, 0.574).close().extrude(0.373) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.186), normal=(0, 0, 1), xDi...
18
274
0.726203
train_de9367114ec77ac2
import cadquery as cq import math result = cq.Workplane('XY').box(2, 1, 1.741) result = result.edges().fillet(0.256) result = result.cut(cq.Workplane(cq.Plane(origin=(0.134, -0.498, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.445, -0.555).threePointArc((-0.639, -0.725), (-0.866, -0.638)).threePointArc((-1.029, -0...
9
46
1.803029
train_ca18ae820a093518
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.175, -0.216, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 1.169).threePointArc((0.704, 0.877), (1, 0.177)).threePointArc((0.704, -0.527), (0, -0.818)).threePointArc((-0.704, -0.527), (-1, 0.177)).threePointArc((-0.704, 0.877), (0, 1.169)).c...
14
11
3.486654
train_b90c70b3c1650ff3
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.132, 1).threePointArc((0.144, 0.963), (0.149, 0.882)).lineTo(0.149, 0.253).threePointArc((0.144, 0.175), (0.133, 0.143)).lineTo(-0.1, 0.143).threePointArc((-0.105, 0.129), (-0.107, 0.098)).lineTo(-0.107, -0.102).threePointArc((-0.105, -0.131), (-0.1...
2
92
0.330008
train_abec2e5f4eb73307
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.233), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.465) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.233), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.843).extrude(1.389, both=True)) result = result.union(cq.Workpl...
13
82
1.069906
train_2480d4e59bea71b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.297, 0.693, 0.104), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.095, 0.266).lineTo(0.031, 0.157).lineTo(0.198, 0.164).lineTo(0.088, 0.037).lineTo(0.095, -0.13).lineTo(-0.031, -0.02).lineTo(-0.198, -0.027).lineTo(-0.088, 0.099).lineTo(-0.095, 0....
11
365
0.24442
train_66ce7756ef62b330
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.116, 0.335, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.055, -0.029).lineTo(-0.014, -0.056).threePointArc((-0.055, 0.056), (0.055, -0.029)).close().moveTo(-0.007, 0.056).lineTo(0.021, -0.01).threePointArc((-0.021, 0.042), (-0.007, 0.056)).c...
9
53
0.129431
train_b3cf90984918658b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.119, -0.233, -0.487), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.704, 1.165).threePointArc((0.825, 1.114), (0.873, 1)).lineTo(0.873, 0.112).threePointArc((0.906, 0.034), (0.986, 0)).lineTo(1.242, 0).threePointArc((1.394, -0.064), (1.457, -0.215...
7
54
0.727745
train_9e67391213974c9d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.164), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.803, 0.328).lineTo(0.913, 0.238).lineTo(1, 0.114).lineTo(1, 0).lineTo(0.764, 0).lineTo(0.764, 0.099).lineTo(0.665, 0.238).lineTo(0, 0.096).lineTo(0, 0.328).lineTo(0.803, 0.328).close().re...
5
48
0.537746
train_22163b0865fe731c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.309, 0.533, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.11, -0.338).threePointArc((-0.135, -0.335), (-0.158, -0.326)).lineTo(-0.266, -0.267).threePointArc((-0.272, -0.263), (-0.278, -0.258)).lineTo(-0.312, -0.23).threePointArc((-0.316, -0....
14
178
0.454338
train_fe99e206f7ddedda
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.276), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.654).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.654).lineTo(-0.576, 0.654).lineTo(-0.576, 0.424).lineTo(0.576, 0.424).lineTo(0.576, 0.654).lineTo(1, 0.654).close().extrude(0.308, both=Tru...
9
69
0.712437
train_ac9e171a716b37a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.015, 0.176, 0.013), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.165, 0.742).threePointArc((0.247, 0.824), (0.33, 0.742)).lineTo(0.412, -0.33).threePointArc((-0.495, -0.742), (-0.495, -0.577)).lineTo(-0.432, -0.515).threePointArc((-0.422, -0.495...
4
24
1.303114
train_29ea78ffe014212a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.041, 0.117, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.111, 0.11).lineTo(0.111, 0.072).lineTo(0.019, 0.072).lineTo(0.019, -0.11).lineTo(-0.019, -0.11).lineTo(-0.019, 0.072).lineTo(-0.111, 0.072).lineTo(-0.111, 0.11).lineTo(0.111, 0.11).clo...
21
111
0.03825
train_ed50caa653990616
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.3, 0.67, 0.748), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.577, 0.035).lineTo(0.577, 0.027).lineTo(0.088, 0.027).lineTo(0.088, -0.035).lineTo(-0.088, -0.035).lineTo(-0.088, 0.027).lineTo(-0.577, 0.027).lineTo(-0.577, 0.035).lineTo(0.577, 0.035...
12
32
2.475185
train_8e9a02589c74e1a1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.18, 0.079, -0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.819).extrude(0.343) result = result.cut(cq.Workplane(cq.Plane(origin=(0.18, 0.079, -0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.71).extrude(1.029, both=True)) result = resul...
16
127
0.301618
train_e2fe3cc966dc199d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.279), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.557) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.279), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.354).extrude(1.674, both=True)) result = result.union(cq.Workpl...
16
155
1.413649
train_29f820121139000a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.091, 0.199, 0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.299, 0.598).lineTo(0.299, 0).lineTo(0.897, 0).lineTo(0.897, -0.598).lineTo(-0.299, -0.598).lineTo(-0.299, 0).lineTo(-0.897, 0).lineTo(-0.897, 0.598).lineTo(0.299, 0.598).close().ext...
15
145
0.822368
train_3291eba36e8d7c40
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.123, 0, -0.209), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.432, 0.292).lineTo(0.622, 0.193).lineTo(0.573, 0.097).lineTo(0.954, -0.101).lineTo(0.855, -0.292).lineTo(0.474, -0.093).lineTo(0.424, -0.189).lineTo(0.233, -0.089).lineTo(0.432, 0.29...
17
172
0.698665