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_fce91f09097fa26e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.714), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.95).lineTo(1, 0.584).lineTo(0.209, 0.584).lineTo(0.209, -0.95).lineTo(-0.209, -0.95).lineTo(-0.209, 0.584).lineTo(-1, 0.584).lineTo(-1, 0.95).lineTo(1, 0.95).close().extrude(1.427) resu...
10
38
1.257548
train_0bc281541b604e3e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.341), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.999).extrude(0.682) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.341), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.822).extrude(2.045, both=True)) result = result.union(cq.Wo...
12
40
1.617693
train_75e29f1cdb67159e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.603, 2).extrude(0.288) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.085, -0.217).lineTo(0.085, -0.783).lineTo(-0.085, -0.783)...
7
34
0.265038
train_ab085b54872082a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.717, 1).lineTo(0.717, -1).lineTo(-0.717, -1).lineTo(-0.717, 1).lineTo(0.717, 1).close().extrude(0.452) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.226), normal=(0, 0, 1), xD...
6
49
0.808349
train_8e56bba1e87dbda2
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.364).lineTo(0.726, 0).lineTo(1, -0.364).lineTo(0.47, -0.364).lineTo(0.47, 0.364).lineTo(1, 0.364).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, ...
4
22
0.76617
train_1fb58072c57b2f86
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.186, 0.024, -0.199), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.244, 0.38).lineTo(0.814, -0.339).lineTo(0.763, -0.38).lineTo(0.681, -0.277).threePointArc((0.446, -0.297), (0.293, 0.001)).lineTo(0.038, 0.217).lineTo(0.244, 0.38).close().revolv...
17
203
0.935418
train_20bdb09f00b1089f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.296), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.466).lineTo(1, -0.247).threePointArc((0.935, -0.401), (0.779, -0.466)).lineTo(-0.843, -0.466).threePointArc((-0.954, -0.421), (-1, -0.311)).lineTo(-1, 0.145).lineTo(-0.678, 0.466).lineT...
5
15
0.754721
train_467d810cfcc74683
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.171, 0.712, 0.474), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.068, 0.259).threePointArc((0.179, 0.209), (0.264, 0.127)).threePointArc((0.308, 0.025), (0.305, -0.08)).threePointArc((0.256, -0.173), (0.168, -0.24)).threePointArc((0.054, -0.27),...
3
87
0.358576
train_5d8ac6f0b65d25ac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.056, -0.345), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.553).lineTo(1, -0.553).lineTo(-0.064, -0.553).lineTo(-0.064, 0.553).lineTo(0.306, 0.553).lineTo(0.306, -0.267).lineTo(0.627, -0.267).threePointArc((0.614, -0.145), (0.704, -0.062))...
18
165
0.697575
train_399320c8bbad7ec2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.033, 0, -0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.378, 1).threePointArc((0.576, 0.91), (0.658, 0.716)).lineTo(0.658, -1).lineTo(-0.313, -1).lineTo(-0.658, -0.65).lineTo(-0.658, 0.79).lineTo(-0.453, 0.79).lineTo(-0.453, 1).lineTo(0.378...
7
34
0.445673
train_2868b0467af18f61
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 1).lineTo(1, -1).lineTo(-1, -1).lineTo(-1, 0.498).lineTo(0, 0.498).lineTo(0, 1).lineTo(1, 1).close().extrude(0.832, taper=13.435, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.705, -0.728, -1.083), normal=(0, 0, 1), xDir=(1, 0, 0)...
18
273
2.934473
train_9f1da683ae55d25b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.146, -0.107, 0.071), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.165, 0.336).threePointArc((-0.049, 0.32), (0, 0.284)).lineTo(0, 0.247).threePointArc((0.043, 0.215), (0.146, 0.201)).lineTo(0.775, 0.201).threePointArc((0.83, 0.194), (0.853, 0.17...
5
64
0.689889
train_0996bc750ea14dc5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.021, -0.076, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.16, 0.745).threePointArc((0.013, 0.844), (0.161, 0.697)).threePointArc((0.327, 0.602), (0.498, 0.508)).lineTo(0.415, 0.165).threePointArc((0.639, 0.105), (0.711, -0.037)).threePo...
12
227
1.889708
train_e58dc5f0024f8fc3
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.871, 0.729).lineTo(0.871, -0.729).lineTo(-0.871, -0.729).lineTo(-0.871, 0.729).lineTo(-0.387, 0.729).lineTo(-0.387, -0.246).lineTo(0.387, -0.246).lineTo(0.387, 0.729).lineTo(0.871, 0.729).clos...
18
44
3.459254
train_7fe97884889730ae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.266), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.902, 0.099).lineTo(1, 0.002).lineTo(1, -0.002).threePointArc((0.971, -0.071), (0.902, -0.099)).lineTo(-0.942, -0.099).threePointArc((-0.982, -0.082), (-1, -0.042)).lineTo(-1, 0.002).threeP...
3
19
0.148427
train_304af636c3b6c469
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.323, 0, -0.255), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.183, 0.783).lineTo(0.183, 0.512).lineTo(0.676, 0.512).lineTo(0.676, 0).lineTo(0, 0).lineTo(0, 0.783).lineTo(0.183, 0.783).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEn...
10
109
0.545331
train_5406aea56c1728c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.083, 0.099, 0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.445, 0.457).lineTo(0.37, 0.234).threePointArc((0.43, 0.113), (0.408, -0.022)).lineTo(0.331, -0.245).lineTo(0.219, -0.457).threePointArc((-0.445, 0.225), (0.445, 0.457)).close().move...
6
90
1.473072
train_7b1d133e5cb79a42
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.728, 0.894, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.789, 1.626).threePointArc((0.931, 1.565), (1, 1.42)).lineTo(1, 0.032).threePointArc((0.931, -0.113), (0.789, -0.174)).lineTo(-0.789, -0.174).threePointArc((-0.931, -0.113), (-1, 0.032)...
11
226
3.212624
train_2ad58545667e2809
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.533, -0.081, -0.55), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.138, 1.073).lineTo(0.138, 0.138).lineTo(1.065, 0.138).lineTo(1.065, 0).lineTo(0, 0).lineTo(0, 1.073).lineTo(0.138, 1.073).close().extrude(0.919, both=True) result = result.cut(cq...
9
62
0.46741
train_336c1ccac57fba28
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.036, 0, -0.449), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.704, 0.361).lineTo(0.934, 0.133).lineTo(0.934, -0.167).lineTo(0.739, -0.361).lineTo(-0.719, -0.361).lineTo(-0.934, -0.147).lineTo(-0.934, 0.129).lineTo(-0.702, 0.361).lineTo(0.704, 0.3...
17
119
0.465885
train_99a18b2a259d4661
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.087, 0.143, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(1, 1.085).threePointArc((0, 0.094), (-1, 1.085)).threePointArc((0, 2.081), (1, 1.085)).close().extrude(0.599) result = result.union(cq.Workplane(cq.Plane(origin=(-1.186, 0.044, -0.127), ...
4
48
1.865958
train_a59316e2f3bb5899
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.937, 0.769).threePointArc((0.981, 0.75), (1, 0.706)).lineTo(1, -0.538).threePointArc((0.931, -0.7), (0.768, -0.769)).lineTo(-0.842, -0.769).threePointArc((-0.953, -0.722), (-1, -0.611)).lin...
7
88
0.675479
train_5d00e14109a08d1f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.087, 0, -0.417), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.42, 0.527).threePointArc((0.459, 0.511), (0.475, 0.47)).lineTo(0.475, -0.449).lineTo(0.397, -0.449).lineTo(0.397, -0.527).lineTo(-0.475, -0.527).lineTo(-0.475, 0.4).lineTo(-0.348, 0.52...
20
125
0.725487
train_a0eac9a1b8aa1e67
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.055, -0.023, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.321, 0.932).lineTo(0.37, 0.806).threePointArc((0.594, 0.733), (0.756, 0.605)).lineTo(0.894, 0.443).threePointArc((0.954, 0.349), (0.98, 0.249)).lineTo(1.048, -0.52).threePointArc((1.0...
6
49
0.580165
train_167f5cd57a3c01cf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.028, 0.041, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.081, 0.272).lineTo(0.07, 0.313).threePointArc((0.125, 0.408), (0.931, -0.184)).threePointArc((0.971, -0.335), (0.765, -0.471)).threePointArc((0.423, -0.401), (0.368, -0.497)).threePoi...
6
30
1.528836
train_4a9423cdbf46e634
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.74, 0.001), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.137, 0.615).lineTo(0.057, 0.478).lineTo(0.158, 0.255).lineTo(0.339, 0.107).threePointArc((0.242, 0.035), (0.123, 0.011)).threePointArc((0.018, -0.044), (-0.1, -0.057)).lineTo(-0.339, ...
5
163
0.43843
train_654044df41859d7b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.64, 0.131, 0.022), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.121, 0.291).lineTo(0.147, 0.157).threePointArc((0.131, 0.087), (0.163, 0.024)).threePointArc((0.17, -0.046), (0.14, -0.11)).threePointArc((0.144, -0.179), (0.121, -0.244)).threePoin...
2
38
0.565773
train_9fec88aa7f6bc09c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.151, 0, -0.225), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.093, 0.45).lineTo(0.093, 0.093).lineTo(0.303, 0.093).lineTo(0.303, 0).lineTo(0, 0).lineTo(0, 0.45).lineTo(0.093, 0.45).close().extrude(1, both=True) result = result.cut(cq.Workplane(...
5
38
0.118437
train_34a1fa22f4e51148
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.415, -0.146, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.829).threePointArc((0.586, 0.586), (0.829, 0)).lineTo(0.256, 0).threePointArc((0.181, 0.181), (0, 0.256)).lineTo(0, 0.829).close().extrude(2) result = result.union(cq.Workplane(cq...
4
19
1.14055
train_cf39b43ea1cc0f55
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.486, -0.319, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.97).threePointArc((0.69, 0.69), (0.97, 0)).lineTo(0.356, 0).threePointArc((0.251, 0.251), (0, 0.356)).lineTo(0, 0.97).close().extrude(2) result = result.union(cq.Workplane(cq.Plan...
12
188
1.375987
train_60de5e931d16f3a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, -0.064, -0.116), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.353, 0.895).lineTo(0.53, 0.473).lineTo(0.16, -0.301).lineTo(-0.21, -0.124).lineTo(-0.018, 0.28).lineTo(-0.53, 0.524).lineTo(-0.353, 0.895).close().extrude(1.349) result = result.fac...
4
41
0.630723
train_a76054b93f879ea8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.356), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.024).extrude(0.712) result = result.cut(cq.Workplane(cq.Plane(origin=(1.024, 0, -0.356), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.301, 0.723), (-1.024, 1.024), (-1.747, 0...
5
63
0.901704
train_c3336d1331f68835
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.082, 0.086, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.919, -0.347).lineTo(-0.159, -0.638).threePointArc((-0.31, -0.752), (-0.896, 0.126)).lineTo(-0.746, 0.24).lineTo(-0.919, 0.638).lineTo(-0.095, -0.324).lineTo(0.832, -0.148).close().extru...
9
65
0.512721
train_5fbf8b539619dabf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.636, 0.989).lineTo(0.636, -0.973).lineTo(0.608, -1).lineTo(-0.636, -1).lineTo(-0.636, 0.989).lineTo(-0.624, 0.989).lineTo(-0.624, 1).lineTo(0.626, 1).threePointArc((0.633, 0.996), (0.636, ...
15
208
0.299885
train_bf2eb2f0f8513d57
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.107, 0.077, 0.097), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.172, 0.26).threePointArc((0.231, 0.236), (0.255, 0.177)).lineTo(0.255, -0.088).threePointArc((0.231, -0.146), (0.172, -0.171)).lineTo(-0.133, -0.171).threePointArc((-0.191, -0.146),...
7
116
0.582279
train_d6ca11aaa4c5fc17
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.513, 0.586), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.374).threePointArc((0.265, 0.265), (0.374, 0)).threePointArc((0.265, -0.265), (0, -0.374)).threePointArc((-0.265, -0.265), (-0.374, 0)).threePointArc((-0.265, 0.265), (0, 0.374)).c...
11
261
0.282425
train_cf087240efb91e6c
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.437, 0.845).threePointArc((0.49, 0.808), (0.513, 0.721)).lineTo(0.513, 0.431).threePointArc((0.539, 0.326), (0.603, 0.282)).lineTo(0.787, 0.282).threePointArc((0.834, 0.249), (0.854, 0.171)).lineTo(0.854, -0.626).threePointArc((0.815, -0.78), (0.722...
9
77
3.501843
train_1d231110f58b87f5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.206, -0.188, -0.478), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.736, 0.616).threePointArc((0.77, 0.606), (0.784, 0.583)).lineTo(0.784, -0.423).threePointArc((0.701, -0.558), (0.503, -0.616)).lineTo(-0.575, -0.616).threePointArc((-0.722, -0.573...
15
99
0.921606
train_9126040fbc3d97ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.042, 0.178, 0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.166, 0.02).threePointArc((-0.146, 0.113), (-0.222, 0.165)).threePointArc((-0.662, -0.044), (-0.75, -0.051)).threePointArc((-0.886, 0.099), (-0.796, 0.314)).threePointArc((0.217, 0...
7
64
0.430265
train_e1ce4558336da7ff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.093, 0.081, -0.116), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.689, 0.537).threePointArc((0.983, 0.253), (0.983, -0.537)).lineTo(-0.983, -0.537).lineTo(-0.983, 0.253).lineTo(-0.885, 0.537).lineTo(-0.787, 0.537).lineTo(-0.59, 0.253).lineTo(-0....
14
188
1.100108
train_9eb5700b4273236f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.983), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.161, 0).threePointArc((0.144, -0.017), (0.127, 0)).threePointArc((0.144, 0.017), (0.161, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0, 0, -0.983), normal=(0, 0, 1), xDir=(1, 0, 0)))....
3
16
0.015877
train_c5d9a2fb62276230
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.031, -0.195), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.774, 0.31).lineTo(0.912, 0.161).lineTo(1, 0.109).lineTo(1, 0).lineTo(0.943, 0).lineTo(0.943, 0.093).lineTo(0.843, 0.161).lineTo(0, 0.262).lineTo(0, 0.31).lineTo(0.774, 0.31).close().r...
11
93
0.297464
train_f3163868ec7a37ca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.846, -0.758, 0.283), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.019, 0.833).threePointArc((0.143, 0.794), (0.246, 0.682)).threePointArc((0.311, 0.518), (0.329, 0.327)).threePointArc((0.297, 0.136), (0.219, -0.023)).threePointArc((0.109, -0.126...
7
94
1.708401
train_430e8cfe17ec0806
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.364, 0, -0.206), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.635, 0.334).lineTo(0.635, -0.268).threePointArc((0.615, -0.315), (0.57, -0.334)).lineTo(-0.569, -0.334).lineTo(-0.635, -0.267).lineTo(-0.635, 0.334).lineTo(0.635, 0.334).close().extru...
11
117
0.238711
train_cf66410b2ce3708b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.097, 0.089, 0.334), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.298, 0.638).threePointArc((-0.242, 0.621), (-0.218, 0.58)).lineTo(-0.218, 0.431).threePointArc((-0.173, 0.352), (-0.066, 0.319)).lineTo(0.104, 0.319).threePointArc((0.184, 0.294), ...
22
206
1.64766
train_f5442c311c835acf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.162, -1, -0.075), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.157, 0.162).lineTo(0.151, 0.134).lineTo(0.206, 0.108).lineTo(0.187, 0.069).lineTo(0.133, 0.096).lineTo(0.115, 0.073).lineTo(0.153, 0.026).lineTo(0.119, -0.001).lineTo(0.081, 0.047).li...
11
318
0.460877
train_68784f382fe0a942
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.207, 0, -0.534), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.561, 0.645).threePointArc((1.206, 0), (0.561, -0.645)).lineTo(-0.561, -0.645).threePointArc((-1.206, 0), (-0.561, 0.645)).lineTo(0.561, 0.645).close().extrude(1.068) result = result.cu...
20
186
1.484191
train_412a9a11da0d2477
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(0.718, -0.071).lineTo(0.699, -0.179).lineTo(0.966, -0.269).lineTo(0.913, -0.415).lineTo(0.65, -0.312).lineTo(0.596, -0.407).lineTo(0.816, -0.583).lineTo(0.716, -0.702).lineTo(0.504, -0.516)....
1
74
0.814678
train_0e78196df4b731d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.751, 0.865, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.426, 1.643).threePointArc((1.513, 1.507), (1.668, 0.963)).threePointArc((1.857, 0.665), (1.837, 0.262)).lineTo(1.77, 0.213).threePointArc((1.202, 0.144), (0.914, -0.281)).threePoin...
7
51
1.111614
train_54554c75a6994f23
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.014, 0, -0.15), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.569, 0.167).lineTo(0.569, 0).lineTo(-0.569, 0).lineTo(-0.569, 0.167).lineTo(-0.411, 0.167).lineTo(-0.411, 0.158).lineTo(0.411, 0.158).lineTo(0.411, 0.167).lineTo(0.569, 0.167).close()...
8
99
0.0773
train_871e95f2a6113a47
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.397), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.893, 0.537).lineTo(1, 0.43).lineTo(1, -0.537).lineTo(-0.931, -0.537).threePointArc((-0.978, -0.516), (-1, -0.468)).lineTo(-1, 0.475).threePointArc((-0.981, 0.519), (-0.937, 0.537)).lineTo(...
5
15
1.567911
train_fe869f35a7ba13be
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.074, 0, -0.388), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.64, 1).lineTo(-0.64, -0.4).lineTo(1.509, -0.4).lineTo(1.509, -1).lineTo(-1.509, -1).lineTo(-1.509, 1).lineTo(-0.64, 1).close().extrude(0.775) result = result.cut(cq.Workplane(cq.Plane...
11
10
1.344233
train_5b1868a24b6b0e2f
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.65, 0.999).threePointArc((0.837, 0.937), (0.916, 0.792)).lineTo(0.916, 0.379).threePointArc((0.826, 0.213), (0.613, 0.143)).lineTo(-0.478, 0.143).threePointArc((-0.528, 0.126), (-0.549, 0....
5
49
0.479611
train_241aa5454bef8c37
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.857, 0.628).workplane(offset=2).rect(1.449, 0.366).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.506), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.213).extrude(1.88, both=Tru...
4
20
0.608953
train_ff26f0251fb4fda2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.648, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.325, 1.383).lineTo(0.75, 0.938).lineTo(0.735, 0.323).lineTo(0.29, -0.102).lineTo(-0.325, -0.088).lineTo(-0.75, 0.357).lineTo(-0.735, 0.972).lineTo(-0.29, 1.397).lineTo(0.325, 1.383).close...
22
100
2.786241
train_9d282b5a703a6c50
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.845).extrude(0.695) result = result.cut(cq.Workplane(cq.Plane(origin=(0.846, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.134, 0.457), (-0.493, 0.77), (-0.966, 0.837)...
10
75
1.819472
train_0871464bca27a263
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.416, -0.095, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.06, 0.538).threePointArc((-0.018, 0.522), (0, 0.483)).lineTo(0, 0.357).threePointArc((0.028, 0.295), (0.095, 0.269)).lineTo(0.205, 0.269).threePointArc((0.266, 0.245), (0.292, 0....
13
122
0.821749
train_cb84bf9dfdd3026b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.618, -0.999, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.556, 0.362).threePointArc((0.425, 0.045), (0.108, -0.086)).lineTo(-0.151, -0.086).threePointArc((-0.468, 0.045), (-0.599, 0.362)).lineTo(-0.599, 0.873).threePointArc((-0.468, 1.19), (...
22
339
2.703748
train_17fef714b39ecdeb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.348, -0.156, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.697).threePointArc((0.492, 0.492), (0.697, 0)).lineTo(0.201, 0).threePointArc((0.142, 0.142), (0, 0.201)).lineTo(0, 0.697).close().extrude(2) result = result.union(cq.Workplane(cq...
10
68
0.878051
train_447e1d21e12ff129
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.318), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.856, 0.466).lineTo(1, 0.33).lineTo(1, -0.382).threePointArc((0.967, -0.441), (0.909, -0.466)).lineTo(-0.882, -0.466).threePointArc((-0.96, -0.434), (-1, -0.356)).lineTo(-1, 0.341).lineTo(-...
15
49
1.02416
train_986822152e9e4679
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.594), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.935, 0.295).workplane(offset=1.187).rect(2, 0.217).loft() result = result.edges(cq.selectors.NearestToPointSelector((1, 0, 0.593))).chamfer(0.052) final_result = result
2
7
0.437446
train_d5aca620e063baf9
import cadquery as cq import math result = cq.Workplane('XY').box(1.961, 1.302, 2) result = result.edges().fillet(0.142) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.452, 0.452, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.13, 0.924).threePointArc((0.128, 0.8), (0.332, 0.596)).threePointArc((0.516, 0.227),...
9
61
2.689469
train_d356c530bc51f775
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.808, -1.401, -0.077), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.38, 2.388).threePointArc((-0.045, 2.337), (0.222, 2.236)).threePointArc((0.57, 2.235), (0.691, 1.893)).lineTo(0.755, 1.406).lineTo(0.674, 1.191).lineTo(0.713, 0.913).lineTo(0.28...
7
64
1.388576
train_de08425795e7d1b1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(2.386, 0.876, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(2.963, 0.383).lineTo(3.033, 0.275).threePointArc((3.033, 0.263), (3.018, 0.251)).lineTo(2.847, 0.173).threePointArc((2.815, 0.162), (2.774, 0.153)).lineTo(-1.744, -0.528).threePointArc((-...
14
81
3.721318
train_6d46ac26adc4bfc0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.201, 0.126, -0.161), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.131, 0.872).threePointArc((-0.039, 0.841), (0, 0.769)).lineTo(0, 0.515).threePointArc((0.085, 0.358), (0.287, 0.291)).lineTo(0.503, 0.291).threePointArc((0.67, 0.236), (0.741, 0.1...
5
130
0.382865
train_9732ea072f893839
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.003, 0, -0.112), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.392, 0.931).threePointArc((0.465, 0.873), (0.496, 0.736)).lineTo(0.496, 0.188).threePointArc((0.526, 0.056), (0.595, 0)).lineTo(0.9, 0).threePointArc((0.964, -0.05), (0.991, -0.17)).li...
6
1,135
0.624024
train_7c78b761a03a3324
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.856, 0.6).threePointArc((0.957, 0.557), (1, 0.456)).lineTo(1, -0.378).threePointArc((0.934, -0.534), (0.778, -0.6)).lineTo(-0.89, -0.6).threePointArc((-0.967, -0.567), (-1, -0.49)).lineTo(-1, -0.319).threePointArc((-0.965, -0.235), (-0.881, -0.2)).l...
5
50
1.485791
train_327d4ede5ec8018b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.224, -0.247, -0.084), normal=(0.612, 0.517, 0.599), xDir=(-0.645, 0.764, 0))).moveTo(0.331, 0.58).lineTo(0.331, -0.58).threePointArc((-0.331, 0), (0.331, 0.58)).close().extrude(1.027, both=False) result = result.union(cq.Workplane(cq.Plane(orig...
10
120
0.841007
train_67976fae4b1e8713
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.891, 0.771).threePointArc((0.947, 0.746), (0.971, 0.687)).lineTo(0.971, 0.452).threePointArc((0.916, 0.315), (0.787, 0.257)).lineTo(0.582, 0.257).threePointArc((0.514, 0.227), (0.486, 0.15...
3
80
0.488719
train_dd6c56bb8076bf37
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.485, 0.082, -0.257), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.126, 0.301).threePointArc((0.126, 0.301), (0.254, 0.081)).threePointArc((0.126, -0.138), (-0.126, -0.138)).threePointArc((-0.254, 0.081), (-0.126, 0.301)).close().revolve(angleDe...
5
55
0.459971
train_d773c3d51b6c5acd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.288, 0.029, -0.424), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.369, 0.783).lineTo(0.335, 0.398).lineTo(0.553, -0.607).threePointArc((0.474, -0.783), (0.171, -0.705)).lineTo(-0.01, 0.181).lineTo(-0.49, 0.466).threePointArc((-0.553, 0.66), (-0....
17
210
1.110356
train_b5d1c4ee6942d1f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.259, 0, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.53, 0.215).threePointArc((0.679, 0.154), (0.74, 0.004)).lineTo(0.74, -0.013).threePointArc((0.681, -0.156), (0.538, -0.215)).lineTo(-0.53, -0.215).threePointArc((-0.679, -0.154), (-0.7...
12
73
0.147385
train_3d53f0d26a9ee813
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.427, -0.5), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.012, 0.573).lineTo(0.168, 0.515).lineTo(0.266, 0.361).lineTo(0.234, 0.189).lineTo(0.132, 0.033).lineTo(-0.05, 0.068).lineTo(-0.191, 0.154).lineTo(-0.266, 0.32).lineTo(-0.166, 0.474).lin...
9
22
0.416528
train_14d97c5a9901d8e6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.68, 0.752).threePointArc((0.904, 0.657), (1, 0.432)).lineTo(1, -0.427).threePointArc((0.904, -0.657), (0.675, -0.752)).lineTo(-0.629, -0.752).threePointArc((-0.889, -0.642), (-1, -0.38)).l...
8
28
1.02506
train_9974c0c4ea7d424a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.018, 0.234, 0.058), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.634, 0.627).lineTo(0.764, -0.022).threePointArc((0.78, -0.066), (0.808, -0.104)).lineTo(0.888, -0.184).threePointArc((0.901, -0.209), (0.888, -0.234)).lineTo(0.774, -0.348).threePo...
4
39
0.720192
train_c315c93803044ae0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.169), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.696, 1).threePointArc((0.795, 0.951), (0.832, 0.852)).lineTo(0.832, -0.893).lineTo(0.737, -1).lineTo(-0.634, -1).threePointArc((-0.777, -0.934), (-0.832, -0.794)).lineTo(-0.832, 0.86).line...
7
46
0.806483
train_72f586e7f5a07386
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.902, 0.508).threePointArc((0.965, 0.481), (1, 0.418)).lineTo(1, -0.426).threePointArc((0.968, -0.484), (0.91, -0.508)).lineTo(-0.83, -0.508).threePointArc((-0.944, -0.46), (-1, -0.346)).li...
19
119
0.216162
train_c8e203b417873a3d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.826), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.512, 0.33).threePointArc((1, 0), (0.512, -0.33)).lineTo(-0.512, -0.33).threePointArc((-1, 0), (-0.512, 0.33)).lineTo(0.512, 0.33).close().extrude(0.239) result = result.cut(cq.Workplane(cq...
11
61
0.311901
train_06b1dedc7e2ccc1f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.886), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.095).lineTo(1, -0.118).lineTo(-1, -0.118).lineTo(-1, 0.095).threePointArc((-0.747, 0.07), (-0.498, 0.095)).threePointArc((-0.249, 0.118), (0, 0.095)).threePointArc((0.249, 0.07), (0.498...
5
10
0.813688
train_41d9925cabe39037
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.111, 0.222).lineTo(0.111, 0.111).lineTo(0.222, 0.111).lineTo(0.222, 0).lineTo(0.111, 0).lineTo(0.111, -0.222).lineTo(0, -0.222).lineTo(0, -0.111).lineTo(-0.222, -0.111).lineTo(-0.222, 0).lineT...
13
14
0.172494
train_d5ffea97a7480870
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.396), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.796, -0.094).lineTo(0.989, -0.144).lineTo(0.971, -0.242).lineTo(0.773, -0.207).lineTo(0.743, -0.296).lineTo(0.92, -0.395).lineTo(0.875, -0.485).lineTo(0.693, -0.401).lineTo(0.642, -0.48).l...
3
105
1.961119
train_64c4f252074f1637
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.318, 0.885).threePointArc((0.44, 0.839), (0.492, 0.729)).lineTo(0.492, 0.596).threePointArc((0.542, 0.488), (0.66, 0.443)).lineTo(0.836, 0.443).threePointArc((0.939, 0.404), (0.983, 0.311)).lineTo(0.983, 0.135).threePointArc((0.938, 0.04), (0.832, 0...
10
514
0.758463
train_678033a5a33f73e3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.022, -0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.498, 0.329).lineTo(0.498, 0.228).threePointArc((0.538, 0.194), (0.631, 0.179)).lineTo(0.881, 0.179).threePointArc((0.959, 0.167), (1, 0.139)).lineTo(1, -0.139).threePointArc((0.959, -0....
16
82
0.155988
train_b277b15821b465cf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.066, 0.571, -0.454), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.429, 0).threePointArc((0, -0.429), (-0.429, 0)).threePointArc((0, 0.429), (0.429, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.066, 0.571, -0.454), normal=(0, -1, 0), xDir=(...
5
78
0.207212
train_7929accf34f4f361
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.611, 0, -0.558), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.196, 1.116).lineTo(0.196, 0.196).lineTo(1.221, 0.196).lineTo(1.221, 0).lineTo(0, 0).lineTo(0, 1.116).lineTo(0.196, 1.116).close().extrude(1, both=True) result = result.cut(cq.Workpla...
4
17
0.872893
train_ccb3453d0c179d42
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.193, -0.032, 0.153), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.189, 0.968).threePointArc((0.415, 0.79), (0.529, 0.4)).threePointArc((0.502, -0.098), (0.341, -0.569)).threePointArc((0.088, -0.887), (-0.189, -0.968)).threePointArc((-0.415, -0.7...
6
69
2.863974
train_5183760c8577c8e6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.315, 0.226, -0.577), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.228, 0.203).lineTo(0.228, 0.154).threePointArc((0.26, 0.14), (0.335, 0.134)).lineTo(0.611, 0.134).threePointArc((0.662, 0.129), (0.684, 0.119)).lineTo(0.684, 0.069).threePointArc((...
29
160
1.176689
train_f3c2ce0131ba3afd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.033, -1, 0.087), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.099, 0.195).lineTo(0.099, 0).lineTo(-0.099, 0).lineTo(-0.099, 0.033).lineTo(-0.066, 0.033).lineTo(-0.066, 0.065).lineTo(-0.033, 0.065).lineTo(-0.033, 0.098).lineTo(0, 0.098).lineTo(0,...
6
45
0.088736
train_a35fa203b960ed0c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.265, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.547, 0.585).lineTo(-0.547, -0.307).threePointArc((-0.477, -0.38), (-0.312, -0.41)).lineTo(0.926, -0.41).threePointArc((0.978, -0.42), (1, -0.443)).lineTo(1, -0.58).threePointArc((0.98...
17
199
0.850404
train_18a6d640f6b50e3e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.193, -0.065, -0.435), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.187, 0.935).lineTo(0.187, 0.562).lineTo(0.562, 0.562).lineTo(0.562, 0.187).lineTo(0.187, 0.187).lineTo(0.187, -0.935).lineTo(-0.562, -0.935).lineTo(-0.562, -0.562).lineTo(-0.187, ...
27
416
0.806066
train_2c17571c0b69b8c7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.147, 0, 0.222), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.345, 0.182).lineTo(0.419, 0.082).lineTo(0.452, 0.082).lineTo(0.541, 0.132).lineTo(0.574, 0.136).threePointArc((0.699, 0.009), (0.8, 0.041)).lineTo(0.852, -0.012).lineTo(0.808, -0.174)...
8
147
0.653561
train_1a11ec2c5966d535
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.63, 0.493).threePointArc((0.791, 0.441), (0.859, 0.317)).lineTo(0.859, -0.227).threePointArc((0.756, -0.414), (0.512, -0.493)).lineTo(-0.706, -0.493).threePointArc((-0.814, -0.458), (-0.859, -0.376)).lineTo(-0.859, -0.263).threePointArc((-0.821, -0....
4
50
2.919994
train_8073d9316aed695f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.014, -0.039, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.044, 0.184).lineTo(-0.04, 0.014).threePointArc((-0.034, -0.009), (0.034, -0.005)).lineTo(0.126, 0.168).threePointArc((0.281, 0.092), (0.356, -0.025)).lineTo(0.059, -0.025).threePo...
16
241
0.366642
train_813e42210bbb4144
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.011, 0.016, -0.267), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.01, 0.533).lineTo(1.01, 0.415).lineTo(0.687, 0.415).lineTo(0.687, 0).lineTo(0, 0).lineTo(0, 0.533).lineTo(1.01, 0.533).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisE...
7
61
0.767406
train_7da033347df07dae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -37.428), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.754, 0.659).threePointArc((0.925, 0.548), (0.997, 0.284)).lineTo(0.997, -0.448).threePointArc((0.957, -0.596), (0.861, -0.659)).lineTo(-0.96, -0.659).threePointArc((-0.986, -0.642), ...
4
57
2.265374
train_901adc2eb65b1c8e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.333), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.941).lineTo(1, -0.935).threePointArc((0.988, -0.96), (0.963, -0.971)).lineTo(-0.969, -0.971).threePointArc((-0.99, -0.963), (-1, -0.941)).lineTo(-1, 0.931).threePointArc((-0.987, 0.959)...
7
27
0.973899
train_1f4f8c3390f84b57
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.112, 0.005, 0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.641, 0.218).threePointArc((-0.551, 0.206), (-0.513, 0.177)).lineTo(-0.513, 0.134).threePointArc((-0.489, 0.116), (-0.434, 0.109)).lineTo(-0.268, 0.109).threePointArc((-0.2, 0.1), (...
6
108
0.171311
train_dfc5180fcb7fc153
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.129, -0.302), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.499, 0.778).threePointArc((0.568, 0.76), (0.597, 0.714)).lineTo(0.597, 0.338).threePointArc((0.633, 0.283), (0.719, 0.26)).lineTo(0.84, 0.26).threePointArc((0.947, 0.23), (1, 0.161)).l...
7
26
0.397103
train_fb80705f95d5dd3f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.295, -0.134), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.024, 0.459).threePointArc((0.096, 0.432), (0.145, 0.373)).threePointArc((0.185, 0.318), (0.245, 0.278)).threePointArc((0.326, 0.226), (0.378, 0.142)).threePointArc((0.351, 0.052), (0....
5
56
0.696225
train_43bda349b972468f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.307), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.562, 0.794).lineTo(-0.562, -0.356).lineTo(1, -0.356).lineTo(1, -0.794).lineTo(-1, -0.794).lineTo(-1, 0.794).lineTo(-0.562, 0.794).close().extrude(0.615) result = result.edges().chamfer(0....
5
79
0.409982