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_7550cd55885d28e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.371, 0, -0.212), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.571, -0.094).lineTo(0.618, -0.119).lineTo(0.608, -0.163).lineTo(0.558, -0.156).lineTo(0.524, -0.245).lineTo(0.563, -0.282).lineTo(0.542, -0.321).lineTo(0.495, -0.301).lineTo(0.439, -0....
6
139
0.519994
train_a11f2d0085cdfc39
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.14), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.857, 0.384).threePointArc((0.958, 0.369), (1, 0.333)).lineTo(1, 0.201).threePointArc((0.974, 0.179), (0.913, 0.17)).lineTo(0.477, 0.17).threePointArc((0.353, 0.151), (0.301, 0.107)).lineTo(...
3
26
0.296896
train_d07c7b1eb8062da5
import cadquery as cq import math result = cq.Workplane('XY').circle(0.535).extrude(1, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.398).extrude(0.472, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.069, 0.036, 0.315), normal=(0, ...
9
68
0.383507
train_a06461056ba76e7f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.257), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.722, 0.529).lineTo(1, 0.251).lineTo(1, -0.529).lineTo(-1, -0.529).lineTo(-1, 0.044).threePointArc((-0.857, 0.387), (-0.515, 0.529)).lineTo(0.722, 0.529).close().extrude(0.113) result = res...
9
46
0.308161
train_fcf9902b60ad0ba6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, -0.176, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(-0.393, -0.718).lineTo(-0.393, 0.718).lineTo(-0.378, 0.805).lineTo(-0.334, 0.884).lineTo(-0.266, 0.946).lineTo(-0.18, 0.986).lineTo(-0.085, 1).lineTo(0.01, 0.986).lineTo(0.096, 0.946).li...
2
43
0.493551
train_47610e4a446aa377
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.019, -0.049, -0.69), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.238, 0.792).lineTo(0.384, 0.647).threePointArc((0.391, 0.633), (0.388, 0.618)).lineTo(0.238, 0.317).threePointArc((0.396, -0.159), (0.238, -0.317)).lineTo(0.238, -0.476).threePoin...
4
62
1.448486
train_96dc2994e41731c0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.328, -0.048, 0.011), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.671, 0.46).lineTo(0.671, -0.46).lineTo(2.013, -0.46).lineTo(-1.342, -0.46).lineTo(-2.013, -0.46).lineTo(-1.342, -0.46).lineTo(-0.671, 0.46).close().extrude(0.336, both=True) resul...
18
130
0.467663
train_a9853f95342bd337
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.485).lineTo(1, -0.485).lineTo(-1, -0.485).lineTo(-1, 0.485).lineTo(1, 0.485).close().extrude(0.316) result = result.union(cq.Workplane(cq.Plane(origin=(-0.497, 0, 0.157), normal=(0, 0, ...
11
24
0.327924
train_d29c052df5da4530
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.942, 0.711).threePointArc((0.977, 0.696), (1, 0.661)).lineTo(1, 0.496).threePointArc((0.971, 0.447), (0.923, 0.427)).lineTo(-0.628, 0.427).threePointArc((-0.686, 0.402), (-0.711, 0.343)).lineTo(-0.711, 0.187).threePointArc((-0.698, 0.155), (-0.666, ...
4
69
1.347359
train_9b78c07982775460
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.739, -0.077, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.813, 1.476).threePointArc((0.803, 1.009), (0.322, 0.384)).threePointArc((-0.348, -0.033), (-0.813, 0.003)).threePointArc((-0.803, 0.469), (-0.322, 1.094)).threePointArc((0.348, 1.511)...
3
26
3.371564
train_ad939aef507ccd0f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.679), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.903, 0.905).threePointArc((0.971, 0.876), (1, 0.808)).lineTo(1, 0.497).threePointArc((0.966, 0.416), (0.884, 0.382)).lineTo(-0.366, 0.382).threePointArc((-0.444, 0.349), (-0.477, 0.271)).l...
7
72
2.91045
train_9736a01c11bc0d24
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.76).extrude(1.303) result = result.cut(cq.Workplane(cq.Plane(origin=(0.764, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.121, 0.411), (-0.444, 0.691), (-0.868, 0.753)...
13
150
1.629356
train_06ecfb58b6e5f411
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.327, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.866, 0.98).threePointArc((0.948, 0.96), (0.982, 0.911)).lineTo(0.982, 0.715).threePointArc((0.92, 0.627), (0.777, 0.59)).lineTo(0.486, 0.59).threePointArc((0.375, 0.562), (0.329, 0.497)).l...
20
73
0.751792
train_a7a37d8b883629a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.141, 0, -0.521), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.858, 0.858).lineTo(0.858, -0.43).lineTo(0.43, -0.43).lineTo(0.43, -0.858).lineTo(0, -0.858).lineTo(0, 0).lineTo(-0.858, 0).lineTo(-0.858, 0.858).lineTo(0.858, 0.858).close().extrude(0....
14
84
1.41444
train_e12f053959a72ef0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.472, 0.809).lineTo(-0.472, -0.281).lineTo(1, -0.281).lineTo(1, -0.809).lineTo(-1, -0.809).lineTo(-1, 0.809).lineTo(-0.472, 0.809).close().extrude(0.18, taper=12.965) result = result.cut(cq...
36
310
0.218093
train_afd21224f1e0ddf5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.051, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.178, -0.147).threePointArc((-0.189, -0.145), (-0.193, -0.138)).lineTo(-0.193, 0.143).threePointArc((-0.191, 0.146), (-0.186, 0.147)).lineTo(-0.106, 0.147).threePointArc((-0.099, 0.146), ...
8
62
0.169001
train_5116145a7f525ab7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.39), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.873, -0.147).lineTo(0.973, -0.196).lineTo(0.948, -0.292).lineTo(0.842, -0.275).lineTo(0.788, -0.411).lineTo(0.863, -0.488).lineTo(0.815, -0.57).lineTo(0.719, -0.523).lineTo(0.622, -0.634).l...
4
118
1.608328
train_758aa38a95ee7b4a
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.509).extrude(0.659) result = result.cut(cq.Workplane(cq.Plane(origin=(0.509, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.098, 0.299), (-0.351, 0.484), (-0.667, 0.484), (...
11
44
0.187565
train_9988838d5a3b1c84
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.5, -0.106, 0.606), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.279, 0.36).threePointArc((0.36, 0.326), (0.394, 0.245)).lineTo(0.394, -0.033).threePointArc((0.36, -0.114), (0.279, -0.148)).lineTo(-0.257, -0.148).threePointArc((-0.338, -0.114), ...
5
88
0.469582
train_3fa1db8ec0832d80
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.257, 0, -0.999), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.21, 1.165).lineTo(0.21, 0.21).lineTo(0.513, 0.21).lineTo(0.513, 0).lineTo(0, 0).lineTo(0, 1.165).lineTo(0.21, 1.165).close().extrude(0.655, both=True) result = result.cut(cq.Workplan...
7
79
0.753567
train_9aea6674e84463bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.413), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.218, 0.764).lineTo(0.437, -0.546).threePointArc((0.218, -0.982), (-0.218, -0.764)).lineTo(-0.437, 0.546).threePointArc((-0.218, 0.982), (0.218, 0.764)).close().moveTo(0, 0.764).lineTo(0.21...
2
16
0.881169
train_be9c81736da84971
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.238, -0.232, -0.933), normal=(0.24, 0.231, 0.943), xDir=(0, -0.971, 0.238))).moveTo(0.143, -0.083).threePointArc((0.121, -0.14), (0.068, -0.164)).lineTo(-0.09, -0.164).threePointArc((-0.143, -0.14), (-0.165, -0.083)).lineTo(-0.165, 0.083).three...
5
37
0.157089
train_2bc8c8e2f1d1c420
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.441, 0.185, -0.399), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.265).threePointArc((0.265, 0), (0, -0.265)).threePointArc((-0.265, 0), (0, 0.265)).close().sweep(cq.Workplane(cq.Plane(origin=(0.441, 0.185, -0.399), normal=(0, -1, 0), xDir=(1,...
17
154
1.314734
train_35683a54f3ec17d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.345, 0.493, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(-0.507, -0.046).lineTo(-0.507, 0.525).lineTo(-0.362, 0.525).lineTo(-0.362, -0.046).lineTo(-0.217, -0.046).lineTo(-0.217, 0.525).lineTo(-0.072, 0.525).lineTo(-0.072, -0.046).lineTo(0.072,...
4
79
0.988308
train_231256d7e57f56ce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.354), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 1).lineTo(1, -1).lineTo(-0.845, -1).threePointArc((-0.949, -0.949), (-1, -0.845)).lineTo(-1, 0.819).lineTo(-0.819, 1).lineTo(1, 1).close().extrude(0.707) result = result.cut(cq.Workplane(...
13
129
1.776072
train_5928b25ba0e059d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.189, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.126, 0.248).lineTo(-0.013, 0.21).lineTo(-0.038, 0.08).lineTo(0.215, -0.003).lineTo(0.176, -0.201).lineTo(0.108, -0.205).lineTo(0.043, -0.196).threePointArc((0.014, -0.175), (-0.017, -0.158...
4
24
0.447566
train_aca9bebfa8a89658
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.275, 0.398, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.622, 0.772).threePointArc((1, 0.398), (0.622, 0.025)).lineTo(-0.622, 0.025).threePointArc((-1, 0.398), (-0.622, 0.772)).lineTo(0.622, 0.772).close().extrude(0.641) result = result.cut(...
7
95
0.638886
train_269129c1d3235584
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.068, -0.269), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.498, 0.867).lineTo(1, 0.009).lineTo(0.499, -0.867).lineTo(-0.508, -0.862).lineTo(-1, -0.018).lineTo(-0.521, 0.854).lineTo(0.498, 0.867).close().extrude(0.307) result = result.union(cq....
2
16
1.129228
train_c1015c0f422f38b7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.003, -0.011, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.216).lineTo(0.92, 0).lineTo(1, -0.216).lineTo(0.234, -0.216).lineTo(0.234, 0.216).lineTo(1, 0.216).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result ...
14
53
0.409931
train_20cb3e2cf1a7d6b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.012, 0, -0.354), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.567, 0.091).lineTo(0.588, -0.033).threePointArc((0.817, 0.236), (0.986, -0.08)).lineTo(0.802, -0.226).threePointArc((0.785, -0.234), (0.766, -0.236)).lineTo(-0.586, -0.09).threePoint...
3
30
0.281501
train_360e597989d45963
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.599).lineTo(1, -0.599).lineTo(-1, -0.599).lineTo(-1, 0.599).lineTo(-0.414, 0.599).lineTo(-0.414, -0.325).lineTo(0.414, -0.325).lineTo(0.414, 0.599).lineTo(1, 0.599).close().extrude(0.928, both=True) result = result.cut(cq.Workplane(cq.Plane(origi...
11
73
2.129324
train_5c549371310c68f3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.8).extrude(0.52) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.614).extrude(1.56, both=True)) result = result.union(cq.Workplan...
13
18
1.035905
train_718a9cdf71c9b70c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.203, 0.533, -0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.408, 0.226).threePointArc((0.226, -0.408), (-0.408, -0.226)).threePointArc((-0.226, 0.408), (0.408, 0.226)).close().sweep(cq.Workplane(cq.Plane(origin=(0.203, 0.533, -0.001), norma...
8
120
0.185749
train_93a6575a89c26c53
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.077, 0.12, 0.258), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.405, 0.644).lineTo(0.541, -0.147).lineTo(0.304, -0.188).lineTo(0.259, 0.075).lineTo(-0.213, -0.007).lineTo(-0.168, -0.27).lineTo(-0.405, -0.311).lineTo(-0.541, 0.481).lineTo(-0.304,...
3
27
0.621059
train_2c8831b102940c69
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.12, -0.028, 0.631), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.122, 0.132).lineTo(0.122, -0.132).lineTo(0.066, -0.132).lineTo(0.066, -0.044).lineTo(-0.066, -0.044).lineTo(-0.066, -0.132).lineTo(-0.122, -0.132).lineTo(-0.122, 0.132).lineTo(-0....
8
186
0.217302
train_69bca1f7a4f11db2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.667, 1).lineTo(0.851, 0.807).lineTo(0.851, -0.602).lineTo(0.461, -1).lineTo(-0.476, -1).threePointArc((-0.744, -0.881), (-0.851, -0.617)).lineTo(-0.851, 1).lineTo(0.667, 1).close().extrude...
9
81
0.42524
train_ef57cba6cbf8b499
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.086), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.262, 0.912).threePointArc((0.406, 0.864), (0.54, 0.799)).threePointArc((0.662, 0.712), (0.768, 0.607)).threePointArc((0.852, 0.49), (0.921, 0.36)).threePointArc((0.968, 0.222), (1, 0.079))...
14
315
0.373811
train_15d0443b6b2eb369
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.145), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.599, 1).threePointArc((0.691, 0.953), (0.729, 0.862)).lineTo(0.729, -0.917).threePointArc((0.708, -0.97), (0.654, -1)).lineTo(-0.605, -1).threePointArc((-0.693, -0.956), (-0.729, -0.868))....
10
63
0.719867
train_b27feecfe1f62b03
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.012, 0.082, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.65, 0.732).threePointArc((0.906, 0.14), (-0.906, -0.629)).lineTo(-0.65, 0.732).close().moveTo(-0.331, -0.301).threePointArc((0.331, -0.188), (-0.156, -0.732)).lineTo(-0.331, -0.3...
12
15
0.937776
train_13b56f4a093e1644
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.586, 1.454).lineTo(0.586, 0.969).lineTo(0.104, 0.969).lineTo(0.104, 0.4).lineTo(0.612, 0.4).lineTo(0.612, 0).lineTo(0, 0).lineTo(0, 1.454).lineTo(0.586, 1.454).close().revolve(angleDegree...
8
121
1.128308
train_3efd9b290676e799
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.804, -0.025, 0.043), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.16, 0.357).threePointArc((0.16, 0.357), (0.319, 0.081)).threePointArc((0.16, -0.195), (-0.16, -0.195)).threePointArc((-0.319, 0.081), (-0.16, 0.357)).close().extrude(0.987) resul...
11
538
0.51785
train_83ff595f43fd7bba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.214), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.926, 0.711).threePointArc((0.972, 0.692), (1, 0.645)).lineTo(1, 0.507).threePointArc((0.968, 0.451), (0.911, 0.427)).lineTo(-0.645, 0.427).threePointArc((-0.692, 0.407), (-0.711, 0.36)).li...
8
44
0.692688
train_dd6f2062640daa52
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.001, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.704, -0.092).lineTo(0.988, -0.155).lineTo(0.973, -0.234).lineTo(0.688, -0.176).lineTo(0.659, -0.265).lineTo(0.918, -0.395).lineTo(0.883, -0.469).lineTo(0.622, -0.342).lineTo(0.57...
5
321
0.346485
train_39e8dd6965b40624
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.023, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.225, 0.2).threePointArc((0.254, 0.192), (0.282, 0.179)).threePointArc((0.307, 0.162), (0.33, 0.141)).threePointArc((0.349, 0.117), (0.364, 0.092)).threePointArc((0.376, 0.064), (0.383, 0....
12
96
0.223865
train_9ab6ecbd4b46a604
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.221, 0.913).threePointArc((0.365, 0.874), (0.5, 0.816)).threePointArc((0.625, 0.739), (0.736, 0.646)).threePointArc((0.831, 0.538), (0.907, 0.418)).threePointArc((0.963, 0.29), (1, 0.155)).lineTo(0.779, 0.155).lineTo(0.779, -0.155).lineTo(1, -0.155)...
6
167
0.167157
train_6b110aff20667f0d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.363), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.217, 1).threePointArc((0.346, 0.946), (0.4, 0.817)).lineTo(0.4, 0.353).threePointArc((0.445, 0.245), (0.553, 0.2)).lineTo(0.663, 0.2).threePointArc((0.759, 0.159), (0.8, 0.063)).lineTo(0.8...
3
71
1.21601
train_91ab8920087c95e9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.294, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.856, 1).lineTo(1.177, -0.42).lineTo(0.856, -0.886).lineTo(0.693, -1).lineTo(0.637, -0.961).lineTo(0.63, -0.728).lineTo(0.467, -0.842).lineTo(0.411, -0.803).lineTo(0.404, -0.57).lineTo(0.24...
5
82
0.520488
train_18af1120d501afd2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.075, 0, -0.17), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.564, 0.873).threePointArc((0.818, 0.773), (0.924, 0.533)).lineTo(0.924, 0.211).threePointArc((0.858, 0.063), (0.702, 0)).lineTo(0.149, 0).threePointArc((0.044, -0.042), (0, -0.141)).lin...
10
54
0.455847
train_11e5d73952293d7c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.028, 0.412, 0.542), normal=(0.235, 0.757, -0.61), xDir=(-0.955, 0.296, 0))).moveTo(-0.871, 0.399).lineTo(0.907, 0.012).threePointArc((-0.907, -0.399), (-0.871, 0.399)).close().extrude(0.386, both=True) result = result.cut(cq.Workplane(cq.Plane(...
18
105
0.828095
train_3bdacc4914a90cff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.005, -0.16), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.703, -0.184).lineTo(0.955, -0.301).lineTo(0.899, -0.441).lineTo(0.643, -0.337).lineTo(0.536, -0.489).lineTo(0.706, -0.71).lineTo(0.591, -0.809).lineTo(0.412, -0.598).lineTo(0.248,...
2
55
0.704419
train_448d90743aa5bc2c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.046, -0.019, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.098, 0.314).threePointArc((0.253, 0.292), (0.318, 0.241)).lineTo(0.318, 0.138).threePointArc((0.348, 0.114), (0.419, 0.105)).lineTo(0.801, 0.105).threePointArc((0.907, 0.09), (0.9...
12
153
0.198933
train_1e436f74c438cc1a
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.047, 0.094).lineTo(0.098, -0.001).lineTo(0.048, -0.094).lineTo(-0.051, -0.092).lineTo(-0.098, 0.003).lineTo(-0.048, 0.093).lineTo(0.047, 0.094).close().extrude(1, both=True) final_result = result
1
8
0.054655
train_45c927f5b919e0a8
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.348).lineTo(0.799, 0).lineTo(1, -0.348).lineTo(0.14, -0.348).lineTo(0.14, 0.348).lineTo(1, 0.348).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.548, 0, 0), normal=(0,...
13
58
1.087416
train_8f396db1c96cb0d4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.487, 0, -0.149), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.23, 0.299).lineTo(0.23, 0.23).lineTo(0.974, 0.23).lineTo(0.974, 0).lineTo(0, 0).lineTo(0, 0.299).lineTo(0.23, 0.299).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq...
9
69
0.378778
train_c51c5fac2110020e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.025), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.654).lineTo(1, -0.608).threePointArc((0.986, -0.641), (0.954, -0.654)).lineTo(-1, -0.654).lineTo(-1, 0.604).lineTo(-0.951, 0.654).lineTo(1, 0.654).close().extrude(0.127) result = result....
27
740
0.709432
train_10132163dd86b2de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.459, -0.359, 0.418), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.216, 0.446).threePointArc((0.32, 0.388), (0.404, 0.298)).lineTo(0.26, 0.26).lineTo(0.247, 0.077).lineTo(0.064, 0.137).threePointArc((0.048, 0.049), (0.01, 0.025)).threePointArc((-...
4
89
0.284812
train_92baafdb94da4db2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.499), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.998).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.998).lineTo(-0.772, 0.998).lineTo(-0.772, 0.224).lineTo(0.772, 0.224).lineTo(0.772, 0.998).lineTo(1, 0.998).close().extrude(0.411, both=Tru...
4
26
0.619861
train_bce13d77f911f9f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.304, -0.5, -0.503), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.215, 0.801).lineTo(0.062, 0.559).lineTo(0.4, 0.704).lineTo(0.255, 0.366).lineTo(0.497, 0.089).lineTo(0.131, 0.122).lineTo(-0.057, -0.194).lineTo(-0.106, -0.079).threePointArc((-0....
3
24
0.557344
train_c201b160b761a065
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.178, -0.552, -0.488), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.344, 0.567).threePointArc((0.388, 0.526), (0.321, 0.498)).threePointArc((0.275, 0.455), (0.271, 0.398)).lineTo(0.231, 0.32).lineTo(0.202, 0.261).lineTo(0.057, 0.363).lineTo(-0.00...
4
56
0.212941
train_7212b58355c36d6f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.141, -0.481), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.063, 0.825).threePointArc((0.158, 0.783), (0.199, 0.684)).lineTo(0.199, 0.565).threePointArc((0.243, 0.458), (0.347, 0.412)).lineTo(0.858, 0.412).threePointArc((0.952, 0.371), (1, 0.27...
13
220
2.046788
train_f9967809ae0c3e1c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.465, 0, 0.195), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.427, -0.047).lineTo(0.419, -0.094).lineTo(0.515, -0.145).lineTo(0.496, -0.203).lineTo(0.388, -0.183).lineTo(0.365, -0.226).lineTo(0.44, -0.305).lineTo(0.403, -0.353).lineTo(0.308, -0.3...
5
150
0.567167
train_0a0c91a5f3b1df0a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.091, -0.223), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.992, 0.73).lineTo(0.992, 0.331).lineTo(0.2, 0.331).lineTo(0.2, -0.73).lineTo(-0.2, -0.73).lineTo(-0.2, 0.331).lineTo(-0.992, 0.331).lineTo(-0.992, 0.73).lineTo(0.992, 0.73).close().ex...
23
157
0.485083
train_3873b0c1133d2a08
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.589), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.178) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.238), normal=(0.225, 0, 0.974), xDir=(0.974, 0, -0.225))).circle(0.411).extrude(2.267)) result = result.cut(cq.W...
6
11
3.317225
train_bf8ed10c9c2fe74d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.999, -0.19, 0.002), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.099, 1.015).threePointArc((0.347, 1.107), (0.494, 0.907)).threePointArc((0.509, 0.643), (0.592, 0.503)).threePointArc((0.826, 0.396), (0.988, 0.192)).threePointArc((0.868, -0.023),...
4
28
2.853291
train_5fbb562cc1cea7a2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.623, -0.002), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.326, 0.649).threePointArc((0.326, 0.613), (0.449, 0.545)).threePointArc((0.48, 0.419), (0.425, 0.316)).threePointArc((0.317, 0.303), (0.27, 0.221)).lineTo(0.093, 0.304).threePointArc...
4
50
2.649876
train_5be276b94acb7064
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.096), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.927).lineTo(1, -0.927).lineTo(-0.791, -0.927).lineTo(-1, -0.719).lineTo(-1, 0.827).lineTo(-0.901, 0.927).lineTo(1, 0.927).close().extrude(0.191) result = result.cut(cq.Workplane(cq.Plan...
7
34
0.539152
train_e45579a29b78f8f4
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.188, 0.33).lineTo(-0.188, -0.181).lineTo(0.333, -0.181).lineTo(0.333, -0.33).lineTo(-0.333, -0.33).lineTo(-0.333, 0.33).lineTo(-0.188, 0.33).close().extrude(1, both=True) result = result.edges().chamfer(0.011) result = result.cut(cq.Workplane(cq.Pl...
5
39
0.345805
train_75a8be7d2136924d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.048, 0.021, -0.195), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.309, 0.926).threePointArc((0.617, 0.771), (0.463, 0.617)).lineTo(0.771, 0.463).threePointArc((0.926, 0.309), (0.771, 0.154)).lineTo(0.926, 0).lineTo(0.771, 0).lineTo(0.926, -0.309)...
6
367
0.840816
train_36019ece6c8c990d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.717, 0, -0.164), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.166, 0.329).lineTo(0.166, 0.166).lineTo(1.433, 0.166).lineTo(1.433, 0).lineTo(0, 0).lineTo(0, 0.329).lineTo(0.166, 0.329).close().extrude(1, both=True) result = result.cut(cq.Workpla...
7
44
0.854235
train_ffbb54d29ade97ef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.437), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.737).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.737).lineTo(-0.494, 0.737).lineTo(-0.494, 0.506).lineTo(0.494, 0.506).lineTo(0.494, 0.737).lineTo(1, 0.737).close().extrude(0.471, both=Tru...
3
28
1.223925
train_5783af2c7602d140
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.766, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.223, 0.373).threePointArc((0.389, 0.305), (0.458, 0.138)).lineTo(0.458, 0.055).threePointArc((0.389, -0.111), (0.223, -0.18)).threePointArc((0.181, -0.205), (0.134, -0.217)).lineTo(0.045, ...
9
132
0.874993
train_29c440ced8ec4a97
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.249) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.726).extrude(0.746, both=True)) result = result.union(cq.Workplan...
17
93
0.598007
train_baf9aff05eec8109
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.066, 0.043, -0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.481, -0.925).lineTo(0.24, -0.925).lineTo(0, -0.925).lineTo(-0.481, -0.463).lineTo(-0.481, 0).lineTo(-0.24, 0.925).lineTo(0, 0.925).lineTo(0.481, 0.463).lineTo(0.481, 0).close().mov...
6
223
0.371064
train_27fb33368c83165e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, -0.027, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.045, 0.084).lineTo(0.92, 0.053).lineTo(0.232, -0.019).lineTo(0.232, -0.187).lineTo(-0.233, -0.187).lineTo(-0.233, -0.019).lineTo(-0.921, 0.053).lineTo(-1.045, 0.08).lineTo(-0.875, 0.1...
6
76
0.076683
train_626f97674c18caaa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.067, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.093, 0.765).threePointArc((0.296, 0.681), (0.38, 0.478)).lineTo(0.38, -0.345).threePointArc((0.296, -0.548), (0.093, -0.632)).lineTo(-0.093, -0.632).threePointArc((-0.296, -0.548), (-0.38...
5
36
0.597603
train_e8356a4dc03f7613
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.006, 0.042, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.105).threePointArc((0.074, 0.074), (0.105, 0)).threePointArc((0.074, -0.074), (0, -0.105)).threePointArc((-0.074, -0.074), (-0.105, 0)).threePointArc((-0.074, 0.074), (0, 0.105)).c...
6
49
0.06834
train_6cdfafed723f8873
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.758, 0, -0.567), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.433, 1.318).lineTo(0.433, 0.198).lineTo(-0.433, 0.198).lineTo(-0.433, 0.571).lineTo(-0.144, 0.571).lineTo(-0.144, 0.945).lineTo(0.144, 0.945).lineTo(0.144, 1.318).lineTo(0.433, 1.318)...
13
179
1.201228
train_bbe56429e2e99898
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.173, 0.13, -0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.801, 0).threePointArc((0, -0.801), (-0.801, 0)).threePointArc((0, 0.801), (0.801, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.173, 0.13, -0.137), normal=(0, -1, 0), xDir=(1,...
6
65
0.517599
train_174b048572f85b9b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.896, 0.528).threePointArc((0.965, 0.466), (0.994, 0.319)).lineTo(0.994, -0.149).threePointArc((0.941, -0.415), (0.816, -0.528)).lineTo(-0.881, -0.528).threePointArc((-0.961, -0.456), (-0.9...
13
395
1.432917
train_aa933bf8f27e6fd9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.904), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.76, 1.807).lineTo(0.76, 0.438).lineTo(1, 0.438).lineTo(1, 0).lineTo(0.477, 0).lineTo(0.477, 1.807).lineTo(0.76, 1.807).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1...
4
20
2.501033
train_88ad0d9efb326795
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.845, -0.691, -0.657), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.69).threePointArc((1.195, 1.195), (1.69, 0)).lineTo(0.957, 0).threePointArc((0.677, 0.677), (0, 0.957)).lineTo(0, 1.69).close().extrude(1.05) result = result.union(cq.Workplan...
8
46
0.99303
train_9dc9ffc01cce0df6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.851, -0.527, 0.13), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.108, 1.121).threePointArc((0.108, 1.118), (0.322, 1.071)).threePointArc((0.524, 0.973), (0.7, 0.817)).threePointArc((0.823, 0.609), (0.869, 0.368)).threePointArc((0.827, 0.124), ...
6
113
3.573795
train_2eed7abe29ebd522
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.324, 0.133, 0.025), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.114, 0.759).threePointArc((0.238, 0.6), (0.451, 0.115)).threePointArc((0.399, -0.411), (0.114, -0.672)).threePointArc((-0.238, -0.514), (-0.451, -0.029)).threePointArc((-0.399, 0....
11
92
0.920209
train_014b271c5324c6bd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.5, -0.311, -0.166), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.082, 0.608).lineTo(0.082, 0.256).threePointArc((0, 0.174), (-0.082, 0.256)).lineTo(-0.082, 0.608).threePointArc((0, 0.689), (0.082, 0.608)).close().revolve(angleDegrees=180, axisSt...
2
12
0.253292
train_fc572b35dbfb8ad6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.121, -0.115), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.108, 1.106).threePointArc((0.529, 0.931), (0.703, 0.512)).lineTo(0.703, -0.419).lineTo(0.014, -1.106).lineTo(-0.703, -1.106).lineTo(-0.703, 0.419).lineTo(-0.014, 1.106).lineTo(0.108, 1...
11
87
2.57429
train_15445962d524230c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.422, -0.037, 0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.184, 0.445).lineTo(-0.184, -0.131).lineTo(0.498, -0.131).lineTo(0.498, -0.445).lineTo(-0.498, -0.445).lineTo(-0.498, 0.445).lineTo(-0.184, 0.445).close().extrude(0.673, taper=9.65...
21
156
0.73294
train_afc60a15327d2dc2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.107, 0.672, -0.498), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.323).threePointArc((0.084, 0.311), (0.15, 0.26)).threePointArc((0.201, 0.201), (0.262, 0.151)).threePointArc((0.34, 0.092), (0.402, 0)).threePointArc((0.398, -0.107), (0.327, -...
6
86
0.739484
train_464b1d58e24bcb97
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.491), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.983).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.983).lineTo(-0.678, 0.983).lineTo(-0.678, 0.319).lineTo(0.678, 0.319).lineTo(0.678, 0.983).lineTo(1, 0.983).close().extrude(0.407, both=Tru...
5
112
0.811081
train_d30714ffb4fc4d5a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.523) result = result.cut(cq.Workplane(cq.Plane(origin=(1.001, 0, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.159, 0.54), (-0.585, 0.909), (-1.142, 0....
9
79
1.381322
train_79c80c070dc99be7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.071, -0.223), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.588, 0).lineTo(0.588, 0.39).lineTo(0.928, 0.39).lineTo(0.928, 0.238).lineTo(0.528, 0.238).lineTo(0.528, 0).lineTo(0.588, 0).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axis...
6
19
0.200218
train_356df6ae63f394c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.261, 0, 0.029), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.21, 0.326).lineTo(0.21, 0.21).lineTo(0.52, 0.21).lineTo(0.52, 0).lineTo(0, 0).lineTo(0, 0.326).lineTo(0.21, 0.326).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq.Pl...
3
137
0.853784
train_076a63d673f576dd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.461), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.92, 0.886).threePointArc((0.973, 0.863), (1, 0.812)).lineTo(1, -0.469).threePointArc((0.87, -0.763), (0.577, -0.886)).lineTo(-0.67, -0.886).threePointArc((-0.898, -0.79), (-1, -0.561)).lin...
6
67
1.270175
train_98b9e6882773cebd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.035, 0.326, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.096, 0.571).threePointArc((0.092, 0.501), (0.147, 0.459)).lineTo(0.175, 0.347).threePointArc((0.119, 0.293), (0.067, 0.235)).threePointArc((0.082, 0.179), (0.096, 0.123)).threePointArc...
4
36
0.532586
train_092ee839bd60a7ab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.086, 0.111, 0.254), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.172, 0.897).lineTo(0.476, 0.725).lineTo(0.742, 0.109).lineTo(0.426, -0.485).lineTo(-0.235, -0.607).lineTo(-0.742, -0.166).lineTo(-0.715, 0.505).lineTo(-0.172, 0.897).close().extru...
3
27
0.64722
train_d29cfcff0ecc3c52
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.167, 0.568, -0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.191, 0.381).threePointArc((0.191, 0.381), (0.381, 0)).threePointArc((0.191, -0.381), (-0.191, -0.381)).threePointArc((-0.381, 0), (-0.191, 0.381)).close().sweep(cq.Workplane(cq.P...
14
349
0.604491
train_57a05a1db8bcc503
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.451, -0.13, 0.401), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.228, 0.495).lineTo(0.548, -0.415).lineTo(0.319, -0.495).lineTo(0.213, -0.193).lineTo(-0.44, -0.422).lineTo(-0.548, -0.117).lineTo(0.106, 0.113).lineTo(-0.001, 0.415).lineTo(0.228, ...
6
107
0.208309
train_7f35c3dca3c8ab5b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.734), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.722, 0.887).lineTo(1, 0.617).lineTo(1, -0.887).lineTo(-0.704, -0.887).threePointArc((-0.907, -0.804), (-1, -0.597)).lineTo(-1, 0.664).threePointArc((-0.925, 0.824), (-0.771, 0.887)).lineTo...
9
49
1.961399
train_25d127bb75a15c02
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.098, -0.255), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.541, 0.35).lineTo(-0.541, -0.211).lineTo(1, -0.211).lineTo(1, -0.35).lineTo(-1, -0.35).lineTo(-1, 0.35).lineTo(-0.541, 0.35).close().extrude(0.509, taper=0.113) result = result.union...
2
28
0.334147
train_4fc35fddea0b32d4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.579, 0.425, -0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.11, 0.351).threePointArc((0.315, 0.176), (0.359, 0.068)).lineTo(0.346, -0.075).lineTo(0.261, -0.241).threePointArc((0.045, -0.362), (-0.212, -0.33)).lineTo(-0.257, -0.286).lineTo(...
7
104
1.316676
train_fefb57587c1369d6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.116), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.405, 0.897).lineTo(0.191, 0.407).lineTo(0.996, 0.364).lineTo(0.452, -0.172).lineTo(0.405, -0.897).lineTo(-0.191, -0.407).lineTo(-0.996, -0.364).lineTo(-0.452, 0.172).lineTo(-0.405, 0.897)...
6
50
0.55813