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_059f8d579ee45720
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.103).lineTo(0.861, 0).lineTo(1, -0.103).lineTo(0.13, -0.103).lineTo(0.13, 0.103).lineTo(1, 0.103).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,...
9
25
0.44459
train_f2b36b7aa1059171
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.607, -0.084), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.23, 0.465).threePointArc((0.23, 0.465), (0.461, 0.066)).threePointArc((0.23, -0.333), (-0.23, -0.333)).threePointArc((-0.461, 0.066), (-0.23, 0.465)).close().moveTo(0.113, 0.179).th...
5
40
1.029006
train_e5144e2800351f15
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.739, -0.304, 0.262), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.013, 0.454).lineTo(0.106, 0.266).lineTo(0.315, 0.264).lineTo(0.2, 0.09).lineTo(0.302, -0.093).lineTo(0.093, -0.079).lineTo(-0.013, -0.26).lineTo(-0.106, -0.072).lineTo(-0.315, -0....
5
70
0.424536
train_392ff3e28025967d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.023, 0, 0.062), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.687, 0.788).lineTo(-0.687, -0.342).threePointArc((-0.63, -0.476), (-0.496, -0.532)).lineTo(0.934, -0.532).threePointArc((0.964, -0.545), (0.977, -0.576)).lineTo(0.977, -0.761).threePoi...
13
197
0.622941
train_b6bbc65eded587e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.089, 0, -0.101), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.569, 0.428).lineTo(0.838, 0.244).lineTo(0.911, 0.151).lineTo(0.911, 0).lineTo(0.814, 0).lineTo(0.814, 0.128).lineTo(0.722, 0.244).lineTo(0, 0.331).lineTo(0, 0.428).lineTo(0.569, 0.42...
9
83
0.345684
train_f73a77bc7c0060e7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.471, -0.503), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.034, 1.323).lineTo(0.14, 1.286).threePointArc((0.222, 1.239), (0.315, 1.244)).threePointArc((0.507, 1.164), (0.586, 0.972)).lineTo(0.546, 0.637).lineTo(0.655, 0.301).threePointArc((0...
13
302
2.044419
train_6f76039664df147b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.036, 0.314, -0.48), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.734, 0.355).lineTo(0.734, -0.355).lineTo(0.531, -0.355).lineTo(0.531, -0.051).lineTo(0.43, -0.051).lineTo(0.43, -0.355).lineTo(0.227, -0.355).lineTo(0.227, 0.355).lineTo(0.43, 0.355...
13
201
1.012813
train_93dda7f8ed6058fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.013, -0.073), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.58, 0.969).threePointArc((0.794, 0.978), (0.918, 0.752)).lineTo(0.246, 0.132).threePointArc((0.136, -0.013), (0.104, -0.173)).lineTo(0.13, -0.808).threePointArc((-0.09, -0.978), ...
9
80
0.837222
train_a1c34097544d3bab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, 0, 0.702), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.152, 0.817).threePointArc((0.615, 0.626), (0.806, 0.164)).lineTo(0.843, 0.064).lineTo(0.796, -0.035).threePointArc((0.797, -0.085), (0.806, -0.134)).threePointArc((0.615, -0.596), (0.1...
4
30
2.505034
train_4a0915229230cd7c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.134, 0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.599, 0.866).lineTo(-0.599, -0.589).lineTo(0.95, -0.589).lineTo(0.95, -0.866).lineTo(-0.95, -0.866).lineTo(-0.95, 0.866).lineTo(-0.599, 0.866).close().extrude(0.367) result = result.uni...
6
96
0.213644
train_618b8e95fb7bd836
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.044, 0, -0.18), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.956, 0.446).lineTo(0.956, 0.31).lineTo(0.568, 0.31).lineTo(0.568, 0).lineTo(0.102, 0).lineTo(0.102, 0.446).lineTo(0.956, 0.446).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), a...
5
47
0.580669
train_89a25511f5de53df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.081, 0.029, -0.204), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.221, 0.941).threePointArc((0.951, 0.459), (0.856, 0.103)).lineTo(-0.37, -0.906).threePointArc((-0.951, -0.941), (-0.939, -0.181)).lineTo(0.221, 0.941).close().extrude(0.408) resul...
11
128
0.802095
train_3db49506ef1434a9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.999, -0.2, -0.213), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.209, 0.869).threePointArc((0.271, 0.72), (0.678, 0.426)).threePointArc((0.904, 0.065), (0.887, -0.266)).threePointArc((0.632, -0.476), (0.209, -0.512)).threePointArc((-0.271, -0.3...
9
43
2.295288
train_2d5d4f00e05e7cdc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.098, 0, -0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.072, 0.75).lineTo(0.288, 0.65).lineTo(0.432, 0.45).lineTo(0.504, -0.05).lineTo(0.432, -0.15).lineTo(0.36, -0.25).lineTo(-0.072, -0.25).lineTo(-0.072, -0.65).lineTo(-0.144, -0.75).line...
6
141
0.736565
train_5507574978c8ad5a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.633, -0.525, -0.861), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.206, 0.052).lineTo(0.206, -0.052).lineTo(0.033, -0.052).lineTo(0.033, -0.017).lineTo(0.171, -0.017).lineTo(0.171, 0.017).lineTo(0.033, 0.017).lineTo(0.033, 0.052).lineTo(0.206, ...
10
87
0.673922
train_4676a5b69908d8f8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.75), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.985, 1).lineTo(0.985, -1).lineTo(-0.985, -1).lineTo(-0.985, 1).lineTo(-0.676, 1).lineTo(-0.676, -0.772).lineTo(0.676, -0.772).lineTo(0.676, 1).lineTo(0.985, 1).close().extrude(1.5) result =...
10
18
2.306838
train_82653167bb388dda
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.471, 0.297, 0.625), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.258, 0.263).lineTo(0.251, 0.23).lineTo(0.359, 0.184).lineTo(0.334, 0.123).lineTo(0.225, 0.167).lineTo(0.206, 0.139).lineTo(0.289, 0.055).lineTo(0.242, 0.009).lineTo(0.158, 0.091).li...
5
601
0.573284
train_0a007714a48f00fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.54, 0.772, -0.333), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.228, 0).threePointArc((0, -0.228), (-0.228, 0)).threePointArc((0, 0.228), (0.228, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.54, 0.772, -0.333), normal=(0, -1, 0), xDir=(1,...
3
51
0.514719
train_d4c53232869ba048
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.306, 0.042, -0.288), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.694, 0.218).lineTo(0.694, -0.218).lineTo(-0.628, -0.218).lineTo(-0.628, -0.152).lineTo(-0.694, -0.152).lineTo(-0.694, 0.218).lineTo(0.694, 0.218).close().extrude(0.576) result = re...
10
70
0.643585
train_0f30b92ca7d02ce6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0.001, -0.212), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.373, 0.994).lineTo(-0.31, 0.885).threePointArc((-0.306, 0.879), (-0.301, 0.873)).lineTo(0.07, 0.49).threePointArc((0.094, 0.46), (0.11, 0.425)).lineTo(0.327, -0.218).lineTo(0.611...
7
22
0.256143
train_4a3dcb5653e91ef0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.006, 0, 0.019), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.15, 0.507).lineTo(0.286, 1).lineTo(0.658, 0.744).lineTo(0.444, 0.2).lineTo(0.407, 0.146).lineTo(0.377, 0.082).lineTo(0.355, 0.011).lineTo(0.341, -0.066).lineTo(0.336, -0.145).lineTo(0....
7
266
0.699264
train_d62de08ec16fcef0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.319, -0.23, -0.78), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.573, 0.075).lineTo(0.668, -0.007).threePointArc((0.668, -0.075), (0.586, -0.075)).lineTo(0.491, 0.007).threePointArc((0.491, 0.075), (0.573, 0.075)).close().sweep(cq.Workplane(cq.P...
7
61
1.659618
train_bf1e6011d298ecfb
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.53).extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.39), normal=(0.374, 0, 0.927), xDir=(0.927, 0, -0.374))).circle(0.235).extrude(1.808)) result = result.cut(cq.Workpla...
9
19
0.223268
train_846f46be06200103
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.833, 0, -2.85), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.313).extrude(2.342) result = result.union(cq.Workplane(cq.Plane(origin=(-0.833, 0, -1.21), normal=(0.463, 0, 0.886), xDir=(0.886, 0, -0.463))).circle(0.288).extrude(2.342)) result = re...
5
7
0.241917
train_033ee4bc29b22dc8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.267, 0, -0.047), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.479, -0.584).lineTo(-0.479, 0.584).lineTo(-0.456, 0.712).lineTo(-0.387, 0.826).lineTo(-0.282, 0.913).lineTo(-0.148, 0.972).lineTo(0, 1).lineTo(0.148, 0.972).lineTo(0.282, 0.913).lineT...
2
153
1.830615
train_fef226978dab0a52
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.07, 0.489, -0.048), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.441, 0.255).threePointArc((0.255, -0.441), (-0.441, -0.255)).threePointArc((-0.255, 0.441), (0.441, 0.255)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.07, 0.489, -0.048), norma...
2
7
0.59366
train_9140415da43bcbb9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.087, -0.416), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.85, -0.191).lineTo(0.794, -0.374).lineTo(0.703, -0.54).lineTo(0.581, -0.683).lineTo(0.434, -0.795).lineTo(0.269, -0.873).lineTo(0.091, -0.913).lineTo(-0.091, -0.913).lineTo(-0.269, -0...
9
188
2.44802
train_cf430f1cdb469840
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.83, 0.403, -0.183), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.106, 0.769).threePointArc((0.032, 0.728), (0.124, 0.62)).threePointArc((0.241, 0.724), (0.312, 0.676)).lineTo(0.397, 0.531).lineTo(0.355, 0.326).lineTo(0.291, 0.158).threePointArc...
31
37
0.772377
train_d3bd7cca01f7bd08
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.101, -0.249), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.907, 0.224).threePointArc((0.972, 0.198), (1, 0.132)).lineTo(1, -0.12).threePointArc((0.968, -0.193), (0.895, -0.224)).lineTo(-0.899, -0.224).threePointArc((-0.97, -0.194), (-1, -0.124...
11
37
0.445577
train_897734e3dff64a9b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.839, -0.057, -0.083), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.35, 0.521).lineTo(0.426, 0.296).lineTo(0.399, 0.082).threePointArc((0.437, -0.029), (0.38, -0.133)).threePointArc((0.296, -0.22), (0.262, -0.337)).lineTo(-0.437, 0.168).threePoin...
12
64
1.158958
train_cf27efe176ad6cd0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.193, -0.511, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.611, 0.812).threePointArc((1, 0.423), (0.611, 0.034)).lineTo(-0.611, 0.034).threePointArc((-1, 0.423), (-0.611, 0.812)).lineTo(0.611, 0.812).close().extrude(1.021) result = result.fac...
7
36
0.292758
train_5ded85f3b5e2905a
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.398).lineTo(1, 0).lineTo(0.597, 0).lineTo(0.597, -0.398).lineTo(-0.597, -0.398).lineTo(-0.597, 0).lineTo(-1, 0).lineTo(-1, 0.398).lineTo(1, 0.398).close().extrude(0.832, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.32, 0, 0), n...
13
140
1.097361
train_386fb2081e2c65cc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.09, 0.156, -0.283), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.91, 0.21).lineTo(0.91, 0.158).lineTo(-0.633, 0.158).lineTo(-0.633, -0.158).lineTo(0.91, -0.158).lineTo(0.91, -0.21).lineTo(-0.91, -0.21).lineTo(-0.91, 0.21).lineTo(0.91, 0.21).clos...
15
170
0.373853
train_5ac8b429b0300925
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.053, 0, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.03, 1).lineTo(0, 0.91).lineTo(0, 0.684).lineTo(0.068, 0.498).lineTo(0.233, 0.498).lineTo(0.364, 0.138).lineTo(0.364, -0.335).lineTo(0.305, -0.498).lineTo(0.254, -0.498).lineTo(0.182,...
6
174
0.754402
train_3a14b6fdda45cf89
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.128, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.714, 0.892).lineTo(0.714, 0.536).lineTo(-0.357, 0.536).lineTo(-0.357, 0.179).lineTo(0.714, 0.179).lineTo(0.714, -0.892).lineTo(-0.714, -0.892).lineTo(-0.714, -0.536).lineTo(0.357, -0....
4
54
1.653453
train_03d18f8bd77acdf0
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.855, 0.539).threePointArc((0.957, 0.497), (1, 0.395)).lineTo(1, -0.316).threePointArc((0.934, -0.474), (0.777, -0.539)).lineTo(-0.787, -0.539).threePointArc((-0.937, -0.476), (-1, -0.326))...
7
49
0.206909
train_e43cb18600c6617f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.499), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.49, 0.998).lineTo(0.49, 0).lineTo(-0.49, 0).lineTo(-0.49, 0.998).lineTo(-0.141, 0.998).lineTo(-0.141, 0.348).lineTo(0.141, 0.348).lineTo(0.141, 0.998).lineTo(0.49, 0.998).close().extrude(...
8
31
1.226263
train_b26a5bf42797d178
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.01, 0.054, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.263, 0.137).lineTo(0.263, 0.048).lineTo(0.168, 0.048).lineTo(0.168, -0.048).lineTo(0.263, -0.048).lineTo(0.263, -0.137).lineTo(-0.017, -0.137).lineTo(-0.017, -0.048).lineTo(0.079, -0.04...
20
210
0.144239
train_0bf561007883235f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.506, 0.359, -0.259), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.227, 0).threePointArc((0, -0.227), (-0.227, 0)).threePointArc((0, 0.227), (0.227, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.506, 0.359, -0.259), normal=(0, -1, 0), xDir=(...
4
25
0.285989
train_490d5d2f1c0b0752
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.084, 0.261, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.46, 0.638).threePointArc((-0.256, 0.638), (-0.051, 0.522)).lineTo(0.153, 0.406).threePointArc((0.46, -0.406), (0.153, -0.638)).threePointArc((0.051, -0.638), (0.051, -0.406)).threePoi...
5
37
1.70374
train_01cbfbcf8f703909
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.316, -0.032, 0.067), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.467).lineTo(0, 0.412).threePointArc((0.004, 0.4), (0.017, 0.395)).lineTo(0.064, 0.395).threePointArc((0.07, 0.393), (0.072, 0.388)).lineTo(0.072, 0.036).lineTo(0.072, -0.025).th...
12
133
0.570753
train_2b076b14a02be8a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.324), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.2).lineTo(1, -0.2).lineTo(-1, -0.2).lineTo(-1, 0.2).lineTo(1, 0.2).close().extrude(0.131) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.193), normal=(0, 0, 1), xDir=(1, 0...
6
32
0.308395
train_072fa85ec307620c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.306).extrude(1, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.002), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.402).extrude(0.712, both=True)) result = result.cu...
9
25
0.476412
train_ee19560124f95674
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.003, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.552, 2.006, 1.681) result = result.edges().fillet(0.303) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.003, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.236).extrude(3.105, both=...
12
78
2.629905
train_f5d0b4c93f9666d6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.031, -0.356), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.35, 0.312).lineTo(0.35, 0.271).lineTo(0.392, 0.271).lineTo(0.392, -0.275).lineTo(0.355, -0.275).lineTo(0.355, -0.312).lineTo(-0.367, -0.312).lineTo(-0.367, -0.288).lineTo(-0.392, -0.2...
10
63
0.233072
train_6e4d9a1f7434d4b4
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.815).lineTo(1, -0.815).lineTo(-1, -0.815).lineTo(-1, 0.815).lineTo(-0.41, 0.815).lineTo(-0.41, -0.225).lineTo(0.41, -0.225).lineTo(0.41, 0.815).lineTo(1, 0.815).close().extrude(0.632, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0...
6
14
3.641948
train_eb96893bc79d8401
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.202, 0.079, -0.056), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.366, 0.647).threePointArc((0.45, 0.611), (0.485, 0.527)).lineTo(0.485, 0.057).threePointArc((0.468, 0.017), (0.429, 0)).lineTo(0.233, 0).threePointArc((0.183, -0.021), (0.162, -0....
4
60
0.336497
train_c1fb68840af3a576
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.356, 0.223).lineTo(-0.356, -0.087).threePointArc((-0.316, -0.107), (-0.219, -0.114)).lineTo(0.924, -0.114).threePointArc((0.972, -0.119), (1, -0.129)).lineTo(1, -0.228).threePointArc((0.96...
4
27
0.161166
train_9ab149ab290edffc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.624, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.354, 0.122).workplane(offset=2).rect(0.582, 0.175).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.465, 0, -1.537), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.418).extrude(1.334...
9
50
0.118973
train_dbaf620531e1b0b5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.22), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.44).lineTo(1, -0.44).lineTo(-1, -0.44).lineTo(-1, 0.44).lineTo(1, 0.44).close().extrude(0.44) result = result.cut(cq.Workplane(cq.Plane(origin=(0.25, -0.024, -0.22), normal=(0, 0, 1), xD...
19
68
0.68874
train_b00722ae32664fc0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.198, 0.207, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.566, 0.628).threePointArc((1, 0.199), (0.566, -0.231)).lineTo(-0.566, -0.231).threePointArc((-1, 0.199), (-0.566, 0.628)).lineTo(0.566, 0.628).close().extrude(0.414) result = result.cu...
8
27
0.612363
train_c9e0da633f3e0e09
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.136, -0.075, -0.548), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.318, 0.385).spline([(-0.318, 0.385), (-0.049, 0.924), (0.238, 0.448)]).lineTo(0.331, -0.488).lineTo(-0.022, -0.924).lineTo(-0.403, -0.493).lineTo(-0.518, -0.017).lineTo(-0.318, ...
11
170
0.762386
train_5d7c69e279ec7cec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.793).lineTo(1, -0.791).lineTo(0.991, -0.791).lineTo(0.991, -0.8).lineTo(-1, -0.8).lineTo(-1, 0.785).lineTo(-0.985, 0.8).lineTo(0.992, 0.8).lineTo(1, 0.793).close().extrude(0.034) result...
14
75
0.233768
train_29aa839a64a6657a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0.267, -0.881), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.556, -0.008).threePointArc((0.689, 0.079), (0.68, -0.079)).lineTo(0.556, -0.008).close().sweep(cq.Workplane(cq.Plane(origin=(-0.008, 0.267, -0.881), normal=(0, 0, 1), xDir=(1, 0,...
12
79
1.038305
train_f29e74b08030e84c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.173, 0, -0.161), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.63, 0.624).threePointArc((0.769, 0.567), (0.826, 0.429)).lineTo(0.826, -0.45).threePointArc((0.776, -0.573), (0.651, -0.624)).lineTo(-0.642, -0.624).threePointArc((-0.772, -0.571), (-0...
15
187
0.431701
train_5427c080cd4df820
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.034, 0.151, -0.331), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.038, 0.11).threePointArc((0.031, 0.134), (0.473, 0.093)).lineTo(0.497, 0.043).threePointArc((0.501, 0.028), (0.499, 0.012)).lineTo(0.486, -0.042).threePointArc((0.404, -0.134), (0...
20
240
1.14483
train_dc895cf6ec2659fb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.472), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.944).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.944).lineTo(-0.827, 0.944).lineTo(-0.827, 0.168).lineTo(0.827, 0.168).lineTo(0.827, 0.944).lineTo(1, 0.944).close().extrude(0.405, both=Tru...
8
45
0.279725
train_27573de11740fe38
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.116), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.848).lineTo(1, -0.848).lineTo(-1, -0.848).lineTo(-1, 0.848).lineTo(1, 0.848).close().extrude(0.138) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.022), normal=(0, 0, 1), x...
19
150
1.060768
train_785c606d03d294f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.118, -0.525), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.519, 0.871).lineTo(1.015, 0.021).lineTo(0.505, -0.882).lineTo(-0.522, -0.872).lineTo(-1.015, 0.005).lineTo(-0.499, 0.882).lineTo(0.519, 0.871).close().extrude(1.324) result = result.ed...
17
161
1.715538
train_3be87ec6ae0424c2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.092, 0.015, -0.182), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.676, -0.113).threePointArc((0, -1.013), (-0.676, 0.113)).lineTo(-0.676, 0.788).threePointArc((-0.45, 1.013), (-0.225, 0.788)).lineTo(-0.225, 0.113).threePointArc((-0.45, -0.338), (...
14
118
0.332827
train_89722660c0f2b5c8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.305).extrude(2.846) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.993), normal=(0.021, 0, 1), xDir=(1, 0, -0.021))).circle(0.313).extrude(2.846)) result = result.cut(cq.Workp...
8
8
0.193276
train_dd83924d1ef03337
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.934, 0.5).lineTo(1, 0.442).lineTo(1, -0.398).lineTo(0.889, -0.398).lineTo(0.889, -0.5).lineTo(-0.918, -0.5).threePointArc((-0.97, -0.478), (-1, -0.427)).lineTo(-1, 0.406).lineTo(-0.898, 0....
8
46
0.692145
train_7b81f7fbaef0d881
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.081, 0.226, 0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.032, 0.304).threePointArc((0.066, 0.312), (0.118, 0.179)).lineTo(0.322, -0.218).threePointArc((0.332, -0.264), (0.275, -0.312)).lineTo(0.113, 0.001).threePointArc((0.063, 0.056), (0...
19
143
0.648526
train_6fd7e9b63ac441c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.177, 0.356, 0.011), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.616, 0).threePointArc((0, -0.616), (-0.616, 0)).threePointArc((0, 0.616), (0.616, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.177, 0.356, 0.011), normal=(0, -1, 0), xDir=(1,...
5
62
0.817477
train_02d85e59677a429c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.009, -0.012, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.43, 0.982).lineTo(0.676, 0.492).threePointArc((0.798, 0.369), (0.798, 0.123)).lineTo(-0.061, -0.859).threePointArc((-0.307, -0.982), (-0.43, -0.615)).lineTo(0.184, 0.246).lineTo(-0.79...
4
32
2.333795
train_9d83fcf16c104afa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.524).lineTo(1, -0.22).threePointArc((0.903, -0.435), (0.692, -0.524)).lineTo(-0.816, -0.524).lineTo(-0.816, -0.344).lineTo(-1, -0.344).lineTo(-1, 0.196).threePointArc((-0.896, 0.428), (...
8
38
0.192102
train_096d344f2e13f817
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.161, 0.906).lineTo(0.347, 0.393).threePointArc((0.712, 0.29), (0.849, -0.049)).threePointArc((0.726, -0.261), (0.379, -0.302)).lineTo(0.291, -0.799).lineTo(-0.365, -0.906).lineTo(-0.573, -0.2...
9
288
2.941839
train_6f0bb0b8291673fc
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.61, 0.8).threePointArc((0.884, 0.684), (1, 0.41)).lineTo(1, -0.697).threePointArc((0.969, -0.769), (0.897, -0.8)).lineTo(0.693, -0.8).threePointArc((0.628, -0.772), (0.6, -0.707)).lineTo(0.6, -0.516).threePointArc((0.565, -0.435), (0.484, -0.4)).lin...
18
376
1.33148
train_2ffb9f12b86ab6e1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.097, -1.074, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.434, 0.631).threePointArc((0.412, 0.593), (0.492, 0.538)).lineTo(0.383, 0.421).lineTo(0.336, 0.314).threePointArc((0.364, 0.217), (0.32, 0.192)).threePointArc((0.218, 0.21), (0.165, 0...
5
58
0.123589
train_c89e0adf3d4213a1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.662), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.346) result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.662), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.194, 0.584), (-0.692, 0.943), (-1.308, 0.943), (...
12
192
2.118376
train_db6e9fd66cb4b3a2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0.212, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.105, 0.105).lineTo(0.105, 0.063).lineTo(-0.063, 0.063).lineTo(-0.063, 0.021).lineTo(0.105, 0.021).lineTo(0.105, -0.105).lineTo(-0.105, -0.105).lineTo(-0.105, -0.063).lineTo(0.063, -0....
9
73
0.073252
train_8244512e193652fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.116, -0.049, -0.168), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.07, 0.946).threePointArc((0.832, 0.672), (1.107, 0.27)).threePointArc((0.886, 0.051), (0.276, -0.021)).lineTo(0.082, 0.002).threePointArc((-0.245, 0.078), (-0.331, 0.045)).lineT...
14
29
1.294861
train_a50a2f1e13003c12
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.112), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.956, 0.56).threePointArc((0.986, 0.547), (1, 0.515)).lineTo(1, -0.511).threePointArc((0.986, -0.545), (0.95, -0.56)).lineTo(-0.95, -0.56).threePointArc((-0.984, -0.545), (-1, -0.511)).line...
15
224
0.472517
train_1d0ee4e3d7982d7b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.204), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.562, 2).extrude(0.408) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.204), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.423, -0.64).lineTo(0.423, -0.64).lineTo(-0.423, -0.695).c...
8
19
1.218122
train_2e0da3ecfc53305c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.463, -0.207, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.232, -0.272).lineTo(-0.132, -0.222).lineTo(-0.467, -0.097).lineTo(-0.35, 0.143).lineTo(0.008, 0.272).lineTo(0.347, 0.139).lineTo(0.467, -0.079).close().moveTo(0.135, 0.115).lineTo(0.1...
9
251
0.415988
train_9f5c3b41be2400ce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.048, -0.302, -0.303), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.203, -0.563).lineTo(-0.585, -0.354).lineTo(-0.675, -0.25).lineTo(-0.618, -0.156).lineTo(-0.255, 0.042).lineTo(-0.162, 0.136).lineTo(-0.194, 0.229).lineTo(-0.491, 0.438).lineTo(-...
11
116
0.616878
train_c3b69af14819bcb4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, 0, -0.172), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.519, 0.343).lineTo(0.519, 0.066).lineTo(1, 0.066).lineTo(1, 0).lineTo(0.115, 0).lineTo(0.115, 0.343).lineTo(0.519, 0.343).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEn...
14
102
0.398941
train_aac82afc39ac0c3f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.721), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.581, 0.813).lineTo(0.581, 0.116).lineTo(-0.349, 0.116).lineTo(-0.349, -0.116).lineTo(0.581, -0.116).lineTo(0.581, -0.813).lineTo(-0.581, -0.813).lineTo(-0.581, -0.581).lineTo(0.349, -0.581...
5
52
1.757236
train_40267b109576a28f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.06, -0.036), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.588, 0.171).threePointArc((0.752, 0.175), (0.88, 0.132)).threePointArc((0.938, 0.053), (0.909, -0.039)).threePointArc((0.802, -0.122), (0.645, -0.171)).threePointArc((0.481, -0.175), (...
9
103
0.564527
train_3f5db09312ee77f9
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.762, 0.562).lineTo(1, 0.326).lineTo(1, -0.251).lineTo(0.688, -0.562).lineTo(-0.767, -0.562).lineTo(-1, -0.331).lineTo(-1, 0.246).lineTo(-0.683, 0.562).lineTo(0.762, 0.562).close().extrude(...
9
52
0.360653
train_21bff769abfc00f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.503), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.007, 1).lineTo(0.362, 0.64).lineTo(0.362, -0.801).lineTo(0.168, -1).lineTo(-0.007, -1).lineTo(-0.362, -0.64).lineTo(-0.362, 0.64).lineTo(-0.007, 1).lineTo(0.007, 1).close().extrude(0.639) ...
9
59
0.528997
train_5ba8be35d7cfd5d7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.865), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.729) result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.865), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.236, 0.639), (-0.826, 0.977), (-1.496, 0.858...
9
92
3.488941
train_0df1285667bf1639
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.389, 0.151, -0.858), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.001, 0.165).lineTo(0.166, 0.002).lineTo(-0.002, -0.165).lineTo(-0.166, 0.003).lineTo(-0.001, 0.165).close().transformed(offset=(-0.185, 0.142, 0.01), rotate=(0, 0, 30)).moveTo(-0....
2
6
0.138573
train_cef90d271285e93d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.895).lineTo(1, -0.895).lineTo(-1, -0.895).lineTo(-1, 0.895).lineTo(-0.611, 0.895).lineTo(-0.611, -0.562).lineTo(0.611, -0.562).lineTo(0.611, 0.895).lineTo(1, 0.895).close().extrude(0.38)...
4
32
0.622738
train_94b41c887172cb58
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.149), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.722, 0.497).lineTo(1, 0.217).lineTo(1, -0.157).threePointArc((0.899, -0.398), (0.66, -0.497)).lineTo(-1, -0.497).lineTo(-1, 0.233).threePointArc((-0.92, 0.419), (-0.736, 0.497)).lineTo(0.7...
4
11
0.549622
train_647f65de4e30c034
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.975, -0.667, 0.462), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.372, 0.762).lineTo(0.372, 0.063).threePointArc((-0.372, 0.413), (0.372, 0.762)).close().moveTo(0.103, 0.489).threePointArc((0.129, 0.477), (0.149, 0.449)).threePointArc((0.162, 0....
9
12
0.15472
train_1b3ae1f0e05a2b95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.615, -0.439, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.227).threePointArc((0.866, 0.866), (1.227, 0)).lineTo(0.819, 0).threePointArc((0.578, 0.578), (0, 0.819)).lineTo(0, 1.227).close().extrude(2) result = result.union(cq.Workplane(cq...
6
33
1.513319
train_46fc88c69a90204f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.394, -0.375), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.297, 0.788).lineTo(-0.297, 0).lineTo(0.891, 0).lineTo(0.891, -0.394).lineTo(0.594, -0.394).lineTo(0.594, -0.788).lineTo(-0.891, -0.788).lineTo(-0.891, 0).lineTo(-0.594, 0).lineTo(-0.5...
14
84
0.838635
train_88f64fe769ed52cb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.174, 0.342, -0.027), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.299, 0.276).lineTo(0.299, -0.217).threePointArc((0, -0.515), (-0.299, -0.217)).lineTo(-0.299, 0.276).threePointArc((0, 0.574), (0.299, 0.276)).close().extrude(0.603) result = resu...
9
135
0.756794
train_b512b38b657fbc9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.278, 0.646, 0.013), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.25, 0.25).threePointArc((0.353, 0), (0.25, -0.25)).threePointArc((0, -0.353), (-0.25, -0.25)).threePointArc((-0.353, 0), (-0.25, 0.25)).threePointArc((0, 0.353), (0.25, 0.25)).clos...
3
17
0.665142
train_c049666868aa79a1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.463, -0.194, -0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.541, 0.431).lineTo(0.541, -0.431).lineTo(-0.541, -0.431).lineTo(-0.541, 0.431).lineTo(-0.327, 0.431).lineTo(-0.327, -0.217).lineTo(0.327, -0.217).lineTo(0.327, 0.431).lineTo(0.54...
11
186
0.535444
train_91082d929644f44d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.049, -0.016, -0.219), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0, 0.541).threePointArc((0.179, 0.466), (0.253, 0.288)).threePointArc((0.179, 0.11), (0, 0.035)).threePointArc((-0.179, 0.11), (-0.253, 0.288)).threePointArc((-0.179, 0.466), (0, 0...
20
64
0.520843
train_058dc54fc056ea31
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.356, 0, -0.117), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.592, 0.222).lineTo(0.644, 0.082).lineTo(0.644, 0).lineTo(0.578, 0).lineTo(0.578, 0.07).lineTo(0.514, 0.222).lineTo(0, 0.168).lineTo(0, 0.233).lineTo(0.543, 0.233).lineTo(0.592, 0.222...
6
68
0.091611
train_7c0949b5fbb8269c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.123, -0.271, -0.271), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.073, 1.036).lineTo(0.98, 0.195).threePointArc((1.052, 0.098), (1.083, -0.018)).lineTo(1.156, -1.013).threePointArc((1.142, -1.08), (1.089, -1.122)).lineTo(0.783, -1.247).threePoi...
18
105
1.408605
train_997459d7d372be6c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.18, -0.188, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.467, 0.607).lineTo(0.405, 0.607).lineTo(0.39, 0.527).lineTo(0.39, 0.24).lineTo(0.426, 0.24).lineTo(0.426, 0.003).threePointArc((0.497, 0.003), (0.435, -0.232)).lineTo(0.446, -0.76...
8
130
1.038211
train_a0e6a5335a21c71e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.548, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.311).extrude(1.365) result = result.union(cq.Workplane(cq.Plane(origin=(-0.548, 0, -0.044), normal=(0.875, 0, 0.484), xDir=(0.484, 0, -0.875))).circle(0.438).extrude(1.365)) result = resu...
6
25
0.761459
train_dfb3a3d7371a04b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.789, 0.618).threePointArc((0.932, 0.558), (1, 0.412)).lineTo(1, -0.462).lineTo(0.837, -0.462).lineTo(0.837, -0.618).lineTo(-1, -0.618).lineTo(-1, 0.462).lineTo(-0.835, 0.618).lineTo(0.789,...
16
255
0.915746
train_33a2a534bdbd3483
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.186, -0.357), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.978, 0.727).lineTo(0.978, 0).lineTo(-0.978, 0).lineTo(-0.978, 0.727).lineTo(-0.627, 0.727).lineTo(-0.627, 0.352).lineTo(0.627, 0.352).lineTo(0.627, 0.727).lineTo(0.978, 0.727).close(...
7
56
0.493954
train_18d5aa026c665d67
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.126).lineTo(0.892, 0).lineTo(1, -0.126).lineTo(0.148, -0.126).lineTo(0.148, 0.126).lineTo(1, 0.126).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane('XY').circle(0.267).extrude(0.506, both...
15
87
0.347101
train_26fb5b3302978b21
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.602), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.692, 1.204).lineTo(0.692, 0.078).lineTo(1, 0.078).lineTo(1, 0).lineTo(0.377, 0).lineTo(0.377, 1.204).lineTo(0.692, 1.204).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
3
20
1.397458