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_64e169093840fb2b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.04, -0.199), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.183, 0.53).lineTo(1, 0.442).lineTo(-0.75, -0.409).lineTo(-1, -0.53).lineTo(-0.817, 0.044).lineTo(-0.567, 0.166).lineTo(0.183, 0.53).close().extrude(0.443) result = result.cut(cq.Workpl...
9
276
0.343984
train_58e6ec2b3db14e59
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.068, 0.351, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.088, 0.028).threePointArc((0.115, 0), (0.088, -0.028)).lineTo(0.029, -0.028).lineTo(-0.029, -0.028).lineTo(-0.088, -0.028).threePointArc((-0.115, 0), (-0.088, 0.028)).lineTo(-0.029, 0...
12
78
0.294146
train_7bc4b2f37037b778
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.216, 0.464, -0.045), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.649, 1.016).threePointArc((0.756, 0.501), (0.42, -0.029)).threePointArc((-0.162, -0.262), (-0.649, -0.064)).threePointArc((-0.756, 0.452), (-0.42, 0.981)).threePointArc((0.162, 1....
18
14
0.731314
train_a88cad0f6123bfe5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.42, -0.088, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.035, 0.345).lineTo(0.16, 0.231).lineTo(0.035, 0.018).lineTo(-0.024, 0.052).lineTo(0.059, 0.193).lineTo(-0.018, 0.238).lineTo(-0.101, 0.097).lineTo(-0.16, 0.132).lineTo(-0.035, 0.345)....
13
60
0.110305
train_46d4172c9d47b37a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.329, 0.626, -0.5), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.08, 0.374).lineTo(0.352, 0.181).lineTo(0.369, -0.153).lineTo(0.12, -0.374).lineTo(-0.209, -0.318).lineTo(-0.369, -0.025).lineTo(-0.241, 0.283).lineTo(0.08, 0.374).close().revolve(a...
6
44
1.487754
train_59c3af85da488c5f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.261), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.384, 0.287).lineTo(0.384, 0).lineTo(-0.384, 0).lineTo(-0.384, 0.287).lineTo(-0.228, 0.287).lineTo(-0.228, 0.156).lineTo(0.228, 0.156).lineTo(0.228, 0.287).lineTo(0.384, 0.287).close().ext...
7
77
0.318283
train_489c8edfe3a39df6
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.508, 0.987).lineTo(-0.444, 0.916).lineTo(-0.63, 0.468).lineTo(0.054, 0.216).lineTo(-0.088, 0.061).lineTo(-0.025, 0.015).lineTo(0.702, 0.542).lineTo(0.985, 0.386).lineTo(0.143, -0.225).lineTo(...
5
58
2.890518
train_ec77fa1e3e0fbe6b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.035, -0.56), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.004, 0.221).lineTo(0.197, 0.03).lineTo(0.197, -0.03).lineTo(0.004, -0.221).lineTo(-0.055, -0.221).lineTo(-0.197, -0.08).lineTo(-0.197, 0.106).lineTo(-0.08, 0.221).lineTo(0.004, 0.221)....
14
128
0.090164
train_04ac6bb77ffd86f3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.305, -0.154, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.278, -0.217).lineTo(1.525, -0.294).lineTo(1.516, -0.338).lineTo(1.263, -0.288).lineTo(1.197, -0.496).lineTo(1.422, -0.627).lineTo(1.402, -0.666).lineTo(1.167, -0.561).lineTo(1.056, -...
9
110
0.636394
train_9596c11f2cb35bcb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.045, 0.108).threePointArc((0.051, 0.111), (0.151, 0.037)).lineTo(0.156, 0.027).lineTo(0.061, -0.063).lineTo(0.068, -0.075).lineTo(0.07, -0.091).threePointArc((0.01, -0.111), (0.021, -0.055...
2
122
0.094949
train_1e859558bf652e00
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, -0.466, 0.023), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.238, -0.002).threePointArc((0.327, -0.074), (0.333, -0.154)).lineTo(0.296, -0.282).lineTo(0.214, -0.492).lineTo(-0.016, -0.332).lineTo(-0.172, -0.53).threePointArc((-0.207, -0.492...
3
170
1.613249
train_f3afae28d400e7c0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.203, -0.301), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.132, 0).threePointArc((0, -0.132), (-0.132, 0)).threePointArc((0, 0.132), (0.132, 0)).close().extrude(1.187, taper=-11.831) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.259, 0....
13
104
0.498726
train_8b1724eb63aa8a08
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.064, 0.197).threePointArc((0.164, 0.17), (0.197, 0.091)).threePointArc((0.161, -0.045), (0.044, -0.181)).threePointArc((-0.061, -0.197), (-0.145, -0.152)).threePointArc((-0.197, -0.031), (-0.1...
3
15
0.240415
train_44572ecc10035a6e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.119, 0.759, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.038, 0.213).threePointArc((0.207, -0.169), (-0.207, -0.213)).lineTo(0.038, 0.213).close().workplane(offset=0.213).moveTo(0.123, 0.193).threePointArc((0.792, -0...
19
318
0.545286
train_b2dde4b2ac30a9be
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.09, 0, 0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.573, 0.635).lineTo(0.665, 0.509).lineTo(0.604, 0.358).lineTo(0.256, 0.082).lineTo(0.24, -0.044).lineTo(0.378, -0.145).lineTo(0.822, -0.333).lineTo(0.907, -0.434).lineTo(0.809, -0.547).l...
19
209
0.767453
train_50da531b39cbe7d4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.104, 0.366, 0.063), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.041, 0.63).lineTo(0.397, 0.363).lineTo(0.547, 0.006).lineTo(0.423, -0.379).lineTo(0.037, -0.63).lineTo(-0.395, -0.424).lineTo(-0.547, 0.009).lineTo(-0.316, 0.363).lineTo(0.041, 0....
20
199
0.495222
train_84e02d2658ad9d20
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.353, 0.064, -0.345), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.026, 0.21).lineTo(0.092, 0.144).lineTo(0.169, 0.058).lineTo(0.166, 0.035).threePointArc((0.159, 0.027), (0.156, 0.017)).threePointArc((0.144, 0.007), (0.128, 0.011)).lineTo(0.12...
9
116
0.50806
train_088b1cc217c683e9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.112, 0.01, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.095, 0.694).threePointArc((0.852, -0.555), (-0.284, -0.417)).lineTo(-0.757, -0.417).threePointArc((-0.852, -0.278), (-0.757, 0)).lineTo(-0.189, 0).lineTo(-0.095, -0.139).threePointArc((...
4
41
0.315084
train_293a86c6fd4018f0
import cadquery as cq import math result = cq.Workplane('XY').box(1.678, 1.068, 2) result = result.edges().fillet(0.172) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.322).extrude(3.355, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
6
35
2.227774
train_06d694a42a2db47e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.141), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.81, 0.281).lineTo(0.912, 0.193).lineTo(1, 0.098).lineTo(1, 0).lineTo(0.882, 0).lineTo(0.882, 0.085).lineTo(0.786, 0.193).lineTo(0, 0.171).lineTo(0, 0.281).lineTo(0.81, 0.281).close().revo...
9
104
0.276281
train_e86993ad408fd5aa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.118, 0.133, -0.025), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.644, 0.827).lineTo(0.201, 0.513).threePointArc((0.288, 0.41), (0.053, 0.237)).lineTo(-0.585, 0.453).lineTo(-0.585, -0.599).lineTo(0.756, -0.599).threePointArc((0.924, -0.695), (0....
8
152
0.838568
train_365188b602130b34
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.191, 0.112, -0.023), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.058, 0.743).threePointArc((0.743, 0.058), (0.058, -0.743)).threePointArc((-0.743, -0.058), (-0.058, 0.743)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.191, 0.112, -0.023), no...
2
8
2.221158
train_e8773a3571ab7ba3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.163, -0.11, -0.308), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.793, 0.733).threePointArc((0.824, 0.722), (0.836, 0.696)).lineTo(0.836, 0.503).threePointArc((0.815, 0.459), (0.764, 0.44)).lineTo(-0.431, 0.44).threePointArc((-0.481, 0.421), (-0...
12
118
2.057795
train_d1d3b69a46965379
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.078, -0.003, -0.611), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.092, 0.017).threePointArc((0.111, 0.017), (0.121, 0)).threePointArc((0.111, -0.017), (0.092, -0.017)).threePointArc((0.082, 0), (0.092, 0.017)).close().sweep(cq.Workplane(cq.Pla...
13
72
0.047871
train_d4a1e49a67054e8d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.09, 0.077, -0.176), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.2, 0.682).threePointArc((0.379, 0.606), (0.455, 0.427)).lineTo(0.455, -0.144).threePointArc((0.48, -0.203), (0.538, -0.227)).lineTo(0.783, -0.227).threePointArc((0.872, -0.265), (0....
10
90
0.29878
train_9169f34569d0f94f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.902).lineTo(1, -0.896).threePointArc((0.991, -0.917), (0.971, -0.926)).lineTo(-0.983, -0.926).threePointArc((-0.994, -0.921), (-1, -0.909)).lineTo(-1, 0.901).lineTo(-0.974, 0.926).lineT...
3
20
0.854927
train_f8f804f3c38788c8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.551, -0.393, -0.168), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.167, 0.279).lineTo(0.167, 0.167).lineTo(1.102, 0.167).lineTo(1.102, 0).lineTo(0, 0).lineTo(0, 0.279).lineTo(0.167, 0.279).close().extrude(0.607, both=True) result = result.cut(c...
9
60
0.365856
train_b28cd66a1b842ad2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1.217, -0.198), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 2.216).threePointArc((0.707, 1.923), (1, 1.216)).threePointArc((0.707, 0.511), (0, 0.218)).threePointArc((-0.707, 0.511), (-1, 1.216)).threePointArc((-0.707, 1.923), (0, 2.216)).clos...
21
817
1.634974
train_8cbc51673b3856ef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.124, 0.704, -0.738), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.206, 0.189).threePointArc((0.228, 0.18), (0.237, 0.158)).lineTo(0.237, -0.13).threePointArc((0.219, -0.171), (0.178, -0.189)).lineTo(0.006, -0.189).threePointArc((-0.009, -0.182),...
15
183
0.710441
train_3005b4c2ffd94c45
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.231, 1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.654, 0.091).lineTo(0.599, -0.079).lineTo(0.868, -0.287).lineTo(0.74, -0.462).lineTo(0.459, -0.271).lineTo(0.315, -0.376).lineTo(0.41, -0.702).lineTo(0.204, -0.769).lineTo(0.089, -0.449).li...
1
42
3.426437
train_9b4273b90c3097d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.358, 0.055, 0.142), normal=(-0.017, 0.998, -0.066), xDir=(-1, -0.017, 0))).moveTo(0.36, 0.438).lineTo(0.38, 0.023).lineTo(0.324, -0.173).lineTo(0.379, -0.438).lineTo(0.073, -0.371).lineTo(-0.126, -0.298).threePointArc((-0.307, -0.182), (-0.38, ...
9
75
1.177204
train_1d68a56954cbccd8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.006, 0.001, -0.212), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.632, 0.999).threePointArc((0.922, 0.838), (0.954, 0.589)).lineTo(-0.281, -0.983).threePointArc((-0.306, -0.999), (-0.34, -0.994)).lineTo(-0.923, -0.764).threePointArc((-0.954, -0....
17
8
0.576244
train_0b40b5a99fb8eebd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.174, 0.568, -0.681), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.495, 0.292).lineTo(0.537, 0.25).lineTo(0.537, 0.133).lineTo(0.573, 0.097).lineTo(0.688, 0.097).lineTo(0.732, 0.054).lineTo(0.732, -0.199).lineTo(0.638, -0.292).lineTo(0.394, -0.29...
22
480
1.375875
train_b9ad3248b39f8665
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.031, -0.744, -0.992), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.208, 0.047).threePointArc((0.249, 0.023), (0.249, -0.023)).threePointArc((0.208, -0.047), (0.168, -0.023)).threePointArc((0.168, 0.023), (0.208, 0.047)).close().sweep(cq.Workplan...
12
103
0.172052
train_dce2c000a42d8dbf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.048, -0.145, 0.243), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.147, 0.423).threePointArc((0.29, 0.436), (0.557, 0.193)).threePointArc((0.498, -0.162), (0.147, -0.423)).threePointArc((-0.29, -0.436), (-0.557, -0.193)).threePointArc((-0.498, ...
22
930
0.905327
train_d57f63003c8cc812
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.157), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.159, 0.314).lineTo(0.159, 0).lineTo(-0.159, 0).lineTo(-0.159, 0.314).lineTo(-0.127, 0.314).lineTo(-0.127, 0.033).lineTo(0.127, 0.033).lineTo(0.127, 0.314).lineTo(0.159, 0.314).close().ext...
10
63
0.055489
train_4463f6deef57397c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.567, 0.022, -0.275), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.532, 1.021).lineTo(0.532, 0.532).lineTo(1.133, 0.532).lineTo(1.133, 0).lineTo(0, 0).lineTo(0, 1.021).lineTo(0.532, 1.021).close().extrude(0.977, both=True) result = result.cut(cq...
9
57
1.462547
train_ba7ce5bf8b641d3b
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.042, 0.22).lineTo(0.068, 0.153).lineTo(0.135, 0.174).lineTo(0.128, 0.103).lineTo(0.196, 0.089).lineTo(0.158, 0.029).lineTo(0.213, -0.016).lineTo(0.152, -0.051).lineTo(0.18, -0.117).lineTo(0.111, -0.118).lineTo(0.106, -0.19).lineTo(0.044, -0.158).lin...
4
31
0.222044
train_43a7bfe121f6f841
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.205, 0.125, 0.212), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.015, 0.68).lineTo(0.25, 0.64).threePointArc((0.331, 0.557), (0.401, 0.465)).threePointArc((0.52, 0.269), (0.621, 0.063)).lineTo(0.758, -0.253).lineTo(0.792, -0.43).lineTo(0.616, -0...
6
34
0.538406
train_13ea00323499c8d7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.215, 0.16, -0.095), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.904, 0.216).threePointArc((0, -0.689), (-0.904, 0.216)).threePointArc((0, 1.12), (0.904, 0.216)).close().extrude(0.623) result = result.union(cq.Workplane(cq.Plane(origin=(1.21, -0...
5
23
1.247922
train_50620b9c815b5563
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.05, 0, -0.429), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.042).lineTo(1, -0.113).lineTo(-1.018, -0.113).lineTo(-1.018, -0.002).lineTo(-1, -0.002).lineTo(-1, 0.033).lineTo(-1.049, 0.113).lineTo(1.057, 0.113).threePointArc((1.107, 0.092), (1,...
11
157
0.248034
train_c72e9c9a519fbf73
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.873, -0.748, -0.628), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.747).threePointArc((1.236, 1.236), (1.747, 0)).lineTo(1.024, 0).threePointArc((0.726, 0.726), (0, 1.024)).lineTo(0, 1.747).close().extrude(0.97) result = result.union(cq.Workp...
7
27
1.699415
train_1504abea1777e8bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.709, 0.871).threePointArc((-0.645, 0.844), (-0.618, 0.78)).lineTo(-0.618, -0.225).threePointArc((-0.539, -0.411), (-0.353, -0.489)).lineTo(0.896, -0.489).threePointArc((0.969, -0.52), (1,...
7
27
0.222274
train_b81f1285d6454f65
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.016, -0.976), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.713, 0.027).lineTo(0.66, -0.112).lineTo(0.237, -0.57).threePointArc((0.063, -0.562), (0.051, -0.413)).lineTo(0.464, 0.038).lineTo(0.392, 0.151).lineTo(0.319, 0.036).threePointArc((0.10...
2
48
2.242425
train_bfcd5d04385ffb49
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.501, -0.618, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.495, 0.62).threePointArc((0, 0.125), (-0.495, 0.62)).threePointArc((0, 1.111), (0.495, 0.62)).close().revolve(angleDegrees=270, axisStart=(0.501, -0.237), axisEnd=(0.501, 0.237)) resu...
8
480
1.505776
train_a7e192572ba57cfa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.6).lineTo(0.332, 0.508).lineTo(1, 0.324).lineTo(1, 0.231).lineTo(1, 0.138).lineTo(0.332, -0.046).lineTo(0.332, -0.6).lineTo(-0.332, -0.6).lineTo(-0.332, -0.046).lineTo(-1, 0.138).lineTo(-...
5
74
0.154982
train_3a830ce59d00568d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, -0.004, -0.187), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.296, 0.884).threePointArc((0.685, 0.677), (0.981, -0.207)).threePointArc((0.296, -0.884), (-0.685, -0.677)).threePointArc((-0.981, 0.207), (-0.296, 0.884)).close().extrude(0.374)...
7
8
1.087909
train_adb97e057961b1b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.087, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.114, 0.183).threePointArc((-0.054, 0.298), (0.021, 0.371)).threePointArc((0.09, 0.382), (0.135, 0.328)).threePointArc((0.144, 0.224), (0.114, 0.098)).threePointArc((0.054, -0.017), (-0.021...
5
38
0.312531
train_59e316708b96a483
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.085, -0.034, 0.998), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.054, 0.094).threePointArc((0.054, 0.094), (0.108, 0)).threePointArc((0.054, -0.094), (-0.054, -0.094)).threePointArc((-0.108, 0), (-0.054, 0.094)).close().transformed(offset=(-0....
4
20
0.021245
train_1bcba6e743c23daa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.27, 0.173).threePointArc((0.389, 0.123), (0.439, 0.004)).lineTo(0.439, -0.173).lineTo(-0.286, -0.173).lineTo(-0.439, -0.02).lineTo(-0.439, 0.173).lineTo(0.27, 0.173).close().extrude(0.131,...
12
39
0.704109
train_a6015cd4aabbea62
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.047, 0, -0.196), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.952, 0.758).lineTo(0.952, -0.758).lineTo(0.475, -0.758).lineTo(0.475, 0).lineTo(-0.952, 0).lineTo(-0.952, 0.758).lineTo(0.952, 0.758).close().workplane(offset=0.53...
8
74
0.858527
train_6860164359aad61a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.114, 0.516, -0.007), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.423, 0.483).lineTo(0.423, 0.161).lineTo(0.141, 0.161).lineTo(0.141, -0.161).lineTo(-0.141, -0.161).lineTo(-0.141, -0.483).lineTo(-0.423, -0.483).lineTo(-0.423, 0.483).lineTo(0.423...
3
26
0.65275
train_2ed1707ee2b25b22
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.175, -0.396, -0.272), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.014, 0.485).lineTo(0.345, 0.341).lineTo(0.485, -0.014).lineTo(0.335, -0.351).lineTo(-0.007, -0.485).lineTo(-0.345, -0.341).lineTo(-0.485, 0.011).lineTo(-0.353, 0.333).lineTo(0.014...
13
140
0.790002
train_daaccac5c5b88151
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.616).extrude(0.803) result = result.cut(cq.Workplane(cq.Plane(origin=(0.616, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.047, 0.236), (-0.181, 0.435), (-0.38, 0.569), (-...
10
109
1.321057
train_41a26878026fc181
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.432, 0.026, 0.015), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.32, 0.347).threePointArc((-0.259, 0.334), (-0.234, 0.303)).lineTo(-0.234, -0.065).threePointArc((-0.17, -0.143), (-0.019, -0.176)).lineTo(0.48, -0.176).threePointArc((0.541, -0.189...
9
70
0.216175
train_f14b0bd66859ff72
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.744, -0.855), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.614, 0.235).workplane(offset=1.832).rect(1.125, 0.198).loft() result = result.union(cq.Workplane(cq.Plane(origin=(0.349, -0.868, 0.124), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.76...
6
45
0.437787
train_8015c17eaca0443f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.31, -0.163, -0.187), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.032, 0.322).threePointArc((0.004, 0.301), (0.025, 0.264)).threePointArc((0.046, 0.243), (0.095, 0.238)).threePointArc((0.162, 0.217), (0.197, 0.165)).threePointArc((0.17, 0.111),...
10
120
0.388135
train_c6759aa2bef7746d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.045, 0.259, -0.642), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.82, 0.741).lineTo(0.82, -0.741).lineTo(-0.82, -0.741).lineTo(-0.82, 0.741).lineTo(-0.415, 0.741).lineTo(-0.415, -0.456).lineTo(0.415, -0.456).lineTo(0.415, 0.741).lineTo(0.82, 0.74...
14
139
1.813345
train_df3701c9bdaa17be
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.282), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.709, 1).lineTo(0.76, 0.941).lineTo(0.76, -0.923).lineTo(0.691, -1).lineTo(-0.665, -1).threePointArc((-0.733, -0.963), (-0.76, -0.895)).lineTo(-0.76, 1).lineTo(0.709, 1).close().extrude(0.5...
9
69
1.070744
train_11faf0ee184fc769
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.748), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.148, 1.495).lineTo(0.148, 0.148).lineTo(2, 0.148).lineTo(2, 0).lineTo(0, 0).lineTo(0, 1.495).lineTo(0.148, 1.495).close().extrude(0.583, both=True) result = result.cut(cq.Workplane(cq.Pl...
7
43
0.386859
train_90dd7fca5ab4480b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.264, -0.86), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.009).extrude(0.619) result = result.cut(cq.Workplane(cq.Plane(origin=(1.009, 0.264, -0.86), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.101, 0.437), (-0.38, 0.791), (-0.7...
12
150
0.758416
train_a03545f8f4ffa987
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.627, 0.822).lineTo(1, 0.456).lineTo(1, -0.637).lineTo(0.81, -0.822).lineTo(-0.794, -0.822).lineTo(-1, -0.621).lineTo(-1, 0.51).lineTo(-0.683, 0.822).lineTo(0.627, 0.822).close().extrude(0....
8
72
0.503249
train_fefdfc90293622b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.93, 0.419).threePointArc((0.974, 0.401), (1, 0.357)).lineTo(1, -0.381).threePointArc((0.981, -0.408), (0.955, -0.419)).lineTo(-0.943, -0.419).threePointArc((-0.978, -0.404), (-1, -0.369))....
13
65
0.195564
train_be6424aac5bdc4f4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.535, 0.993).threePointArc((0.758, 0.938), (0.853, 0.807)).lineTo(0.853, -0.659).threePointArc((0.683, -0.894), (0.28, -0.993)).lineTo(-0.543, -0.993).threePointArc((-0.761, -0.939), (-...
6
89
0.463985
train_9751d956c5897f45
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.139, 0.261, 0.109), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.521, 0.457).lineTo(0.521, 0.325).lineTo(-0.316, 0.325).lineTo(-0.316, -0.325).lineTo(0.521, -0.325).lineTo(0.521, -0.457).lineTo(-0.521, -0.457).lineTo(-0.521, 0.457).lineTo(0.521, ...
15
142
0.816675
train_efcc3716f9bda85d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.314, -0.295, 0.545), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.009, 0.401).lineTo(0.035, 0.352).lineTo(0.035, 0.303).lineTo(0.053, 0.267).lineTo(0.153, 0.267).lineTo(0.175, 0.224).lineTo(0.175, 0.183).lineTo(0.149, 0.134).lineTo(0.12, 0.134)....
18
466
0.59973
train_1825991682439312
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.031, 0.131).lineTo(0.084, 0.105).lineTo(0.136, 0).lineTo(0.084, -0.105).lineTo(-0.031, -0.131).lineTo(-0.121, -0.058).lineTo(-0.121, 0.058).lineTo(-0.031, 0.131).close().extrude(1, both=T...
2
23
0.097716
train_32189f93806679c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.016, -0.414, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.36, -0.581).threePointArc((-0.97, 0.351), (0.248, 0.478)).lineTo(0.911, 0.3).threePointArc((0.97, 0.255), (0.871, 0.11)).lineTo(0.149, 0.304).threePointArc((-0.2, 0.581), (-0.788...
4
24
0.144237
train_9b969b83c3c49720
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.101, 0, -0.403), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.324, 1).lineTo(1.051, 0).lineTo(0.324, -1).lineTo(-0.85, -0.617).lineTo(-0.85, 0.617).lineTo(0.324, 1).close().extrude(0.806) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.101,...
2
8
0.65733
train_fb0dfb7c91e79330
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.048, 0, 0.999), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.433, 0.455).lineTo(0.433, -0.455).threePointArc((-0.433, 0), (0.433, 0.455)).close().workplane(offset=1.127).moveTo(0.355, 0.374).lineTo(0.355, -0.374).threePointArc((-0.355, 0), (0.3...
13
199
1.024876
train_3b444d25f8153170
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.308, 0.943).lineTo(0.805, 0.585).lineTo(1, 0).lineTo(0.805, -0.585).lineTo(0.308, -0.943).lineTo(-0.308, -0.943).lineTo(-0.805, -0.585).lineTo(-1, 0).lineTo(-0.805, 0.585).lineTo(-0.308, 0...
6
40
3.036239
train_fc22100d06b612c0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.459, -0.228, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.74).threePointArc((0.523, 0.523), (0.74, 0)).lineTo(0.298, 0).threePointArc((0.211, 0.211), (0, 0.298)).lineTo(0, 0.74).close().extrude(2) result = result.union(cq.Workplane(cq.Pl...
12
75
0.423422
train_022646b6cd411c1f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.962, 0.862).lineTo(0.962, -0.862).lineTo(-0.962, -0.862).lineTo(-0.962, 0.862).lineTo(-0.54, 0.862).lineTo(-0.54, -0.488).lineTo(0.54, -0.488).lineTo(0.54, 0.862).lineTo(0.962, 0.862).clos...
15
37
0.269068
train_63d4de376f1ffcd7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.192), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.923, -0.133).threePointArc((0.921, -0.189), (0.913, -0.244)).threePointArc((0.901, -0.298), (0.884, -0.351)).threePointArc((0.862, -0.403), (0.836, -0.455)).threePointArc((0.805, -0.504), ...
17
734
0.84043
train_e6fb0cc38824b3a9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.104, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.872).extrude(1.465) result = result.union(cq.Workplane(cq.Plane(origin=(-0.104, 0, 0.024), normal=(0.77, 0, 0.639), xDir=(0.639, 0, -0.77))).circle(0.33).extrude(1.13)) result = result.cu...
15
87
1.295895
train_d071f3d26de313c6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.331), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.865, 0.491).threePointArc((1, 0), (0.865, -0.491)).lineTo(0.289, -0.491).lineTo(-0.289, -0.491).lineTo(-0.865, -0.491).threePointArc((-1, 0), (-0.865, 0.491)).lineTo(-0.289, 0.491).lineTo(...
5
50
1.157756
train_87da7f08cfa4bb7e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.247, 0.061, 0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.371, 0.681).lineTo(-0.186, 0.557).lineTo(-0.031, 0.454).threePointArc((-0.01, 0.432), (-0.008, 0.405)).lineTo(-0.162, -0.106).threePointArc((-0.158, -0.151), (-0.099, -0.128)).lin...
24
147
0.233114
train_0e95b3f65b0e230e
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.631, 0.314).threePointArc((0.945, 0), (0.631, -0.314)).lineTo(-0.631, -0.314).threePointArc((-0.945, 0), (-0.631, 0.314)).lineTo(0.631, 0.314).close().extrude(0.419, taper=-7.447, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.754, ...
2
20
1.016524
train_424ca37314616e7c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.217), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.78, 0.805).lineTo(1, 0.591).lineTo(1, -0.527).threePointArc((0.909, -0.724), (0.716, -0.805)).lineTo(-0.648, -0.805).lineTo(-1, -0.459).lineTo(-1, 0.805).lineTo(0.78, 0.805).close().extrud...
13
187
1.151202
train_ba6937ba78872ea8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.184), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.981, 0.26).lineTo(0.981, -0.262).lineTo(0.96, -0.283).lineTo(-0.959, -0.283).lineTo(-0.981, -0.261).lineTo(-0.981, 0.269).lineTo(-0.967, 0.283).lineTo(0.958, 0.283).lineTo(0.981, 0.26).clo...
5
26
0.290726
train_6510fd0889441dd0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.075, -0.206), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.664).lineTo(1, -0.558).threePointArc((0.961, -0.633), (0.886, -0.664)).lineTo(-1, -0.664).lineTo(-1, 0.61).lineTo(-0.939, 0.664).lineTo(1, 0.664).close().extrude(0.412) result = res...
17
62
0.541359
train_dc15f69d70cf4d3d
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.247, 0.17).workplane(offset=2).rect(1.078, 0.207).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.104, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).polarArray(0.403, 0, 360, 12).rect(0....
2
60
0.242907
train_96c3e380b1a073df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.019, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.921, 0.345).lineTo(1, 0.275).lineTo(1, -0.315).threePointArc((0.984, -0.337), (0.961, -0.345)).lineTo(-0.934, -0.345).threePointArc((-0.975, -0.329), (-1, -0.288)).lineTo(-1, 0.276).th...
14
88
0.221375
train_0e42e1bbae897f53
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.102, 0.935, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.086, 1.463).lineTo(0.038, 1.332).lineTo(0.196, 1.418).lineTo(0.19, 1.237).lineTo(0.226, 1.232).lineTo(0.264, 1.23).lineTo(0.299, 1.221).lineTo(0.331, 1.203).lineTo(0.363, 1.186).lineT...
3
52
1.446174
train_b49c913d9f4d4559
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.348), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.872).lineTo(1, -0.872).lineTo(-1, -0.872).lineTo(-1, 0.872).lineTo(1, 0.872).close().extrude(0.153) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.195), normal=(0, 0, 1), ...
12
56
0.945384
train_a42f27d8e87fc1de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.02), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.968).lineTo(1, -0.968).lineTo(-1, -0.968).lineTo(-1, -0.324).lineTo(0.664, -0.324).lineTo(0.664, 0.324).lineTo(-1, 0.324).lineTo(-1, 0.968).lineTo(1, 0.968).close().extrude(0.111, both=Tr...
9
377
0.61604
train_ff91ca9e0545d634
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.122, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.312, 0.758).threePointArc((0.679, 0.63), (0.862, 0.348)).lineTo(0.771, 0.326).threePointArc((0.76, 0.32), (0.752, 0.31)).lineTo(0.557, -0.147).threePointArc((0.553, -0.166), (0.554, -0.185)...
3
18
3.443644
train_2517f88ab0821184
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.807, 0.664).threePointArc((0.83, 0.652), (0.841, 0.625)).lineTo(0.841, 0.46).threePointArc((0.829, 0.424), (0.793, 0.408)).lineTo(-0.473, 0.408).threePointArc((-0.555, 0.373), (-0.59, 0.292))....
4
68
1.99865
train_952d1d5b54290a36
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.17, 0.234, 0.277), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.083, 0.604).lineTo(0.574, 0.458).lineTo(0.506, -0.006).lineTo(0.292, -0.372).lineTo(0.024, -0.604).lineTo(-0.483, -0.574).lineTo(-0.574, -0.086).lineTo(-0.444, 0.405).lineTo(0.083, ...
14
112
1.119668
train_6ef75ef4c754a6b1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.377, 0.843, -0.316), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(-0.406, 0.37).lineTo(-0.126, 0.37).lineTo(-0.126, -0.001).lineTo(0.126, -0.001).lineTo(0.126, 0.37).lineTo(0.406, 0.37).lineTo(0.406, -0.37).lineTo(-0.406, -0.37).close().moveTo(0.2...
12
139
2.370653
train_e49b17efa7a576d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.486).extrude(1.412) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.011), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.781).extrude(1.01)) result = result.cut(cq.Workplane(cq.P...
8
26
1.542456
train_7d47cd0a4e7bde5d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.662, -0.409, 0.205), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.588, 1.339).threePointArc((0.656, 1.31), (0.685, 1.242)).lineTo(0.685, -0.425).threePointArc((0.656, -0.494), (0.588, -0.522)).lineTo(-0.588, -0.522).threePointArc((-0.656, -0.494...
5
50
1.536953
train_f992337706788a8d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.019, -0.007, -0.014), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.676, 0.182).threePointArc((0.182, 0.676), (0.676, -0.182)).threePointArc((-0.182, -0.676), (-0.676, 0.182)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.019, -0.007, -0.014), ...
13
134
0.394892
train_3963a46cf3e8e22c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.532, -0.056), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.038, 0.31).lineTo(0.074, 0.295).lineTo(0.143, 0.205).lineTo(0.128, 0.093).lineTo(0.038, 0.024).lineTo(-0.074, 0.039).lineTo(-0.143, 0.129).lineTo(-0.128, 0.241).lineTo(-0.038, 0.31)...
7
103
0.114172
train_bc72b2f98dc76c68
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.79, 0.141).threePointArc((1, 0), (0.79, -0.141)).lineTo(0, -0.141).lineTo(-0.79, -0.141).threePointArc((-1, 0), (-0.79, 0.141)).lineTo(0, 0.141).lineTo(0.79, 0.141).close().extrude(4.645, both=True).intersect(cq.Workplane('XZ').moveTo(1.037, 0.687)....
2
86
0.683179
train_ae1990fa136da9d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.414, -0.347, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.829).threePointArc((0.586, 0.586), (0.829, 0)).lineTo(0.295, 0).threePointArc((0.207, 0.207), (0, 0.295)).lineTo(0, 0.829).close().extrude(2) result = result.union(cq.Workplane(cq...
5
66
0.948986
train_d919e4e62e8a30ee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.597, -0.414, -1.232), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.704).extrude(0.809) result = result.union(cq.Workplane(cq.Plane(origin=(-1.597, -0.414, -0.666), normal=(0.885, 0, 0.465), xDir=(0.465, 0, -0.885))).circle(0.585).extrude(2.277))...
7
27
1.138677
train_97d080625d305c56
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.221), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.539, 0.457).threePointArc((1, 0), (0.539, -0.457)).lineTo(-0.539, -0.457).threePointArc((-1, 0), (-0.539, 0.457)).lineTo(0.539, 0.457).close().extrude(0.441) result = result.cut(cq.Workpla...
4
24
0.719835
train_964b2f8c445226e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.403, 0, 0.756), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.407, 0.645).lineTo(0.498, 0.498).lineTo(0.317, 0.387).lineTo(0.407, 0.24).lineTo(0.226, 0.129).lineTo(0.316, -0.018).lineTo(0.134, -0.129).lineTo(0.225, -0.276).lineTo(0.044, -0.387)....
13
250
0.604894
train_061e4dd87d0a606b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.462, -0.766, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.035, 0.234).threePointArc((0.065, 0.221), (0.078, 0.191)).lineTo(0.078, 0.127).threePointArc((0.092, 0.092), (0.127, 0.078)).lineTo(0.201, 0.078).threePointArc((0.224, 0.068), (0...
9
252
0.971795