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_5bb82498e77b1eff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.187, 0.998).threePointArc((-0.055, 0.959), (0, 0.865)).lineTo(0, 0.446).threePointArc((0.047, 0.366), (0.159, 0.333)).lineTo(0.634, 0.333).threePointArc((0.842, 0.27), (0.93, 0.12)).lineT...
22
337
0.36537
train_c6660d51a97d9e1c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.007, 0.127, -0.215), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.636, 0.253).threePointArc((0.772, 0.239), (0.828, 0.205)).lineTo(0.828, 0.086).threePointArc((0.785, 0.061), (0.689, 0.051)).lineTo(0.573, 0.051).threePointArc((0.463, 0.039), (0....
15
150
0.313126
train_b697725355600702
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.022, 0.804, -0.006), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.063, 0.195).threePointArc((0.087, 0.184), (0.097, 0.16)).lineTo(0.097, 0.119).threePointArc((0.091, 0.104), (0.076, 0.097)).lineTo(0.027, 0.097).threePointArc((0.008, 0.089), (0, ...
1
14
0.023696
train_37cb80c90e3bf1c4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.569), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.121) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.217), normal=(0.142, 0, 0.99), xDir=(0.99, 0, -0.142))).circle(0.317).extrude(1.613)) result = result.cut(cq.Wor...
7
38
2.577071
train_85feb4308523052d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.106, 0, -0.427), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.829, -0.507).lineTo(-0.829, -0.844).threePointArc((-0.095, 0.844), (0.829, -0.507)).close().extrude(0.362) result = result.cut(cq.Workplane(cq.Plane(origin=(0.368, 0.274, -0.246), norm...
12
89
0.922968
train_2c5fff12f7e3c16f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.044, -0.405), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.672, 1.044).threePointArc((0.886, 1.006), (0.976, 0.914)).lineTo(0.976, -0.903).threePointArc((0.878, -1.002), (0.646, -1.044)).lineTo(-0.443, -1.044).threePointArc((-0.818, -0.976), (...
21
25
1.787194
train_ea3175156f8f9b7d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.137, 0.196, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.384, 0.175).threePointArc((0.422, 0.159), (0.438, 0.12)).lineTo(0.438, -0.099).threePointArc((0.416, -0.152), (0.363, -0.175)).lineTo(0.002, -0.175).threePointArc((-0.019, -0.166), (-...
8
140
0.449294
train_9ee93b3438055153
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.29, -0.007, -0.622), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(-0.114, 0.337).lineTo(0.445, 0.188).threePointArc((0.71, 0.044), (0.48, -0.112)).lineTo(-0.122, -0.314).threePointArc((-0.551, -0.383), (-0.693, -0.188)).lineTo(-...
9
205
0.925759
train_e066515b2682ff9a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.06, -0.005, 0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.29, 0.354).threePointArc((0.536, 0.023), (0.305, -0.329)).lineTo(-0.29, -0.354).threePointArc((-0.536, -0.023), (-0.305, 0.329)).lineTo(0.29, 0.354).close().moveTo(-0.002, 0.28).thr...
13
235
0.315198
train_acb598c1b6459a0a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.123), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.47, 1).lineTo(0.641, 0.829).lineTo(0.641, -0.835).threePointArc((0.593, -0.951), (0.476, -1)).lineTo(-0.641, -1).lineTo(-0.641, 0.806).lineTo(-0.448, 0.806).lineTo(-0.448, 1).lineTo(0.47, ...
3
19
0.557894
train_eddd4401522763af
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.171), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.666).lineTo(1, -0.438).lineTo(0.773, -0.666).lineTo(-1, -0.666).lineTo(-1, 0.666).lineTo(1, 0.666).close().extrude(0.244) result = result.union(cq.Workplane(cq.Plane(origin=(-0.617, 0, ...
7
14
0.635645
train_634125c15bda0863
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.124, 0.151, 0.076), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.554, 0.743).threePointArc((0.779, 0.635), (0.875, 0.379)).lineTo(0.875, -0.304).threePointArc((0.76, -0.613), (0.487, -0.743)).lineTo(-0.744, -0.743).threePointArc((-0.836, -0.7), ...
14
152
0.276073
train_296218fe8cdf486f
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(0.566, 1).lineTo(0.973, 0.846).lineTo(0.321, -1).lineTo(0.115, -0.919).lineTo(0.261, -0.513).lineTo(0.129, -0.235).lineTo(0.347, 0.38).lineTo(0.566, 1).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Wo...
5
20
2.048433
train_98566ae76fd44b99
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.235, 0, -0.235), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.436, 0.291).lineTo(0.436, 0).lineTo(0, 0).lineTo(0, 0.299).lineTo(0.291, 0.299).lineTo(0.291, 0.291).lineTo(0.436, 0.291).close().extrude(1, both=True) result = result.union(cq.Workp...
7
83
0.204145
train_2dfb04a951e8cafd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.035, -0.057, -0.299), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.656, -0.287).lineTo(0.513, -0.303).lineTo(0.369, -0.32).lineTo(0.353, -0.176).lineTo(0.337, -0.032).lineTo(0.32, 0.111).lineTo(0.304, 0.255).lineTo(0.464, 0.127).lineTo(0.448, 0...
9
170
1.01234
train_64d8666dbcd17831
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.044, -0.018, 0.037), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.186, 0.804).threePointArc((0.665, 0.676), (0.834, 0.176)).lineTo(0.777, 0.123).lineTo(0.816, 0.023).lineTo(0.702, -0.189).threePointArc((0.436, -0.212), (0.37, -0.511)).lineTo(-0....
9
148
0.09882
train_bdfa5ceb189be84e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.103), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.43, 2).extrude(0.206) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.837, -0.055, -0.221), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.7, 0.443).lineTo(0.7, 0.287).lineTo(0.365, 0.287...
14
30
0.176101
train_c4d73b8428b7a950
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.911, 0.641).threePointArc((0.968, 0.618), (1, 0.56)).lineTo(1, -0.641).lineTo(-1, -0.641).lineTo(-1, 0.641).lineTo(0.911, 0.641).close().extrude(0.282) result = result.cut(cq.Workplane(cq....
24
286
0.537174
train_81c574a689bcd300
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.028, -0.139), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.93).lineTo(1, -0.93).lineTo(0, -0.93).lineTo(0, -0.465).lineTo(-1, -0.465).lineTo(-1, 0.93).lineTo(1, 0.93).close().extrude(0.394) result = result.cut(cq.Workplane(cq.Plane(origin=(...
11
68
1.271743
train_534a54108e3110c0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.356, -0.342), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.944, 0.502).lineTo(1, 0.454).lineTo(1, -0.472).lineTo(0.962, -0.502).lineTo(-0.965, -0.502).lineTo(-1, -0.475).lineTo(-1, 0.479).lineTo(-0.969, 0.502).lineTo(0.944, 0.502).close().ext...
12
112
0.597846
train_15b041b4c0bd9cb1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.062, -0.769), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.13, 0.261).lineTo(0.13, 0).lineTo(0.261, 0).lineTo(0.261, -0.13).lineTo(0.13, -0.13).lineTo(0.13, -0.261).lineTo(0, -0.261).lineTo(0, -0.13).lineTo(-0.261, -0.13).lineTo(-0.261, 0).lin...
26
114
0.139988
train_87ed3ece16f111e6
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.57).extrude(0.979) result = result.cut(cq.Workplane(cq.Plane(origin=(0.57, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.077, 0.284), (-0.286, 0.493), (-0.57, 0.57), (-0.8...
4
53
0.815131
train_18deb4f5378b4849
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.802, 0.827).threePointArc((0.94, 0.766), (1, 0.622)).lineTo(1, 0.148).threePointArc((0.957, 0.044), (0.856, 0)).lineTo(0.679, 0).threePointArc((0.624, -0.024), (0.6, -0.082)).lineTo(0.6, -...
5
99
0.703841
train_214ab4a943512345
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.383, -0.864), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.616, 1.469).lineTo(0.616, 0.831).lineTo(0.392, 0.831).lineTo(0.392, 0.259).lineTo(0.133, 0.259).lineTo(0.133, 0).lineTo(0, 0).lineTo(0, 1.469).lineTo(0.616, 1.469).close().revolve(ang...
7
11
0.974235
train_6b4338699f7cf2b6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.888, 0.208).threePointArc((0.961, 0.177), (1, 0.105)).lineTo(1, -0.042).threePointArc((0.943, -0.159), (0.829, -0.208)).lineTo(-0.887, -0.208).threePointArc((-0.961, -0.177), (-1, -0.104))...
9
48
0.124437
train_293029ad75591f47
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.549, 1).threePointArc((0.632, 0.965), (0.667, 0.883)).lineTo(0.667, -0.49).threePointArc((0.515, -0.849), (0.157, -1)).lineTo(-0.195, -1).threePointArc((-0.527, -0.86), (-0.667, -0.528)).l...
5
66
0.425161
train_0262e42b51432157
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0.171, 0.024), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.121, 0.802).threePointArc((0.642, 0.491), (0.887, -0.226)).threePointArc((-0.887, -0.802), (0.121, 0.802)).close().extrude(2.646, both=True).intersect(cq.Workplane(cq.Plane(origin=(...
4
28
2.092562
train_7de80a95dac68d75
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.122, -0.066, 0.169), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.612, 0.681).threePointArc((0.799, 0.662), (0.877, 0.499)).lineTo(0.799, 0.258).threePointArc((0.791, 0.24), (0.779, 0.223)).lineTo(0.548, -0.041).threePointArc((0.51, -0.078), (0.4...
4
56
0.817726
train_f82e2f8eae93831a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.585, 0.389), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.451, 0).threePointArc((0, -0.451), (-0.451, 0)).threePointArc((0, 0.451), (0.451, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0, -0.585, -0.785), normal=(1, 0, 0), xDir=(0, 1, 0)))...
2
8
0.139708
train_f1c7a510abee7811
import cadquery as cq import math result = cq.Workplane('XY').circle(1).extrude(0.324, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.74).extrude(0.388, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0...
8
66
0.881402
train_a4ad7044d5798f1f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.958, 0.333).threePointArc((0.987, 0.321), (1, 0.292)).lineTo(1, -0.277).lineTo(0.943, -0.333).lineTo(-0.967, -0.333).threePointArc((-0.99, -0.324), (-1, -0.302)).lineTo(-1, 0.309).threePoi...
17
69
0.269845
train_51b7f0e9cc3dac60
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.664), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.008).extrude(1.329) result = result.cut(cq.Workplane(cq.Plane(origin=(1.008, 0, -0.664), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.296, 0.712), (-1.008, 1.008), (-1.72, 0....
7
58
0.958774
train_3f4bc8235edf8b06
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.197), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.394) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.197), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.741).extrude(1.178, both=True)) result = result.union(cq.Workpl...
13
37
0.823008
train_80e869a8f3f0bd01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.37, 0, -0.144), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.605, 0.422).lineTo(0.605, 0).lineTo(-0.605, 0).lineTo(-0.605, 0.422).lineTo(-0.427, 0.422).lineTo(-0.427, 0.18).lineTo(0.427, 0.18).lineTo(0.427, 0.422).lineTo(0.605, 0.422).close().e...
8
61
0.167201
train_777d832fb97fd2b2
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.57, 0.633).threePointArc((0.623, 0.612), (0.645, 0.563)).lineTo(0.645, 0.448).threePointArc((0.623, 0.4), (0.571, 0.379)).lineTo(0.199, 0.379).threePointArc((0.156, 0.362), (0.137, 0....
22
163
1.116944
train_e0db424c0571bf13
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.11, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.011, 0.255).threePointArc((0.164, 0.226), (0.243, 0.128)).threePointArc((0.179, 0.02), (0.011, -0.035)).threePointArc((-0.164, -0.006), (-0.243, 0.092)).threePointArc((-0.179, 0.2), (-0.0...
18
182
0.178861
train_3148f13fb550d92c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.059, 0.131, -0.734), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.055, 0.686).threePointArc((0.114, 0.656), (0.139, 0.582)).lineTo(0.139, 0.475).threePointArc((0.171, 0.383), (0.246, 0.344)).lineTo(0.517, 0.344).threePointArc((0.64, 0.279), (0.6...
39
79
1.74711
train_dfd6bc47f3a6b528
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.166, 0.209, -0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.278, 0.653).threePointArc((0.827, -0.1), (-0.827, -0.653)).lineTo(-0.278, 0.653).close().extrude(0.135) result = result.union(cq.Workplane(cq.Plane(origin=(0.618, 0.001, 0.112), n...
7
40
0.28817
train_0eef487062bd84c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.066, -0.327, -0.197), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.25, 0.122).threePointArc((0.934, 0.033), (0.683, -0.089)).threePointArc((-0.25, -0.122), (-0.934, -0.033)).threePointArc((-0.683, 0.089), (0.25, 0.122)).close().extrude(0.366, ta...
4
87
0.247297
train_9c4887e114f67207
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.029, 0.109, -0.233), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.97, 0.319).lineTo(0.97, -0.315).lineTo(0.954, -0.315).lineTo(0.954, -0.33).lineTo(-0.956, -0.33).threePointArc((-0.965, -0.326), (-0.97, -0.315)).lineTo(-0.97, 0.308).threePointAr...
7
31
0.497009
train_cc78a9f149d69a54
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.298), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.694, 0.586).threePointArc((0.911, 0.497), (1, 0.28)).lineTo(1, -0.332).threePointArc((0.926, -0.512), (0.746, -0.586)).lineTo(-0.835, -0.586).threePointArc((-0.952, -0.538), (-1, -0.422))....
8
23
0.851206
train_74bfef9c7bf83fde
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.025, 0.032, -0.171), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.197, 0.18).lineTo(0.804, 0.12).lineTo(0.932, 0.094).lineTo(0.821, 0.069).lineTo(0.303, 0.017).lineTo(0.303, -0.21).lineTo(-0.303, -0.21).lineTo(-0.303, 0.017).lineTo(-0.821, 0.069)...
9
138
0.253051
train_1dbc9f1d31d23c51
import cadquery as cq import math result = cq.Workplane('XY').box(1.609, 1.611, 2) result = result.edges().fillet(0.418) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.259).extrude(3.216, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
9
92
3.256586
train_3c30152f2993d97b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.082, 0, -0.112), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.453, 0.784).threePointArc((0.453, 0.784), (0.906, 0)).threePointArc((0.453, -0.784), (-0.453, -0.784)).threePointArc((-0.906, 0), (-0.453, 0.784)).close().extrude(0.332, taper=-2.051...
18
218
2.172276
train_ac8d3cff2f44f731
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.585), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.766, 0.725).threePointArc((-0.722, 0.706), (-0.703, 0.661)).lineTo(-0.703, -0.107).threePointArc((-0.608, -0.332), (-0.382, -0.428)).lineTo(0.926, -0.428).threePointArc((0.978, -0.45), (1...
2
29
1.091587
train_1140ff4469838c94
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.042, -0.05, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.493, 0.518).lineTo(0.493, -0.363).threePointArc((-0.493, 0.078), (0.493, 0.518)).close().extrude(1.027) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.336, -0.42, -1.153), no...
21
411
1.565537
train_68ab99914281865e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.015, -0.419), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.692, 1.042).threePointArc((0.792, 1.007), (0.834, 0.924)).lineTo(0.834, 0.088).threePointArc((0.803, 0.026), (0.728, 0)).lineTo(0.564, 0).threePointArc((0.461, -0.037), (0.417, -0.123)...
17
338
0.954771
train_e59546a09d531ebf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.726), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.395, 1).threePointArc((0.539, 0.939), (0.6, 0.795)).lineTo(0.6, -0.099).threePointArc((0.57, -0.17), (0.499, -0.2)).lineTo(0.335, -0.2).threePointArc((0.24, -0.24), (0.2, -0.335)).lineTo(0...
14
623
2.232407
train_9b223242fbfc0709
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.197, 0, 0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.747, 0.896).lineTo(0.747, -0.896).threePointArc((-0.747, 0), (0.747, 0.896)).close().extrude(0.563, both=True).intersect(cq.Workplane(cq.Plane(origin=(0.197, 0, 0.001), normal=(0, -1, 0...
10
139
0.152814
train_4f7eb0866744650c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.053), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.145).extrude(1.052, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.053), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.284).extrude(0.741, both=True)) result = resul...
10
56
0.175983
train_6ab37b3d1d400983
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.036, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.382, 0.164).lineTo(0.491, 0.055).threePointArc((0.6, 0.164), (0.71, 0.055)).lineTo(0.71, -0.164).lineTo(0.6, -0.164).lineTo(-0.382, -0.055).threePointArc((-0.71, 0.055), (-0.382, 0.164))...
2
26
0.227032
train_7f139b36bf8aaa4d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.012, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.868, 1.521).lineTo(0.868, 1.256).lineTo(0.417, 1.256).lineTo(0.417, 0.483).lineTo(0.536, 0.483).lineTo(0.536, 0).lineTo(0, 0).lineTo(0, 1.521).lineTo(0.868, 1.521).close().revolve(angleD...
8
56
0.737539
train_6de984c7739d649b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.286), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.744, 0.758).threePointArc((0.924, 0.683), (1, 0.501)).lineTo(1, -0.758).lineTo(-0.822, -0.758).threePointArc((-0.948, -0.705), (-1, -0.579)).lineTo(-1, 0.758).lineTo(0.744, 0.758).close()....
5
14
1.197976
train_eb446bbb07098202
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.552), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.175, 0.667).threePointArc((0.286, 0.62), (0.333, 0.509)).lineTo(0.333, 0.136).threePointArc((0.374, 0.04), (0.469, 0)).lineTo(0.887, 0).threePointArc((0.966, -0.034), (1, -0.113)).lineTo(1...
8
58
1.723748
train_b3ceab74755349c6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.153, 0.033), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.217).lineTo(1, -0.217).lineTo(-1, -0.217).lineTo(-1, 0.217).lineTo(-0.649, 0.217).lineTo(-0.649, -0.141).lineTo(0.649, -0.141).lineTo(0.649, 0.217).lineTo(1, 0.217).close().extrude(0...
6
97
0.960827
train_d5e9dfb661fa8ddc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.708, 0.526).threePointArc((0.915, 0.441), (1.002, 0.233)).lineTo(1.002, -0.408).threePointArc((0.966, -0.492), (0.882, -0.526)).lineTo(-0.74, -0.526).threePointArc((-0.924, -0.45), (-...
6
97
0.403468
train_d2a25dec6126aeff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.393, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.258, 0.19).workplane(offset=2).rect(0.681, 0.188).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.393, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.132).extrude(0.569...
4
45
0.155716
train_71952aea120c1640
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.333, -0.55), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.775, 0.66).lineTo(0.775, -0.66).threePointArc((0.773, -0.664), (0.767, -0.667)).lineTo(-0.762, -0.667).threePointArc((-0.771, -0.663), (-0.775, -0.654)).lineTo(-0.775, 0.653).threePoin...
12
135
1.080634
train_464da74b6a76bf2d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.732), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.001).extrude(1.16) result = result.cut(cq.Workplane(cq.Plane(origin=(1.001, 0, -0.732), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.076, 0.383), (-0.294, 0.707), (-0.618, 0....
8
91
3.290114
train_e645d0ddc430b81e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.94).lineTo(-0.026, -0.94).threePointArc((-0.026, 0.428), (1, 0.94)).close().extrude(0.266).union(cq.Workplane(cq.Plane(origin=(0, 0, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1...
4
24
0.123405
train_07526a6fc14181b8
import cadquery as cq import math result = cq.Workplane('XY').box(1.769, 0.882, 2) result = result.edges().fillet(0.29) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.23).extrude(3.538, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), norma...
6
42
2.127309
train_86ef56faf8b9799f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.027, 0, 0.247), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.749, 0.293).lineTo(0.827, 0.268).lineTo(0.921, 0.163).lineTo(0.972, 0.026).threePointArc((0.96, -0.024), (0.942, -0.073)).threePointArc((0.924, -0.11), (0.901, -0.144)).threePointArc(...
7
179
1.712176
train_ac3b1d2b8d230f9d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.534), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.448, 0.269).lineTo(0.448, -0.261).lineTo(0.434, -0.261).lineTo(0.434, -0.277).lineTo(-0.428, -0.277).lineTo(-0.448, -0.257).lineTo(-0.448, 0.277).lineTo(0.442, 0.277).lineTo(0.448, 0.269)....
14
175
0.312752
train_5a69cf7f2171f815
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 1.034, 0.003), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.095, 1.963).threePointArc((0.072, 1.961), (0.217, 1.834)).threePointArc((0.301, 1.644), (0.344, 1.487)).threePointArc((0.413, 1.422), (0.551, 1.418)).threePointArc((0.735, 1.398), (0....
16
338
3.153872
train_a8877dd7c3c1d0b9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.752, 0.055, 0.252), normal=(-0.864, -0.053, -0.501), xDir=(0.061, -0.998, 0))).moveTo(0.705, 0.486).lineTo(0.705, -0.162).lineTo(0.353, -0.162).lineTo(0.353, -0.486).lineTo(0, -0.486).lineTo(0, -0.162).lineTo(-0.353, -0.162).lineTo(-0.353, 0.162...
6
68
1.273317
train_aca05703ccebecd6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.281, 0.573), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.262, 0.612).threePointArc((0.394, 0.485), (0.421, 0.304)).threePointArc((0.336, 0.116), (0.16, -0.028)).threePointArc((-0.058, -0.089), (-0.262, -0.05)).threePointArc((-0.394, 0.077), (...
10
446
1.339846
train_d2758da08ebc87fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.223, -0.297, -0.841), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.396, 0.354).lineTo(0.666, 0.017).lineTo(0.363, -0.354).lineTo(-0.043, -0.219).lineTo(-0.043, 0.253).lineTo(0.396, 0.354).close().extrude(1.84).union(cq.Workplane(cq.Plane(origin=(...
6
50
1.612475
train_b91385a7009fa19f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.184, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.39, 0.861).threePointArc((0.39, 0.861), (0.781, 0.185)).threePointArc((0.39, -0.492), (-0.39, -0.492)).threePointArc((-0.781, 0.185), (-0.39, 0.861)).close().extrude(2) result = result.ed...
2
8
3.810707
train_28fab0a05155d675
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.251, 0.153, 0.014), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.131, 0.292).threePointArc((0.288, 0.227), (0.353, 0.07)).lineTo(0.353, -0.07).threePointArc((0.288, -0.227), (0.131, -0.292)).lineTo(-0.131, -0.292).threePointArc((-0.288, -0.227),...
9
55
0.226307
train_ce2dda461d77cee5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.232, 0.135, -0.099), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.867).threePointArc((0.614, 0.614), (0.867, 0)).threePointArc((0.614, -0.614), (0, -0.867)).threePointArc((-0.614, -0.614), (-0.867, 0)).threePointArc((-0.614, 0.614), (0, 0.867)...
22
177
0.80696
train_2179e4301d5bf070
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.02, -0.003, 0.295), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.58, 0.347).lineTo(0.676, 0.312).threePointArc((0.703, 0.287), (0.705, 0.25)).lineTo(0.646, 0.087).threePointArc((0.647, 0.06), (0.667, 0.042)).lineTo(0.978, -0.072).threePointArc(...
9
185
0.802821
train_ec09acb5d8ce08dd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.029, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.088, 1).threePointArc((0.202, 0.952), (0.25, 0.838)).lineTo(0.25, 0.186).threePointArc((0.305, 0.055), (0.436, 0)).lineTo(0.656, 0).threePointArc((0.722, -0.028), (0.75, -0.094)).lineTo...
16
84
0.25251
train_85ca1d3fceac4abf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.023, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.647, 0.22).lineTo(0.771, 0.141).threePointArc((0.874, 0.187), (1, 0.039)).lineTo(0.994, -0.11).threePointArc((0.987, -0.136), (0.969, -0.154)).lineTo(0.89, -0.201).threePointArc((0.853, -...
3
26
0.249436
train_c1f00149423f3625
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.294, -0.155, -0.256), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.217, 0.483).lineTo(-0.217, -0.205).lineTo(0.664, -0.205).lineTo(0.664, -0.483).lineTo(-0.664, -0.483).lineTo(-0.664, 0.483).lineTo(-0.217, 0.483).close().extrude(0.374, taper=-6....
17
275
0.359245
train_86952bc4fe6c38ca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.109, 0.111, -0.617), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.58, 0.315).threePointArc((0.608, 0.303), (0.62, 0.275)).lineTo(0.62, -0.182).threePointArc((0.581, -0.275), (0.487, -0.315)).lineTo(0.135, -0.315).threePointArc((0.012, -0.263), (-...
10
148
0.599167
train_516920a8ef0dec7c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.363, -0.312), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.911, 0.368).lineTo(1, 0.276).lineTo(1, -0.26).lineTo(0.892, -0.368).lineTo(-0.858, -0.368).lineTo(-0.858, -0.224).lineTo(-1, -0.224).lineTo(-1, 0.303).lineTo(-0.935, 0.368).lineTo(0.91...
13
50
1.524782
train_aa207243bea15305
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.862), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.325, 0.363).threePointArc((0.509, 0.332), (0.676, 0.289)).lineTo(0.982, 0.097).threePointArc((1.009, -0.004), (0.984, -0.104)).lineTo(0.667, -0.306).threePointArc((0.54...
2
74
1.532408
train_651939209e4fdd30
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.023, 0, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.801, -0.154).lineTo(0.994, -0.212).lineTo(0.942, -0.338).lineTo(0.746, -0.285).lineTo(0.697, -0.361).lineTo(0.857, -0.467).lineTo(0.758, -0.573).lineTo(0.594, -0.47).lineTo(0.517, -0.5...
5
164
0.353086
train_03595f59841d3d80
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.021), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.902, 0.274).threePointArc((0.912, 0.269), (0.92, 0.262)).lineTo(0.954, 0.225).threePointArc((0.972, 0.2), (0.984, 0.173)).lineTo(0.998, 0.123).threePointArc((0.997, 0.107), (0.983, 0.099))...
3
50
0.723222
train_65e4528235f76c52
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.25, -0.248, -0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.558, 0.2).lineTo(0.807, 0.063).lineTo(0.538, -0.136).lineTo(0.616, -0.159).lineTo(0.643, -0.201).threePointArc((0.439, -0.257), (0.275, -0.192)).lineTo(-0.026, -0.19).lineTo(-0.459...
15
174
0.231093
train_f167eb56f9ce6f79
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.203, -0.255), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.746, 0.319).threePointArc((0.824, 0.287), (0.856, 0.21)).lineTo(0.856, -0.319).lineTo(-0.745, -0.319).threePointArc((-0.823, -0.287), (-0.856, -0.209)).lineTo(-0.856, 0.205).threePoint...
8
50
0.663322
train_85ecbc0ee7a388ba
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.459, 0.859).lineTo(-0.459, -0.491).lineTo(1, -0.491).lineTo(1, -0.859).lineTo(-1, -0.859).lineTo(-1, 0.859).lineTo(-0.459, 0.859).close().extrude(0.364, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.732, -0.266, -1.117), normal=(0...
10
8
1.067503
train_2f60817f3864f50c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.415), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.017).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.017).lineTo(-0.738, 1.017).lineTo(-0.738, 0.258).lineTo(0.738, 0.258).lineTo(0.738, 1.017).lineTo(1, 1.017).close().extrude(0.244, both=Tru...
6
43
0.501087
train_7a6c207c0f5e89dc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.2, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.189, 0.787).threePointArc((0.305, 0.75), (0.414, 0.697)).threePointArc((0.513, 0.628), (0.601, 0.545)).threePointArc((0.677, 0.45), (0.736, 0.345)).threePointArc((0.78, 0.231), (0.806, 0.113)...
15
240
1.18846
train_088f52c9ac31a70a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.713), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.235, 0.402).threePointArc((0.458, 0.309), (0.549, 0.088)).lineTo(0.549, -0.177).lineTo(0.324, -0.402).lineTo(-0.339, -0.402).lineTo(-0.339, -0.193).lineTo(-0.549, -0.193).lineTo(-0.549, 0....
7
28
0.838159
train_fb4b7b548be9c16d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.081, -0.339, 0.02), normal=(-0.943, 0.058, -0.328), xDir=(-0.061, -0.998, 0))).moveTo(0.591, 0.202).lineTo(0.591, 0.121).lineTo(-0.355, 0.121).lineTo(-0.355, 0.04).lineTo(0.591, 0.04).lineTo(0.591, -0.202).lineTo(-0.591, -0.202).lineTo(-0.591, -...
15
305
0.451913
train_575ff90b9c952dda
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.153, -0.567, 0.127), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.382, 0.433).lineTo(0.02, 0.316).lineTo(0.433, 0.382).lineTo(0.316, -0.02).lineTo(0.382, -0.433).lineTo(-0.02, -0.316).lineTo(-0.433, -0.382).lineTo(-0.316, 0.02).lineTo(-0.382, ...
12
259
0.478965
train_c5ca7391c8c6c861
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.572, 1).lineTo(0.685, 0.885).lineTo(0.685, -1).lineTo(-0.685, -1).lineTo(-0.685, 0.802).lineTo(-0.487, 0.802).lineTo(-0.487, 1).lineTo(0.572, 1).close().extrude(0.225) result = result.cut(...
17
364
0.295982
train_b937c30f2c097e9c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.64).extrude(0.274) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.099), normal=(0, 0, -1), xDir=(1, 0, 0))).spline([(0.635, 0.027), (0.578, 0.39), (0.295, 0.645), (-0.061, 0.53...
16
111
0.54186
train_959cb02799e55577
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.243), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.635).lineTo(1, -0.635).lineTo(-1, -0.635).lineTo(-1, 0.635).lineTo(1, 0.635).close().extrude(0.036) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.207), normal=(0, 0, 1), ...
11
93
0.640005
train_3bfcd7a88bc62466
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.718, -0.556, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.133, 1.534).threePointArc((0.297, 1.443), (0.345, 1.222)).threePointArc((0.361, 1.044), (0.51, 0.968)).threePointArc((0.797, 0.876), (0.999, 0.676)).threePointArc((0.899, 0.454), (0.5...
10
215
1.41702
train_59a375d18e1465e6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.025, 0.324), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.955, -0.121).threePointArc((0.961, -0.525), (0.76, -0.945)).threePointArc((0.348, -0.832), (0.079, -0.78)).lineTo(-0.441, -0.383).lineTo(-1, 0.565).threePointArc((-0.687, 0.936), (-0.1...
12
174
0.653143
train_4286f160f2c3bc58
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.272), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.306, 0.545).lineTo(0.306, 0.293).lineTo(1, 0.293).lineTo(1, 0).lineTo(0.16, 0).lineTo(0.16, 0.545).lineTo(0.306, 0.545).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, ...
7
41
0.96066
train_99f21374705c594f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.168, 0.098, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.086, 0.429).lineTo(-0.044, 0.327).lineTo(0.022, 0.133).threePointArc((0.042, 0.09), (0.063, 0.075)).lineTo(0.098, 0.075).threePointArc((0.107, 0.052), (0.111, -0.016)).lineTo(0.111, ...
13
137
0.172212
train_e8858bbb4d016cb6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.148, -0.325), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.333).lineTo(1, -0.007).lineTo(0.674, -0.007).lineTo(0.674, -0.333).lineTo(-0.674, -0.333).lineTo(-1, -0.007).lineTo(-1, 0.333).lineTo(1, 0.333).close().extrude(0.649) result = resul...
6
29
0.550823
train_7a6214ca20dd86aa
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.498, 1).threePointArc((0.659, 0.933), (0.725, 0.773)).lineTo(0.725, -1).lineTo(-0.595, -1).lineTo(-0.595, -0.87).lineTo(-0.725, -0.87).lineTo(-0.725, 0.772).threePointArc((-0.658, 0.933), ...
11
78
0.433733
train_e342948ccb5b4fd3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.394, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.162, 0.14).threePointArc((0.241, 0.107), (0.273, 0.029)).lineTo(0.273, -0.052).threePointArc((0.247, -0.114), (0.186, -0.14)).lineTo(-0.136, -0.14).threePointArc((-0.233, -0.1), (-0.273, -...
10
142
0.280386
train_e4206aa1544c16e9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.239, 0.31, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.275, 0.187).lineTo(0.31, -0.089).lineTo(0.164, -0.313).lineTo(-0.078, -0.354).lineTo(-0.275, -0.187).lineTo(-0.31, 0.089).lineTo(-0.164, 0.313).lineTo(0.078, 0.354).close().moveTo(...
11
716
0.484018
train_81c650b7f6393cd7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.221), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.74, 1).lineTo(0.74, -1).lineTo(-0.74, -1).lineTo(-0.74, -0.332).lineTo(0.493, -0.332).lineTo(0.493, 0.332).lineTo(-0.74, 0.332).lineTo(-0.74, 1).lineTo(0.74, 1).close().extrude(0.441) resu...
11
70
0.81821
train_e477aa31ab5acb00
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.431, 1).lineTo(0.431, -1).lineTo(-0.351, -1).threePointArc((-0.407, -0.977), (-0.431, -0.92)).lineTo(-0.431, 1).lineTo(0.431, 1).close().extrude(0.199) result = result.union(cq.Workplane(c...
9
66
0.610072