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_ddd81dc2da1b51b7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.076, 0.048, -0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.926, 0.19).lineTo(0.926, -0.211).lineTo(-0.926, -0.211).lineTo(-0.926, 0.19).threePointArc((-0.742, 0.211), (-0.556, 0.19)).threePointArc((-0.371, 0.168), (-0.185, 0.19)).threePoin...
4
74
0.315922
train_7bc18144e7b4e6f4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.676, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.092, 0.49).threePointArc((0.264, 0.418), (0.335, 0.246)).lineTo(0.335, -0.076).threePointArc((0.264, -0.248), (0.092, -0.32)).lineTo(-0.092, -0.32).threePointArc((-0.264, -0.248), (-0.335,...
5
190
1.394601
train_600a3c7890f6c840
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.043, -0.999), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.793, 1.809).lineTo(0.793, 1.558).lineTo(0.589, 1.558).lineTo(0.589, 0.778).lineTo(0.435, 0.778).lineTo(0.435, 0).lineTo(0, 0).lineTo(0, 1.809).lineTo(0.793, 1.809).close().revolve(an...
8
49
1.677095
train_1c34650240bd27d1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.659, 0.5), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.309, 0.051).threePointArc((0.319, -0.02), (0.34, -0.109)).threePointArc((0.306, -0.187), (0.213, -0.206)).threePointArc((0.121, -0.183), (0.063, -0.192)).threePointArc((0.008, -0.264), (...
13
267
0.586252
train_635aa000e0bbfc36
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.085, -0.007, -0.712), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.873, 0.1).threePointArc((0.91, -0.037), (0.81, -0.137)).threePointArc((0.673, -0.1), (0.636, 0.037)).threePointArc((0.737, 0.137), (0.873, 0.1)).close().sweep(cq.Workplane(cq.Pl...
7
75
1.418219
train_d33605c0285c24e7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.389, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.22, 0.61, 0.958) result = result.edges().fillet(0.106) result = result.cut(cq.Workplane(cq.Plane(origin=(0.389, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.163).extrude(2.44, both=True)...
10
89
0.518067
train_24071b0addba895e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.607, 0.239).workplane(offset=2).rect(0.564, 0.322).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0.805, -0.073, -0.007), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(1.193, 1.375).lineT...
8
74
0.546826
train_fd6561fe8ec65c84
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.611, 0.329).workplane(offset=2).rect(0.082, 0.492).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.306, 0.096, -0.007), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.256, 1.827).lineT...
3
15
0.222244
train_ee6711383733c962
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.984), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.526, 1.969).lineTo(0.526, 0.356).lineTo(1, 0.356).lineTo(1, 0).lineTo(0.507, 0).lineTo(0.507, 1.969).lineTo(0.526, 1.969).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
3
24
0.446541
train_cf004255e512061a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.2, -0.819, 0.366), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.146, 1.916).threePointArc((0.491, 1.774), (0.633, 1.43)).lineTo(0.633, 0.97).threePointArc((0.491, 0.627), (0.146, 0.483)).lineTo(-0.146, 0.483).threePointArc((-0.491, 0.627), (-0.6...
8
211
2.618655
train_88a51548c11a6a80
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, 0, -0.82), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.829, -0.027).lineTo(0.816, -0.054).lineTo(0.807, -0.082).lineTo(0.803, -0.111).lineTo(0.803, -0.139).lineTo(0.807, -0.168).lineTo(0.816, -0.196).lineTo(0.83, -0.223).lineTo(0.847, -0.25...
5
706
1.185679
train_45f1cf47e43ba90e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.141, 0.287, -0.84), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.024, 0.152).lineTo(0.11, -0.017).threePointArc((0.159, -0.061), (0.125, -0.112)).lineTo(-0.111, -0.157).threePointArc((-0.159, -0.128), (-0.124, -0.061)).lineTo(0.066, -0.024).line...
18
134
0.176694
train_8e54ba943f7c2daa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.021, 0, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.979, 0.907).lineTo(0.979, -0.907).lineTo(-0.979, -0.907).lineTo(-0.979, 0.907).lineTo(-0.478, 0.907).lineTo(-0.478, -0.465).lineTo(0.478, -0.465).lineTo(0.478, 0.907).lineTo(0.979, 0....
12
98
0.566211
train_e43316cdc5913ae3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.132, -0.213, -0.521), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.265, 0.243).threePointArc((0.283, 0.235), (0.291, 0.216)).lineTo(0.291, 0.175).threePointArc((0.283, 0.154), (0.263, 0.146)).lineTo(-0.181, 0.146).threePointArc((-0.19, 0.142), (...
6
111
0.349964
train_32758cd42715755f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.324, 0, -1.151), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.195, 0.313).workplane(offset=2.15).rect(1.104, 0.234).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.324, 0, -0.613), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.201).extru...
5
39
0.149533
train_cff6108db11c78fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.678), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.016, 0.186).threePointArc((-0.005, 0.182), (0, 0.17)).lineTo(0, 0.082).threePointArc((0.006, 0.068), (0.02, 0.062)).lineTo(0.051, 0.062).threePointArc((0.059, 0.059), (0.062, 0.051)).line...
13
213
0.077422
train_dff5220ad3cd48a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.427, -0.364), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.825, 0.457).threePointArc((0.877, 0.435), (0.899, 0.384)).lineTo(0.899, -0.306).threePointArc((0.855, -0.412), (0.75, -0.457)).lineTo(-0.771, -0.457).lineTo(-0.899, -0.33).lineTo(-0.89...
8
28
1.399693
train_9ea5f0d96983836c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.2, 0, -0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.326, 1).threePointArc((-0.237, 0.963), (-0.2, 0.874)).lineTo(-0.2, 0.701).threePointArc((-0.17, 0.63), (-0.099, 0.6)).lineTo(0.441, 0.6).threePointArc((0.553, 0.553), (0.6, 0.441)).lin...
11
208
0.509139
train_7981ef8fa59c48b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.127, -2.144, -1.064), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.158, 1.158).threePointArc((1.158, -1.158), (-1.158, -1.158)).threePointArc((-1.158, 1.158), (1.158, 1.158)).close().sweep(cq.Workplane(cq.Plane(origin=(0.127, -2.144, -1.064), nor...
3
10
1.656676
train_478869da8ab88fdf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.556, 0, 0.167), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.402, 0.444).lineTo(0.301, 0.015).lineTo(0.444, -0.402).lineTo(0.015, -0.301).lineTo(-0.402, -0.444).lineTo(-0.301, -0.015).lineTo(-0.444, 0.402).lineTo(-0.015, 0.301).lineTo(0.402, 0....
5
52
0.955092
train_62c85e15c3597b09
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0.042, -0.934), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.992, 0.32).threePointArc((-0.092, 0.808), (0.992, -0.464)).lineTo(0.883, -0.722).threePointArc((-0.195, -0.808), (-0.992, 0.32)).close().extrude(0.357) result = result.union(cq.W...
4
21
0.975729
train_93e9366ef15f05fb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.319), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.281).lineTo(1, -0.269).lineTo(0.987, -0.281).lineTo(-1, -0.281).lineTo(-1, 0.269).threePointArc((-0.996, 0.277), (-0.986, 0.281)).lineTo(1, 0.281).close().extrude(0.177) result = result...
15
247
0.257722
train_4a0fb3928ad8a274
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.042, 0.913, -0.003), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.495, 1.081).threePointArc((0.785, 0.863), (0.808, 0.599)).threePointArc((0.547, 0.506), (0.324, 0.475)).threePointArc((0.193, 0.264), (-0.026, 0.043)).threePointArc((-0.276, 0.149...
2
28
2.099378
train_8f186b3bda84c241
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.076, 0.208, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.549, 0.674).lineTo(-0.549, -0.418).lineTo(0.924, -0.418).lineTo(0.924, -0.674).lineTo(-0.924, -0.674).lineTo(-0.924, 0.674).lineTo(-0.549, 0.674).close().extrude(0.522) result = r...
9
74
0.746886
train_0fb66cceac29ac19
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.324, 0.184, -0.404), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.019, 0.471).lineTo(0.297, 0.194).lineTo(0.297, -0.221).lineTo(0.045, -0.471).lineTo(-0.131, -0.471).lineTo(-0.297, -0.305).lineTo(-0.297, 0.319).lineTo(-0.143, 0.471).lineTo(0.019,...
15
436
0.394741
train_12d1f41a4d279ff8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.223, 0, -0.551), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.222, 0.712).lineTo(1.222, -0.712).lineTo(-1.222, -0.712).lineTo(-1.222, 0.712).lineTo(-0.837, 0.712).lineTo(-0.837, -0.529).lineTo(0.837, -0.529).lineTo(0.837, 0.712).lineTo(1.222, 0....
5
22
0.742695
train_fa9df995301495e7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.07, 0.227, -0.302), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.65, 0.736).threePointArc((-0.583, 0.707), (-0.555, 0.64)).lineTo(-0.555, -0.159).threePointArc((-0.495, -0.301), (-0.352, -0.362)).lineTo(0.861, -0.362).threePointArc((0.909, -0.3...
21
62
0.757106
train_c5749c96b970b8aa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.324, -0.401, -0.478), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.669, 0.406).lineTo(0.669, -0.4).lineTo(0.649, -0.4).lineTo(0.649, -0.421).lineTo(-0.649, -0.421).lineTo(-0.649, -0.401).lineTo(-0.669, -0.401).lineTo(-0.669, 0.397).lineTo(-0.645,...
12
77
0.964472
train_fb10e6af9e4548de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.089, -0.048, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.04, 0.098).lineTo(0.076, 0.042).lineTo(0.098, -0.04).lineTo(0.042, -0.076).lineTo(-0.04, -0.098).lineTo(-0.076, -0.042).lineTo(-0.098, 0.04).lineTo(-0.042, 0.076).lineTo(0.04, 0.098)....
4
46
0.052554
train_6bbde0128ba2d295
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.208, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.085, 0.409).lineTo(0.224, 0.198).lineTo(0.047, 0.006).lineTo(-0.224, 0.091).lineTo(-0.182, 0.386).lineTo(0.085, 0.409).close().extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=...
21
258
0.242089
train_51a9ae05c03be1eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.051, -0.044, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.67, 0.111).lineTo(0.447, -0.447).threePointArc((-0.67, 0.447), (0.67, 0.111)).close().extrude(1.908) result = result.union(cq.Workplane(cq.Plane(origin=(0.585, -0.311, -0.136), normal...
14
152
2.409268
train_fccec1c5c478671b
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.1, 0.111).threePointArc((0.108, 0.108), (0.111, 0.1)).lineTo(0.111, 0.079).threePointArc((0.108, 0.073), (0.102, 0.07)).lineTo(0.034, 0.07).threePointArc((0.024, 0.066), (0.021, 0.057)).lineTo...
1
18
0.033379
train_170feabf3901abe0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.767, -1.909, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.176, 2.378).threePointArc((0.393, 2.289), (0.482, 2.072)).lineTo(0.482, 1.752).threePointArc((0.393, 1.536), (0.176, 1.446)).threePointArc((0.146, 1.423), (0.109, 1.418)).lineTo(0.042...
12
301
3.234044
train_56075e551441e5d6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.008), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.472, 0.346).threePointArc((0.631, 0.401), (0.755, 0.289)).threePointArc((0.868, 0.181), (0.997, 0.092)).threePointArc((0.396, -0.401), (0.17, 0.344)).lineTo(0.472, 0.346).close().revolve(a...
1
4
1.879471
train_d89c11d31d159000
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.64, -0.054, -0.541), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.784, 0.537).lineTo(-0.784, 0.268).lineTo(1.306, 0.268).lineTo(1.306, 0).lineTo(0.261, 0).lineTo(0.261, -0.268).lineTo(-0.261, -0.268).lineTo(-0.261, -0.537).lineTo(-1.306, -0.537...
16
110
0.854516
train_370b607abe7371bc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.186), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.627, 0.371).lineTo(0.92, 0.23).lineTo(1, 0.129).lineTo(1, 0).lineTo(0.868, 0).lineTo(0.868, 0.111).lineTo(0.768, 0.23).lineTo(0, 0.238).lineTo(0, 0.371).lineTo(0.627, 0.371).close().revol...
4
32
0.393588
train_1a2418d4bd80a874
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.067, 0.074, -0.176), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.113, -0.061).threePointArc((-0.151, -0.182), (-0.113, 0.061)).lineTo(0.094, 0.061).threePointArc((0.151, 0.182), (0.094, -0.061)).lineTo(-0.113, -0.061).close().extrude(0.375, ta...
15
188
0.441025
train_9cbdac4bf307f0ad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.36, -0.304, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.72).threePointArc((0.509, 0.509), (0.72, 0)).lineTo(0.302, 0).threePointArc((0.213, 0.213), (0, 0.302)).lineTo(0, 0.72).close().extrude(2) result = result.union(cq.Workplane(cq.Pla...
8
37
0.34329
train_3e5b012f595c3d1b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.384), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.231).lineTo(1, 0.104).threePointArc((0.978, 0.089), (0.925, 0.083)).lineTo(0.416, 0.083).threePointArc((0.343, 0.074), (0.312, 0.054)).lineTo(0.312, -0.052).threePointArc((0.345, -0.074...
5
26
0.609106
train_5a9c7492422e02ef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.762, 0.6).threePointArc((0.928, 0.529), (1, 0.362)).lineTo(1, -0.434).threePointArc((0.95, -0.551), (0.833, -0.6)).lineTo(-0.894, -0.6).threePointArc((-0.968, -0.569), (-1, -0.495)).lineTo(...
9
50
0.624872
train_0637f4a684b8c295
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.446), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.575).lineTo(1, 0.303).lineTo(-0.419, 0.303).lineTo(-0.419, -0.303).lineTo(1, -0.303).lineTo(1, -0.575).lineTo(-1, -0.575).lineTo(-1, 0.575).lineTo(1, 0.575).close().extrude(0.892, taper...
14
15
0.766296
train_ee29d5267bd611c0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.448), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(2.234, 1).threePointArc((2.427, 0.917), (2.502, 0.732)).lineTo(2.502, -0.485).threePointArc((2.356, -0.845), (1.992, -1)).lineTo(-2.101, -1).threePointArc((-2.389, -0.879), (-2.502, -0.594))...
5
6
1.788607
train_23989042d659e08c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.301), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.707, -0.095).lineTo(0.989, -0.155).lineTo(0.978, -0.213).lineTo(0.695, -0.159).lineTo(0.668, -0.249).lineTo(0.929, -0.371).lineTo(0.906, -0.425).lineTo(0.643, -0.309).lineTo(0.595, -0.392)...
5
124
0.82855
train_4a3afb873531f113
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.132, 0.061, -0.308), normal=(0.354, 0.073, -0.932), xDir=(0, 0.997, 0.078))).moveTo(0.785, 0.873).lineTo(0.953, 0.675).lineTo(0.62, 0.439).threePointArc((0.577, -0.195), (0.147, -0.543)).lineTo(-0.357, -0.492).lineTo(-0.484, -0.517).lineTo(-0.7...
5
40
3.99214
train_73156d404cfe1cfe
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0, 0.699).threePointArc((0.664, 0.699), (1, 0)).threePointArc((0.664, -0.699), (0, -0.699)).threePointArc((-0.664, -0.699), (-1, 0)).threePointArc((-0.664, 0.699), (0, 0.699)).close().extrude(3.086, both=True).intersect(cq.Workplane('XZ').moveTo(-0.04...
2
13
2.712474
train_e729d34a8f62779b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.735, 2).extrude(0.403) result = result.cut(cq.Workplane(cq.Plane(origin=(0.119, -0.229, -0.001), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.045, 0.184).lineTo(0.206, 0.12).threePointArc((0...
19
83
0.342445
train_cc22934d529e8c24
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.151), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.958, 0.524).lineTo(0.958, -0.525).threePointArc((0.956, -0.53), (0.951, -0.532)).lineTo(-0.949, -0.532).threePointArc((-0.956, -0.53), (-0.958, -0.524)).lineTo(-0.958, 0.525).threePointArc...
12
50
0.50621
train_f87ae8cd3653d768
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.084, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.684, 0.29).lineTo(-0.684, -0.208).lineTo(1, -0.208).lineTo(1, -0.29).lineTo(-1, -0.29).lineTo(-1, 0.29).lineTo(-0.684, 0.29).close().extrude(0.42, taper=5.651, both=True) result = result.u...
7
83
0.259459
train_30fc79027788e6c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.376, 0, -0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.624).extrude(0.41) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.376, 0, -0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.319).extrude(1.229, both=True)) result = result.un...
13
44
0.682197
train_6936803e9b84ec4c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.711), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.605, 0.414).threePointArc((0.638, 0.401), (0.653, 0.368)).lineTo(0.653, -0.372).threePointArc((0.64, -0.403), (0.609, -0.414)).lineTo(-0.615, -0.414).lineTo(-0.653, -0.378).lineTo(-0.653, ...
8
97
1.93932
train_a5e67afd7cabee53
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.433), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.957, 0.33).threePointArc((0.986, 0.317), (1, 0.289)).lineTo(1, -0.271).threePointArc((0.981, -0.312), (0.94, -0.33)).lineTo(-0.924, -0.33).threePointArc((-0.977, -0.307), (-1, -0.254)).lin...
10
19
1.070536
train_d20387c8fa96b407
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.044, 0.015, 0.255), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.084, 0.784).threePointArc((0.242, 0.876), (0.406, 0.68)).lineTo(0.19, 0.112).threePointArc((0.172, -0.007), (0.207, -0.122)).lineTo(0.547, -0.746).threePointArc((0.541, -0.846), (0....
7
132
0.684804
train_fe7335ec83a82c40
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.003, -0.157), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.134).lineTo(1, 0.097).lineTo(-0.628, 0.097).lineTo(-0.628, -0.097).lineTo(1, -0.097).lineTo(1, -0.134).lineTo(-1, -0.134).lineTo(-1, 0.134).lineTo(1, 0.134).close().extrude(0.402, ...
7
35
0.027329
train_756813a628992059
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.045, 0, -0.362), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.262, 1).threePointArc((-0.078, 0.914), (0, 0.734)).lineTo(0, 0.525).threePointArc((0.058, 0.389), (0.193, 0.332)).lineTo(0.468, 0.332).threePointArc((0.605, 0.274), (0.664, 0.136)).l...
4
19
1.308254
train_4f25dce185fc1c2e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.328, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.172, 0.556).lineTo(0.3, 0.543).lineTo(0.425, 0.514).lineTo(0.543, 0.469).lineTo(0.653, 0.408).lineTo(0.752, 0.335).lineTo(0.838, 0.249).lineTo(0.909, 0.153).lineTo(0.963, 0.048).lineTo(1, ...
4
357
0.299965
train_ed061645cb79fabb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.056, -0.471), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.83, 0.447).lineTo(1, 0.286).lineTo(1, -0.316).lineTo(0.86, -0.447).lineTo(-0.91, -0.447).lineTo(-1, -0.365).lineTo(-1, 0.332).lineTo(-0.878, 0.447).lineTo(0.83, 0.447).close().extrude(...
15
193
1.110867
train_2445eca8cb326fa7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.166, 0.867, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.797, 1.076).lineTo(0.758, 0.901).lineTo(0.928, 0.811).lineTo(0.858, 0.665).lineTo(0.68, 0.744).lineTo(0.567, 0.603).lineTo(0.684, 0.443).lineTo(0.557, 0.341).lineTo(0.427, 0.491).lineT...
3
60
3.18211
train_011dc19a929084a6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.293, 1).lineTo(0.293, -1).lineTo(-0.293, -1).lineTo(-0.293, 1).lineTo(0.293, 1).close().extrude(0.361) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.181), normal=(0, 0, 1), xD...
8
49
0.28431
train_f88c96a071b64a49
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.262), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.394, 0.524).lineTo(0.394, 0.392).lineTo(1, 0.392).lineTo(1, 0).lineTo(0.333, 0).lineTo(0.333, 0.524).lineTo(0.394, 0.524).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
12
238
0.745824
train_a2316cef5c1fd034
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.27), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.54).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.54).lineTo(-0.826, 0.54).lineTo(-0.826, 0.174).lineTo(0.826, 0.174).lineTo(0.826, 0.54).lineTo(1, 0.54).close().extrude(0.279, both=True) res...
2
20
0.211235
train_80388cc9b8e97c95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.072, -0.321), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.643).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.643).lineTo(-0.912, 0.643).lineTo(-0.912, 0.08).lineTo(0.912, 0.08).lineTo(0.912, 0.643).lineTo(1, 0.643).close().extrude(0.2, both=Tr...
9
62
0.11581
train_39373cb20f5f1dc4
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.215).lineTo(1, 0.076).lineTo(-0.411, 0.076).lineTo(-0.411, -0.076).lineTo(1, -0.076).lineTo(1, -0.215).lineTo(-1, -0.215).lineTo(-1, 0.215).lineTo(1, 0.215).close().extrude(0.646, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.14...
3
10
0.834022
train_67b0bbe7bf2e732f
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.878, 0.664).threePointArc((0.915, 0.648), (0.93, 0.612)).lineTo(0.93, -0.391).threePointArc((0.849, -0.582), (0.662, -0.664)).lineTo(-0.753, -0.664).threePointArc((-0.876, -0.61), (-0.93, -0.483)).lineTo(-0.93, 0.624).threePointArc((-0.918, 0.652), ...
5
25
2.238533
train_2bf47762d896f2e6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.354, 0.117, -0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.16, 0.628).threePointArc((0.253, 0.597), (0.341, 0.553)).threePointArc((0.42, 0.495), (0.49, 0.426)).threePointArc((0.549, 0.348), (0.595, 0.261)).threePointArc((0.628, 0.169), (0....
10
192
0.595438
train_e34e55640774bccf
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.029, 0.127).lineTo(0.081, 0.102).lineTo(0.117, 0.056).lineTo(0.131, 0).lineTo(0.117, -0.056).lineTo(0.081, -0.102).lineTo(0.029, -0.127).lineTo(-0.029, -0.127).lineTo(-0.081, -0.102).lineTo(-0.117, -0.056).lineTo(-0.131, 0).lineTo(-0.117, 0.056).lin...
5
20
0.128233
train_202b8140575180c7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.166, 0.006, -0.16), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.833, 0.119).lineTo(0.833, 0.04).lineTo(0.417, 0.04).lineTo(0.417, -0.119).lineTo(-0.417, -0.119).lineTo(-0.417, -0.04).lineTo(-0.833, -0.04).lineTo(-0.833, 0.04).lineTo(-0.417, 0.04...
12
160
0.030356
train_9e6233c125392d6a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, 0, -0.17), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.149, 0.418).lineTo(0.149, 0.149).lineTo(0.655, 0.149).lineTo(0.655, 0).lineTo(0, 0).lineTo(0, 0.418).lineTo(0.149, 0.418).close().extrude(1, both=True) result = result.cut(cq.Workplane...
9
54
0.299218
train_66128dc18ef0ecb3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.144, 0.357), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.454, 0).threePointArc((0, -0.454), (-0.454, 0)).threePointArc((0, 0.454), (0.454, 0)).close().extrude(1.04) result = result.cut(cq.Workplane(cq.Plane(origin=(0.332, 0.06, 0.027), norm...
13
450
0.615336
train_7956ed73d68b4313
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.76), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.82, 0.8).threePointArc((0.947, 0.747), (1, 0.62)).lineTo(1, 0.105).threePointArc((0.969, 0.031), (0.895, 0)).lineTo(0.734, 0).threePointArc((0.64, -0.04), (0.6, -0.134)).lineTo(0.6, -0.54)....
7
362
1.693574
train_26d124e78bd7c558
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.312, 1).threePointArc((0.444, 0.944), (0.5, 0.812)).lineTo(0.5, -0.761).threePointArc((0.429, -0.929), (0.261, -1)).lineTo(-0.396, -1).threePointArc((-0.469, -0.969), (-0.5, -0.896)).lineTo(-0.5, -0.643).threePointArc((-0.457, -0.543), (-0.357, -0.5...
4
14
1.730545
train_8dbb0e57c9def964
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.696, -0.571, -0.268), normal=(0.825, 0.457, 0.333), xDir=(-0.485, 0.875, 0))).moveTo(0.068, 0.718).lineTo(0.157, 0.175).threePointArc((0.078, 0.068), (0.185, 0.01)).lineTo(0.196, -0.061).threePointArc((0.196, -0.068), (0.194, -0.075)).lineTo(-0...
6
91
0.518868
train_c14da9d0fc99ac73
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1.264), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.854).lineTo(1, 1.188).lineTo(0.689, 1.188).lineTo(0.689, 0.818).lineTo(0.686, 0.818).lineTo(0.686, 0.674).lineTo(0.126, 0.674).lineTo(0.126, 0).lineTo(0, 0).lineTo(0, 1.854).lineTo(1, ...
6
62
3.286954
train_29db30645a6e3b21
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.017, 0.204).threePointArc((0.105, 0.104), (0.04, 0.05)).lineTo(0.03, 0.018).lineTo(0.053, -0.029).lineTo(0.127, -0.081).lineTo(0.141, -0.102).lineTo(0.125, -0.131).lineTo(0.03, -0.206).lineTo(...
5
34
0.145115
train_0712611083bcf88a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.153, 0.207, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.03, 0.098).threePointArc((0.035, 0.097), (0.037, 0.093)).lineTo(0.037, -0.035).threePointArc((0.039, -0.04), (0.046, -0.042)).lineTo(0.059, -0.042).threePointArc((0.069, -0.046), (0.074...
6
139
0.035441
train_3f4223bb2366945f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.064, 0, -0.867), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.321, 0.368).threePointArc((0.345, 0.36), (0.355, 0.343)).lineTo(0.355, -0.243).threePointArc((0.305, -0.331), (0.187, -0.368)).lineTo(-0.218, -0.368).threePointArc((-0.314, -0.338), (...
13
114
0.515117
train_270d0c1a90161c63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.426, -0.301, -0.394), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.002, 0.678).lineTo(0.418, 0.395).lineTo(0.186, -0.004).lineTo(-0.26, -0.077).lineTo(-0.418, 0.406).lineTo(0.002, 0.678).close().extrude(0.631) result = result.faces('<Z').shell(-...
5
72
0.159239
train_35016a41acf018eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.078, -0.237), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.563).lineTo(1, -0.563).lineTo(-1, -0.563).lineTo(-1, 0.563).lineTo(1, 0.563).close().extrude(0.387) result = result.union(cq.Workplane(cq.Plane(origin=(-0.5, -0.485, 0), normal=(0, ...
8
44
0.891497
train_76f3d09bc18df9a6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.128, -0.019, -0.189), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.838, -0.326).threePointArc((-0.127, 0.9), (0.681, -0.9)).lineTo(-0.838, -0.326).close().moveTo(0.838, 0.164).lineTo(0.48, -0.453).threePointArc((0.074, 0.453), (0.838, 0.164)).c...
3
27
0.733287
train_bdc469944b2be070
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.143, 0.012, -0.632), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.345, 0.813).lineTo(0.63, 0.716).threePointArc((0.366, -0.815), (-0.63, 0.38)).lineTo(-0.408, 0.632).threePointArc((-0.368, 0.655), (-0.322, 0.645)).lineTo(-0.029, 0.476).threePoin...
1
14
3.227257
train_2996ccacd574fae5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.368, -0.163, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.737).threePointArc((0.522, 0.522), (0.737, 0)).lineTo(0.26, 0).threePointArc((0.182, 0.182), (0, 0.26)).lineTo(0, 0.737).close().extrude(2) result = result.union(cq.Workplane(cq.P...
7
30
0.9783
train_853558de6c3bae2b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.186, 0.246, 0.322), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.016, 0.641).lineTo(0.556, 0.306).lineTo(0.617, -0.365).lineTo(0.023, -0.641).lineTo(-0.521, -0.36).lineTo(-0.617, 0.3).lineTo(-0.016, 0.641).close().workplane(offset=0.122).moveT...
14
223
0.669164
train_649060756613bbe7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.081, -0.057, -0.222), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.887, 0.936).lineTo(0.887, -0.936).lineTo(-0.887, -0.936).lineTo(-0.887, -0.114).lineTo(-0.572, -0.05).lineTo(-0.628, 0.101).lineTo(-0.534, 0.101).lineTo(-0.534, 0.16).lineTo(-0.57...
5
68
0.792262
train_435082893d648832
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.176, 0.271, 0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.262, 0.264).lineTo(0.262, 0.132).lineTo(0.786, 0.132).lineTo(0.786, -0.264).lineTo(-0.786, -0.264).lineTo(-0.786, -0.132).lineTo(0.262, -0.132).lineTo(0.262, 0).lineTo(-0.786, 0).l...
14
154
0.581424
train_46cc09f48841b8f8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.051), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.418, 0.898).lineTo(0.418, -0.898).lineTo(-0.418, -0.898).lineTo(-0.418, 0.898).lineTo(0.418, 0.898).close().extrude(0.399) result = result.union(cq.Workplane(cq.Plane(origin=(-0.041, 0.071...
13
87
0.771461
train_294fffeadf1c8d88
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.854, 0.247).lineTo(0.996, 0.093).lineTo(0.996, -0.247).lineTo(-0.996, -0.247).lineTo(-0.996, 0.093).lineTo(-0.925, 0.247).lineTo(-0.854, 0.247).lineTo(-0.711, 0.093).lineTo(-0.64, 0.247).l...
1
44
0.154104
train_104c764ef330313c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.086, -0.024), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.108, 0.914).threePointArc((0.473, 0.788), (0.914, 0.104)).lineTo(0.212, 0.103).threePointArc((0.129, 0.041), (0.212, -0.124)).lineTo(0.914, -0.125).lineTo(0.894, -0.237).threePointArc(...
8
94
0.407029
train_a3f4a25644e2e443
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.695, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.372, 1.339).threePointArc((0.372, 1.339), (0.743, 0.695)).threePointArc((0.372, 0.051), (-0.372, 0.051)).threePointArc((-0.743, 0.695), (-0.372, 1.339)).close().extrude(2) result = result...
14
5
3.473113
train_65136de57dda164d
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(1, 0.35).lineTo(1, -0.354).lineTo(0.982, -0.364).lineTo(-0.986, -0.364).threePointArc((-0.99, -0.362), (-1, -0.358)).lineTo(-1, 0.356).threePointArc((-0.99, 0.362), (-0.983, 0.364)).lineTo(0....
11
54
0.442602
train_7b5b616c75b7fb4f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.512).lineTo(1, -0.084).lineTo(0.566, -0.084).lineTo(0.566, -0.512).lineTo(-0.761, -0.512).threePointArc((-0.923, -0.443), (-1, -0.277)).lineTo(-1, 0.099).threePointArc((-0.871, 0.391), (...
9
39
0.606523
train_c153290affbce7e1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.224), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.58, 1).lineTo(0.58, -0.985).lineTo(0.573, -0.985).lineTo(0.573, -1).lineTo(-0.575, -1).threePointArc((-0.579, -0.991), (-0.58, -0.987)).lineTo(-0.58, 0.983).threePointArc((-0.578, 0.989), ...
14
225
0.650552
train_c670e10377941001
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.029, 0, -0.257), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.209).lineTo(0, 0.111).threePointArc((0.056, 0.089), (0.189, 0.08)).lineTo(0.365, 0.08).threePointArc((0.45, 0.074), (0.486, 0.06)).lineTo(0.486, 0.016).threePointArc((0.514, 0.005),...
20
656
0.146478
train_dc2e4e810f188cbf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.251), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.734, 0.884).lineTo(1, 0.618).lineTo(1, -0.625).lineTo(0.742, -0.884).lineTo(-0.685, -0.884).lineTo(-1, -0.568).lineTo(-1, 0.728).lineTo(-0.844, 0.884).lineTo(0.734, 0.884).close().extrude(...
5
28
1.499171
train_3fd78768e38e756b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.425, -0.321, -0.642), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.849).threePointArc((0.6, 0.6), (0.849, 0)).lineTo(0.34, 0).threePointArc((0.24, 0.24), (0, 0.34)).lineTo(0, 0.849).close().extrude(1.642) result = result.union(cq.Workplane(cq...
9
78
0.843338
train_f8b2f715d002b3d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.099), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.108).lineTo(1, 0.054).threePointArc((0.964, 0.045), (0.899, 0.041)).lineTo(-0.18, 0.041).threePointArc((-0.281, 0.036), (-0.324, 0.022)).lineTo(-0.324, -0.019).threePointArc((-0.275, -0...
6
45
0.078515
train_4ac93e965871fca2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.015, -0.323), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.881, 0.229).lineTo(1, 0.126).lineTo(1, -0.229).lineTo(-1, -0.229).lineTo(-1, 0.126).lineTo(-0.936, 0.229).lineTo(-0.881, 0.229).lineTo(-0.774, 0.126).lineTo(-0.719, 0.229).lineTo(-0.66...
8
60
0.270043
train_bb773dd7577509dd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.061, -0.032, 0.015), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.034, 0.376).threePointArc((0.479, 0.479), (0.3, -0.104)).threePointArc((0.278, -0.118), (0.265, -0.222)).threePointArc((-0.122, -0.479), (-0.29, -0.053)).threePointArc((-0.295, -...
6
73
0.512049
train_a5a89db694589aca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.222, -0.777, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.573, 0.777).threePointArc((0, 0.204), (-0.573, 0.777)).threePointArc((0, 1.349), (0.573, 0.777)).close().workplane(offset=0.163).moveTo(0.508, 0.777).threePointArc((0, 0.269), (-0.508...
4
20
1.244398
train_4b617c0ac59b3e9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.322, -0.518, 0.006), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.24, 0.717).lineTo(0.332, 0.4).lineTo(0.381, 0.083).threePointArc((0.346, -0.091), (0.24, -0.234)).threePointArc((-0.008, -0.482), (-0.256, -0.234)).lineTo(-0.215, -0.044).lineTo(-...
7
83
0.719154
train_dc898fd6f88cc231
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.424, 0.619, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.335, 1.292).threePointArc((0.15, 1.187), (0.547, 0.636)).threePointArc((0.624, -0.04), (0.335, -0.443)).threePointArc((-0.15, -0.338), (-0.547, 0.214)).threePointArc((-0.624, 0.888), ...
4
108
1.691643
train_cad7c732efc1a860
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.245, 1).threePointArc((0.541, 0.875), (0.667, 0.578)).lineTo(0.667, -0.787).threePointArc((0.603, -0.937), (0.454, -1)).lineTo(0.243, -1).threePointArc((0.072, -0.928), (0, -0.757)).lineTo(0, -0.56).threePointArc((-0.067, -0.401), (-0.227, -0.333))....
4
68
0.908907