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_0c407854c16c2cbd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.523) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.577).extrude(1.565, both=True)) result = result.union(cq.Workpl...
16
92
1.425531
train_2830e5ff68489c2d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.151, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.102, 0.379).threePointArc((-0.083, 0.371), (-0.076, 0.353)).lineTo(-0.076, 0.119).threePointArc((-0.063, 0.089), (-0.032, 0.076)).lineTo(0.02, 0.076).threePointArc((0.059, 0.059), (0.076, ...
17
50
0.225298
train_ababac095791d7b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.065, -0.999, 0.001), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.252, 0.59).threePointArc((-0.027, 0.627), (0.143, 0.395)).lineTo(0.349, 0.419).lineTo(0.384, 0.174).lineTo(0.559, -0.038).lineTo(0.476, -0.267).threePointArc((0.405, -0.307), (0....
7
48
1.550599
train_4a29f338949289d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.322, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.273, 2).lineTo(0.273, 0.273).lineTo(0.643, 0.273).lineTo(0.643, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.273, 2).close().extrude(0.517, both=True) result = result.cut(cq.Workplane(cq.Plane(...
3
21
0.606662
train_eee10fad5f601b4a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.311, 1).lineTo(-0.311, 0.5).lineTo(0.311, 0.5).lineTo(0.311, -0.5).lineTo(0.934, -0.5).lineTo(0.934, -1).lineTo(-0.311, -1).lineTo(-0.311, -0.5).lineTo(-0.934, -0.5).lineTo(-0.934, 1).lin...
18
128
0.438208
train_db7738fd3b7ebc2c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.317, 0, -0.146), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.682, 0.181).lineTo(0.682, -0.187).threePointArc((0.676, -0.202), (0.661, -0.208)).lineTo(-0.65, -0.208).threePointArc((-0.673, -0.199), (-0.682, -0.175)).lineTo(-0.682, 0.171).threePo...
8
75
0.14343
train_d354afc6af07ca1f
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.108, 0.238).lineTo(0.212, -0.152).threePointArc((0.095, -0.354), (-0.108, -0.238)).lineTo(-0.212, 0.152).threePointArc((-0.095, 0.354), (0.108, 0.238)).close().moveTo(-0.057, 0.103).threePoint...
9
55
0.343212
train_ce54e3ef2aaf0e14
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.009, -0.022), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1.033, 0.175).lineTo(-0.273, 0.041).lineTo(0.903, -0.137).lineTo(1.033, -0.175).lineTo(0.874, -0.173).lineTo(0.6, -0.149).threePointArc((0.013, -0.07), (-1.033, 0.175)).close().extrude(...
4
66
0.022671
train_ddf652af2b94804e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.449), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.845, 0.766).threePointArc((0.954, 0.72), (1, 0.611)).lineTo(1, -0.456).threePointArc((0.909, -0.675), (0.69, -0.766)).lineTo(-0.786, -0.766).threePointArc((-0.936, -0.703), (-1, -0.552)).l...
5
21
0.720916
train_e765e0a88fad0288
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.154, 0.141, -0.044), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.174, -0.111).threePointArc((0.606, 0.285), (0.741, -0.285)).lineTo(0.535, -0.285).lineTo(0.338, -0.252).lineTo(0.174, -0.111).close().revolve(angleDegrees=360, axisStart=(0, 0, 0...
17
128
1.010664
train_6382ac121d17989c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.403, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.209).extrude(1.452) result = result.union(cq.Workplane(cq.Plane(origin=(-0.403, 0, 0.017), normal=(0.734, 0, 0.679), xDir=(0.679, 0, -0.734))).circle(0.323).extrude(1.098)) result = r...
6
15
0.279366
train_547319036e276523
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.466), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.601).lineTo(1, -0.601).lineTo(0, -0.601).lineTo(0, -0.2).lineTo(-1, -0.2).lineTo(-1, 0.2).lineTo(0, 0.2).lineTo(0, 0.601).lineTo(1, 0.601).close().extrude(0.931) result = result.cut(cq....
18
17
1.505672
train_f00ae5f20247b63d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.056, 0, -0.652), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.42, 0.153).lineTo(0.735, 0).threePointArc((0.943, 0.153), (0.943, -0.153)).lineTo(-0.42, -0.153).threePointArc((-0.943, 0), (-0.42, 0.153)).close().moveTo(-0.581, 0.014).lineTo(-0.59...
3
57
0.18448
train_7097192611fe818b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.675), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.958, 0.782).threePointArc((0.987, 0.769), (1, 0.74)).lineTo(1, -0.381).threePointArc((0.881, -0.663), (0.599, -0.782)).lineTo(-0.818, -0.782).threePointArc((-0.946, -0.728), (-1, -0.599))....
9
84
2.086879
train_a50205674a13da33
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.629), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.794).lineTo(1, -0.792).threePointArc((0.994, -0.803), (0.984, -0.806)).lineTo(-0.975, -0.806).threePointArc((-0.991, -0.799), (-1, -0.783)).lineTo(-1, 0.794).threePointArc((-0.994, 0.80...
6
25
1.088587
train_075d065bbaf99f88
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.033, 0, -0.13), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.798, 0.259).lineTo(0.912, 0.17).lineTo(1, 0.09).lineTo(1, 0).lineTo(0.859, 0).lineTo(0.859, 0.077).lineTo(0.764, 0.17).lineTo(0, 0.125).lineTo(0, 0.259).lineTo(0.798, 0.259).close().r...
4
18
0.322394
train_f72b7ec6b7e5a278
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.2, 0, -0.049), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.114, 0.791).lineTo(0.292, 0.743).threePointArc((0.374, 0.675), (0.472, 0.637)).lineTo(0.638, 0.471).threePointArc((0.675, 0.375), (0.739, 0.293)).lineTo(0.799, 0.054).threePointArc((0.78...
5
81
0.627793
train_46eff812322b320b
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.15).lineTo(0.756, 0).lineTo(1, -0.15).lineTo(0.274, -0.15).lineTo(0.274, 0.15).lineTo(1, 0.15).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.55, 0, 0), normal=(0, 0,...
9
103
0.168853
train_47554a007160924f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1.041, -0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.076, 1.054).lineTo(0.525, 0.041).lineTo(-0.525, 0.271).lineTo(0.076, 1.054).close().extrude(0.364) result = result.cut(cq.Workplane(cq.Plane(origin=(0.59, 0.243, -2.115), normal=(1, 0...
19
8
0.649079
train_4fb0404d4848c52d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.259), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.814, 0.428).lineTo(1, 0.244).lineTo(1, -0.245).threePointArc((0.945, -0.375), (0.817, -0.428)).lineTo(-0.863, -0.428).lineTo(-1, -0.293).lineTo(-1, 0.428).lineTo(0.814, 0.428).close().extr...
8
34
0.1787
train_08beef2c2252c536
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.928, -0.988), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.391, 1.768).threePointArc((0.821, 1.59), (1, 1.159)).lineTo(1, 0.697).threePointArc((0.821, 0.266), (0.391, 0.087)).lineTo(-0.391, 0.087).threePointArc((-0.821, 0.266), (-1, 0.697)).l...
15
364
5.674787
train_8eab7569dc8ba65c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.273, -0.022, 0.129), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.341, 0.296).lineTo(0.74, 0.235).lineTo(0.659, -0.296).lineTo(0.526, -0.276).lineTo(0.587, 0.123).lineTo(0.454, 0.143).lineTo(0.394, -0.255).lineTo(0.261, -0.235).lineTo(0.341, 0.2...
7
163
0.795868
train_1b76cfbe305b6920
import cadquery as cq import math result = cq.Workplane('XY').circle(0.524).extrude(1, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.121).extrude(1.043, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.045, -0.074, 0.628), normal=(0,...
6
54
1.347802
train_335cb789fee162a9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.472, -0.076), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.882, -0.469).lineTo(-0.056, -0.469).threePointArc((0.413, 0.469), (0.882, -0.469)).close().extrude(0.844).union(cq.Workplane(cq.Plane(origin=(0, -0.472, -0.076), normal=(0, 0, 1), xDi...
9
143
1.020176
train_e65a1689716ffd65
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.054, -0.077, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.114, 0.196).threePointArc((0.172, 0.172), (0.196, 0.114)).lineTo(0.196, -0.162).threePointArc((0.186, -0.186), (0.162, -0.196)).lineTo(0.125, -0.196).threePointArc((0.107, -0.188), (...
4
20
0.133039
train_4d0331c16a7ce68a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.169, 0.664, -0.011), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.173, 0.323).threePointArc((0.175, 0.201), (0.252, 0.108)).threePointArc((0.244, -0.001), (0.218, -0.108)).threePointArc((0.248, -0.226), (0.173, -0.323)).threePointArc((-0.252, 0)...
4
33
0.53591
train_3db5ae0b2b6c8181
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.251, -0.054, -0.244), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.757).lineTo(0, 0.325).lineTo(0.372, 0.325).lineTo(0.372, 0.109).lineTo(0.744, 0.109).lineTo(0.744, -0.109).lineTo(0.372, -0.109).lineTo(0.372, -0.757).lineTo(0, -0.757).lineTo(...
14
60
0.56762
train_2ac2daa261682b61
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(34.636, 34.601, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(15.987, 35.94).lineTo(35.296, 7.511).threePointArc((3.55, -35.94), (-35.296, -34.624)).lineTo(-11.13, 35.107).lineTo(15.987, 35.94).close().moveTo(7.46, 23.532).lineTo(18.19, 7.733).li...
5
7
0.815332
train_d26815c401cc580c
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.984, 1).lineTo(0.984, 0.597).lineTo(-0.494, 0.597).lineTo(-0.494, 0.199).lineTo(0.984, 0.199).lineTo(0.984, -1).lineTo(-0.984, -1).lineTo(-0.984, -0.597).lineTo(0.494, -0.597).lineTo(0.494, -0.199).lineTo(-0.984, -0.199).lineTo(-0.984, 1).lineTo(0.9...
10
34
1.114261
train_e7b72ddc4c0c20d4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.125, -0.105, -0.187), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.601, 0.839).threePointArc((0.793, 0.761), (0.874, 0.576)).lineTo(0.874, 0.068).threePointArc((0.853, 0.02), (0.803, 0)).lineTo(0.507, 0).threePointArc((0.458, -0.02), (0.437, -0.0...
13
122
0.547484
train_6ec6d092121bc901
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.359, -0.348), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.68, 0.233).lineTo(0.889, 0.02).lineTo(0.889, -0.039).lineTo(0.698, -0.233).lineTo(-0.695, -0.233).lineTo(-0.889, -0.035).lineTo(-0.889, 0.135).lineTo(-0.793, 0.233).lineTo(0.68, 0.233)...
12
41
1.044806
train_6bf42b959c3f2c9c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.292, 0.409, -0.646), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.157, 0.574).threePointArc((0.251, 0.547), (0.339, 0.507)).threePointArc((0.419, 0.455), (0.489, 0.393)).threePointArc((0.549, 0.322), (0.596, 0.244)).threePointArc((0.63, 0.16), (0...
12
82
1.43621
train_1df878f5da23880d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.076, 0.05, -0.705), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.09, 0.09).lineTo(0.09, 0.054).lineTo(-0.054, 0.054).lineTo(-0.054, 0.018).lineTo(0.09, 0.018).lineTo(0.09, -0.09).lineTo(-0.09, -0.09).lineTo(-0.09, -0.054).lineTo(0.054, -0.054).l...
11
384
0.090514
train_1194a0576073c17f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.964, 0.227).lineTo(0.964, -0.163).threePointArc((0.945, -0.208), (0.901, -0.227)).lineTo(-0.964, -0.227).lineTo(-0.964, 0.227).lineTo(0.964, 0.227).close().extrude(0.2) result = result.uni...
9
43
0.152615
train_88ec1f1e3be1967d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.035, 0, -0.419), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.965, 0.823).lineTo(0.965, 0).lineTo(-0.965, 0).lineTo(-0.965, 0.823).lineTo(-0.646, 0.823).lineTo(-0.646, 0.32).lineTo(0.646, 0.32).lineTo(0.646, 0.823).lineTo(0.965, 0.823).close().e...
8
119
1.215823
train_62f3dfb62d30625b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.075, 0, 0.319), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.093, 0.924).lineTo(0.412, 0.837).threePointArc((0.461, 0.797), (0.519, 0.775)).lineTo(0.761, 0.529).threePointArc((0.795, 0.437), (0.858, 0.362)).lineTo(0.925, 0.118).threePointArc((0.9...
4
76
1.162328
train_01ce6198ac970cfa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.201, 0.062, -0.239), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.799, 0.74).lineTo(0.799, -0.74).lineTo(-0.799, -0.74).lineTo(-0.799, 0.74).lineTo(-0.561, 0.74).lineTo(-0.561, -0.529).lineTo(0.561, -0.529).lineTo(0.561, 0.74).lineTo(0.799, 0.74...
8
32
0.142726
train_76f97ca67b65d079
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.095, 0.288).threePointArc((0.098, 0.284), (0.099, 0.275)).lineTo(0.099, -0.144).threePointArc((0.084, -0.245), (0.049, -0.288)).lineTo(-0.06, -0.288).threePointArc((-0.088, -0.255), (-0.099, -0.177)).lineTo(-0.099, 0.258).threePointArc((-0.096, 0.27...
3
18
0.112558
train_92117dfe66b19529
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.139, -0.012, -0.498), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.781, 0.56).lineTo(0.651, -0.701).threePointArc((-0.781, 0.701), (0.781, 0.56)).close().extrude(0.335) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.029, -0.002, -0.39), nor...
7
47
1.576153
train_91bf5f97969eac56
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.491), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.919).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.919).lineTo(-0.477, 0.919).lineTo(-0.477, 0.523).lineTo(0.477, 0.523).lineTo(0.477, 0.919).lineTo(1, 0.919).close().extrude(0.424, both=Tru...
2
18
1.283142
train_6cbf367a62e53c4b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.041, -0.132, -0.267), normal=(0.171, -0.217, -0.961), xDir=(0, 0.975, -0.221))).moveTo(0.171, 0.378).lineTo(0.171, 0.227).lineTo(0.341, 0.227).lineTo(0.341, -0.378).lineTo(-0.171, -0.378).lineTo(-0.171, -0.076).lineTo(0, -0.076).lineTo(0, 0.076)...
20
313
0.386405
train_98ccc6151dfa9ef2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.487, 0.422).lineTo(0.487, 0.422).lineTo(0.646, 0.401).lineTo(0.789, 0.341).lineTo(0.902, 0.248).lineTo(0.975, 0.13).lineTo(1, 0).lineTo(0.975, -0.13).lineTo(0.902, -0.248).lineTo(0.789, -0...
16
786
0.891706
train_801be9eefa6b3bd7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, -0.047, 0.021), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.366, 0.615).threePointArc((0.867, 0.755), (0.997, -0.011)).threePointArc((0.891, -0.211), (0.68, -0.354)).threePointArc((0.348, -0.686), (-0.02, -0.439)).threePointArc((-0.107, -0....
5
80
1.646968
train_2f14e5e769e5872b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.015, 0, -0.686), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.041, 0.185).threePointArc((-0.024, 0.184), (0.182, 0.102)).threePointArc((0.187, 0.091), (0.173, -0.15)).threePointArc((0.161, -0.158), (0.042, -0.185)).threePointArc((0.029, -0.172)...
6
103
0.166534
train_b4f0aefe62880ba5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.026, 0, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.276, 1).lineTo(0.263, 0.636).lineTo(0.906, 0.662).lineTo(0.735, 0.039).lineTo(0.955, -0.568).lineTo(0.313, -0.594).lineTo(-0.196, -1).lineTo(-0.421, -0.388).lineTo(-0.955, -0.029).lin...
11
156
0.522682
train_44aff359668865fb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.413, 0.596, 0.458), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.052, 0.403).threePointArc((0.261, 0.316), (0.347, 0.107)).lineTo(0.347, -0.107).threePointArc((0.261, -0.316), (0.052, -0.403)).lineTo(-0.019, -0.403).threePointArc((-0.228, -0.316)...
18
449
0.81113
train_421b8df526b62363
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.012, -0.789).lineTo(-0.052, -1).threePointArc((-0.058, -0.958), (-0.063, -0.919)).lineTo(-0.087, -0.751).lineTo(-0.106, -0.458).lineTo(-0.111, -0.311).threePointArc((-0.112, -0.192), (-0.112, -0.072)).lineTo(-0.11, 0.262).lineTo(-0.107, 0.387).three...
3
55
0.386938
train_ef621ffd7070cc17
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, -0.265, -0.747), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.735).extrude(0.853) result = result.cut(cq.Workplane(cq.Plane(origin=(0.736, -0.265, -0.747), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.172, 0.473), (-0.607, 0.72...
12
265
1.322142
train_b447f64b3248233b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, 0, -0.378), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.756).lineTo(1, 0.569).lineTo(0.851, 0.569).lineTo(0.851, 0).lineTo(0.533, 0).lineTo(0.533, 0.756).lineTo(1, 0.756).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
3
23
1.083406
train_9e843d62bc9f5af1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.048, -0.202, -0.283), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.128, 0.109).lineTo(0.342, 0.052).lineTo(-0.257, -0.109).lineTo(-0.342, -0.086).lineTo(-0.214, -0.052).threePointArc((-0.257, 0.006), (-0.086, 0.052)).lineTo(0.128, 0.109).close()....
5
68
0.274177
train_79c3c7d623d2a54f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.037, 0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.943, 0.562).lineTo(0.943, 0.418).lineTo(-0.616, 0.418).lineTo(-0.616, -0.418).lineTo(0.943, -0.418).lineTo(0.943, -0.562).lineTo(-0.943, -0.562).lineTo(-0.943, 0.562).lineTo(0.943, 0.56...
3
54
0.886282
train_adfd09b3429c800f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.353, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.611, 0.352).lineTo(0.611, -0.453).lineTo(-0.039, -0.453).lineTo(-0.039, 0.352).threePointArc((0.007, 0.453), (0.054, 0.352)).threePointArc((0.1, 0.25), (0.147, 0.352)).threePointArc((0...
12
192
1.010663
train_e679db2b4db154b6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.096), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.154, 0.192).lineTo(0.154, 0.155).lineTo(0.346, 0.155).lineTo(0.346, 0).lineTo(-0.346, 0).lineTo(-0.346, 0.155).lineTo(-0.154, 0.155).lineTo(-0.154, 0.192).lineTo(0.154, 0.192).close().ext...
3
14
0.233113
train_859edb57d6cb2287
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.222, 0.116, -0.245), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.733, 0.434).lineTo(0.733, 0.39).lineTo(0.777, 0.39).lineTo(0.777, -0.434).lineTo(-0.74, -0.434).threePointArc((-0.766, -0.423), (-0.777, -0.398)).lineTo(-0.777, 0.356).threePointAr...
13
94
0.639665
train_e32a30b872b4e190
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.354, -0.999, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.596, 0.5).threePointArc((0.724, 0.447), (0.777, 0.32)).lineTo(0.777, -0.32).threePointArc((0.724, -0.447), (0.596, -0.5)).lineTo(-0.596, -0.5).threePointArc((-0.724, -0.447), (-0.777...
8
143
1.203619
train_73a7eade11640b28
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.27, 0.662, -0.245), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.082, 0.188).threePointArc((0.096, 0.182), (0.1, 0.169)).lineTo(0.1, -0.077).threePointArc((0.096, -0.092), (0.082, -0.096)).lineTo(-0.082, -0.096).threePointArc((-0.096, -0.092), (...
8
56
0.212397
train_0e4cf113a81b57f8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.009, -0.009, 0.016), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.39, -0.242).threePointArc((-0.366, -0.92), (-0.429, -0.031)).threePointArc((-0.359, 0.242), (-0.46, 0.413)).threePointArc((0.397, 0.92), (0.46, 0.031)).close().extrude(0.868, both...
13
104
0.187615
train_f09f90043d61c67c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.015, -0.375), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.699).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.699).lineTo(-0.6, 0.699).lineTo(-0.6, 0.4).lineTo(0.6, 0.4).lineTo(0.6, 0.699).lineTo(1, 0.699).close().extrude(0.351, both=True) resul...
13
136
0.569844
train_a3b21b3d52cddced
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.126, 0.085, -0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(1.125, 0.27).lineTo(1.125, -0.27).lineTo(-1.125, -0.27).lineTo(-1.125, 0.27).lineTo(-0.427, 0.27).lineTo(-0.427, 0.057).lineTo(0.427, 0.057).lineTo(0.427, 0.27).l...
19
120
0.135339
train_df955d2d79afeb95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.097, 0.749, -0.197), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.06, 0.244).threePointArc((0.147, 0.241), (0.21, 0.183)).threePointArc((0.217, 0.096), (0.18, 0.021)).threePointArc((0.142, -0.027), (0.127, -0.073)).threePointArc((0.119, -0.138),...
4
70
0.044581
train_7ababfec2d3950b1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.51, 0.909).threePointArc((0.556, 0.885), (0.576, 0.83)).lineTo(0.576, 0.56).threePointArc((0.602, 0.486), (0.665, 0.454)).lineTo(0.825, 0.454).threePointArc((0.92, 0.407), (0.96, 0.295)).l...
15
50
3.470729
train_e7c8a4077592ab15
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.4, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.087).extrude(0.168, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.4, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.361).extrude(0.6, both=True)) result = result.cut(...
7
67
0.494869
train_1701e2c811dba5e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.386, 0.708, -0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.223, 0.208).threePointArc((0.281, -0.075), (0.058, -0.283)).threePointArc((-0.223, -0.208), (-0.281, 0.075)).threePointArc((-0.058, 0.283), (0.223, 0.208)).close().sweep(cq.Workpl...
5
34
0.175896
train_5ac12552ee0726a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.207, 0.531, -0.915), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.607, 0.225).lineTo(0.607, -0.271).lineTo(-0.039, -0.271).lineTo(-0.039, 0.225).threePointArc((0.042, 0.179), (0.123, 0.225)).threePointArc((0.203, 0.271), (0.284, 0.225)).threePoin...
5
59
1.088783
train_0fd62fc2b187a100
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.82), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.835, 0.548).threePointArc((0.945, 0.521), (1, 0.455)).lineTo(1, -0.32).threePointArc((0.877, -0.48), (0.608, -0.548)).lineTo(-0.557, -0.548).threePointArc((-0.861, -0.471), (-1, -0.29))...
6
41
1.359291
train_ea9b7466977bddcd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.187, 0, -0.79), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.759, 0.439).lineTo(0.813, 0.385).lineTo(0.813, -0.375).lineTo(0.75, -0.439).lineTo(0.632, -0.439).lineTo(0.594, -0.4).lineTo(0.594, -0.059).lineTo(0.535, 0).lineTo(0.433, 0).lineTo(0.3...
12
294
0.358557
train_8504697804bd7587
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.151, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.243, 0.463).lineTo(0.3, 0.338).lineTo(0.197, 0.213).lineTo(0.205, 0.088).lineTo(0.226, -0.036).threePointArc((0.225, -0.1), (0.243, -0.161)).threePointArc((-0.028, -0.433), (-0.3, -0.161)...
22
210
0.928555
train_937b42e74bb86717
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.303, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.988, -0.103).lineTo(0.951, -0.203).lineTo(0.891, -0.299).lineTo(0.809, -0.387).lineTo(0.707, -0.466).lineTo(0.588, -0.533).lineTo(0.454, -0.587).lineTo(0.309, -0.626).lineTo(0.156, -0.65)....
14
144
1.169041
train_084d24e02d58fc96
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.125, 0.922), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.692, 0.382).lineTo(0.692, 0).lineTo(-0.692, 0).lineTo(-0.692, 0.382).lineTo(-0.653, 0.382).lineTo(-0.653, 0.039).lineTo(0.653, 0.039).lineTo(0.653, 0.382).lineTo(0.692, 0.382).close()...
6
20
0.427517
train_6f281832c3484772
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.533, 0, -0.64), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.312, 1.28).lineTo(0.312, 0.312).lineTo(1.065, 0.312).lineTo(1.065, 0).lineTo(0, 0).lineTo(0, 1.28).lineTo(0.312, 1.28).close().extrude(1, both=True) result = result.cut(cq.Workplane(c...
2
20
1.230581
train_814035f786018c4a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.954, -18.112, -15.847), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.419, 1.564).threePointArc((1.485, 1.543), (1.513, 1.492)).lineTo(1.513, -1.139).threePointArc((1.348, -1.438), (0.959, -1.564)).lineTo(-1.169, -1.564).threePointArc((-1.411, -1...
20
42
0.456363
train_80c6b9e5faa16ea2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.101, -0.098, -0.064), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.812, 0.732).lineTo(0.418, -0.732).threePointArc((-0.812, 0.381), (0.812, 0.732)).close().twistExtrude(0.732, -95.579) result = result.union(cq.Workplane(cq.Plane(origin=(-0.322, ...
7
113
1.429678
train_f16701ed4fc1048e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.165, -0.236), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.904, 0.835).lineTo(0.904, -0.835).lineTo(-0.904, -0.835).lineTo(-0.904, 0.835).lineTo(-0.517, 0.835).lineTo(-0.517, -0.562).lineTo(0.517, -0.562).lineTo(0.517, 0.835).lineTo(0.904, 0....
6
51
2.106411
train_7b9c4ff618b46f39
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.406, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.335, 2).lineTo(0.335, 0.335).lineTo(0.793, 0.335).lineTo(0.793, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.335, 2).close().extrude(0.498, both=True) result = result.cut(cq.Workplane(cq.Plane(...
8
24
0.751923
train_a21b72d9a3c3ca1e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.006, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.639).extrude(0.96) result = result.cut(cq.Workplane(cq.Plane(origin=(0.645, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.442, 0.608), (-1.156, 0.375), (-1.156, -0.375...
4
25
1.104921
train_560d7c51bf3fd766
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.578, 0.325).threePointArc((-0.094, 0.323), (0.417, 0.233)).threePointArc((0.815, 0.082), (1, -0.092)).threePointArc((0.905, -0.24), (0.578, -0.325)).threePointArc((0.094, -0.323), (-0.417, -0.233)).threePointArc((-0.815, -0.082), (-1, 0.092)).three...
1
10
0.609616
train_fcc750a52a26e5d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.311, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.56, 0.582).threePointArc((0.633, 0.547), (0.664, 0.462)).lineTo(0.664, -0.083).threePointArc((0.635, -0.161), (0.568, -0.194)).lineTo(0.444, -0.194).threePointArc((0.365, -0.233), (0.332, -...
3
35
2.33527
train_f2e587b38bf7808c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.156, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.995, -0.447).lineTo(0.982, -0.487).lineTo(0.96, -0.525).lineTo(0.93, -0.56).lineTo(0.893, -0.591).lineTo(0.849, -0.618).lineTo(0.8, -0.639).lineTo(0.747, -0.655).lineTo(0.691, -0.665).line...
11
356
0.229247
train_349a7a41c7553984
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.377), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.885).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.885).lineTo(-0.673, 0.885).lineTo(-0.673, 0.308).lineTo(0.673, 0.308).lineTo(0.673, 0.885).lineTo(1, 0.885).close().extrude(0.354, both=Tru...
6
38
0.783176
train_df33bc86cc21d782
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.025, 0, -0.551), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.167, 0.172).lineTo(0.167, -0.172).lineTo(-0.167, -0.172).lineTo(-0.167, 0.172).lineTo(-0.11, 0.172).lineTo(-0.11, -0.121).lineTo(0.11, -0.121).lineTo(0.11, 0.172).lineTo(0.167, 0.172)...
3
70
0.086758
train_c4bf734914e8b427
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.42, 0.229).lineTo(-0.42, -0.105).threePointArc((-0.373, -0.126), (-0.264, -0.135)).lineTo(0.923, -0.135).threePointArc((0.977, -0.14), (1, -0.15)).lineTo(1, -0.232).threePointArc((0.977, -...
1
14
0.315412
train_b0c2520ec9596117
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.006, -0.149), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.013).lineTo(0.184, 0.829).lineTo(0.184, 0.461).lineTo(0.184, -0.276).lineTo(0, -1.013).lineTo(-0.184, -0.276).lineTo(-0.184, 0.461).lineTo(-0.184, 0.829).lineTo(0, 1.013).close().e...
7
49
0.198378
train_841504d4c064e79c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.337, 0.728).threePointArc((0.521, 0.672), (0.6, 0.536)).lineTo(0.6, 0.252).threePointArc((0.643, 0.178), (0.747, 0.145)).lineTo(0.84, 0.145).threePointArc((0.952, 0.111), (0.999, 0.029)).l...
5
98
1.630779
train_5bd4683e433e4226
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.415, -0.149, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.831).threePointArc((0.588, 0.588), (0.831, 0)).lineTo(0.264, 0).threePointArc((0.187, 0.187), (0, 0.264)).lineTo(0, 0.831).close().extrude(2) result = result.union(cq.Workplane(cq...
4
22
1.185029
train_f8b746c00d45fc46
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.24), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.763, 0.178).lineTo(0.831, 0.109).lineTo(0.831, -0.111).lineTo(0.764, -0.178).lineTo(-0.76, -0.178).lineTo(-0.831, -0.107).lineTo(-0.831, 0.117).lineTo(-0.77, 0.178).lineTo(0.763, 0.178).clo...
7
22
0.148415
train_f6d1cbc49c8afbd4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.366, 0, -0.229), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.633).extrude(0.458) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.366, 0, -0.229), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.534).extrude(1.375, both=True)) result = result.u...
13
82
0.370922
train_0795d4f905d92434
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.004, 0.518), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.394, 0.696).threePointArc((-0.227, 0.593), (-0.093, 0.589)).lineTo(0.24, 0.367).threePointArc((0.287, 0.231), (0.514, 0.168)).threePointArc((0.753, 0.089), (0.911, -0.059)).lineTo(0.2...
5
59
1.354127
train_e5f14329e50010b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.179), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.828, -0.128).lineTo(0.985, -0.178).lineTo(0.973, -0.23).lineTo(0.814, -0.201).lineTo(0.774, -0.324).lineTo(0.913, -0.408).lineTo(0.89, -0.456).lineTo(0.743, -0.39).lineTo(0.674, -0.499).li...
2
107
0.865824
train_8d9ca6345f1bdec5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.264, -1.422, 0.47), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.779, 1.35).threePointArc((1.35, 0.779), (0.779, -1.35)).threePointArc((-1.35, -0.779), (-0.779, 1.35)).close().sweep(cq.Workplane(cq.Plane(origin=(0.264, -1.422, 0.47), normal=(0, ...
6
18
3.543646
train_fd6c4521bd3969f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.07, 0.931).threePointArc((0.156, 0.872), (0.193, 0.732)).lineTo(0.193, 0.442).threePointArc((0.217, 0.35), (0.274, 0.311)).lineTo(0.491, 0.311).threePointArc((0.552, 0.269), (0.578, 0....
12
460
0.550244
train_b2c12e5308265982
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.309), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.618).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.618).lineTo(-0.832, 0.618).lineTo(-0.832, 0.168).lineTo(0.832, 0.168).lineTo(0.832, 0.618).lineTo(1, 0.618).close().extrude(0.226, both=Tru...
4
47
0.228956
train_0c2c8dea2122eb7b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.135), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.098, 0.301).lineTo(0.364, 0.034).lineTo(0.364, -0.005).lineTo(0.069, -0.301).lineTo(-0.069, -0.301).lineTo(-0.364, -0.005).lineTo(-0.364, 0.005).lineTo(-0.069, 0.301).lineTo(0.098, 0.301)....
8
53
0.65177
train_940d00dcebf43b04
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.606), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.262, 0.31).threePointArc((0.345, 0.275), (0.379, 0.192)).lineTo(0.379, -0.192).threePointArc((0.345, -0.275), (0.262, -0.31)).lineTo(-0.217, -0.31).threePointArc((-0.3, -0.275), (-0.334, -...
4
39
0.625299
train_e1ec3e6090f385ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.54, -0.903, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 1.896).threePointArc((0.704, 1.605), (1, 0.901)).threePointArc((0.704, 0.201), (0, -0.091)).threePointArc((-0.704, 0.201), (-1, 0.901)).threePointArc((-0.704, 1.605), (0, 1.896)).clos...
22
206
1.264047
train_9e76192dfd5d34b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.011, -0.025, -0.892), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.46, 0.96).threePointArc((0.291, 0.862), (0.984, -0.116)).threePointArc((0.762, -0.766), (0.096, -0.96)).threePointArc((-0.674, -0.533), (-0.984, 0.204)).lineTo(-0.92, 0.558).line...
5
53
3.824911
train_14b5a9e789a40ead
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.022), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.341).lineTo(0.724, 0).lineTo(1, -0.341).lineTo(0.299, -0.341).lineTo(0.299, 0.341).lineTo(1, 0.341).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = re...
13
80
0.928474
train_d741675f231785b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.154, -0.163), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.218, 0.345).lineTo(0.381, 0.182).lineTo(0.381, -0.189).lineTo(0.224, -0.189).lineTo(0.224, -0.345).lineTo(-0.162, -0.345).threePointArc((-0.317, -0.281), (-0.381, -0.126)).lineTo(-0.3...
12
92
0.629023
train_780db80e18d70a3c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.164, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.891, 0.758).threePointArc((0.437, 0.068), (0.622, -0.253)).threePointArc((0.806, -0.573), (0.487, -0.758)).threePointArc((-0.891, 0.154), (0.891, 0.758)).close().extrude(0.321) result ...
11
23
0.830705
train_abdbd2e1f481f5ca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.061, 0.001, -0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.712, 0.324).threePointArc((0.712, 0.579), (-0.552, -0.579)).lineTo(-0.712, 0.324).close().moveTo(0.594, -0.129).lineTo(-0.357, -0.299).threePointArc((0.518, 0.299), (0.594, -0.129)...
19
17
0.435965
train_0496f2245a28f916
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.012, 0, 0.296), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.576, 0.832).lineTo(0.674, 0.5).threePointArc((0.604, 0.323), (0.711, 0.167)).threePointArc((0.702, -0.007), (0.772, -0.167)).lineTo(0.696, -0.5).lineTo(0.576, -0.832).threePointArc((-...
4
41
0.509142