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_529974584edd6bf9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.123, -0.279), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.754, 0.123).lineTo(1, 0.123).lineTo(0.889, 0.029).lineTo(-0.871, 0.029).lineTo(-1, 0.123).lineTo(0.754, 0.123).close().revolve(angleDegrees=360, axisStart=(0.754, 0.123), axisEnd=(1, ...
6
23
0.050587
train_791024d1ee373ed2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.079, 0.001, 0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.5, 0.242).threePointArc((-0.473, 0.134), (-0.4, 0.05)).lineTo(0.5, 0.05).lineTo(0.5, 0.242).lineTo(-0.5, 0.242).close().revolve(angleDegrees=270, axisStart=(0, 0), axisEnd=(0.088, 0)...
22
118
0.114422
train_62befc0ee0c8b688
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.5), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.043, 0.409).lineTo(0.043, 0.442).lineTo(-0.263, 0.442).lineTo(-0.138, 0.522).lineTo(-0.138, 0.887).lineTo(-0.263, 0.967).lineTo(0.295, 0.967).lineTo(0.295, 1).lineTo(-0.295, 1).lineTo(-0.295...
4
33
0.177674
train_2fbb780c1ee0df34
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.041), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.97, -0.059).lineTo(-0.97, 0.03).lineTo(1, 0.03).lineTo(1, 0.059).lineTo(-1, 0.059).lineTo(-1, -0.059).lineTo(-0.97, -0.059).close().extrude(0.082) result = result.edges().fillet(0.013) re...
5
60
0.0037
train_b3250fc31a030130
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.92, -0.9, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.6, 1.7).threePointArc((-1, 0.9), (-0.6, 0.1)).lineTo(0.6, 0.1).threePointArc((1, 0.9), (0.6, 1.7)).lineTo(-0.6, 1.7).close().workplane(offset=0.299).moveTo(-0.456, 1.507).threePointArc(...
9
6
3.738822
train_e6d2edbacecddc67
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.158, 0, -0.464), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.096, 1.098).extrude(1.104) result = result.union(cq.Workplane(cq.Plane(origin=(0.845, 0.217, -0.263), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.155).extrude(0.327)) result = result.uni...
14
38
1.115386
train_e160bb1f50f7724c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.187, -0.055, -0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.354, 0.275).lineTo(0.354, 0.275).lineTo(0.354, 0.021).lineTo(-0.274, 0.021).lineTo(-0.274, 0.152).lineTo(-0.354, 0.152).lineTo(-0.354, 0.275).close().extrude(0.299) result = resu...
15
116
0.397972
train_9d665ede7b1a311d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.09, 0.18, -0.032), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.093, -0.022).threePointArc((0.043, 0.114), (-0.093, 0.165)).lineTo(0.093, -0.022).close().workplane(offset=0.076).moveTo(0.039, 0.032).threePointArc((0.018, 0.089), (-0.039, 0.11))...
17
164
0.079024
train_ea2cfa6bafe8472e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.727, -0.061, -0.166), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.834, 0.714).lineTo(0.834, -0.592).lineTo(-0.834, -0.592).lineTo(-0.834, -0.231).lineTo(0.473, -0.231).lineTo(0.473, 0.714).lineTo(0.834, 0.714).close().extrude(1.453) result = re...
13
126
1.113917
train_5b82f7c1411a720b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.937, 0.51, 0.494), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.494, 1.539).threePointArc((0.312, 1.144), (0.494, 0.264)).threePointArc((0.016, 0.454), (-0.494, 0.519)).lineTo(-0.494, 1.539).close().revolve(angleDegrees=180, axisStart=(-0.494, ...
8
65
0.865634
train_c34ecb86727cfe8c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.303, 0.024), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.995, 1.394).extrude(0.464) result = result.union(cq.Workplane(cq.Plane(origin=(0.1, 0.373, 0.486), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.627).extrude(0.076)) result = result.union(c...
6
76
1.403962
train_261be89a2b18021f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.189, -0.325, -0.33), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.899, 0.845).extrude(0.429) result = result.union(cq.Workplane(cq.Plane(origin=(0.095, -0.325, 0.135), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.195, 0.675).lineTo(0.146, 0.629).li...
6
36
0.415021
train_9e3eb46cd983ef43
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.294, 0.315, 0.295), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.705, 0.077).threePointArc((-0.031, 0.07), (-0.705, -0.228)).lineTo(-0.065, 0.228).lineTo(0.705, 0.077).close().sweep(cq.Workplane('XY').spline([(0.294, -0.258), (0.397, 0.015), (0.2...
2
55
0.194438
train_f0db54bb4215498e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.265, 0.056, -0.024), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.071, -0.047).lineTo(-0.071, 0).lineTo(-0.024, 0).lineTo(-0.024, 0.047).lineTo(0.024, 0.047).lineTo(0.024, 0).lineTo(0.071, 0).lineTo(0.024, -0.047).lineTo(-0.071, -0.047).close()...
11
46
0.041458
train_fbfae8e5c0e6179a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.118), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.847, 0.202).lineTo(0.846, 0.221).lineTo(-0.847, 0.145).lineTo(-0.846, 0.125).lineTo(-0.509, 0.141).lineTo(-0.489, 0.141).lineTo(-0.489, -0.161).lineTo(0.126, -0.189).lineTo(0.126, 0.169).l...
17
84
0.084782
train_c425f803d1d89fec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.263, 0.129, -0.239), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.057, -0.07).lineTo(-0.028, -0.041).lineTo(-0.028, 0.106).lineTo(0.119, 0.106).lineTo(0.176, 0.163).lineTo(-0.176, 0.163).lineTo(-0.085, 0.113).lineTo(-0.071, 0.106).lineTo(-0.085...
16
146
0.093361
train_3dc874bfca71b90f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.425, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.253, 0.653).threePointArc((-0.318, 0.563), (-0.368, 0.463)).threePointArc((-0.429, 0.243), (-0.427, 0.014)).threePointArc((-0.743, 0.367), (-0.81, 0.836)).threePointArc((-0.408, 0.956), ...
13
108
1.621702
train_a22fe10179f3a5a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.149, 0.372), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.445, -0.314).threePointArc((0, -0.533), (0.445, -0.314)).lineTo(1.066, 0.5).threePointArc((0, 0.533), (-1.066, 0.5)).lineTo(-0.445, -0.314).close().extrude(0.743) result = result.edge...
11
88
0.543459
train_f48a85c4a5c0f422
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.039, 0.651, -0.419), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.68, 0.68).extrude(0.791) result = result.union(cq.Workplane(cq.Plane(origin=(-0.039, -0.275, -0.176), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.174, 1.449).extrude(0.304)) result = ...
12
238
0.578184
train_a69920a71c263bc6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 0, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.717).workplane(offset=0.357).circle(0.576).workplane(offset=0.335).circle(0.532).workplane(offset=0.477).circle(0.36).workplane(offset=0.373).circle(0.235).workplane(offset=0.458).circle(0.113...
6
21
0.976387
train_0055f5a1caa33d73
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.333, -0.788, -0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.242, 0.508).lineTo(-0.075, 0.508).lineTo(-0.075, 0.671).lineTo(0.242, 0.671).lineTo(0.242, -0.212).lineTo(-0.075, -0.212).lineTo(-0.075, -0.049).lineTo(-0.242, -0.049).lineTo(-0...
4
60
0.163578
train_ca5457708c169892
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.013, 0.571, 0.053), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.113, 0.429).threePointArc((0.27, 0.27), (0.429, -0.113)).lineTo(0.429, -0.429).threePointArc((0.178, 0.178), (-0.429, 0.429)).lineTo(-0.113, 0.429).close().sweep(cq.Workplane('YZ...
3
12
0.033397
train_1253ea988faef308
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.144, 1.521).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(0.116, 0.581, -0.795), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.189).extrude(1.09)) result = result.cut(cq.Workplane(c...
6
28
3.024644
train_13a97820274a93c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.638, 0.594, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.436, -0.025).threePointArc((0, -0.406), (-0.436, -0.025)).lineTo(-0.49, 0.38).lineTo(-0.499, 0.447).threePointArc((-0.243, 0.605), (-0.532, 0.69)).lineTo(-0.541, 0.757).lineTo(-0.653, ...
12
66
1.245141
train_e72f48ad41ccbe97
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.068, 0.033, 0.495), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.513, 0.111).lineTo(-0.513, -0.111).lineTo(-0.375, -0.111).threePointArc((-0.297, -0.098), (-0.229, -0.057)).threePointArc((-0.191, -0.034), (-0.147, -0.027)).lineTo(0, -0.027).lin...
3
91
0.120034
train_33d7b0cc3c823a45
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0.035, 0.097), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.095, -0.352).lineTo(0.237, -0.186).threePointArc((0.309, -0.015), (0.265, 0.166)).lineTo(0.152, 0.352).lineTo(-0.061, 0.302).threePointArc((-0.22, 0.205), (-0.291, 0.033)).lineTo(-...
10
63
0.569941
train_3ed7bc46ca25f639
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.549, 0.227, -0.14), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.512, 0.273).lineTo(0.51, 0.559).lineTo(0.51, 0.825).lineTo(0.141, 0.825).lineTo(0.141, 0.655).lineTo(-0.012, 0.695).lineTo(-0.185, 0.549).lineTo(-0.512, 0.273).lineTo(-0.021, 0.41)...
18
72
0.164744
train_d996b1500056bf9c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.146, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.308, 0.287).lineTo(-0.308, 0.014).lineTo(-0.356, 0.014).lineTo(-0.356, 0.013).lineTo(0.356, 0.013).lineTo(0.356, 0.287).lineTo(-0.308, 0.287).close().extrude(0.656) result = result.union(...
6
68
0.248604
train_b0bfdb63f8861616
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.867, 1.045).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(0.072, 0.432, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.551, 0.192).extrude(0.306)) result = result.cut(cq.Workpl...
7
34
1.585903
train_0c72b802ea8b40c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.173, 0.352, 0.029), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.599, 0.098).lineTo(0.599, 0.098).lineTo(0.599, 0.036).lineTo(0.612, 0.036).lineTo(0.612, 0.733).lineTo(-0.599, 0.733).lineTo(-0.599, 0.777).lineTo(-0.612, 0.777).lineTo(-0.612, 0....
19
59
0.776379
train_ce84975362ff5e74
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.508, -0.378), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.675, 0.508).lineTo(0.675, 0.508).lineTo(0.675, -0.508).lineTo(-0.675, -0.508).lineTo(-0.675, 0.508).close().revolve(angleDegrees=180, axisStart=(-0.675, 0.508), axisEnd=(-0.45, 0.508...
12
79
1.86703
train_a168ce6478a703bc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.159, -0.068, 0.219), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.154, 0.051).threePointArc((0, -0.162), (0.154, 0.051)).threePointArc((0, 0.162), (-0.154, 0.051)).close().sweep(cq.Workplane('YZ').spline([(-0.528, 0.046), (-0.287, 0.261), (-0.04...
21
64
0.331472
train_bdb1a8d614ed4e1b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.473, 0.107, -0.304), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.527, 0.024).lineTo(0.256, 0.452).lineTo(-0.257, 0.462).lineTo(-0.531, 0.001).lineTo(-0.267, -0.486).lineTo(0.258, -0.456).close().moveTo(-0.127, -0.181).lineTo(0.127, -0.178).lineT...
13
115
0.368633
train_7d6b5658927282fb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.049, 1, 0.008), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.188, -0.324).lineTo(0.154, -0.195).lineTo(0.129, -0.1).threePointArc((0.181, -0.02), (0.274, -0.003)).threePointArc((0.075, 0.093), (-0.06, 0.267)).threePointArc((-0.223, 0.324), (-0.2...
19
105
0.159112
train_895e31d417219da8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.059, -0.013, -0.013), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.042, 0.059).extrude(0.01) result = result.cut(cq.Workplane(cq.Plane(origin=(0.052, -0.017, -0.009), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.009, 0.071).extrude(0.002)) result = re...
21
227
0.073391
train_e82cfb8e7b49ef66
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.445, -0.435, -0.234), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.111, 0.786).extrude(0.439) result = result.union(cq.Workplane(cq.Plane(origin=(-0.317, 0.105, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.634, 0.367).extrude(0.248)) result ...
5
48
0.628355
train_fc1f44be173daa88
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.196, 0.151, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(1.09, 0.201).threePointArc((0, 0.404), (-1.09, 0.201)).threePointArc((0, 0.14), (1.09, 0.201)).close().revolve(angleDegrees=90, axisStart=(0, 0), axisEnd=(0.457, 0)) result = result.edge...
5
29
0.115812
train_6475eb75db79b194
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0.005, 0.14), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.251, 0.188).threePointArc((0.314, 0.214), (0.288, 0.15)).lineTo(0.288, -0.177).lineTo(0.288, -0.214).lineTo(0.251, -0.214).lineTo(-0.276, -0.214).lineTo(-0.314, -0.214).lineTo(-0.31...
5
21
0.386213
train_5087d0abb17ebb0d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.009, -0.008, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.603, -0.972).lineTo(0.614, -0.992).lineTo(0.621, 1.008).lineTo(-0.599, 0.972).close().moveTo(-0.169, 0.079).lineTo(-0.169, 0.105).lineTo(-0.054, 0.105).lineTo(-0.054, -0.142).li...
13
41
0.678788
train_97618012b5009fad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.397, -0.418), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.067, 0).lineTo(-0.067, -0.036).lineTo(0.051, -0.036).threePointArc((0.058, -0.018), (0.063, 0)).threePointArc((0.066, 0.018), (0.067, 0.036)).lineTo(0.012, 0.036).threePointArc((0.01...
16
196
0.02262
train_ac7da80d54ce1a69
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.608, 1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0, 0.285).threePointArc((-0.285, 0), (0, -0.285)).threePointArc((0.285, 0), (0, 0.285)).close().sweep(cq.Workplane('XY').spline([(0.608, 0.135), (0.855, 0.154), (1.101, 0.313), (1.348, 0.731)...
6
27
0.000855
train_9ccc89125fb73b0d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.151, 0, -0.173), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.753, 0.027).lineTo(-0.827, 0.153).lineTo(-0.753, 0.281).lineTo(-0.741, 0.301).lineTo(-0.57, 0.301).lineTo(-0.558, 0.281).lineTo(-0.118, 0.281).lineTo(-0.106, 0.301).lineTo(0.065, 0.3...
17
162
0.170552
train_b20d0ea9d534e6cb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.022, -0.479, -0.021), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.229, -0.343).lineTo(0, 0).lineTo(0, 0.343).lineTo(-0.229, 0.343).lineTo(-0.229, -0.343).lineTo(0.229, -0.343).close().sweep(cq.Workplane('YZ').spline([(-1.18, -0.706), (-0.86, -0....
5
24
0.231316
train_ee56d0c0894a1ba8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.171, -0.399, -0.174), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.289, 0.601).lineTo(0.289, -0.601).lineTo(-0.289, -0.601).lineTo(-0.289, 0.601).lineTo(0.289, 0.601).close().revolve(angleDegrees=360, axisStart=(0.289, 0.601), axisEnd=(0.289, -...
10
48
1.35187
train_0f6da0d1da0e7d87
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.545, 0.229), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.033, -0.143).lineTo(-0.131, -0.069).lineTo(-0.164, -0.045).lineTo(-0.131, -0.002).lineTo(-0.131, -0.055).lineTo(-0.035, -0.128).lineTo(0.131, 0.093).lineTo(0.149, 0.116).lineTo(0.131,...
1
14
0.012597
train_f1b6d7d4c45e826f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.268, 0.166, -0.394), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.778, 0.844).extrude(0.675) result = result.union(cq.Workplane(cq.Plane(origin=(-0.243, 0.262, -0.204), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.138).extrude(0.257)) result = resul...
24
196
0.759361
train_f06f521026b4b1c4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.12, 0.373, -0.385), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.011, 0.017).lineTo(-0.011, -0.001).threePointArc((0.001, 0.002), (0.011, 0.01)).lineTo(0.004, 0.017).lineTo(-0.011, 0.017).close().extrude(0.036) result = result.edges().chamfer(0...
21
141
0.762029
train_9b9f4c77f67bf989
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.052, -0.006, 0.363), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.21).sweep(cq.Workplane('YZ').spline([(-0.499, 0.034), (-0.376, -0.042), (-0.245, -0.042), (-0.123, 0.034), (-0.123, 0.116), (-0.245, 0.192), (-0.376, 0.192), (-0.499, 0.116)])) re...
8
28
0.273543
train_b34cecde36041805
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.169, -0.089, -0.15), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.05, 0.363).threePointArc((-0.279, 0.206), (-0.301, -0.071)).lineTo(-0.194, -0.009).threePointArc((-0.174, -0.056), (-0.144, -0.096)).lineTo(-0.25, -0.158).threePointArc((0, -0.27...
6
92
0.875992
train_ced1182204161d99
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.055, -0.001, 0.036), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.441, 0.611).threePointArc((-0.669, 0.391), (-0.441, 0.171)).lineTo(0.242, 0.171).threePointArc((0.489, 0.031), (0.669, 0.251)).threePointArc((0.655, 0.326), (0.615, 0.391)).three...
17
173
0.586814
train_bbe63a91a5b5aa79
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.064, -0.058, -0.797), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.499, -0.106).lineTo(-0.499, 0.223).lineTo(0.499, 0.223).lineTo(0.499, -0.106).lineTo(-0.499, -0.106).close().extrude(1.593) result = result.cut(cq.Workplane(cq.Plane(origin=(-0....
13
55
0.387131
train_0673dc05f4b61a67
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.571, -0.932, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.559, 0.514).threePointArc((0.42, 0.371), (0.559, 1.351)).threePointArc((-0.42, 1.493), (-0.559, 0.514)).close().workplane(offset=0.238).moveTo(-0.595, 0.488).threePointArc((0.446, 0....
1
4
2.313962
train_c53e1e3661544151
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.39, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(1.063).workplane(offset=0.354).circle(0.478).workplane(offset=0.462).circle(0.253).loft() result = result.edges().chamfer(0.067) result = result.union(cq.Workplane(cq.Plane(origin=(-0.581, 0....
3
8
0.773729
train_5bf0611ed66a1c56
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.662, 0, 0.083), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.159, 0.117).threePointArc((-0.159, 0), (0.159, -0.117)).lineTo(0.159, 0.117).close().extrude(0.185) result = result.edges().fillet(0.045) result = result.union(cq.Workplane(cq.Plane(or...
10
63
0.066402
train_09a817c74f952c6c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.023, -0.03, -0.487), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.43, 0.322).extrude(1.262) result = result.union(cq.Workplane(cq.Plane(origin=(-0.057, 0.125, -0.044), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, -0.128).lineTo(0.008, -0.128).lin...
20
180
0.330796
train_3363fb454671c328
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.243, 0.186), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.517, 0.36).lineTo(-0.517, -0.127).lineTo(-0.241, -0.127).lineTo(-0.241, -0.533).lineTo(-0.19, -0.533).lineTo(-0.19, -0.127).lineTo(-0.026, -0.127).lineTo(-0.026, -0.533).lineTo(0.026, ...
9
85
0.822887
train_28cbc90afa55702d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.069, -0.221, -0.199), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.16, 0.109).lineTo(0.16, 0.323).lineTo(-0.16, 0.323).lineTo(-0.16, 0.083).threePointArc((0, 0.111), (0.16, 0.083)).lineTo(0.16, 0.109).close().revolve(angleDegrees=90, axisStart=(...
20
171
0.11214
train_e07e342eac0bb810
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.785), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.281).extrude(0.124) result = result.union(cq.Workplane(cq.Plane(origin=(0.41, 0, -0.675), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.074).extrude(0.268)) result = result.union(cq.Workpla...
4
65
0.493751
train_40f40c1bc6704019
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.676), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 0.764).extrude(0.985) result = result.cut(cq.Workplane(cq.Plane(origin=(0.054, 0.202, -0.079), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.501, 0.378).extrude(0.237)) result = result.cut(cq.W...
12
92
1.278347
train_3b8b14aead2970e9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.273, 0.194).threePointArc((-0.056, -0.089), (0.273, -0.225)).lineTo(0.273, 0.225).lineTo(-0.273, 0.225).lineTo(-0.273, 0.194).close().sweep(cq.Workplane('XY').spline([(-0.781, -0.538), (-...
2
10
0.139662
train_efdb4e1bd89844e2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.533, 0.265, 0.5), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.5, 0.192).lineTo(-0.5, 0.075).lineTo(0.477, 0.075).lineTo(0.477, 0.192).lineTo(0.5, 0.192).lineTo(0.5, 0.475).lineTo(0.383, 0.475).lineTo(0.383, 0.192).lineTo(-0.5, 0.192).close().r...
7
81
0.273134
train_73175a6173739d3f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.348, -0.401, -0.493), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.273, 0.342).threePointArc((-0.272, 0.312), (-0.267, 0.282)).threePointArc((0.015, 0.066), (0.272, 0.311)).threePointArc((0.273, 0.342), (0.271, 0.372)).threePointArc((0.015, 0.6...
8
50
0.18559
train_559467241ce79c99
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.306, -0.446, 0.277), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.428, 1.037).lineTo(-0.428, -1.037).lineTo(0.428, -1.037).lineTo(0.428, 1.037).close().workplane(offset=0.142).moveTo(0.32, 0.776).lineTo(-0.32, -0.776).lineTo(0.32, -0.776).lineT...
8
103
0.197112
train_1e83cbc7d0324ea7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.022, -0.006, -0.846), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.154, -0.16).lineTo(0.154, 0.172).lineTo(-0.154, 0.172).lineTo(-0.154, -0.122).lineTo(-0.141, -0.122).lineTo(-0.141, -0.16).lineTo(0.154, -0.16).close().workplane(offset=0.14).mov...
11
56
0.074631
train_d7a699a9a3f5e2f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.66, -0.712, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.758, 1.015).lineTo(1, 1.015).lineTo(1, 0.085).lineTo(-1, 0.085).lineTo(-1, 1.015).lineTo(-0.758, 1.015).close().extrude(1.32) result = result.union(cq.Workplane(cq.Plane(origin=(-0.09...
10
77
2.26972
train_e65c00744412f639
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.591, 0.001, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.409, 0).lineTo(0, -0.409).lineTo(0.409, 0).lineTo(0, 0.409).lineTo(-0.409, 0).close().sweep(cq.Workplane('XZ').spline([(0.591, -1.151), (1.253, -1.151), (1.592, -1.076), (1.931, -...
3
11
0.125145
train_fdaa6d5a56493133
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.476, -0.435), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.981, 1.047).extrude(0.869) result = result.union(result.mirror('XZ', basePointVector=(0, 0, -0.435))) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.107, -0.014, -0.054), normal=(0...
3
8
1.630597
train_e7fc382bd88a04bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.168), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.996).extrude(0.105) result = result.union(cq.Workplane(cq.Plane(origin=(-0.709, 0, -0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.182, 0.872).extrude(0.252)) result = result.cut(cq.Wo...
3
15
0.442446
train_fa929dd7ac537ea3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.078, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.909, 0.924).extrude(1.822) result = result.union(cq.Workplane(cq.Plane(origin=(-0.083, 0.718, -0.239), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.835, 0.441).extrude(0.88)) result = result.cu...
16
77
2.210521
train_d472322ed4916820
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 0, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.371).workplane(offset=0.987).circle(0.456).workplane(offset=0.882).circle(0.646).loft() result = result.union(cq.Workplane(cq.Plane(origin=(-0.933, 0.041, 0.27), normal=(0, 0, 1), xDir=(1, 0, ...
7
46
1.165244
train_76525e9cf8cbda24
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.04, -0.96, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.439, -0.852).threePointArc((-0.442, -0.461), (-0.451, -0.07)).lineTo(0.414, 0.852).threePointArc((0.435, 0.474), (0.451, 0.096)).lineTo(-0.439, -0.852).close().sweep(cq.Workplane('XY')....
8
17
0.944888
train_11c6fff381bcc1f5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.964, -1.068, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.844, 0.861).lineTo(0.844, 1.276).lineTo(0.139, 1.276).threePointArc((-0.237, 1.574), (-0.694, 1.431)).threePointArc((-0.844, 1.068), (-0.694, 0.706)).threePointArc((-0.237, 0.564), (0...
2
32
2.590461
train_5eec522905106079
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.704), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.174, 2).extrude(1.408) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.266, -0.062, -0.197), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.677, 0.685).extrude(0.55)) result = result.edges()...
7
89
2.476851
train_5dcb16db9c3a44fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.814, 1.971).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.264, 0.688, 0.267), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.298).extrude(0.452)) result = result.cut(cq.Workplane(...
6
90
6.778914
train_7997f4a35ae06e65
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.016, -0.075, 0.015), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.078, 0.078).threePointArc((0, 0.019), (-0.078, 0.078)).lineTo(-0.059, 0.078).threePointArc((0, 0.037), (0.059, 0.078)).lineTo(0.078, 0.078).close().revolve(angleDegrees=180, axisSt...
14
158
0.004546
train_45b180f382a70717
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.661, -0.117, 0.275), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.204, 0.515).threePointArc((-0.018, -0.29), (-0.204, 0.524)).lineTo(0.204, 0.515).close().extrude(0.588) result = result.edges().fillet(0.031) result = result.faces('>Z').shell(-0....
3
18
0.155837
train_0acd0e50c77e1740
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.613, -0.09, -0.749), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.5, 0.49).extrude(1.499) result = result.union(cq.Workplane(cq.Plane(origin=(0.106, -0.141, -0.281), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.593, 0.235).extrude(0.727)) result = res...
15
108
0.401166
train_01de95b5c2af142f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.508, -1, -0.106), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.307, 0.438).threePointArc((0.307, 0.667), (-0.307, 0.895)).lineTo(-0.307, 0.868).lineTo(-0.307, 0.465).lineTo(-0.307, 0.438).close().revolve(angleDegrees=90, axisStart=(0, 0), axisE...
10
55
0.558642
train_f8b0f678a408cd89
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.32, 0.81, 0.207), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.187, -0.183).lineTo(-0.187, -0.019).lineTo(-0.203, -0.019).lineTo(-0.203, 0.183).lineTo(-0.179, 0.183).lineTo(-0.179, 0.143).lineTo(0.134, 0.143).lineTo(0.134, 0.183).lineTo(0.203,...
9
128
0.203873
train_6fcf107df7d541c3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.116, -0.148, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.515, 0.246).threePointArc((0.027, -0.098), (-0.515, -0.349)).threePointArc((-0.272, 0.419), (0.515, 0.246)).close().extrude(1.611) result = result.edges().fillet(0.281) result = resul...
6
34
0.496213
train_aa0fe3b3495a29d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1, -0.129), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.714, -0.307).lineTo(0.633, -0.224).lineTo(0.633, 0.224).lineTo(-0.633, 0.224).lineTo(-0.714, 0.307).lineTo(-0.714, -0.307).lineTo(0.714, -0.307).close().sweep(cq.Workplane('YZ').spline([...
22
20
0.658233
train_da391b8ee09829a9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.145, -0.156, 0.461), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.539, 0.221).lineTo(0.539, 0.092).lineTo(0.409, 0.092).lineTo(0.409, 0.026).lineTo(0.175, 0.026).lineTo(0.175, 0.092).lineTo(-0.134, 0.092).threePointArc((-0.539, 0.156), (-0.134, ...
10
215
0.049966
train_1dbf8cd6877be6a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.233, -0.194, -0.265), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.961, 0.968).extrude(0.732) result = result.cut(cq.Workplane(cq.Plane(origin=(0.166, 0.162, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.135).extrude(0.348)) result = result.edges...
14
100
0.56289
train_b9c9a18d5aa6db60
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.006, -0.019, -0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.271, 0.77).extrude(0.119) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.514 + 0.1695, 0.041, -0.748), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(-0.007, -0.019).lineTo(0.007,...
12
49
0.223578
train_7a1106c9d34d5e95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.279, 0, 0.531), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.752).workplane(offset=0.347).circle(0.642).workplane(offset=0.332).circle(0.621).workplane(offset=0.342).circle(0.485).loft() result = result.edges().chamfer(0.065) result = result.un...
12
59
0.653751
train_8fe031a7a303e419
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0.897, -0.075), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.642).workplane(offset=0.379).circle(0.644).workplane(offset=0.394).circle(0.649).workplane(offset=0.371).circle(0.631).workplane(offset=0.38).circle(0.607).workplane(offset=0.373...
10
34
2.155522
train_d48b6ca9a3f8bd85
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.283, -0.508, 0.508), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.508, 0.469).lineTo(-0.508, 0.097).lineTo(0.508, 0.097).lineTo(0.508, 0.469).lineTo(-0.508, 0.469).close().revolve(angleDegrees=180, axisStart=(-0.508, 0.469), axisEnd=(-0.508, 0....
3
14
0.438549
train_cd3b3125633ef0ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.775, 0.681, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.526, 0.088).threePointArc((0, 1.108), (0.526, 0.088)).lineTo(0.927, 0.088).threePointArc((0.998, 0.532), (0.866, 0.963)).threePointArc((0.824, 1.03), (0.774, 1.095)).threePointArc((0,...
6
86
1.543729
train_04409f2254d1dbd0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.12, 0, -0.493), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.76, 0.843).extrude(0.724) result = result.union(cq.Workplane(cq.Plane(origin=(-0.049, -0.092, 0.216), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.197).extrude(0.277)) result = result.edge...
6
77
0.873257
train_ea5f4b6317049fcf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.023, -0.063, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.086, 0.977).threePointArc((0, 1.063), (-0.086, 0.977)).lineTo(-0.086, -0.851).threePointArc((0, -0.937), (0.086, -0.851)).lineTo(0.086, 0.977).close().extrude(0.213) result = resu...
20
76
0.070222
train_7c4a40aa976cf0d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.296).workplane(offset=0.292).circle(0.321).workplane(offset=0.356).circle(0.104).workplane(offset=0.341).circle(0.153).workplane(offset=0.327).circle(0.204).workplane(offset=0.358).circle(0.27...
9
52
0.224076
train_7bea393005f4c85a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.268, -0.113, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.232, 0.888).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.255, -0.053, -1.033), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.109).extrude(1.296)) result = result.faces...
6
25
0.885186
train_b44da8982c3849a1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.078, 0.811), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(1, -0.464).lineTo(1, 0.464).lineTo(-1, 0.464).lineTo(-1, -0.464).lineTo(1, -0.464).close().extrude(0.907) result = result.edges().fillet(0.124) result = result.union(cq.Workplane(cq.Pla...
15
83
1.098661
train_7aac4288ad6e3881
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.229, -0.064, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.133, 0.746).extrude(1.633) result = result.cut(cq.Workplane(cq.Plane(origin=(0.21, -0.011, -0.595), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.207, 0.895).extrude(0.293)) result = result...
15
85
1.394818
train_f466abd69a65ac01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.177, -0.071, -0.217), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.646, 0.883).extrude(1.179) result = result.union(cq.Workplane(cq.Plane(origin=(0.315, -0.561, 0.586), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.118, 0.11).extrude(0.085)) result = r...
10
46
1.794382
train_033660b1ae922060
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.476, 0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.324, -0.1).lineTo(0.324, 0.014).lineTo(0.256, 0.058).lineTo(0.182, 0.406).lineTo(0.166, 0.48).lineTo(0, 0.224).lineTo(-0.256, 0.39).lineTo(-0.324, 0.434).lineTo(-0.324, -0.1).lineTo(0.32...
17
210
0.568326
train_d24c610396842a9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.708, -0.031, 0.086), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.298, -0.111).threePointArc((0, 0.111), (-0.298, -0.111)).lineTo(-0.213, -0.111).threePointArc((0, 0.032), (0.213, -0.111)).lineTo(0.298, -0.111).close().extrude(0.127) result = r...
17
2
0.00009
train_02063cb73c3c5e06
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.191, 0.214, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.582, 0.799).extrude(0.86) result = result.union(cq.Workplane(cq.Plane(origin=(-0.042, 0.058, -0.216), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.098, 0.186).extrude(1.216)) result = resu...
6
40
0.537865
train_1edb8b046b5b538e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.109, 0.112, -0.292), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.118, 0.844).extrude(0.584) result = result.union(cq.Workplane(cq.Plane(origin=(0.55, 0.259, -0.082), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.234, 0.248).extrude(0.25)) result = re...
6
31
0.669478
train_4075b33231994221
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.048, 0.389, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.111).workplane(offset=0.033).circle(0.096).workplane(offset=0.031).circle(0.105).workplane(offset=0.03).circle(0.094).workplane(offset=0.033).circle(0.102).workplane(offset=0.031).circ...
10
94
0.018632