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_664d37d6823569c7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, 0.083, -0.001), normal=(-0.122, 0.992, 0.023), xDir=(-0.992, -0.122, 0))).moveTo(0.924, 0.999).lineTo(0.924, 0.575).lineTo(-0.4, 0.575).lineTo(-0.4, -0.575).lineTo(0.924, -0.575).lineTo(0.924, -0.999).lineTo(-0.924, -0.999).lineTo(-0.924, 0...
5
81
0.201202
train_1c96f98b7e810280
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.394), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.788).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.788).lineTo(-0.656, 0.788).lineTo(-0.656, 0.339).lineTo(0.656, 0.339).lineTo(0.656, 0.788).lineTo(1, 0.788).close().extrude(0.204, both=Tru...
9
62
0.38471
train_a9a667d5a3fb79d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.046, 0.787, 0.071), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.356, 0.213).threePointArc((0.569, 0), (0.356, -0.213)).lineTo(-0.356, -0.213).threePointArc((-0.569, 0), (-0.356, 0.213)).lineTo(0.356, 0.213).close().sweep(cq.Workplane(cq.Plane(or...
3
23
0.230892
train_87c1dc96965455fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.284), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.541, 1).lineTo(0.541, -0.768).lineTo(0.313, -1).lineTo(-0.388, -1).threePointArc((-0.496, -0.947), (-0.541, -0.839)).lineTo(-0.541, 0.703).lineTo(-0.248, 1).lineTo(0.541, 1).close().extrud...
18
218
0.911248
train_2b0026906ba40944
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.011, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.758, 0.877, 2) result = result.edges().fillet(0.242) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.011, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.201).extrude(3.516, both=True...
15
103
1.902984
train_e164d52306b9fad5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, -0.008, -0.187), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.479, 0.924).lineTo(0.798, 0.827).lineTo(1.011, 0.633).lineTo(-0.692, -0.924).lineTo(-0.904, -0.729).lineTo(-1.011, -0.438).lineTo(-0.586, -0.438).lineTo(-0.798, -0.243).lineTo(-0....
8
525
0.930518
train_e52f678859448235
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.436, -0.364, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.871).threePointArc((0.619, 0.619), (0.871, 0)).lineTo(0.306, 0).threePointArc((0.216, 0.216), (0, 0.306)).lineTo(0, 0.871).close().extrude(2) result = result.union(cq.Workplane(cq...
5
24
0.958803
train_6d6ade0f81ec8a01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.012, 0.003, -0.316), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.108, 0.823).threePointArc((-0.032, 0.791), (0, 0.715)).lineTo(0, 0.622).threePointArc((0.038, 0.532), (0.128, 0.494)).lineTo(0.218, 0.494).threePointArc((0.297, 0.461), (0.33, 0....
15
142
0.693628
train_a5c29c9ddd2e9e15
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.521), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.679, 0.884).lineTo(0.679, 0.702).lineTo(0.862, 0.702).lineTo(0.862, -0.436).lineTo(0.412, -0.884).lineTo(-0.664, -0.884).lineTo(-0.664, -0.686).lineTo(-0.862, -0.686).lineTo(-0.862, 0.884)...
6
23
2.131095
train_84f33426cdf94c95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.127, 0.677, -0.553), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.444, 0.437).lineTo(0.444, -0.381).threePointArc((0.056, -0.768), (-0.331, -0.381)).threePointArc((-0.359, -0.291), (-0.302, -0.217)).lineTo(-0.422, -0.053).lineTo(-0.42, 0.11).thr...
9
246
2.484782
train_4c5db5b55ccc8540
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.067, 0, -0.15), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.419, 1).threePointArc((0.559, 0.934), (0.617, 0.796)).lineTo(0.617, -0.694).threePointArc((0.53, -0.903), (0.316, -1)).lineTo(-0.422, -1).threePointArc((-0.56, -0.934), (-0.617, -0.799)...
6
47
0.125835
train_ce7ac6e3767229b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.149, 0.318, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.224, 0.199).lineTo(0.224, -0.228).lineTo(-0.224, -0.228).lineTo(-0.224, 0.199).threePointArc((-0.179, 0.228), (-0.134, 0.199)).threePointArc((-0.09, 0.17), (-0.045, 0.199)).threePointA...
10
67
0.17798
train_ff2b43840dd53e8d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.526, -0.083, 0.416), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.053, 0.953).lineTo(0.307, 0.822).lineTo(0.429, 0.458).lineTo(0.22, 0.135).lineTo(-0.162, 0.098).lineTo(-0.429, 0.373).lineTo(-0.381, 0.754).lineTo(-0.053, 0.953).close().extrude(...
13
329
1.588143
train_b02b9bf04f5efe66
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.101).lineTo(0.884, 0).lineTo(1, -0.101).lineTo(0.307, -0.101).lineTo(0.307, 0.101).lineTo(1, 0.101).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=(...
6
48
0.131663
train_4843f095ac0152ca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.635), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.36, 1.269).lineTo(0.36, 0.508).lineTo(1, 0.508).lineTo(1, 0).lineTo(0.353, 0).lineTo(0.353, 1.269).lineTo(0.36, 1.269).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1...
5
26
0.752603
train_ac6fd9317920b092
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.251), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.501) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.251), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.717).extrude(1.497, both=True)) result = result.union(cq.Workpl...
13
35
1.237276
train_f3fc3a405ff3be79
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.546, 0, -0.505), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.307, 1.01).lineTo(0.307, 0.307).lineTo(1.092, 0.307).lineTo(1.092, 0).lineTo(0, 0).lineTo(0, 1.01).lineTo(0.307, 1.01).close().extrude(1, both=True) result = result.cut(cq.Workplane(...
9
81
0.923828
train_f119b395d44cd724
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.195), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.854, -0.101).lineTo(0.989, -0.143).lineTo(0.97, -0.242).lineTo(0.83, -0.223).lineTo(0.799, -0.318).lineTo(0.919, -0.395).lineTo(0.874, -0.484).lineTo(0.745, -0.429).lineTo(0.688, -0.514).l...
6
126
0.680984
train_52820db9dd0d248b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.516, 0.079, 0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.384, -0.563).threePointArc((-0.663, -0.477), (0.175, 0.217)).lineTo(0.524, 0.65).threePointArc((0.663, 0.65), (0.663, 0.477)).lineTo(0.261, -0.023).threePointArc((0.243, -0.038), (0...
13
103
0.959303
train_65709ac21d8d827b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.83, 2).extrude(0.353) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.237, -0.178).lineTo(0.237, -0.822).lineTo(-0.237, -0.822)....
5
14
0.370469
train_e2fc1a86991dcc93
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.184), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.474, 0.808).threePointArc((1, 0), (0.474, -0.808)).lineTo(-0.474, -0.808).threePointArc((-1, 0), (-0.474, 0.808)).lineTo(0.474, 0.808).close().extrude(0.18, both=True) result = result.cut(c...
7
11
1.008683
train_2484bfb7c2aacb44
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.475, -0.963), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.212, 0.261).lineTo(0.212, -0.261).threePointArc((0, -0.472), (-0.212, -0.261)).lineTo(-0.212, 0.261).threePointArc((0, 0.472), (0.212, 0.261)).close().revolve(angleDegrees=180, axisSt...
8
123
1.141215
train_0afd6fd1fb2dbafb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.043, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.469).extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(-0.043, 0, 0.39), normal=(0.621, 0, 0.784), xDir=(0.784, 0, -0.621))).circle(0.45).extrude(2.372)) result = result.cut(...
12
228
0.611735
train_ac3516ffa540fafe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.298, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.747, 0.664).threePointArc((0.835, 0.624), (0.874, 0.533)).lineTo(0.874, 0.281).threePointArc((0.839, 0.197), (0.759, 0.162)).lineTo(-0.307, 0.162).threePointArc((-0.355, 0.141), (-0.376, ...
21
111
3.101774
train_3447447710f78fb2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.38, 0, -0.756), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.104, 1.511).lineTo(0.104, 0.104).lineTo(0.76, 0.104).lineTo(0.76, 0).lineTo(0, 0).lineTo(0, 1.511).lineTo(0.104, 1.511).close().extrude(1, both=True) result = result.cut(cq.Workplane(...
11
51
0.4255
train_580075eda6a1fd60
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.418, 0.287, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.195, 0.521).threePointArc((0.287, 0.492), (0.336, 0.436)).threePointArc((0.333, 0.362), (0.28, 0.281)).threePointArc((0.184, 0.206), (0.06, 0.147)).threePointArc((-0.073, 0.115), (-0....
5
97
0.408646
train_b97a1a34b33291c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.018, 0.44, -0.233), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 0.289).threePointArc((0.5, -0.289), (0, -0.578)).threePointArc((-0.5, -0.289), (-0.5, 0.289)).threePointArc((0, 0.578), (0.5, 0.289)).close().sweep(cq.Workplane(cq.Plane(origin=...
10
75
0.128085
train_e36bd60cde2d8f63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.476, -0.39, -0.399), normal=(0.492, -0.863, 0.113), xDir=(0.869, 0.495, 0))).moveTo(0.419, 0.434).threePointArc((0.453, 0.421), (0.469, 0.391)).lineTo(0.469, 0.264).threePointArc((0.449, 0.224), (0.403, 0.207)).lineTo(0.201, 0.207).threePointArc...
13
174
1.079407
train_93b79d5b230f19e1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.471), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.655, 0.738).lineTo(-0.655, -0.393).lineTo(1, -0.393).lineTo(1, -0.738).lineTo(-1, -0.738).lineTo(-1, 0.738).lineTo(-0.655, 0.738).close().extrude(0.572) result = result.edges().chamfer(0....
7
75
0.298266
train_9e953255990e159c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.256, -0.36, -0.461), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.143, 0).threePointArc((0, -0.143), (-0.143, 0)).threePointArc((0, 0.143), (0.143, 0)).close().extrude(1.451) result = result.union(cq.Workplane(cq.Plane(origin=(0.142, -0.294, -0.5...
11
135
2.270286
train_cbddbe9fb196a1bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.047, -0.255, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.351, 0.323).threePointArc((0.371, 0.317), (0.38, 0.305)).lineTo(0.38, 0.213).threePointArc((0.373, 0.203), (0.356, 0.199)).lineTo(0.152, 0.199).threePointArc((0.115, 0.189), (0.09...
10
144
1.040268
train_3fa79ce4908c63ba
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.829, 0.987).threePointArc((0.948, 0.92), (0.999, 0.763)).lineTo(0.999, -0.138).threePointArc((0.956, -0.272), (0.854, -0.329)).lineTo(0.623, -0.329).threePointArc((0.536, -0.377), (0.5, -0....
14
100
1.622107
train_ecceef643aa93a06
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.056, -0.038, -0.181), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.961, 0.259).lineTo(0.833, 0).lineTo(0.961, -0.259).lineTo(0.396, -0.259).lineTo(0.396, 0.259).lineTo(0.961, 0.259).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=...
13
50
0.773316
train_f2d6f83545b97400
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.999, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.315, 0.077).lineTo(1.315, 0).lineTo(0, 0).lineTo(0, 0.077).lineTo(1.315, 0.077).close().extrude(0.724, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0.316, 0, 0), normal=...
3
17
0.180271
train_5e1f10e7a1fbb39f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.509, -0.185, -0.125), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.218, 0.342).threePointArc((0.203, 0.249), (0.275, 0.19)).lineTo(0.283, 0.037).threePointArc((0.241, -0.034), (0.253, -0.115)).lineTo(0.218, -0.267).threePointArc((-0.283, 0.037),...
14
405
0.662029
train_908b5a00653d2097
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.572).lineTo(1, 0.441).lineTo(-0.711, 0.441).lineTo(-0.711, -0.441).lineTo(1, -0.441).lineTo(1, -0.572).lineTo(-1, -0.572).lineTo(-1, 0.572).lineTo(1, 0.572).close().extrude(0.883, taper=1.445, both=True) result = result.cut(cq.Workplane(cq.Plane(...
7
98
1.154556
train_ec702c6856f41887
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.412, 0, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.399, 0.835).lineTo(0.399, -0.687).threePointArc((0.356, -0.792), (0.251, -0.835)).lineTo(-0.399, -0.835).lineTo(-0.399, 0.835).lineTo(0.399, 0.835).close().extrude(0.832) result = res...
12
82
1.066054
train_dbfb75a8e2928707
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.2), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.685, 0.401).lineTo(0.912, 0.381).lineTo(1, 0.141).lineTo(1, 0).lineTo(0.891, 0).lineTo(0.891, 0.12).lineTo(0.795, 0.381).lineTo(0, 0.302).lineTo(0, 0.401).lineTo(0.685, 0.401).close().revol...
4
25
0.327479
train_50c5109e153b3198
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.271), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.868, 0.541).lineTo(0.868, 0).lineTo(-0.868, 0).lineTo(-0.868, 0.541).lineTo(-0.743, 0.541).lineTo(-0.743, 0.129).lineTo(0.743, 0.129).lineTo(0.743, 0.541).lineTo(0.868, 0.541).close().ext...
5
42
0.614688
train_ce93bf16b09186fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.053, -0.1, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.032, 0.098).lineTo(0.103, 0).lineTo(0.032, -0.098).lineTo(-0.084, -0.061).lineTo(-0.084, 0.061).lineTo(0.032, 0.098).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq.Pl...
6
34
0.05997
train_3f832686dac13e07
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.234, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.216, 2).lineTo(0.216, 0.216).lineTo(0.42, 0.216).lineTo(0.42, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.216, 2).close().extrude(0.488, both=True) result = result.union(cq.Workplane(cq.Plane(...
9
41
0.444807
train_1a35e549620de38c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.54, -0.062, -0.266), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.437, 0.345).lineTo(0.437, 0.207).lineTo(-0.312, 0.207).lineTo(-0.312, 0.069).lineTo(0.437, 0.069).lineTo(0.437, -0.345).lineTo(-0.437, -0.345).lineTo(-0.437, -0.207).lineTo(0.312, ...
19
110
0.968477
train_d9aed2d3f7a67e47
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.289), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.577) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.289), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.748).extrude(1.728, both=True)) result = result.union(cq.Workpl...
19
171
1.019511
train_f8569abe881d375b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.392), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.868, 1).lineTo(0.868, -0.149).lineTo(0.017, -0.149).lineTo(0.017, -1).lineTo(-0.017, -1).threePointArc((-0.618, -0.75), (-0.868, -0.149)).lineTo(-0.868, 0.47).threePointArc((-0.713, 0.845)...
9
82
1.446714
train_b9903db249db5934
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.015, 0.021, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.829, 0.569).threePointArc((0.001, 0.832), (0.985, 0.049)).threePointArc((-0.313, -0.832), (-0.985, 0.363)).lineTo(-0.829, 0.569).close().moveTo(-0.286, 0.037).threePointArc((0.052, 0.0...
7
37
0.514279
train_378c5328cb39a958
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.949, 0.605).lineTo(1, 0.562).lineTo(1, -0.527).lineTo(0.912, -0.605).lineTo(-0.937, -0.605).threePointArc((-0.976, -0.589), (-1, -0.551)).lineTo(-1, 0.508).threePointArc((-0.963, 0.576), (...
14
64
0.556909
train_937c74052b01cbd0
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.201).lineTo(1, 0.157).threePointArc((0.96, 0.129), (0.864, 0.117)).lineTo(0.699, 0.117).threePointArc((0.629, 0.109), (0.6, 0.088)).lineTo(0.6, -0.083).threePointArc((0.565, -0.107), (0....
9
54
0.373296
train_cd18d7c13a66abd2
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0, 0.093).lineTo(0.046, 0.081).lineTo(0.081, 0.046).lineTo(0.093, 0).lineTo(0.081, -0.046).lineTo(0.046, -0.081).lineTo(0, -0.093).lineTo(-0.046, -0.081).lineTo(-0.081, -0.046).lineTo(-0.093, 0).lineTo(-0.081, 0.046).lineTo(-0.046, 0.081).lineTo(0, 0....
4
29
0.051189
train_7a83881889a7de65
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.198), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.38, 0.396).lineTo(0.38, 0.174).lineTo(1, 0.174).lineTo(1, 0).lineTo(0.254, 0).lineTo(0.254, 0.396).lineTo(0.38, 0.396).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1...
5
34
0.861021
train_fd1fe41e38b54c2b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.542, -0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.346, 0.392).lineTo(0.482, 0.258).lineTo(0.482, -0.254).threePointArc((0.442, -0.352), (0.344, -0.392)).lineTo(-0.332, -0.392).threePointArc((-0.439, -0.349), (-0.482, -0.243)).lineTo(-...
10
63
0.487584
train_304e7d4dd5230a0c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0.146, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.45, 0.984).lineTo(1.33, 0.716).lineTo(1.38, 0.565).lineTo(1.157, -0.304).lineTo(1.039, -0.477).lineTo(0.796, -0.494).lineTo(0.011, -0.263).lineTo(-1.239, -0.984).lineTo(-1.38, -0.741)....
7
64
0.129465
train_876f58e84430727a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.478, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.988, -0.144).lineTo(0.951, -0.285).lineTo(0.891, -0.419).lineTo(0.809, -0.542).lineTo(0.707, -0.652).lineTo(0.588, -0.746).lineTo(0.454, -0.821).lineTo(0.309, -0.877).lineTo(0.156, -0.911)...
20
590
1.752367
train_3a53ad5e87a27099
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.096), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.744, 1).lineTo(0.966, 0.778).lineTo(0.966, -0.859).lineTo(0.826, -0.859).lineTo(0.826, -1).lineTo(-0.817, -1).lineTo(-0.966, -0.851).lineTo(-0.966, 0.709).lineTo(-0.676, 1).lineTo(0.744, 1...
18
303
0.542199
train_36a029c78e3eddb2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.526, -0.234, -0.763), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.215, 0.107).lineTo(0.117, -0.107).lineTo(-0.117, -0.107).lineTo(-0.215, 0.107).lineTo(0.215, 0.107).close().extrude(1.611) result = result.union(cq.Workplane(cq.Plane(origin=(0.62...
9
63
1.003086
train_3454f40f79813368
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.302, 0.213).lineTo(0.302, 0).lineTo(-0.302, 0).lineTo(-0.302, 0.213).lineTo(-0.151, 0.213).lineTo(-0.151, 0.151).lineTo(0.151, 0.151).lineTo(0.151, 0.213).lineTo(0.302, 0.213).close().ext...
3
15
0.216002
train_599b9184a0ba460b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.178, 0, 0.504), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.005, 0.155).threePointArc((0.123, 0.14), (0.223, 0.103)).threePointArc((0.288, 0.05), (0.31, -0.01)).threePointArc((0.284, -0.069), (0.216, -0.117)).threePointArc((0.114, -0.147), (-0...
28
551
0.158322
train_669b854981424b51
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.077, 0, -0.599), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.621, 0.079).lineTo(0.621, -0.079).threePointArc((0.453, 0), (0.621, 0.079)).close().sweep(cq.Workplane(cq.Plane(origin=(0.077, 0, -0.599), normal=(0, 0, 1), xDir=(1, 0, 0))).add(cq.Wi...
7
60
1.866564
train_3420be62063c6b35
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.592), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.83, 0.717).lineTo(0.83, 0.555).lineTo(1, 0.555).lineTo(1, -0.566).lineTo(0.841, -0.566).lineTo(0.841, -0.717).lineTo(-0.88, -0.717).lineTo(-0.88, -0.605).lineTo(-1, -0.605).lineTo(-1, 0.62...
12
67
1.279641
train_07a2d3c8491caa6d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.128), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.255) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.128), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.824).extrude(0.765, both=True)) result = result.union(cq.Workpl...
15
56
0.398774
train_73b36b297078d9d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.08, -0.066, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.003, 0.45).threePointArc((0.83, 0.933), (0.728, 0.122)).threePointArc((0.689, 0.096), (0.693, -0.015)).lineTo(0.684, -0.051).threePointArc((0.68, -0.062), (0.673, -0.072)).lineTo(0.586...
2
45
0.720896
train_12eb4f57fa1a85a2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.445, 0.075, 0.209), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.356, 0.31).lineTo(0.369, 0.205).lineTo(0.339, 0.207).threePointArc((0.324, 0.203), (0.309, 0.209)).lineTo(0.28, 0.21).lineTo(0.252, 0.199).lineTo(0.224, 0.188).lineTo(0.236, 0.083...
7
116
0.804061
train_2edbc598c95509f0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.619), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.852).lineTo(1, 0.571).lineTo(-0.719, 0.571).lineTo(-0.719, -0.571).lineTo(1, -0.571).lineTo(1, -0.852).lineTo(-1, -0.852).lineTo(-1, 0.852).lineTo(1, 0.852).close().extrude(1.237, taper...
2
21
0.920983
train_e4bc58cc7d2bbe34
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.049, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.22, 0.319).lineTo(0.22, -0.104).lineTo(0.005, -0.319).lineTo(-0.077, -0.319).lineTo(-0.077, -0.175).lineTo(-0.22, -0.175).lineTo(-0.22, 0.104).threePointArc((-0.157, 0.256), (-0.005, ...
7
33
0.096435
train_c773bec699064a0a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.247, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.477, 0.752).threePointArc((0.67, 0.67), (0.752, 0.477)).lineTo(0.752, 0.129).threePointArc((0.713, 0.038), (0.622, 0)).lineTo(0.494, 0).threePointArc((0.412, -0.035), (0.376, -0.119)).lineT...
6
113
0.800543
train_6fdfeb3f4b12f48a
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.149).lineTo(0.721, 0).lineTo(1, -0.149).lineTo(0.338, -0.149).lineTo(0.338, 0.149).lineTo(1, 0.149).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane('XY').circle(0.488).extrude(0.597, both...
7
27
0.318219
train_4f45215e75084a07
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, 0, -0.277), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.224, 0.975).threePointArc((0.367, 0.932), (0.501, 0.868)).threePointArc((0.624, 0.785), (0.734, 0.684)).threePointArc((0.827, 0.568), (0.903, 0.441)).threePointArc((0.958, 0.302), (0.9...
9
230
1.277648
train_5b645f684bd12e87
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.401, 0.38, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.599, 0.527).lineTo(0.599, -0.527).lineTo(-0.553, -0.527).lineTo(-0.599, -0.48).lineTo(-0.599, 0.459).threePointArc((-0.58, 0.507), (-0.532, 0.527)).lineTo(0.599, 0.527).close().extr...
15
274
0.395171
train_b163b38054cb8e7b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.994), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.678, 0.498).lineTo(0.92, 0.39).lineTo(1, 0.173).lineTo(1, 0).lineTo(0.758, 0).lineTo(0.758, 0.149).lineTo(0.656, 0.39).lineTo(0, 0.254).lineTo(0, 0.498).lineTo(0.678, 0.498).close().revol...
6
31
1.179621
train_98672d6f347aa73e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.86, 0.123, -0.234), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.628, 1.083).threePointArc((0.725, 1.042), (0.766, 0.945)).lineTo(0.766, -0.699).threePointArc((0.725, -0.796), (0.628, -0.836)).lineTo(-0.628, -0.836).threePointArc((-0.725, -0.796...
7
328
3.42015
train_c24b0fd19396a3ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.052, -0.253), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.82, 0.451).threePointArc((0.945, 0.399), (1, 0.272)).lineTo(1, -0.213).threePointArc((0.929, -0.382), (0.761, -0.451)).lineTo(-0.667, -0.451).threePointArc((-0.901, -0.354), (-1, -0.1...
12
55
0.480977
train_e3a4e036c1f846ac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.314, -1.193, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 2.186).threePointArc((0.704, 1.894), (1, 1.191)).threePointArc((0.704, 0.491), (0, 0.199)).threePointArc((-0.704, 0.491), (-1, 1.191)).threePointArc((-0.704, 1.894), (0, 2.186)).clos...
3
17
1.678514
train_48f6e89ccafba6f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.023, -0.024, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.504, 0.867).threePointArc((0.951, 0.867), (0.951, 0.482)).lineTo(-0.392, -0.771).threePointArc((-0.84, -0.867), (-0.951, -0.482)).lineTo(0.504, 0.867).close().moveTo(0.616, 0.771...
11
124
0.361088
train_ce1b5598989a4790
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.172, -0.053, -0.403), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.565, -0.658).threePointArc((-0.309, 0.85), (0.565, -0.85)).lineTo(-0.565, -0.658).close().moveTo(0.548, 0.464).lineTo(0.371, -0.576).threePointArc((-0.115, 0.576), (0.548, 0.464...
8
66
0.198456
train_990cd1c608d19922
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.038, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.336, 0.36).lineTo(0.336, -0.316).lineTo(0.293, -0.316).lineTo(0.293, -0.36).lineTo(-0.242, -0.36).threePointArc((-0.308, -0.332), (-0.336, -0.266)).lineTo(-0.336, 0.36).lineTo(0.336, ...
7
32
0.250504
train_c5eab1572266e028
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.244, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.311, 1.138).lineTo(0.947, 0.135).lineTo(0.174, -0.651).lineTo(-0.885, -0.362).lineTo(-0.947, 0.903).lineTo(0.311, 1.138).close().extrude(2) result = result.cut(cq.Workplane(cq.Plane(origi...
31
163
3.435155
train_f0722a7c8371e9b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.796), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.738, 1.796).lineTo(0.738, 1.087).lineTo(0.797, 1.087).lineTo(0.797, 0).lineTo(0, 0).lineTo(0, 1.796).lineTo(0.738, 1.796).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
6
23
1.901607
train_a669b800b728e1df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.367), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.993, 0.229).lineTo(0.993, 0.186).threePointArc((0.982, 0.18), (0.957, 0.178)).lineTo(-0.524, 0.178).threePointArc((-0.646, 0.166), (-0.697, 0.138)).lineTo(-0.697, -0.121).threePointArc((-0...
5
34
0.279438
train_cf40ea8998c9bfd5
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0, 0.137).lineTo(0.042, 0.13).lineTo(0.08, 0.112).lineTo(0.112, 0.08).lineTo(0.13, 0.042).lineTo(0.137, 0).lineTo(0.13, -0.042).lineTo(0.112, -0.08).lineTo(0.08, -0.112).lineTo(0.042, -0.13).lineTo(0, -0.137).lineTo(-0.042, -0.13).lineTo(-0.08, -0.112...
1
22
0.116176
train_dc62348b67d32751
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.327, -0.154, -0.416), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.571, 0.492).threePointArc((0.641, 0.438), (0.67, 0.309)).lineTo(0.67, 0.188).threePointArc((0.64, 0.056), (0.567, 0)).lineTo(0.508, 0).threePointArc((0.433, -0.058), (0.402, -0.19...
11
58
0.510766
train_433f4bc4f5434690
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.25, 0.157), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.142, 0.635).threePointArc((0.201, 0.544), (0.214, 0.435)).threePointArc((0.176, 0.328), (0.111, 0.235)).lineTo(0.142, 0.034).threePointArc((-0.214, 0.334), (0.142, 0.635)).close().extru...
6
60
0.634817
train_9ea7e1036a38f09e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.409, -0.001, 1.639), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.295, 0.233).lineTo(0.295, 0.083).lineTo(0.075, 0.083).lineTo(0.075, -0.233).lineTo(-0.075, -0.233).lineTo(-0.075, 0.083).lineTo(-0.295, 0.083).lineTo(-0.295, 0.233).lineTo(0.295, 0...
8
36
0.204218
train_0d39a96eac6d4282
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.005, 0.023, 0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.632, 0.818).threePointArc((0.963, -0.247), (-0.826, -0.818)).threePointArc((-0.963, -0.061), (-0.632, 0.818)).close().extrude(0.382, both=True).intersect(cq.Workplane(cq.Plane(ori...
6
81
1.062323
train_d4cd898e3037380f
import cadquery as cq import math result = cq.Workplane('XY').box(2, 1.099, 1.529) result = result.edges().fillet(0.332) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.138).extrude(4, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=...
9
105
2.516402
train_de87a848cca0e5f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.08, 0.156, -0.423), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.29, 0.78).threePointArc((0.405, 0.738), (0.453, 0.64)).lineTo(0.453, 0.111).threePointArc((0.492, 0.033), (0.582, 0)).lineTo(0.733, 0).threePointArc((0.855, -0.044), (0.907, -0.15))...
7
93
0.788667
train_6ad4d959d61792e9
import cadquery as cq import math result = cq.Workplane('XY').box(1.744, 1.602, 2) result = result.edges().fillet(0.238) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.378).extrude(3.487, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.799, 0.222...
8
49
2.915127
train_23f718d52df73130
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.071, 0.098).threePointArc((-0.065, 0.097), (-0.063, 0.092)).lineTo(-0.063, -0.044).threePointArc((-0.051, -0.065), (-0.023, -0.074)).lineTo(0.092, -0.074).threePointArc((0.095, -0.075), (0.096, -0.077)).lineTo(0.096, -0.094).threePointArc((0.094, -...
2
20
0.020121
train_744c2470e7c4ec3e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.253, -0.023, 0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.747, 0.267).lineTo(0.747, -0.053).threePointArc((-0.747, -0.267), (0.747, 0.267)).close().moveTo(0.428, 0.053).lineTo(0.428, -0.16).threePointArc((-0.428, 0.16), (0.428, 0.053)).clo...
17
183
0.682363
train_7b2ff26b3eb70b68
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.133, -0.207, -0.058), normal=(-0.35, 0.423, -0.836), xDir=(-0.77, -0.637, 0))).moveTo(0.492, 0.364).lineTo(0.491, 0.249).lineTo(0.425, 0.163).lineTo(0.28, 0.062).lineTo(-0.218, -0.207).lineTo(-0.284, -0.278).lineTo(-0.283, -0.341).lineTo(-0.492,...
10
97
0.642732
train_dae4e90c97a9d972
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.178, 0.203, -0.487), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.25, 0.438).threePointArc((0.509, 0.178), (0.25, -0.081)).lineTo(-0.25, -0.081).threePointArc((-0.509, 0.178), (-0.25, 0.438)).lineTo(0.25, 0.438).close().extrude(0.406) result = r...
21
236
0.327135
train_89a83ffdf830dd83
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.167, 0.127, 0.383), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.767, 0.206).threePointArc((0.206, -0.767), (-0.767, -0.206)).threePointArc((-0.206, 0.767), (0.767, 0.206)).close().sweep(cq.Workplane(cq.Plane(origin=(0.167, 0.127, 0.383), normal=...
12
72
0.244903
train_7fd072c4e00d2ac6
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.917, 0.6).threePointArc((0.975, 0.576), (1, 0.518)).lineTo(1, -0.085).threePointArc((0.965, -0.166), (0.884, -0.2)).lineTo(0.704, -0.2).threePointArc((0.631, -0.231), (0.6, -0.304)).lineTo(0.6, -0.45).threePointArc((0.556, -0.556), (0.45, -0.6)).lin...
5
122
0.599849
train_ac09ffa31ce1bb2a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.087, -0.137, -0.642), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.072, 0.122).lineTo(0.144, -0.03).threePointArc((0.072, -0.122), (-0.036, -0.183)).lineTo(-0.144, 0.061).threePointArc((-0.072, 0.183), (0.072, 0.122)).close().moveTo(0, 0.091).lin...
15
76
0.155997
train_8197b6ffdc7cf3c7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.79), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.743, 1.789).lineTo(0.743, 0.154).lineTo(0.754, 0.154).lineTo(0.754, 0).lineTo(0.357, 0).lineTo(0.357, 1.789).lineTo(0.743, 1.789).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axi...
5
105
2.079745
train_c24fce60e9a30104
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0.015, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.08, 0.392).lineTo(0.185, 0.371).threePointArc((0.378, 0.127), (0.17, -0.287)).threePointArc((0.075, -0.392), (-0.242, -0.33)).lineTo(-0.319, -0.232).threePointArc((-0.378, 0.069), (-0...
15
39
0.554449
train_c30c580fd16bf8ca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.606, -0.547, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.21).threePointArc((0.854, 0.854), (1.21, 0)).lineTo(0.77, 0).threePointArc((0.544, 0.544), (0, 0.77)).lineTo(0, 1.21).close().extrude(2) result = result.union(cq.Workplane(cq.Plan...
5
31
1.182732
train_e01d8685569107b9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.44), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.852).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.852).lineTo(-0.546, 0.852).lineTo(-0.546, 0.451).lineTo(0.546, 0.451).lineTo(0.546, 0.852).lineTo(1, 0.852).close().extrude(0.352, both=True...
10
88
1.061746
train_99bdb7ffeea812a2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.284, 0, -2.062), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.383).extrude(1.847) result = result.union(cq.Workplane(cq.Plane(origin=(-1.284, 0, -0.77), normal=(0.904, 0, 0.427), xDir=(0.427, 0, -0.904))).circle(0.606).extrude(2.239)) result = r...
9
37
1.135875
train_2887419a91ec5675
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.063, -0.161, -0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.937, 0.224).lineTo(0.937, 0.167).lineTo(0.164, 0.167).lineTo(0.164, -0.224).lineTo(-0.164, -0.224).lineTo(-0.164, 0.167).lineTo(-0.937, 0.167).lineTo(-0.937, 0.224).lineTo(0.937, ...
14
152
0.114757
train_eb8e52391101c7dd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.09, 1.069).threePointArc((0.134, 1.05), (0.153, 1.006)).lineTo(0.153, 0.868).threePointArc((0.184, 0.795), (0.258, 0.763)).lineTo(0.355, 0.763).threePointArc((0.427, 0.733), (0.458, 0.66))....
6
115
0.633558
train_366bceb9df1b58fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.111, -0.011, -0.105), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0, 0.192).threePointArc((0.096, 0.152), (0.136, 0.056)).threePointArc((0.096, -0.04), (0, -0.08)).threePointArc((-0.096, -0.04), (-0.136, 0.056)).threePointArc((-0.096, 0.152), (0,...
14
166
0.247793