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_cb4e63fc239ac2bc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.848, -0.181).lineTo(0.962, -0.241).lineTo(0.938, -0.326).lineTo(0.819, -0.298).lineTo(0.74, -0.462).lineTo(0.826, -0.556).lineTo(0.773, -0.627).lineTo(0.668, -0.559).lineTo(0.537, -0.687)....
5
104
0.457477
train_d77dc4350dfa472d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.832), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.156, 0.816).threePointArc((-0.046, 0.777), (0, 0.684)).lineTo(0, 0.549).threePointArc((0.049, 0.45), (0.164, 0.409)).lineTo(0.392, 0.409).threePointArc((0.453, 0.387), (0.478, 0.335)).lin...
13
55
0.377419
train_5fe45a288ad48ae8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.264, -1, 0.04), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.018, 0.531).lineTo(0.261, 0.365).lineTo(0.19, 0.049).lineTo(-0.132, 0.019).lineTo(-0.261, 0.317).lineTo(-0.018, 0.531).close().extrude(2) result = result.cut(cq.Workplane(cq.Plane(ori...
5
43
0.353257
train_ec8ab0b73d5c3efa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.035, -0.089, -0.1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.869, 0.423).lineTo(0.893, -0.401).lineTo(0.152, -0.423).lineTo(0.145, -0.199).lineTo(0.597, -0.185).lineTo(0.586, 0.19).lineTo(0.134, 0.177).lineTo(0.127, 0.401).lineTo(0.869, 0.42...
16
274
1.046155
train_d162038c43fc3754
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0.003, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.878, -0.205).lineTo(0.964, -0.268).lineTo(0.923, -0.387).lineTo(0.826, -0.368).lineTo(0.72, -0.546).lineTo(0.772, -0.637).lineTo(0.686, -0.729).lineTo(0.605, -0.671).lineTo(0.436,...
7
97
1.176448
train_0b270ad3ef23eb6c
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.011, 0.186).lineTo(0.194, -0.13).threePointArc((0.107, -0.222), (-0.012, -0.187)).lineTo(-0.076, -0.08).threePointArc((-0.053, 0.061), (-0.194, 0.163)).threePointArc((-0.088, 0.222), (0.01...
8
53
0.124336
train_093067cb26854575
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.383), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.89, 0.511).threePointArc((0.962, 0.495), (1, 0.459)).lineTo(1, 0.288).threePointArc((0.963, 0.254), (0.896, 0.239)).lineTo(0.455, 0.239).threePointArc((0.323, 0.211), (0.266, 0.143)).lineT...
11
123
0.698645
train_7c31cb8ae1a18dad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.999, -0.165, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.693, 0.683).threePointArc((0.672, 0.288), (0.257, -0.179)).threePointArc((-0.308, -0.445), (-0.693, -0.353)).threePointArc((-0.672, 0.042), (-0.257, 0.51)).threePointArc((0.308, 0.775...
18
797
1.54188
train_52da1ad27c138a18
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.179), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.189, 0.841).threePointArc((-0.056, 0.779), (0, 0.631)).lineTo(0, 0.422).threePointArc((0.037, 0.324), (0.124, 0.282)).lineTo(0.898, 0.282).threePointArc((0.964, 0.25), (1, 0.176)).lineTo(...
9
312
0.65617
train_20b6638f916bbabc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.402, 0.963, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.706, 2.184).threePointArc((-0.059, 2.351), (0.622, 1.962)).threePointArc((0.937, 1.245), (0.706, 0.62)).threePointArc((0.059, 0.453), (-0.622, 0.841)).threePointArc((-0.937, 1.558), (...
11
106
4.806557
train_63ef620b686494c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.451, 0.153, -0.771), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.201, 0.028).threePointArc((0.211, -0.01), (0.183, -0.038)).threePointArc((0.145, -0.028), (0.134, 0.01)).threePointArc((0.162, 0.038), (0.201, 0.028)).close().sweep(cq.Workplane(c...
9
134
0.360389
train_97861e83417e58b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.183, -0.89), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.074, 0.793).lineTo(0.077, 0.246).lineTo(0.165, -0.1).lineTo(0.058, -0.283).lineTo(0.017, -0.793).lineTo(-0.052, -0.36).lineTo(-0.165, -0.328).lineTo(-0.101, 0.123)....
2
45
0.320559
train_af93715024ca4798
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.07, -0.011, 0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.912, 0.266).lineTo(0.912, 0.154).lineTo(0.215, 0.154).lineTo(0.215, -0.154).lineTo(0.912, -0.154).lineTo(0.912, -0.266).lineTo(-0.912, -0.266).lineTo(-0.912, -0.154).lineTo(-0.215,...
9
90
0.270755
train_fc9f2b14ac50260a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, 0.047), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.607, 0.456).lineTo(0.607, -0.456).threePointArc((0.063, -1), (-0.481, -0.456)).threePointArc((-0.464, -0.284), (-0.575, -0.152)).threePointArc((-0.607, -0.002), (-0.598, 0.152)).threeP...
9
30
0.29922
train_e8810ed198f26bb7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.439, 0, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.554, 0.361).threePointArc((0.757, 0.337), (0.939, 0.303)).lineTo(1.406, 0.091).threePointArc((1.438, 0.007), (1.409, -0.077)).lineTo(0.987, -0.274).threePointArc((0...
9
111
0.156868
train_76c53a4e88b22484
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.348, 0, -0.26), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.247, 0.521).lineTo(0.247, 0.247).lineTo(0.696, 0.247).lineTo(0.696, 0).lineTo(0, 0).lineTo(0, 0.521).lineTo(0.247, 0.521).close().extrude(1, both=True) result = result.cut(cq.Workplan...
5
52
0.445356
train_adba862cb3b4ba7a
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.617, 0.965).lineTo(1, 0.59).lineTo(1, -0.734).lineTo(0.76, -0.965).lineTo(-1, -0.965).lineTo(-1, 0.822).lineTo(-0.845, 0.822).lineTo(-0.845, 0.965).lineTo(0.617, 0.965).close().extrude(0.4...
9
55
1.122053
train_c176123aaf15f04d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.027, 0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.133, 0.972).lineTo(0.928, 0.618).lineTo(0.928, 0.441).lineTo(0.928, 0.088).lineTo(0.397, -0.088).lineTo(-0.397, -0.972).lineTo(-0.928, -0.795).lineTo(-0.397, -0.265).lineTo(-0.133, 0.08...
12
113
0.442133
train_dbdb73a89c2e8c04
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.654), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.802, 0.6).threePointArc((0.941, 0.541), (1, 0.402)).lineTo(1, -0.126).threePointArc((0.978, -0.178), (0.926, -0.2)).lineTo(0.693, -0.2).threePointArc((0.628, -0.228), (0.6, -0.293)).lineTo...
5
43
1.688518
train_8e36d3258411eee2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.035, -0.001, -0.038), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(2.598, 0.919).lineTo(2.598, 0.579).threePointArc((2.555, 0.542), (2.454, 0.527)).lineTo(1.019, 0.527).threePointArc((0.759, 0.487), (0.649, 0.394)).lineTo(0.649, -0.917).threePoint...
17
51
3.62306
train_ded2600b0022b444
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.061, 0, -0.937), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.068, 0.063).lineTo(0.12, 0.039).lineTo(0.147, 0.007).lineTo(0.129, -0.041).lineTo(0.058, -0.063).lineTo(0.043, 0.001).lineTo(0.068, 0.063).close().sweep(cq.Workplane(cq.Plane(origin=...
8
70
0.034339
train_e093e1e464993e7e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0.005, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.258, 0.995).threePointArc((0.31, 0.962), (0.333, 0.883)).lineTo(0.333, 0.596).threePointArc((0.352, 0.526), (0.399, 0.497)).lineTo(0.78, 0.497).threePointArc((0.933, 0.402), (0.99...
6
154
0.407393
train_6d8287a72bccacb5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.069), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.265).lineTo(0.722, 0).lineTo(1, -0.265).lineTo(0.266, -0.265).lineTo(0.266, 0.265).lineTo(1, 0.265).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = r...
13
152
0.766658
train_ec6606a3c984179a
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.188, 0.222).threePointArc((0.212, 0.212), (0.222, 0.188)).lineTo(0.222, 0.03).threePointArc((0.213, 0.009), (0.192, 0)).lineTo(0.14, 0).threePointArc((0.12, -0.009), (0.111, -0.029)).lineTo(0....
26
137
0.256341
train_f5a871643410c0c0
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.208).lineTo(0.787, 0).lineTo(1, -0.208).lineTo(0.321, -0.208).lineTo(0.321, 0.208).lineTo(1, 0.208).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane('XY').circle(0.481).extrude(0.829, both...
14
99
0.371492
train_bba4c863d7fda107
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.212, 0, -0.171), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.577, 1).lineTo(1, 0).lineTo(-0.577, -1).lineTo(-0.577, 1).close().extrude(0.342) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.212, 0, -0.171), normal=(0, 0, 1), xDir=(1, 0, 0...
7
42
0.338007
train_a2983ba0a0ca330b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.415, -0.449, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.64, 0.771).threePointArc((1, 0.415), (0.64, 0.059)).lineTo(-0.64, 0.059).threePointArc((-1, 0.415), (-0.64, 0.771)).lineTo(0.64, 0.771).close().extrude(0.897) result = result.faces('<...
5
22
0.172478
train_a73b461371b50947
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.083, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.241, 0.108).threePointArc((0.255, 0.084), (0.309, 0.063)).threePointArc((0.416, 0.065), (0.523, 0.063)).lineTo(0.645, 0.035).threePointArc((0.803, -0.097), (0.125, -0.127)).threePointArc((...
4
130
1.305747
train_7ba193a9c205f143
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.285, 0, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.574, 1).lineTo(1.144, 0).lineTo(-0.574, -1).lineTo(-0.574, 1).close().extrude(0.379) result = result.cut(cq.Workplane(cq.Plane(origin=(0.215, 0.518, 0.026), normal=(1, 0, 0), xDir=(0,...
6
40
0.57263
train_ddf82143019b33fc
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.077, 1).threePointArc((-0.023, 0.969), (0, 0.915)).lineTo(0, 0.49).threePointArc((0.047, 0.378), (0.158, 0.332)).lineTo(0.485, 0.332).threePointArc((0.61, 0.279), (0.664, 0.153)).lineTo(0.664, -0.227).threePointArc((0.632, -0.301), (0.558, -0.332))...
32
70
0.246857
train_c03611a98101c820
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.327), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.86, 0.419).lineTo(1.032, 0.25).lineTo(1.032, -0.225).threePointArc((0.974, -0.362), (0.835, -0.419)).lineTo(-0.789, -0.419).lineTo(-0.789, -0.172).lineTo(-1.032, -0.172).lineTo(-1.032, 0.4...
16
101
0.445921
train_44fb5925915e03f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.314, -0.314), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.277, 0.735).lineTo(0.277, 0.453).lineTo(0.299, 0.453).lineTo(0.299, 0.416).lineTo(0.501, 0.416).lineTo(0.501, 0.339).lineTo(0.436, 0.339).lineTo(0.436, 0).lineTo(0, 0).lineTo(0, 0.73...
10
111
0.158915
train_73b9dd62e8afadc2
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.982, 0.242).lineTo(0.982, 0.17).threePointArc((0.965, 0.162), (0.925, 0.158)).lineTo(-0.12, 0.158).threePointArc((-0.412, 0.132), (-0.536, 0.071)).lineTo(-0.536, -0.116).threePointArc((-0.477, -0.146), (-0.336, -0.158)).lineTo(0.885, -0.158).threePo...
6
66
0.205171
train_7a57551e6e2b7d5e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.396, -0.059), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.547, 0.604).lineTo(0.547, -0.496).threePointArc((0.516, -0.572), (0.438, -0.604)).lineTo(-0.459, -0.604).lineTo(-0.547, -0.517).lineTo(-0.547, 0.497).lineTo(-0.439, 0.604).lineTo(0.547...
7
161
0.166823
train_cf1f6584f2937858
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.068, 0.049), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1, -0.032).threePointArc((0.343, 0.103), (1, -0.103)).lineTo(-1, -0.032).close().extrude(0.204) result = result.union(cq.Workplane(cq.Plane(origin=(-0.084, 0.026, 0.116), normal=(-1, 0, ...
7
27
0.07013
train_0ab645ad7e43626d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.119, -0.163), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.014, 0.996).threePointArc((0.225, 0.878), (0.332, 0.941)).threePointArc((0.516, 0.753), (0.637, 0.775)).threePointArc((0.744, 0.532), (0.862, 0.513)).threePointArc((0.878, 0.248), (0...
13
121
0.416227
train_4afe4123d2b93fa0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.052, 0, -0.398), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.825, 0.474).threePointArc((0.912, 0.438), (0.948, 0.351)).lineTo(0.948, -0.058).threePointArc((0.919, -0.128), (0.849, -0.158)).lineTo(0.682, -0.158).threePointArc((0.647, -0.173), (0...
13
89
0.944048
train_fd127b6b3e6c7da2
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.636, 0.796).lineTo(0.796, 0.636).lineTo(0.796, -0.182).lineTo(0.713, -0.266).lineTo(0.357, -0.266).lineTo(0.266, -0.357).lineTo(0.266, -0.715).lineTo(0.184, -0.796).lineTo(-0.131, -0.796).lineTo(-0.266, -0.663).lineTo(-0.266, -0.444).lineTo(-0.444, ...
5
46
1.983393
train_17dd817b0bf23d6f
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(0.733, 0.578).threePointArc((0.914, 0.501), (1, 0.316)).lineTo(1, -0.419).threePointArc((0.945, -0.532), (0.832, -0.578)).lineTo(-0.609, -0.578).threePointArc((-0.878, -0.465), (-1, -0.192))...
10
158
0.294815
train_12452b15afbfe4c4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.014, -0.009, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.888, 0.258).lineTo(1.008, -0.225).lineTo(0.874, -0.258).lineTo(0.844, -0.137).lineTo(0.71, -0.17).lineTo(0.68, -0.05).lineTo(0.547, -0.083).threePointArc((0.547, -0.065), (0.532, -0....
6
41
0.66985
train_7ec7f4f9100d5ffd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.117, -0.477), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.834, 0.675).threePointArc((0.95, 0.627), (1, 0.511)).lineTo(1, -0.618).threePointArc((0.981, -0.658), (0.941, -0.675)).lineTo(-0.928, -0.675).threePointArc((-0.978, -0.655), (-1, -0.60...
6
52
2.486869
train_83c2145fb9163db9
import cadquery as cq import math result = cq.Workplane('XY').box(1.729, 2, 1.771) result = result.edges().fillet(0.286) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.449).extrude(3.456, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
7
34
3.304956
train_ef011dd3c6fb3a64
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.856, 0.348).threePointArc((0.953, 0.309), (1, 0.212)).lineTo(1, -0.26).threePointArc((0.967, -0.322), (0.905, -0.348)).lineTo(-0.747, -0.348).threePointArc((-0.919, -0.275), (-1, -0.099))....
11
191
0.347682
train_cb106224e64de4bd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.294, -0.718), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.667).lineTo(1, -0.5).lineTo(0.832, -0.667).lineTo(-0.93, -0.667).threePointArc((-0.979, -0.647), (-1, -0.598)).lineTo(-1, 0.531).lineTo(-0.863, 0.667).lineTo(1, 0.667).close().extru...
7
39
2.471738
train_b17fb1e5c151cc49
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.163, 0, -0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.716, 0.173).lineTo(-0.596, 0.417).threePointArc((-0.573, 0.486), (-0.571, 0.558)).lineTo(-0.593, 0.798).threePointArc((-0.29, 0.7), (0.282, 1)).threePointArc((0.392, 0.7), (0.98, 0.4...
19
274
0.060109
train_36bd71f1713080f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.852, 0.132, -0.235), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.181, 0.405).threePointArc((0.293, 0.359), (0.34, 0.246)).lineTo(0.34, 0.011).threePointArc((0.293, -0.101), (0.181, -0.148)).lineTo(-0.181, -0.148).threePointArc((-0.293, -0.101),...
11
281
2.219329
train_08a81f050247c9cd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.068, -0.019, -0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.673, -0.168).lineTo(0.975, -0.285).lineTo(0.945, -0.374).lineTo(0.641, -0.266).lineTo(0.557, -0.413).lineTo(0.792, -0.636).lineTo(0.73, -0.707).lineTo(0.49, -0.49).lineTo(0.357, -...
9
138
1.022216
train_487e133d09f9f5d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.21, 0.434, 0.635), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.066, 0.135).threePointArc((0.112, 0.109), (0.139, 0.068)).threePointArc((0.146, 0.019), (0.13, -0.031)).threePointArc((0.096, -0.074), (0.045, -0.104)).threePointArc((-0.011, -0.11...
8
164
0.306434
train_30cc69b0db0f1682
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.103, 0.997).threePointArc((0.372, 0.919), (0.485, 0.735)).lineTo(0.485, -0.56).threePointArc((0.531, -0.633), (0.638, -0.664)).lineTo(0.793, -0.664).threePointArc((0.917, -0.7), (0.97,...
3
21
0.396313
train_5f7576e0634ae58b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.372, 0.277, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.607, 0.019).lineTo(0.585, 0.006).lineTo(0.563, -0.007).lineTo(0.54, -0.018).lineTo(0.516, -0.028).lineTo(0.492, -0.037).lineTo(0.467, -0.045).lineTo(0.442, -0.051).lineTo(0.416, -0...
11
258
1.03686
train_fe7361ac0351adce
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.01, 0.868).lineTo(0.501, 0.752).lineTo(0.877, 0.424).lineTo(1.005, 0.014).lineTo(0.882, -0.415).lineTo(0.527, -0.739).lineTo(-0.02, -0.868).lineTo(-0.524, -0.74).lineTo(-0.86, -0.448).lin...
6
90
0.955046
train_bdeb652384f0c55b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.007, -0.602), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.535, 0.565).threePointArc((0.668, 0.033), (0.934, -0.166)).lineTo(1, -0.299).threePointArc((0.335, -0.565), (-0.064, -0.299)).lineTo(0.003, -0.166).threePointArc((0.202, -0.033), (0.40...
1
14
1.345542
train_5aa6390dad9b6281
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.73, 0.27).threePointArc((1, 0), (0.73, -0.27)).lineTo(-0.73, -0.27).threePointArc((-1, 0), (-0.73, 0.27)).lineTo(0.73, 0.27).close().extrude(0.36) result = result.cut(cq.Workplane(cq.Plane(...
5
54
0.314537
train_65c6ecd59d232e3a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.309, -0.396, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.125, 0.603).threePointArc((0.315, 0.525), (0.328, 0.284)).threePointArc((0.336, 0.147), (0.408, 0.031)).lineTo(0.311, -0.215).threePointArc((0.295, -0.321), (0.279, -0.482)).threePoin...
1
13
0.783288
train_8d0624c0cc152c01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.853, 0.171, -0.002), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.231, 1.482).threePointArc((-0.1, 1.429), (0.001, 1.352)).threePointArc((0.088, 1.302), (0.225, 1.318)).threePointArc((0.454, 1.352), (0.716, 1.303)).threePointArc((0.87, 1.132), ...
1
16
0.560274
train_6bb2141e9297a5bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.234), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.944, 0.433).threePointArc((0.983, 0.417), (1, 0.377)).lineTo(1, -0.372).lineTo(0.939, -0.433).lineTo(-1, -0.433).lineTo(-1, 0.378).lineTo(-0.946, 0.433).lineTo(0.944, 0.433).close().extrud...
5
15
0.251219
train_e1225359ee70b4ad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.31), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.853, 0.492).threePointArc((0.951, 0.474), (1, 0.432)).lineTo(1, 0.253).threePointArc((0.961, 0.222), (0.888, 0.209)).lineTo(-0.155, 0.209).threePointArc((-0.284, 0.185), (-0.338, 0.129)).li...
22
134
0.585432
train_a6c63f230d2090c6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.392, -0.001, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.448, -0.051).lineTo(0.602, -0.082).lineTo(0.595, -0.123).lineTo(0.441, -0.097).lineTo(0.427, -0.147).lineTo(0.57, -0.209).lineTo(0.555, -0.248).lineTo(0.41, -0.19).lineTo(0.386, -...
5
212
0.169975
train_257c1a42521b383b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.451, 0, 0.134), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.168, 0.62).lineTo(0.549, 0.51).lineTo(0.225, -0.62).lineTo(-0.549, -0.398).lineTo(-0.44, -0.016).lineTo(-0.047, -0.129).lineTo(0.168, 0.62).close().extrude(0.236) result = result.cut(...
34
109
0.295589
train_59761444f44e4cf3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.398), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.738).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.738).lineTo(-0.575, 0.738).lineTo(-0.575, 0.425).lineTo(0.575, 0.425).lineTo(0.575, 0.738).lineTo(1, 0.738).close().extrude(0.34, both=True...
2
18
0.788899
train_5b27d353380ea557
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.016, -0.422, -0.64), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.277, 1.046).lineTo(0.553, 0.922).threePointArc((0.984, 0.491), (0.553, 0.059)).lineTo(-0.553, 0.059).threePointArc((-0.984, 0.491), (-0.553, 0.922)).lineTo(-0.277, 1.032).threePoi...
17
324
1.138529
train_058d96ecfa082266
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.197), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.363, 1.197).lineTo(0.363, 0.725).lineTo(0.491, 0.725).lineTo(0.491, 0.648).lineTo(0.542, 0.648).lineTo(0.542, 0.171).lineTo(0.748, 0.171).lineTo(0.748, 0).lineTo(0, 0).lineTo(0, 1.197).li...
8
88
0.914123
train_caa3fac7aa8ea830
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.959, -0.378, 0.099), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.194, 0.428).lineTo(0.194, -0.167).threePointArc((0, -0.361), (-0.194, -0.167)).lineTo(-0.194, 0.428).threePointArc((0, 0.622), (0.194, 0.428)).close().extrude(1.917) result = resu...
14
115
0.520037
train_e43d50117d38f48c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.231, 0.506, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.166, 1.838).threePointArc((0.366, 1.824), (0.468, 1.652)).threePointArc((0.444, 1.366), (0.301, 1.045)).threePointArc((0.078, 0.773), (-0.166, 0.625)).threePointArc((-0.366, 0.638), (-...
1
8
1.625507
train_dfe2678961217cbd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.107, -0.112, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.541, 0.12).lineTo(-0.541, -0.043).threePointArc((-0.452, -0.072), (-0.242, -0.084)).lineTo(0.819, -0.084).threePointArc((0.871, -0.087), (0.893, -0.094)).lineTo(0.893, -0.125).threePo...
5
34
0.156716
train_6e53f77b41314a05
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.749, 0.58).lineTo(1, 0.33).lineTo(1, -0.424).threePointArc((0.953, -0.535), (0.842, -0.58)).lineTo(-0.778, -0.58).lineTo(-1, -0.358).lineTo(-1, 0.58).lineTo(0.749, 0.58).close().extrude(0....
7
61
0.719875
train_a01527fad4e12e4e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.277), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.002).extrude(0.261) result = result.cut(cq.Workplane(cq.Plane(origin=(1.002, 0, -0.277), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.134, 0.501), (-0.501, 0.868), (-1.002, 1...
7
88
0.643107
train_86f9f2c65bd3d188
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.338, 0, -0.082), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.334, 0.523).lineTo(0.334, 0.222).lineTo(0.634, 0.222).lineTo(0.634, -0.523).lineTo(-0.634, -0.523).lineTo(-0.634, 0.354).threePointArc((-0.585, 0.474), (-0.466, 0.523)).lineTo(0.334, ...
6
66
0.58954
train_6862a86166624b3d
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.044, 0.772).lineTo(0.072, 0.77).lineTo(0.142, 0.994).lineTo(0.337, 0.946).lineTo(0.295, 0.715).lineTo(0.398, 0.662).lineTo(0.559, 0.834).lineTo(0.714, 0.706).lineTo(0.575, 0.516).lineTo(0....
9
193
0.876253
train_7fbfd019cfe3fc5d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.089, 0.248, 0.398), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.665, 0.434).threePointArc((0.998, -0.217), (0.333, -0.651)).threePointArc((-0.665, -0.434), (-0.998, 0.217)).threePointArc((-0.333, 0.651), (0.665, 0.434)).close().moveTo(0.333, 0....
6
127
0.794267
train_077315a73d0fc59b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.156), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.67).lineTo(1, -0.661).lineTo(0.991, -0.67).lineTo(-0.993, -0.67).lineTo(-1, -0.664).lineTo(-1, 0.67).lineTo(1, 0.67).close().extrude(0.141) result = result.union(cq.Workplane(cq.Plane(or...
18
133
1.622397
train_1dc61249901e1c95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.07, -0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.285).lineTo(1, 0.126).lineTo(-0.449, 0.126).lineTo(-0.449, -0.126).lineTo(1, -0.126).lineTo(1, -0.285).lineTo(-1, -0.285).lineTo(-1, 0.285).lineTo(1, 0.285).close().extrude(0.101, ta...
11
196
0.124001
train_69cdebd49712989e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.083, 0.014, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.07, 0.262).lineTo(0.061, -0.484).threePointArc((0.215, -0.581), (0.029, -0.664)).lineTo(-0.025, -0.631).threePointArc((-0.038, -0.619), (-0.045, -0.602)).lineTo(-0.193, 0.24).threePoin...
5
26
0.500961
train_879ef47f456a98b8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.297), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.76, 0.594).lineTo(0.76, 0.483).lineTo(1, 0.483).lineTo(1, 0).lineTo(0, 0).lineTo(0, 0.594).lineTo(0.76, 0.594).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) re...
4
9
1.614866
train_f31b15f112ebb55b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.49, 2).lineTo(0.49, 0.644).lineTo(0.969, 0.644).lineTo(0.969, 0).lineTo(0.148, 0).lineTo(0.148, 2).lineTo(0.49, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) re...
6
52
2.693867
train_ec0c6d2ec2968b75
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.02, -0.187), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.185, 0.226).lineTo(0.376, 0.035).lineTo(0.376, -0.226).lineTo(-0.155, -0.226).lineTo(-0.155, -0.006).lineTo(-0.376, -0.006).lineTo(-0.376, 0.053).lineTo(-0.202, 0.053).lineTo(-0.202, 0...
12
68
0.492989
train_fc7e257757f0e7e6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.195, 0.105, -0.08), normal=(-0.442, -0.341, -0.83), xDir=(0.611, -0.792, 0))).moveTo(-0.235, 0.382).lineTo(0.757, 0.081).threePointArc((1.012, 0.08), (0.775, -0.002)).lineTo(-0.256, -0.428).lineTo(-0.409, -0.424).lineTo(-1.012, -0.074).lineTo(-...
9
98
0.951237
train_d7cfc2ba913ca4a6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.147, 0.005, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.589, 0.631).lineTo(0.589, -0.011).threePointArc((0.751, -0.1), (1.133, -0.138)).lineTo(2.764, -0.138).threePointArc((2.892, -0.15), (2.946, -0.18)).lineTo(2.946, -0.315).threePointArc((...
20
110
2.818527
train_86ff8eb02b8c2062
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.01, -0.274, -0.174), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.689, 0.251).lineTo(0.668, 0.203).lineTo(0.725, 0.088).lineTo(0.725, 0).lineTo(0.673, 0).lineTo(0.673, 0.075).lineTo(0.6, 0.203).lineTo(0, 0.199).lineTo(0, 0.251).lineTo(0.689, 0.2...
7
72
0.11281
train_01d41b18e95283f4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.023, -0.155), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.363, 0.309).lineTo(0.363, 0).lineTo(-0.363, 0).lineTo(-0.363, 0.309).lineTo(-0.101, 0.309).lineTo(-0.101, 0.262).lineTo(0.101, 0.262).lineTo(0.101, 0.309).lineTo(0.363, 0.309).close()...
5
43
0.07114
train_28aba71c0c28b468
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.431, 0.332, -0.28), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.313, 0.409).lineTo(0.313, 0.18).lineTo(0.126, 0.18).lineTo(0.126, -0.409).lineTo(-0.126, -0.409).lineTo(-0.126, 0.18).lineTo(-0.313, 0.18).lineTo(-0.313, 0.409).lineTo(0.313, 0.409)...
11
125
0.813574
train_65f6248f92e97291
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.148, 0.249, -0.836), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.681, 0.303).threePointArc((0.852, 0.242), (0.681, 0.182)).lineTo(0.852, -0.242).threePointArc((0.681, -0.303), (0.17, -0.363)).lineTo(0, -0.303).threePointArc((-0.852, 0.242), (-0....
23
181
0.291218
train_4ad33e2cad65b3d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.089, -0.072), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.791, 0.707).threePointArc((0.93, 0.539), (0.988, 0.144)).lineTo(0.988, -0.357).threePointArc((0.952, -0.603), (0.866, -0.707)).lineTo(-0.848, -0.707).threePointArc((-0.946, -0.58...
8
35
0.608401
train_05aeaa0d814faed4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.313), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.812, -0.092).lineTo(0.991, -0.138).lineTo(0.973, -0.232).lineTo(0.791, -0.203).lineTo(0.764, -0.291).lineTo(0.925, -0.38).lineTo(0.884, -0.467).lineTo(0.715, -0.393).lineTo(0.666, -0....
3
179
1.222376
train_206beb490e7c59db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.092, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.208).lineTo(1, -0.208).lineTo(-1, -0.208).lineTo(-1, 0.208).lineTo(-0.68, 0.208).lineTo(-0.68, -0.145).lineTo(0.68, -0.145).lineTo(0.68, 0.208).lineTo(1, 0.208).close().extrude(0.31...
3
60
0.112081
train_f2f0a0d66f4e9ea4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.172, -0.198), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.915, 0.382).threePointArc((0.974, 0.358), (1, 0.299)).lineTo(1, -0.264).threePointArc((0.964, -0.348), (0.88, -0.382)).lineTo(-0.948, -0.382).threePointArc((-0.984, -0.368), (-1, -0.33...
16
70
0.29079
train_5ed162b761e69419
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.075, 0, -0.69), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.728, 0.728).lineTo(0.728, 0.364).lineTo(0.364, 0.364).lineTo(0.364, -0.364).lineTo(0.728, -0.364).lineTo(0.728, -0.728).lineTo(0, -0.728).lineTo(0, -0.364).lineTo(-0.728, -0.364).lineTo...
14
65
1.879261
train_7976882e4dd28f7e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.611), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.004).extrude(0.167) result = result.cut(cq.Workplane(cq.Plane(origin=(1.004, 0, -0.611), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.077, 0.384), (-0.295, 0.709), (-0.62, 0....
6
67
0.53053
train_828c8c4d97f54f9d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.013, -0.914), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.721, 1.827).lineTo(0.721, 1.373).lineTo(0.779, 1.373).lineTo(0.779, 1.109).lineTo(1, 1.109).lineTo(1, 0.753).lineTo(0.352, 0.753).lineTo(0.352, 0).lineTo(0, 0).lineTo(0, 1.827).lineTo...
10
78
2.447621
train_7f85c6bc0089efd0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.239).lineTo(1, 0.177).threePointArc((0.96, 0.159), (0.867, 0.151)).lineTo(-0.212, 0.151).threePointArc((-0.394, 0.136), (-0.471, 0.102)).lineTo(-0.471, -0.111).threePointArc((-0.408, -0....
4
22
0.407398
train_4f55777e3071eaab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.065, -0.416), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.171, 1).threePointArc((-0.051, 0.941), (0, 0.824)).lineTo(0, 0.691).threePointArc((0.058, 0.555), (0.193, 0.498)).lineTo(0.401, 0.498).threePointArc((0.469, 0.469), (0.498, 0.401)).li...
12
107
1.517071
train_be488a6090ad730f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.451, -0.039, -0.121), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.067, 0.541).lineTo(0.18, 0.362).lineTo(0.362, 0.408).lineTo(0.499, 0.309).threePointArc((0.501, 0.227), (0.49, 0.145)).lineTo(0.457, -0.013).lineTo(0.432, -0.173).threePointArc((...
14
400
0.948362
train_c7034cafe302fbc8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.006, 0.031, -0.335), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.747, -0.274).lineTo(0.927, -0.391).lineTo(0.896, -0.457).lineTo(0.705, -0.37).lineTo(0.535, -0.589).lineTo(0.64, -0.776).lineTo(0.582, -0.82).lineTo(0.453, -0.655).lineTo(0.2, -0....
8
114
1.250477
train_b2256c04230feabe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.409, 0.586), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.312, 0.369).lineTo(0.295, 0.299).lineTo(0.386, 0.253).lineTo(0.348, 0.179).lineTo(0.258, 0.228).lineTo(0.21, 0.174).lineTo(0.269, 0.091).lineTo(0.201, 0.043).lineTo(0.144, 0.128).lineTo...
3
82
1.40648
train_5c241eb8f7855e11
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.015, 0.102, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.306, 0.474).lineTo(0.306, -0.474).lineTo(-0.306, -0.474).lineTo(-0.306, 0.474).lineTo(-0.081, 0.474).lineTo(-0.081, 0.071).lineTo(0.081, 0.071).lineTo(0.081, 0.474).lineTo(0.306, 0.474...
6
23
0.163345
train_958c87a2abcaa1d4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.213, 0, 0.552), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.297, 0.359).threePointArc((0.444, 0.213), (0.297, 0.066)).lineTo(-0.297, 0.066).threePointArc((-0.444, 0.213), (-0.297, 0.359)).lineTo(0.297, 0.359).close().revolve(angleDegrees=270, a...
6
149
0.540102
train_e0347105e3cdae49
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.529, -0.673, -0.2), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.057, 0.594).threePointArc((0.198, 0.537), (0.256, 0.395)).lineTo(0.256, -0.123).threePointArc((0.198, -0.264), (0.057, -0.323)).lineTo(-0.057, -0.323).threePointArc((-0.198, -0.26...
12
508
0.765951
train_ac52e9d1922be445
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.13, -0.346, 0.073), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.122, 0.414).lineTo(0.122, -0.22).threePointArc((0, -0.342), (-0.122, -0.22)).lineTo(-0.122, 0.414).threePointArc((0, 0.536), (0.122, 0.414)).close().moveTo(-0.001, 0.155).threePoin...
7
44
0.317099
train_0be564685dbc5beb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.818, 0.928, -0.243), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.065, 1.665).threePointArc((0.229, 1.696), (0.488, 1.602)).threePointArc((0.673, 1.398), (0.756, 1.114)).threePointArc((0.723, 0.793), (0.58, 0.485)).threePointArc((0.349, 0.237),...
35
53
1.929455
train_1eaebe8b1e4f7120
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.565, -0.162, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.657).threePointArc((0.465, 0.465), (0.657, 0)).lineTo(0.276, 0).threePointArc((0.195, 0.195), (0, 0.276)).lineTo(0, 0.657).close().extrude(2) result = result.union(cq.Workplane(cq...
10
96
0.773299