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_4ba9a36b3b02ecbd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.317, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.222, 0.955).lineTo(0.079, 0.732).lineTo(0.441, 0.828).threePointArc((0.452, 0.778), (0.423, 0.736)).threePointArc((0.465, 0.695), (0.466, 0.637)).lineTo(0.393, 0.551).lineTo(0.399, 0.456...
32
219
1.494804
train_0fcda873a99f0e39
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.175), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.794, 0.351).lineTo(0.912, 0.199).lineTo(1, 0.123).lineTo(1, 0).lineTo(0.883, 0).lineTo(0.883, 0.106).lineTo(0.787, 0.199).lineTo(0, 0.243).lineTo(0, 0.351).lineTo(0.794, 0.351).close().re...
8
33
0.427178
train_a256248c0510a883
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.3, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.669).extrude(1.431) result = result.union(cq.Workplane(cq.Plane(origin=(-0.3, 0, 0.002), normal=(0.834, 0, 0.552), xDir=(0.552, 0, -0.834))).circle(0.337).extrude(1.299)) result = result.cu...
5
12
1.787542
train_14da2ed009dc8e4b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.905, -1.131, -0.01), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.17, 1.089).threePointArc((-0.07, 1.07), (0.003, 1.072)).lineTo(0.216, 0.977).threePointArc((0.351, 0.94), (0.39, 0.835)).threePointArc((0.411, 0.612), (0.257, 0.437)).lineTo(0.01...
6
67
2.089305
train_8053d8d00c917b4d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.723, -0.196, -0.209), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.025, 0.315).threePointArc((0.066, 0.299), (0.102, 0.272)).threePointArc((0.151, 0.267), (0.176, 0.224)).threePointArc((0.205, 0.19), (0.223, 0.148)).lineTo(0.275, 0.079).lineTo(0...
12
548
0.974832
train_60a617bae8b39762
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.43, -0.752, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.122, 1.405).threePointArc((-0.002, 1.163), (0.057, 1.07)).threePointArc((0.112, 1.099), (0.222, 1.225)).lineTo(0.222, 1.011).threePointArc((0.295, 1.031), (0.441, 1.094)).lineTo(0.609...
6
368
0.935079
train_0394adba0c8132ae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.043, -0.017), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.338, 0.244).lineTo(0.359, 0.218).lineTo(0.386, 0.118).lineTo(0.418, 0.103).lineTo(0.532, 0.094).lineTo(0.551, 0.065).lineTo(0.577, -0.047).lineTo(0.6, -0.061).lineTo(0.685, -0.074).li...
7
111
0.444721
train_9896f702756863f6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.267, -0.015, -0.147), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.465, 1.688, 1.317) result = result.edges().fillet(0.16) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.267, -0.015, -0.147), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.219).e...
11
115
2.948438
train_45ededc37286378e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.058), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.103, 0.415).threePointArc((0.005, 0.564), (0.496, 0.381)).lineTo(-0.103, -0.415).threePointArc((-0.005, -0.564), (-0.496, -0.381)).lineTo(0.103, 0.415).close().extrude(0.119, both=True) re...
10
68
0.162365
train_433c49f2141e5829
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.11, 0.12, -0.322), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.609, -0.036).threePointArc((0.334, 0.643), (0.444, -0.643)).lineTo(-0.609, -0.036).close().moveTo(0.609, 0.008).lineTo(0.401, -0.142).threePointArc((0.377, 0.142), (0.609, 0.008))....
13
137
0.334544
train_091a09327f4eccc5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.007, -0.007, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.392, 0.392).lineTo(-0.392, -0.392).threePointArc((-0.211, 0.211), (0.392, 0.392)).close().extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(0.056, -0.026, -0.724), normal=(...
2
23
0.458386
train_a6371966460da839
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.045, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(2, 1, 1.478) result = result.edges().fillet(0.172) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.045, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.308).extrude(4, both=True)) resul...
10
86
1.620291
train_2d22ef0eecff6781
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.385), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.609, 0.725).lineTo(0.609, 0.334).lineTo(1, 0.334).lineTo(1, -0.487).lineTo(0.762, -0.487).lineTo(0.762, -0.725).lineTo(-0.749, -0.725).lineTo(-0.749, -0.473).lineTo(-1, -0.473).lineTo(-1, ...
4
30
1.733447
train_517d85b1ad4f3abf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.15, 0.003, -0.367), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.721, 0.483).threePointArc((0.781, 0.471), (0.806, 0.444)).lineTo(0.806, -0.321).threePointArc((0.703, -0.436), (0.462, -0.483)).lineTo(-0.534, -0.483).threePointArc((-0.725, -0.446...
3
54
0.780467
train_aa146d69656b2168
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.037, 0, 0.149), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.381, 0.098).lineTo(0.334, 0.07).lineTo(0.288, 0.042).lineTo(1.037, 0.007).lineTo(0.281, -0.031).lineTo(0.228, -0.132).lineTo(-0.207, -0.047).lineTo(-0.963, -0.086).lineTo(-0.776, 0.027...
16
149
0.114396
train_f5242125d3685da3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.267, -0.326), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.284).lineTo(1, -0.172).lineTo(0.886, -0.172).lineTo(0.886, -0.284).lineTo(-1, -0.284).lineTo(-1, 0.284).lineTo(1, 0.284).close().extrude(0.652) result = result.union(cq.Workplane(cq...
10
33
0.717387
train_663dfeec1d57c3a1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.663), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.443).lineTo(1, 0.156).lineTo(0.332, 0.156).lineTo(0.332, -0.156).lineTo(1, -0.156).lineTo(1, -0.443).lineTo(-1, -0.443).lineTo(-1, -0.156).lineTo(-0.332, -0.156).lineTo(-0.332, 0.156).l...
3
32
0.548541
train_24dcc2b1cb57925a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.206, -0.829, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(1, 1.204).threePointArc((0, 0.212), (-1, 1.204)).threePointArc((0, 2.199), (1, 1.204)).close().extrude(1.657) result = result.cut(cq.Workplane(cq.Plane(origin=(0.135, -0.187, -0.444), n...
30
137
4.155249
train_a2f75ceaa384529c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.578, -0.392, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.154).threePointArc((0.817, 0.817), (1.154, 0)).lineTo(0.558, 0).threePointArc((0.395, 0.395), (0, 0.558)).lineTo(0, 1.154).close().extrude(2) result = result.union(cq.Workplane(cq...
4
19
1.808545
train_622339143063fc0a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.465), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.999).extrude(0.548) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.465), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.791).extrude(1.641, both=True)) result = result.union(cq.Wo...
9
55
1.36849
train_b0f8ea46084c9ead
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.012, -0.26, -0.411), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.536, -0.395).threePointArc((0.914, -0.482), (0.308, -0.749)).lineTo(-0.686, 0.395).threePointArc((-0.914, 0.479), (-0.457, 0.749)).lineTo(0.536, -0.395).close().extrude(0.822) res...
4
30
0.89324
train_068ccd29a587c972
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.063, -0.373), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.957, 0.304).threePointArc((0.986, 0.291), (1, 0.262)).lineTo(1, -0.245).lineTo(0.941, -0.245).lineTo(0.941, -0.304).lineTo(-0.946, -0.304).threePointArc((-0.984, -0.288), (-1, -0.25))....
10
66
0.934709
train_ef5e205d3a12c774
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.395), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.188, 0.919).threePointArc((0.29, 0.879), (0.333, 0.785)).lineTo(0.333, 0.428).threePointArc((0.373, 0.342), (0.466, 0.306)).lineTo(0.815, 0.306).threePointArc((0.945, 0.256), (1, 0.137)).l...
11
344
3.784168
train_0634f74d3b3509db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.025), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.258, 0.967).threePointArc((0.402, 0.917), (0.536, 0.845)).threePointArc((0.659, 0.754), (0.766, 0.646)).threePointArc((0.855, 0.522), (0.924, 0.387)).threePointArc((0.972, 0.242), (0.998, ...
3
73
0.288181
train_2bd94e73b0036b84
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.038, -0.001, 0.37), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.343, -0.172).threePointArc((0, 0.686), (0.343, -0.086)).lineTo(0.343, -0.671).threePointArc((0.34, -0.682), (0.329, -0.686)).lineTo(0.283, -0.686).threePointArc((0.264, -0.679), (0...
20
199
0.3988
train_8de85626807c1b84
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(0.702, 0.6).threePointArc((0.906, 0.514), (1, 0.307)).lineTo(1, -0.265).lineTo(0.661, -0.6).lineTo(-0.744, -0.6).lineTo(-1, -0.348).lineTo(-1, 0.232).threePointArc((-0.884, 0.492), (-0.628, ...
8
87
0.589339
train_b06f0ff77c3d86f6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.988), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.436, 0.369).workplane(offset=1.975).rect(2, 0.256).loft() final_result = result
1
6
1.049839
train_dfb64ef61472adce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1.631), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.853).lineTo(1, 1.409).lineTo(0.189, 1.409).lineTo(0.189, 0).lineTo(0, 0).lineTo(0, 1.853).lineTo(1, 1.853).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) res...
2
4
1.23362
train_dc292c57017c78bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.401, 0.052, -0.104), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.121, 0.191).lineTo(0.121, 0.121).lineTo(0.801, 0.121).lineTo(0.801, 0).lineTo(0, 0).lineTo(0, 0.191).lineTo(0.121, 0.191).close().extrude(0.483, both=True) result = result.cut(cq...
8
79
0.128723
train_a04e16ebeaba8f59
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.243, 0.058, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.471, 0.267).lineTo(0.471, -0.267).lineTo(-0.03, -0.267).lineTo(-0.03, 0.267).lineTo(0.135, 0.267).lineTo(0.135, 0.057).lineTo(0.306, 0.057).lineTo(0.306, 0.267).lineTo(0.471, 0.267).cl...
10
122
1.31176
train_13c3ed5ac9dadb8c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.109), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.189, 0.218).lineTo(0.189, 0).lineTo(-0.189, 0).lineTo(-0.189, 0.218).lineTo(-0.118, 0.218).lineTo(-0.118, 0.071).lineTo(0.118, 0.071).lineTo(0.118, 0.218).lineTo(0.189, 0.218).close().ext...
5
37
0.088657
train_508661d0298dcbf7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.566), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.636, 1.489).lineTo(2.16, 0.965).lineTo(2.16, -1.489).lineTo(-1.38, -1.489).threePointArc((-1.93, -1.261), (-2.16, -0.713)).lineTo(-2.16, 1.489).lineTo(1.636, 1.489).close().extrude(0.41) r...
19
58
2.101971
train_ae2141cb30f029e4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.438), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.91, 0.583).threePointArc((0.973, 0.57), (1, 0.537)).lineTo(1, -0.408).threePointArc((0.898, -0.531), (0.657, -0.583)).lineTo(-0.524, -0.583).threePointArc((-0.859, -0.511), (-1, -0.34)...
9
18
0.956379
train_0bb43e87b57e97a6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.415, 0.124, 0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.036, 0.293).threePointArc((0.076, 0.237), (0.089, 0.28)).lineTo(0.139, 0.256).threePointArc((0.155, 0.188), (0.183, 0.222)).lineTo(0.22, 0.18).threePointArc((0.211, 0.111), (0.249,...
8
255
0.44134
train_ef893c20ccb1341f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.194, 0.145, -0.007), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.805, 0.552).lineTo(0.805, -0.552).lineTo(-0.805, -0.552).lineTo(-0.805, -0.184).lineTo(0.575, -0.184).lineTo(0.575, 0.184).lineTo(-0.805, 0.184).lineTo(-0.805, 0.552).lineTo(0.805,...
19
126
1.081961
train_cbd7e70699264160
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.251, -0.067, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1.197, 0.486).lineTo(0.946, -0.284).lineTo(1.197, -0.422).lineTo(1.11, -0.486).lineTo(0.803, -0.485).lineTo(0.424, -0.433).lineTo(-0.25, -0.241).lineTo(-0.814, 0.085).lineTo(-1.19...
5
46
0.251039
train_c83187df321295e1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.262, 0.141, 0.246), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.451, 0.572).threePointArc((0.753, 0.269), (0.451, -0.033)).threePointArc((0.323, -0.158), (0.15, -0.116)).threePointArc((0.02, -0.005), (-0.15, 0.017)).lineTo(-0.451, -0.033).three...
7
44
0.407884
train_67684ef6c5f93cd3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.027, -0.134, -0.212), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.074, 0.188).lineTo(0.201, -0.006).lineTo(-0.074, -0.188).lineTo(-0.201, 0.006).lineTo(-0.144, 0.043).lineTo(-0.066, -0.076).lineTo(0.096, 0.031).lineTo(0.017, 0.15).lineTo(0.074,...
6
115
0.727622
train_5779249eaed77919
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0.008, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.368, 0.534).threePointArc((-0.284, 0.569), (-0.237, 0.491)).lineTo(-0.185, 0.248).threePointArc((-0.171, 0.223), (-0.146, 0.239)).lineTo(-0.042, 0.368).threePointArc((-0.01, 0.399), (...
6
172
1.980307
train_bcd2a9f9bd70a5dc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.21, 0, -0.229), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.094, 0.785).threePointArc((-0.028, 0.758), (0, 0.692)).lineTo(0, 0.452).threePointArc((0.018, 0.41), (0.059, 0.392)).lineTo(0.251, 0.392).threePointArc((0.35, 0.35), (0.392, 0.251)).l...
6
112
0.309491
train_5c0ab2095ef21080
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.269, 0, -0.8), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.215, 1.6).lineTo(0.215, 0.215).lineTo(0.536, 0.215).lineTo(0.536, 0).lineTo(0, 0).lineTo(0, 1.6).lineTo(0.215, 1.6).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq.Pl...
9
41
0.666375
train_4cd2d0bf46dd319a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.247), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.584, 0.495).lineTo(0.584, 0).lineTo(-0.584, 0).lineTo(-0.584, 0.495).lineTo(-0.495, 0.495).lineTo(-0.495, 0.089).lineTo(0.495, 0.089).lineTo(0.495, 0.495).lineTo(0.584, 0.495).close().ext...
10
63
0.195877
train_023fe103a49d2253
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.041, -0.165), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.338, 0.345).threePointArc((0.4, 0.32), (0.426, 0.258)).lineTo(0.426, -0.223).threePointArc((0.39, -0.31), (0.304, -0.345)).lineTo(-0.274, -0.345).threePointArc((-0.38, -0.301), (-0.42...
5
30
0.280704
train_a3dcf0149527f643
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.01, -0.018, -0.003), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.151, 1.057).threePointArc((0.755, 1.209), (0.906, 0.755)).lineTo(-0.151, -1.057).threePointArc((-0.755, -1.209), (-0.906, -0.604)).lineTo(0.151, 1.057).close().extrude(0.563, both...
5
40
0.056783
train_f36e12c61faed07d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.13), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.189, 0.26).lineTo(0.189, 0).lineTo(-0.189, 0).lineTo(-0.189, 0.26).lineTo(-0.165, 0.26).lineTo(-0.165, 0.024).lineTo(0.165, 0.024).lineTo(0.165, 0.26).lineTo(0.189, 0.26).close().extrude(1...
4
17
0.039879
train_a3bdb8fd45d0931e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.162), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.323) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.162), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.768).extrude(0.97, both=True)) result = result.union(cq.Workpla...
11
36
0.714415
train_b5505aa4b0a2c973
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.378), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.279, 1).threePointArc((0.678, 0.834), (0.843, 0.436)).lineTo(0.843, -0.223).threePointArc((0.616, -0.772), (0.067, -1)).lineTo(-0.843, -1).lineTo(-0.843, 0.538).lineTo(-0.381, 1).lineTo(0....
10
84
0.748286
train_baec0eae4429cd48
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.704, 0.36, 0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.296).threePointArc((0.185, 0.185), (0.296, 0)).threePointArc((0.185, -0.185), (0, -0.296)).threePointArc((-0.185, -0.185), (-0.296, 0)).threePointArc((-0.185, 0.185), (0, 0.296))....
3
19
0.393262
train_5369c34a69bfff90
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.332), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.71, 1).lineTo(0.778, 0.931).lineTo(0.778, -0.921).lineTo(0.7, -1).lineTo(-0.667, -1).lineTo(-0.778, -0.889).lineTo(-0.778, 0.932).lineTo(-0.71, 1).lineTo(0.71, 1).close().extrude(0.663) re...
4
30
1.497112
train_a7d6bc461bde75da
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.232, -0.133, 0.028), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.33, 0.603).threePointArc((-0.274, 0.582), (-0.25, 0.532)).lineTo(-0.25, -0.18).threePointArc((-0.213, -0.257), (-0.126, -0.29)).lineTo(0.529, -0.29).threePointArc((0.581, -0.309),...
32
259
0.795104
train_e8f9a29adab0378e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.007, -0.02, 0.007), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.497, 0.221).lineTo(0.497, 0.164).threePointArc((0.545, 0.135), (0.66, 0.123)).lineTo(0.821, 0.123).threePointArc((0.942, 0.111), (0.993, 0.081)).lineTo(0.993, 0.024).threePointArc((...
11
267
0.128921
train_167bb7ce48e22562
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.737), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.981, 1.474).lineTo(0.981, 1.162).lineTo(1, 1.162).lineTo(1, 0).lineTo(0, 0).lineTo(0, 1.474).lineTo(0.981, 1.474).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))...
4
32
4.053776
train_286b5b6cc066394b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.12, -0.085), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.133, 0.225).lineTo(1, -0.171).lineTo(0.967, -0.225).lineTo(0.756, -0.126).threePointArc((0.52, -0.213), (0.304, -0.114)).lineTo(0.034, 0.009).lineTo(0.133, 0.225).close().revolve(angl...
6
29
1.133196
train_3cd8756260909bd1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.367, 0.365).lineTo(-0.367, -0.124).lineTo(0.939, -0.124).lineTo(0.939, -0.365).lineTo(-0.939, -0.365).lineTo(-0.939, 0.365).lineTo(-0.367, 0.365).close().extrude(1.094) result = result.cu...
10
123
0.305002
train_cb642253e1f4fbd1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.159, -0.185, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.564, 0.651).threePointArc((0.651, 0.651), (0.651, 0.478)).lineTo(0.019, 0.241).threePointArc((-0.035, 0.208), (-0.071, 0.156)).lineTo(-0.391, -0.564).threePointArc((-0.564, -0.651), (...
12
138
0.750807
train_db08e7d80148b192
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.135, 0.012, -0.493), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.339, 0.732).lineTo(-0.339, -0.304).lineTo(0.81, -0.304).lineTo(0.81, -0.732).lineTo(-0.81, -0.732).lineTo(-0.81, 0.732).lineTo(-0.339, 0.732).close().extrude(0.966) result = resul...
12
134
1.029149
train_caff33ecf49bdf3f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.035, -0.102, 0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.194, 0.891).threePointArc((0.817, 0.844), (0.972, -0.431)).threePointArc((0.482, -0.875), (-0.146, -0.735)).threePointArc((-0.224, -0.72), (-0.436, -0.891)).threePointArc((-0.91, ...
12
84
0.729655
train_d601b5d4ed7bd558
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.323, 2).extrude(0.451) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.402, -0.259).lineTo(0.402, -0.741).lineTo(-0.402, -0.741)...
9
32
0.835666
train_b26e671164a0999f
import cadquery as cq import math result = cq.Workplane('XY').box(1.882, 1.904, 2) result = result.edges().fillet(0.527) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.041, -0.1, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).spline([(0.721, -0.063), (0.274, 0.395), (0.003, 0.918)]).spline([(0.003, 0.918), (-0.444, 0.565...
10
55
3.331745
train_f2f24a5c96adb07d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.033, -0.502, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.515, 0.179).lineTo(0.515, -0.179).lineTo(-0.515, -0.179).lineTo(-0.515, -0.119).lineTo(-0.343, -0.119).lineTo(-0.343, -0.06).lineTo(-0.172, -0.06).lineTo(-0.172, 0).lineTo(0, 0).l...
12
223
0.566939
train_eaa3be338f492c7f
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.141, 1).threePointArc((0.276, 0.943), (0.333, 0.808)).lineTo(0.333, 0.495).threePointArc((0.381, 0.381), (0.495, 0.333)).lineTo(0.898, 0.333).threePointArc((0.97, 0.303), (1, 0.232)).lineTo(1, -0.869).threePointArc((0.961, -0.961), (0.869, -1)).line...
8
35
2.844049
train_088469ad6f5477a5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.144, 0, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.143, 0.34).lineTo(1.143, 0.099).lineTo(-0.38, 0.099).lineTo(-0.38, -0.099).lineTo(1.143, -0.099).lineTo(1.143, -0.34).lineTo(-1.143, -0.34).lineTo(-1.143, 0.34).lineTo(1.143, 0.34).clo...
13
227
0.182242
train_2a45a4807b54bf03
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, 0, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.196) result = result.cut(cq.Workplane(cq.Plane(origin=(1.002, 0, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.115, 0.464), (-0.432, 0.822), (-0.88, 0....
6
117
0.476695
train_b9228eb8025ef526
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.623, 1).lineTo(0.681, 0.942).lineTo(0.681, -0.946).lineTo(0.626, -1).lineTo(-0.601, -1).lineTo(-0.681, -0.922).lineTo(-0.681, 0.932).lineTo(-0.612, 1).lineTo(0.623, 1).close().extrude(0.36...
5
38
0.964643
train_55cdb11258917e31
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.37), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.512, 0.882).threePointArc((-0.458, 0.866), (-0.435, 0.83)).lineTo(-0.435, 0.354).threePointArc((-0.409, 0.312), (-0.347, 0.294)).lineTo(-0.167, 0.294).threePointArc((-0.05, 0.261), (0, 0.1...
3
148
1.279987
train_ecdf71daa0a00bbb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.112, -0.01, -0.168), normal=(0.19, 0.095, 0.977), xDir=(0, -0.995, 0.097))).moveTo(-0.431, 0.891).threePointArc((-0.356, 0.86), (-0.325, 0.787)).lineTo(-0.325, -0.115).threePointArc((-0.255, -0.277), (-0.089, -0.345)).lineTo(0.738, -0.345).three...
8
75
0.311527
train_d531316449ba03dd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1.611), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 2.112).lineTo(1, 1.109).lineTo(0.46, 1.109).lineTo(0.46, 0).lineTo(0, 0).lineTo(0, 2.112).lineTo(1, 2.112).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) resul...
6
10
1.8467
train_e0a21fd08ee5a080
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.789, 0.3, 0.233), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.174, 0.212).lineTo(0.174, 0.013).lineTo(-0.173, -0.167).lineTo(-0.174, 0.212).close().extrude(0.279) result = result.union(cq.Workplane(cq.Plane(origin=(0.617, 0.587, 0.585), normal...
10
87
0.54955
train_5483a1e4016a00a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.022, 0.304).threePointArc((0.05, 0.29), (0.061, 0.256)).lineTo(0.061, 0.195).threePointArc((0.072, 0.165), (0.096, 0.152)).lineTo(0.162, 0.152).threePointArc((0.178, 0.144), (0.184, 0.125)).li...
13
142
0.358394
train_ee53dde1de05090f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.154, 0.01, -0.043), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.727, 0.636).lineTo(0.674, -0.713).threePointArc((-0.727, 0.713), (0.727, 0.636)).close().extrude(0.305, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0.881, -0.157, -...
12
74
1.645067
train_bb272f471a6e02e6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.025, -0.218, -0.246), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.532, 0.399).lineTo(0.532, -0.399).lineTo(-0.532, -0.399).lineTo(-0.532, -0.133).lineTo(-0.266, -0.133).lineTo(-0.266, 0.133).lineTo(-0.532, 0.133).lineTo(-0.532, 0.399).lineTo(0....
14
542
0.837965
train_b3d7a50568e5c344
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.75, 0.112, 0.103), normal=(0.249, -0.811, -0.53), xDir=(0.956, 0.293, 0))).moveTo(0.217, 0.255).lineTo(0.255, 0.217).lineTo(0.255, -0.199).lineTo(0.199, -0.255).lineTo(0.146, -0.255).lineTo(0.085, -0.194).lineTo(0.085, -0.113).lineTo(0.057, -0....
12
280
0.642259
train_eb6ac6fd60fc5058
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0.419, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.17, 0.346).lineTo(0.424, 0.233).threePointArc((0.625, 0.048), (0.471, -0.177)).lineTo(0.337, -0.279).threePointArc((0.095, -0.364), (-0.008, -0.129)).lineTo(-0.04, 0.195).threePoin...
6
62
1.803456
train_c86a5d5212a82278
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.685, 0.899).lineTo(-0.685, -0.584).lineTo(1, -0.584).lineTo(1, -0.899).lineTo(-1, -0.899).lineTo(-1, 0.899).lineTo(-0.685, 0.899).close().extrude(0.675, taper=7.241) result = result.cut(c...
5
20
0.661563
train_f2d0ffd1e093c01c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.076, -0.012).threePointArc((0.006, 0.105), (0.076, -0.024)).lineTo(0.076, -0.091).threePointArc((0.076, -0.094), (0.074, -0.096)).lineTo(0.067, -0.104).threePointArc((0.064, -0.105), (0....
6
82
0.017311
train_fc72ec908535a659
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.041), normal=(0, 0, 1), xDir=(1, 0, 0))).box(2, 1.768, 1.661) result = result.edges().fillet(0.06) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.041), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.339).extrude(3.972, both=True)) ...
8
67
3.442392
train_8c933920676d9e89
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.526, -0.13, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.029, 0.635).lineTo(0.124, 0.239).lineTo(0.535, 0.343).lineTo(0.269, 0.012).lineTo(0.564, -0.292).lineTo(0.145, -0.226).lineTo(0.141, -0.336).lineTo(0.143, -0.447).threePointArc((0.11...
3
254
0.603386
train_b974381c87a09093
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.123), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.743, 0.246).lineTo(0.912, 0.188).lineTo(1, 0.086).lineTo(1, 0).lineTo(0.928, 0).lineTo(0.928, 0.074).lineTo(0.829, 0.188).lineTo(0, 0.181).lineTo(0, 0.246).lineTo(0.743, 0.246).close().re...
5
28
0.175771
train_e1034de50ba428d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.249, 0, -0.73), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.279, 1.461).lineTo(0.279, 0.279).lineTo(0.365, 0.279).lineTo(0.365, 0).lineTo(0, 0).lineTo(0, 1.461).lineTo(0.279, 1.461).close().extrude(1, both=True) result = result.cut(cq.Workplan...
12
107
0.636292
train_f38628165f4cbe58
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.342).lineTo(1, 0.22).lineTo(-0.66, 0.22).lineTo(-0.66, -0.22).lineTo(1, -0.22).lineTo(1, -0.342).lineTo(-1, -0.342).lineTo(-1, 0.342).lineTo(1, 0.342).close().extrude(0.121, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.248, 0, ...
7
15
0.151414
train_bed6104e849274c4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.406, 0, -0.159), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.334, 0.318).lineTo(0.334, 0.242).lineTo(0.594, 0.242).lineTo(0.594, 0).lineTo(0.108, 0).lineTo(0.108, 0.318).lineTo(0.334, 0.318).close().revolve(angleDegrees=360, axisStart=(0, 0, 0)...
3
28
0.309359
train_ef09ec5cf1775b5a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.67), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.801).lineTo(1, -0.801).lineTo(-1, -0.801).lineTo(-1, 0.801).lineTo(-0.608, 0.801).lineTo(-0.608, -0.414).lineTo(0.608, -0.414).lineTo(0.608, 0.801).lineTo(1, 0.801).close().extrude(1.34)...
16
125
1.820969
train_774ab044288f4b11
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.154, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.77, 0.919).lineTo(0.909, 0.874).lineTo(0.981, 0.782).threePointArc((0.998, 0.586), (0.572, 0.1)).lineTo(-0.123, -0.309).lineTo(0.402, -0.316).threePointArc((0.57, -0.508), (0.362...
14
296
0.475301
train_3ddd2b8573240aa6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.871, 0.7).threePointArc((0.961, 0.662), (1, 0.572)).lineTo(1, -0.65).threePointArc((0.984, -0.685), (0.949, -0.7)).lineTo(-0.889, -0.7).threePointArc((-0.967, -0.668), (-1, -0.59)).lineTo(...
15
65
0.367732
train_89d1bec5be4def63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.105), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.775, 0.209).lineTo(0.92, 0.137).lineTo(1, 0.073).lineTo(1, 0).lineTo(0.884, 0).lineTo(0.884, 0.063).lineTo(0.784, 0.137).lineTo(0, 0.094).lineTo(0, 0.209).lineTo(0.775, 0.209).close().rev...
2
12
0.266532
train_06b6c0fe90a7fa44
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.265), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.529).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.529).lineTo(-0.805, 0.529).lineTo(-0.805, 0.195).lineTo(0.805, 0.195).lineTo(0.805, 0.529).lineTo(1, 0.529).close().extrude(0.691, both=Tru...
5
172
0.342185
train_9d39e388441cb651
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.047, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.227, 0.392).lineTo(-0.227, -0.224).lineTo(0.394, -0.224).lineTo(0.394, -0.392).lineTo(-0.394, -0.392).lineTo(-0.394, 0.392).lineTo(-0.227, 0.392).close().extrude(2, taper=0.261) result = ...
22
309
0.711011
train_5edde71e9fc19b1b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.427), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.517, 0.656).lineTo(1, 0.172).lineTo(1, -0.14).lineTo(0.485, -0.656).lineTo(-0.76, -0.656).lineTo(-1, -0.415).lineTo(-1, 0.394).lineTo(-0.739, 0.656).lineTo(0.517, 0.656).close().extrude(0....
12
54
1.346325
train_4025c68403de2645
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.395, 0.87).threePointArc((-0.117, 0.802), (0, 0.641)).lineTo(0, 0.411).threePointArc((0.062, 0.326), (0.209, 0.29)).lineTo(0.84, 0.29).threePointArc((0.953, 0.262), (1, 0.197)).lineTo...
4
14
0.513655
train_654d9915d9dbd163
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.618), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.237).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.237).lineTo(-0.836, 1.237).lineTo(-0.836, 0.155).lineTo(0.836, 0.155).lineTo(0.836, 1.237).lineTo(1, 1.237).close().extrude(0.199, both=Tru...
11
48
0.25808
train_eb42d3f167f8a3e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.432), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.728, 0.597).threePointArc((-0.636, 0.558), (-0.597, 0.467)).lineTo(-0.597, 0.335).threePointArc((-0.556, 0.24), (-0.461, 0.199)).lineTo(0.817, 0.199).threePointArc((0.939, 0.146), (1, 0.0...
20
240
0.858713
train_9e9cc32ebef01d56
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.015, -0.308, -0.689), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.094, 0.094).lineTo(0.094, -0.094).lineTo(-0.094, -0.094).lineTo(-0.094, 0.094).lineTo(-0.067, 0.094).lineTo(-0.067, -0.072).lineTo(0.067, -0.072).lineTo(0.067, 0.094).lineTo(0.094...
19
263
0.559127
train_6f842eed8598c2d2
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.438, 0.645).threePointArc((-0.357, 0.611), (-0.323, 0.53)).lineTo(-0.323, 0.385).threePointArc((-0.304, 0.341), (-0.26, 0.323)).lineTo(0.218, 0.323).threePointArc((0.292, 0.292), (0.323, 0.218)).lineTo(0.323, 0.075).threePointArc((0.345, 0.022), (0...
19
137
3.583386
train_16630bb166186306
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.049, 0, -0.176), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.228, 1).lineTo(0.637, 0.8).lineTo(1.014, 0).lineTo(0.637, -0.8).lineTo(-0.228, -1).lineTo(-0.917, -0.442).lineTo(-0.917, 0.442).lineTo(-0.228, 1).close().extrude(0.353) result = resu...
6
86
0.616581
train_9a74569173c7873f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.009, 0.027, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.226, 0.143).lineTo(0.741, 0.086).lineTo(0.98, 0.018).lineTo(0.698, -0.08).lineTo(0.787, -0.092).lineTo(0.818, -0.114).threePointArc((0.564, -0.143), (0.402, -0.11)).lineTo(-0.222, -0.10...
6
44
0.482759
train_0a340db1b43cbd4f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.411, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.178, 1.072, 1.043) result = result.edges().fillet(0.119) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.411, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.206).extrude(2.356, both=...
8
53
1.006909
train_a2b867910fd3aacf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, -0.001, -0.003), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.145, 0.131).threePointArc((0.352, 0.109), (0.524, 0.074)).threePointArc((0.637, 0.032), (0.688, -0.017)).threePointArc((0.666, -0.053), (0.582, -0.084)).threePointArc((0.394, -0....
5
32
0.514205
train_4fd6e5ee31956230
import cadquery as cq import math result = cq.Workplane('XY').box(2, 1.319, 1.681) result = result.edges().fillet(0.346) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.506).extrude(4, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=...
14
95
0.924793
train_46fcea2c26058824
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.853, 0.689).lineTo(0.853, 0.444).lineTo(-0.608, 0.444).lineTo(-0.608, -0.444).lineTo(0.853, -0.444).lineTo(0.853, -0.689).lineTo(-0.853, -0.689).lineTo(-0.853, 0.689).lineTo(0.853, 0.689).close().extrude(1, both=True) result = result.cut(cq.Workplan...
8
32
1.907186
train_8a552c54e6396f09
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.074, -0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.951, 0.581).lineTo(1, 0.531).lineTo(1, -0.482).lineTo(0.902, -0.581).lineTo(-0.868, -0.581).threePointArc((-0.962, -0.541), (-1, -0.448)).lineTo(-1, 0.581).lineTo(0.951, 0.581).close().e...
6
35
0.799936