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_0f0c41f51aa9613d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.463), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.626, 0.597).lineTo(-0.626, -0.433).lineTo(1, -0.433).lineTo(1, -0.597).lineTo(-1, -0.597).lineTo(-1, 0.597).lineTo(-0.626, 0.597).close().extrude(0.925) result = result.faces('>Z').shell(...
4
17
0.309093
train_ebcf8c325454dde6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.443, 2).extrude(0.254) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.129, 0.107).lineTo(0.129, -0.107).lineTo(-0.129, -0.107)....
17
81
0.144369
train_89ff0ed7f9f5e404
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, -0.048, -0.188), normal=(-0.486, -0.011, 0.874), xDir=(0.022, -1, 0))).moveTo(0.403, 0.108).lineTo(0.403, -0.108).threePointArc((0, -0.193), (-0.403, -0.108)).lineTo(-0.403, 0.108).threePointArc((0, 0.193), (0.403, 0.108)).close().extrude(0...
14
178
2.62486
train_9a56fd7b2ad2ded9
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1.318, 1).lineTo(1.318, 0.319).lineTo(0.34, 0.319).lineTo(0.34, -1).lineTo(-1.318, -1).lineTo(-1.318, -0.319).lineTo(-0.34, -0.319).lineTo(-0.34, 1).lineTo(1.318, 1).close().extrude(5.887, both=True) result = result.intersect(cq.Workplane('XZ').moveTo...
3
18
0.529349
train_fc58e8a870f58aa9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.121, 0.221, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.183, 0.196).lineTo(0.183, -0.098).lineTo(0, -0.098).lineTo(0, -0.196).lineTo(-0.183, -0.196).lineTo(-0.183, 0).lineTo(0, 0).lineTo(0, 0.196).lineTo(0.183, 0.196).close().extrude(2, tap...
13
84
0.236404
train_176c45f314088462
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.975, 0.002, -0.58), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.838, 0.748).threePointArc((-0.767, 0.733), (-0.737, 0.697)).lineTo(-0.737, -0.245).threePointArc((-0.584, -0.429), (-0.221, -0.507)).lineTo(1.091, -0.507).threePointArc((1.177, -0....
8
26
1.442173
train_9047c0a3da83cff3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.214), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.797, 0.996).threePointArc((0.925, 0.964), (0.979, 0.89)).lineTo(0.979, 0.385).threePointArc((0.855, 0.214), (0.563, 0.142)).lineTo(-0.397, 0.142).threePointArc((-0.462, 0.126), (-0.49,...
6
83
0.196233
train_4c28a8a0e49d4f5d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.153), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.526, 0.306).lineTo(0.526, 0).lineTo(-0.526, 0).lineTo(-0.526, 0.306).lineTo(-0.38, 0.306).lineTo(-0.38, 0.146).lineTo(0.38, 0.146).lineTo(0.38, 0.306).lineTo(0.526, 0.306).close().extrude...
7
12
0.398766
train_ade91f8a616b8dc4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.383, -0.125, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.052).threePointArc((0.052, 0.026), (0.052, -0.026)).threePointArc((0, -0.052), (-0.052, -0.026)).threePointArc((-0.052, 0.026), (0, 0.052)).close().extrude(2) result = result.union...
8
109
0.258901
train_1af099ba85d1eccc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.091, 0.519, 0.006), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.404, 0.26).threePointArc((0.26, -0.404), (-0.404, -0.26)).threePointArc((-0.26, 0.404), (0.404, 0.26)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.091, 0.519, 0.006), normal=(0,...
10
89
0.170556
train_a33230d79f91570c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.277), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.92, 0.39).lineTo(1, 0.144).lineTo(1, 0).lineTo(0.738, 0).lineTo(0.738, 0.124).lineTo(0.638, 0.39).lineTo(0, 0.148).lineTo(0, 0.41).lineTo(0.774, 0.41).lineTo(0.92, 0.39).close().revolve(a...
7
60
0.675904
train_f421c4be4538487b
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.691, 0.295).workplane(offset=2).rect(0.714, 0.389).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.329, 0, 0.457), normal=(0, 0, 1), xDir=(1, 0, 0))).lineTo(-0.227, 0.783).lineTo(0.0...
9
29
0.453283
train_1aa60589889c7e99
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.576), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 0.865).lineTo(1, 0).lineTo(0.5, -0.865).lineTo(-0.5, -0.865).lineTo(-1, 0).lineTo(-0.5, 0.865).lineTo(0.5, 0.865).close().extrude(1.151) result = result.cut(cq.Workplane(cq.Plane(origin...
7
31
2.865265
train_a9841d73bc3139d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.028, 0, -0.43), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.608, 0.262).threePointArc((0.971, 0.114), (0.971, -0.262)).lineTo(-0.971, -0.262).lineTo(-0.971, 0.114).lineTo(-0.85, 0.262).lineTo(-0.729, 0.262).lineTo(-0.486, 0.114).lineTo(-0.365, ...
7
53
0.794239
train_c8b3a70f51a45b77
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.618), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.596, 0.226).threePointArc((0.628, 0.228), (0.652, 0.207)).lineTo(0.675, 0.161).threePointArc((0.691, 0.147), (0.713, 0.149)).lineTo(0.832, 0.209).threePointArc((0.894, 0.213), (0.94, 0.173...
8
301
1.032018
train_a6704960548c7d19
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.072, 0.717, -0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.281, -0.107).lineTo(0.305, -0.233).threePointArc((0.258, -0.291), (0.187, -0.299)).lineTo(0.052, -0.272).lineTo(-0.005, -0.348).lineTo(-0.047, -0.366).lineTo(-0.255, -0.334).threeP...
12
267
0.146509
train_c96cff18a711c36c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.487), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.687, 0.528).threePointArc((0.901, 0.437), (1, 0.219)).lineTo(1, -0.242).lineTo(0.709, -0.242).lineTo(0.709, -0.528).lineTo(-0.77, -0.528).lineTo(-0.77, -0.302).lineTo(-1, -0.302).lineTo(-1...
9
48
0.536336
train_b42478043e56311a
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.588, 0.82).lineTo(0.588, 0.41).lineTo(0.98, 0.41).lineTo(0.98, 0).lineTo(0.196, 0).lineTo(0.196, -0.41).lineTo(-0.196, -0.41).lineTo(-0.196, -0.82).lineTo(-0.588, -0.82).lineTo(-0.588, -0.41).lineTo(-0.98, -0.41).lineTo(-0.98, 0).lineTo(-0.588, 0).l...
8
91
0.58427
train_d69fcbd39f439a8e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.049, 0.104, -0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.462, 0.076).lineTo(-0.462, -0.035).lineTo(0.95, -0.035).lineTo(0.95, -0.076).lineTo(-0.95, -0.076).lineTo(-0.95, 0.076).lineTo(-0.462, 0.076).close().extrude(0.227) result = resul...
3
19
0.032866
train_8f39370eaa7099ee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.007, -0.852, 0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.256, 0.344).lineTo(0.256, -0.042).lineTo(-0.256, -0.042).lineTo(-0.256, 0.072).lineTo(-0.256, 0.344).lineTo(-0.154, 0.344).lineTo(-0.154, 0.072).lineTo(-0.051, 0.072).lineTo(-0.081...
4
165
0.286765
train_317f0f16aca5dc6e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.243, 0, -0.103), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.313, 0.418).lineTo(-0.313, -0.259).lineTo(0.472, -0.259).lineTo(0.472, -0.418).lineTo(-0.472, -0.418).lineTo(-0.472, 0.418).lineTo(-0.313, 0.418).close().extrude(1.102, taper=4.37, bo...
4
23
0.153725
train_f3c5e14ccb98db92
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.003, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.472, 0.231).threePointArc((-0.374, 0.217), (-0.333, 0.183)).lineTo(-0.333, 0.062).threePointArc((-0.28, 0.019), (-0.153, 0)).lineTo(0.836, 0).threePointArc((0.951, -0.017), (1, -0.057...
4
37
0.090519
train_dc76c39a21130690
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.001, 0.221).lineTo(0.109, 0.193).lineTo(0.19, 0.114).lineTo(0.221, 0.006).lineTo(0.193, -0.11).lineTo(0.111, -0.191).lineTo(0, -0.221).lineTo(-0.114, -0.19).lineTo(-0.189, -0.114).lineTo(-0.2...
9
101
0.164094
train_7f0589b9db0911f8
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.866, 0.5).threePointArc((0.5, -0.866), (-0.866, -0.5)).threePointArc((-0.5, 0.866), (0.866, 0.5)).close().extrude(0.096, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.523, -0.616, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(...
11
118
0.516304
train_0c24d0fc237282ce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.158, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.301, 0.841).threePointArc((0.397, 0.803), (0.437, 0.711)).lineTo(0.437, 0.488).threePointArc((0.458, 0.441), (0.506, 0.421)).lineTo(0.79, 0.421).threePointArc((0.848, 0.397), (0.873, 0.34)...
12
176
0.734054
train_1240b2e2e3f70f6e
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.804, 0.332).lineTo(0.804, 0.111).lineTo(0.26, 0.111).lineTo(0.26, -0.332).lineTo(-0.26, -0.332).lineTo(-0.26, 0.111).lineTo(-0.804, 0.111).lineTo(-0.804, 0.332).lineTo(0.804, 0.332).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq.P...
12
115
0.697873
train_d8af4664321051f6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0, 0.139), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.017, 0.144).lineTo(0.084, 0.12).lineTo(0.129, 0.068).lineTo(0.146, 0).lineTo(0.129, -0.068).lineTo(0.084, -0.12).lineTo(0.017, -0.144).lineTo(-0.051, -0.137).lineTo(-0.11, -0.097).line...
8
43
0.102145
train_01c51bf75e50b27c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.822, 0.26).threePointArc((0.948, 0.209), (1, 0.083)).lineTo(1, -0.127).lineTo(0.866, -0.26).lineTo(-0.837, -0.26).lineTo(-1, -0.097).lineTo(-1, 0.182).lineTo(-0.922, 0.26).lineTo(0.822, 0....
15
42
0.367887
train_d3b13f7448b3af07
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.357, -0.238).lineTo(0.539, -0.423).lineTo(0.453, -0.648).lineTo(0.277, -0.447).lineTo(0.223, -0.525).lineTo(0.317, -0.846).lineTo(0.172, -0.957).lineTo(0.089, -0.628).lineTo(0.019, -0.645)...
11
422
0.329618
train_e979b6262c644210
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.138), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.526, 0.524).lineTo(0.526, 0.193).lineTo(1, 0.193).lineTo(1, 0).lineTo(0.085, 0).lineTo(0.085, 0.524).lineTo(0.526, 0.524).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEn...
10
124
0.837979
train_9d80da2a79cf73a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.163), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.682, 2).extrude(0.326) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.163), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.516, 0.676).lineTo(0.516, -0.676).lineTo(-0.516, -0.676)....
4
23
0.187089
train_fa7a10469bd569bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.011, -0.004, -0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.989, 0.168).lineTo(0.989, -0.168).lineTo(-0.989, -0.168).lineTo(-0.989, 0.168).lineTo(0.989, 0.168).close().extrude(0.381) result = result.union(cq.Workplane(cq.Plane(origin=(-0....
14
77
0.152389
train_de236b2e8fee1335
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.305, 0, -0.443), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.695).extrude(0.886) result = result.union(cq.Workplane(cq.Plane(origin=(-0.305, 0, 0.178), normal=(0.175, 0, 0.985), xDir=(0.985, 0, -0.175))).circle(0.155).extrude(1.584)) result = r...
5
16
0.949927
train_335c0401e2e02e66
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.078, 0, -0.353), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.921, 0.937).lineTo(0.921, -0.937).lineTo(-0.921, -0.937).lineTo(-0.921, 0.937).lineTo(-0.557, 0.937).lineTo(-0.557, -0.667).lineTo(0.557, -0.667).lineTo(0.557, 0.937).lineTo(0.921, 0.9...
8
61
0.8612
train_1d832dae1e82f310
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.237), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.952, 0.487).lineTo(1, 0.441).lineTo(1, -0.444).threePointArc((0.986, -0.474), (0.955, -0.487)).lineTo(-0.933, -0.487).lineTo(-1, -0.421).lineTo(-1, 0.407).threePointArc((-0.976, 0.464), (-...
8
21
0.769357
train_2b44bedc34496ed7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.41, -0.11, -0.184), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.438, 0.441).threePointArc((0.502, 0.411), (0.529, 0.34)).lineTo(0.529, 0.244).threePointArc((0.503, 0.176), (0.442, 0.147)).lineTo(0.366, 0.147).threePointArc((0.295, 0.114), (0.265...
15
107
0.517086
train_aa53524cc0f27b9f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.269), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.801, 0.417).lineTo(1, 0.218).lineTo(1, -0.319).lineTo(0.902, -0.417).lineTo(-1, -0.417).lineTo(-1, 0.305).threePointArc((-0.967, 0.385), (-0.888, 0.417)).lineTo(0.801, 0.417).close().extru...
15
126
0.264062
train_b4c02c302f5df02e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.307, 0.058, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.366, 0.905).lineTo(-0.151, 0.667).lineTo(0.101, 0.545).lineTo(0.441, 0.692).lineTo(0.66, 0.468).threePointArc((0.557, 0.357), (0.563, 0.205)).lineTo(0.254, 0.205).lineTo(0.054, 0.069)...
7
49
1.431116
train_07490659c8606173
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.52, 0.373, -0.516), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.517, 0.895).threePointArc((0.998, 0.268), (0.895, -0.517)).threePointArc((0.268, -0.998), (-0.517, -0.895)).threePointArc((-0.998, -0.268), (-0.895, 0.517)).threePointArc((-0.268, ...
6
23
2.260926
train_9dd3127db65ae402
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.261, 0.6).lineTo(-0.261, -0.123).lineTo(0.738, -0.123).lineTo(0.738, -0.6).lineTo(-0.738, -0.6).lineTo(-0.738, 0.6).lineTo(-0.261, 0.6).close().extrude(1, both=True) result = result.edges().fillet(0.05) result = result.cut(cq.Workplane(cq.Plane(ori...
12
139
2.064835
train_fe8a74d3efc566a3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.161), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.041, 2).extrude(0.322) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.12, 1, -0.065), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.12, 1.33).threePointArc((0.309, 1.236), (0.328, 1))....
11
73
0.160192
train_1bfcda68cc692c85
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.236), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.596, 0.397).lineTo(0.911, 0.377).lineTo(1, 0.138).lineTo(1, 0).lineTo(0.774, 0).lineTo(0.774, 0.118).lineTo(0.674, 0.377).lineTo(0, 0.176).lineTo(0, 0.397).lineTo(0.596, 0.397).close().re...
6
43
0.637579
train_29da7c2d5c226d3c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.119, 0, -0.053), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.88, 0.785).lineTo(0.88, 0.299).lineTo(-0.395, 0.299).lineTo(-0.395, -0.299).lineTo(0.88, -0.299).lineTo(0.88, -0.785).lineTo(-0.88, -0.785).lineTo(-0.88, 0.785).lineTo(0.88, 0.785).clo...
13
152
1.918206
train_ff1dbab5b409c144
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.399), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.121, 1.082).lineTo(0.121, 0.798).lineTo(0.576, 0.798).lineTo(0.576, 0.708).lineTo(1, 0.708).lineTo(1, 0.376).lineTo(0.7, 0.376).lineTo(0.7, 0).lineTo(0, 0).lineTo(0, 1.082).lineTo(0.121, ...
4
23
1.678963
train_54337c9657f30cdc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.061), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.299, 0.198).lineTo(0.299, -0.198).lineTo(-0.299, -0.198).lineTo(-0.299, 0.198).lineTo(0.299, 0.198).close().extrude(0.159, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0,...
5
11
1.052167
train_9338c278277be435
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.253, 0.963), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.13, 0.324).threePointArc((0.251, 0.165), (0.225, -0.09)).threePointArc((0.067, -0.293), (-0.13, -0.324)).threePointArc((-0.251, -0.165), (-0.225, 0.09)).threePointArc((-0.067, 0.293), (...
2
10
0.181406
train_cc0a74d96032edd3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.037, 0.318, -0.539), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.105, -0.682).lineTo(-0.64, -0.419).lineTo(-0.8, 0.09).lineTo(-0.491, 0.545).lineTo(0.105, 0.682).lineTo(0.64, 0.419).lineTo(0.8, -0.09).lineTo(0.491, -0.545).close().moveTo(-0.24...
8
74
2.841738
train_38f81d8785439e83
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.769), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.537).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.537).lineTo(-0.756, 1.537).lineTo(-0.756, 0.244).lineTo(0.756, 0.244).lineTo(0.756, 1.537).lineTo(1, 1.537).close().extrude(0.478, both=Tru...
3
16
1.176649
train_acf627feafb1e94e
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.15, 0.851).lineTo(0.15, -0.851).lineTo(-0.15, -0.851).lineTo(-0.15, -0.284).lineTo(0.1, -0.284).lineTo(0.1, 0.284).lineTo(-0.15, 0.284).lineTo(-0.15, 0.851).lineTo(0.15, 0.851).close().extrude...
5
31
0.721651
train_420bf089035d6f00
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.564, -0.24, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.131).threePointArc((0.798, 0.798), (1.131, 0)).lineTo(0.406, 0).threePointArc((0.288, 0.288), (0, 0.406)).lineTo(0, 1.131).close().extrude(2) result = result.union(cq.Workplane(cq....
8
92
2.33086
train_ab834c59d7872779
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.825, 1).lineTo(0.825, -1).lineTo(0, -1).lineTo(0, -0.5).lineTo(-0.825, -0.5).lineTo(-0.825, 1).lineTo(0.825, 1).close().extrude(0.42) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.40...
8
18
1.038045
train_241dc71c30c8b07d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.11, 0, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.594, 0.949).threePointArc((-0.437, 0.892), (-0.37, 0.757)).lineTo(-0.37, 0.447).threePointArc((-0.325, 0.355), (-0.217, 0.316)).lineTo(0.974, 0.316).threePointArc((1.069, 0.282), (1.11...
7
16
0.436596
train_ce9f5e3723a802d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.406, 0, -0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.517, 0.359).lineTo(1.194, 0.283).lineTo(1.405, 0.229).lineTo(1.336, 0.206).lineTo(0.919, 0.191).lineTo(1.13, 0.138).lineTo(1.061, 0.115).lineTo(0.646, 0.1).lineTo(0.855, 0.046).lineTo(...
6
139
0.281824
train_5f87017cc5250189
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.176), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.463, 1.264, 1.646) result = result.edges().fillet(0.216) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.176), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.239).extrude(2.926, both=Tr...
6
43
2.53219
train_c5a51db241ef4781
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.36, -0.565, 0.189), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.119, 0.342).lineTo(0.119, 0.24).threePointArc((0.127, 0.216), (0.143, 0.192)).lineTo(0.082, 0.114).lineTo(0.047, 0.019).threePointArc((-0.019, 0.055), (-0.074, 0.089)).threePointAr...
7
63
0.111542
train_7f442809c45e355f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.091, -0.17, -0.061), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.184, 0.298).threePointArc((0.262, 0.275), (0.296, 0.222)).lineTo(0.296, 0.159).threePointArc((0.269, 0.117), (0.207, 0.099)).lineTo(0.075, 0.099).threePointArc((0.022, 0.084), (0,...
7
80
0.838346
train_20357f27b26d0049
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.609, 1).threePointArc((0.827, 0.908), (0.915, 0.692)).lineTo(0.915, -0.604).lineTo(0.521, -0.604).lineTo(0.521, -1).lineTo(-0.486, -1).lineTo(-0.915, -0.569).lineTo(-0.915, 0.486).threePoin...
10
71
0.967458
train_c5da0d102e2944d6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.031, 0, -0.113), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.871, 0.226).lineTo(0.871, 0).lineTo(-0.871, 0).lineTo(-0.871, 0.226).lineTo(-0.775, 0.226).lineTo(-0.775, 0.1).lineTo(0.775, 0.1).lineTo(0.775, 0.226).lineTo(0.871, 0.226).close().ex...
10
102
0.438352
train_05549f58be0c0625
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0.21, -0.619), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.582, 1.238).lineTo(0.582, 0.203).lineTo(1.002, 0.203).lineTo(1.002, 0).lineTo(0.073, 0).lineTo(0.073, 1.238).lineTo(0.582, 1.238).close().revolve(angleDegrees=360, axisStart=(0, 0...
8
51
1.185982
train_9e325949b20c81c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.019, -0.313), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.211, 0.721).threePointArc((0.422, 0.635), (0.508, 0.425)).lineTo(0.508, -0.478).threePointArc((0.438, -0.65), (0.265, -0.721)).lineTo(-0.28, -0.721).threePointArc((-0.442, -0.656), (-...
8
61
1.611144
train_590b8bec0e84cc15
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.132, -0.004, -0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.691, 0.177).threePointArc((0.868, 0), (0.691, -0.177)).lineTo(0, -0.177).lineTo(-0.691, -0.177).threePointArc((-0.868, 0), (-0.691, 0.177)).lineTo(0, 0.177).lineTo(0.691, 0.177)....
6
57
0.089364
train_6a392d14f54b9825
import cadquery as cq import math result = cq.Workplane('XY').moveTo(2.032, 1).lineTo(2.032, 0.395).lineTo(0.479, 0.395).lineTo(0.479, -1).lineTo(-0.479, -1).lineTo(-0.479, 0.395).lineTo(-2.032, 0.395).lineTo(-2.032, 1).lineTo(2.032, 1).close().extrude(0.812, both=True).intersect(cq.Workplane('XZ').moveTo(1.985, 0.171)...
5
134
0.702593
train_73ee95f0d99cbe94
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.471, 0, -0.188), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.526, -0.191).lineTo(0.517, -0.248).lineTo(0.502, -0.303).lineTo(0.482, -0.353).lineTo(0.457, -0.398).lineTo(0.428, -0.436).lineTo(0.396, -0.467).lineTo(0.36, -0.49).lineTo(0.323, -0.50...
3
228
0.630068
train_dd4d994b874c9fad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.114, -0.23), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.31, 0.46).lineTo(0.31, 0).lineTo(-0.31, 0).lineTo(-0.31, 0.46).lineTo(-0.084, 0.46).lineTo(-0.084, 0.226).lineTo(0.084, 0.226).lineTo(0.084, 0.46).lineTo(0.31, 0.46).close().extrude(1....
9
190
0.304226
train_b5844e43eb8390f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.896, 0.837, -0.047), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.475, 1.72).threePointArc((0.475, 1.72), (0.952, 0.894)).threePointArc((0.475, 0.072), (-0.475, 0.072)).threePointArc((-0.952, 0.894), (-0.475, 1.72)).close().extrude(1.674) resul...
14
111
3.834287
train_923f2a9f3ad17a8e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.17, 0.017, -0.198), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.398, 0.931).threePointArc((-0.291, 0.746), (0, 0.669)).threePointArc((0.291, 0.591), (0.476, 0.698)).lineTo(0.727, 0.474).threePointArc((-0.429, -0.931), (-0.727, 0.863)).lineTo(-0...
2
33
1.099413
train_a848a0afc19b96d0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.042), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.323, 0.747).threePointArc((0.446, 0.695), (0.498, 0.571)).lineTo(0.498, 0.429).threePointArc((0.552, 0.303), (0.678, 0.249)).lineTo(0.815, 0.249).threePointArc((0.938, 0.195), (1, 0.069))....
13
131
1.044513
train_a7d461cfac430c1a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.476, -0.284), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.584, 0.524).threePointArc((0.667, 0.489), (0.702, 0.406)).lineTo(0.702, -0.389).lineTo(0.567, -0.524).lineTo(-0.702, -0.524).lineTo(-0.702, 0.524).lineTo(0.584, 0.524).close().extrude...
4
66
0.466238
train_88e60f53b3ccd8f2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.499, 0.895), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.149, 0.261).lineTo(-0.044, 0.192).threePointArc((0.039, 0.21), (0.154, 0.195)).lineTo(0.261, 0.038).lineTo(0.08, -0.067).threePointArc((0.069, -0.148), (0.026, -0.261)).threePointArc((...
1
11
0.109165
train_578fa0a7a70d1296
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.173), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.765, 0.346).lineTo(0.912, 0.181).lineTo(1, 0.121).lineTo(1, 0).lineTo(0.857, 0).lineTo(0.857, 0.104).lineTo(0.762, 0.181).lineTo(0, 0.212).lineTo(0, 0.346).lineTo(0.765, 0.346).close().re...
9
43
0.422429
train_409e922cbb65dc98
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.999, -2.208, -0.006), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.004, 2.995).threePointArc((0.385, 2.933), (0.706, 2.76)).threePointArc((0.919, 2.504), (0.993, 2.203)).threePointArc((0.916, 1.902), (0.7, 1.647)).threePointArc((0.376, 1.479), (...
13
693
3.491064
train_3f460395a75d3d6c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.14, -0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1.575, 1.814).threePointArc((-1.414, 1.76), (-1.36, 1.599)).lineTo(-1.36, 1.154).threePointArc((-1.299, 0.969), (-1.113, 0.907)).lineTo(-0.453, 0.907).lineTo(0.231, 0.907).threePointArc((...
3
52
0.243547
train_43c5762a4a793bbd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.025, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.053, 0.132).lineTo(0.283, 0.055).lineTo(0.575, -0.012).lineTo(0.235, -0.066).lineTo(-0.053, -0.132).lineTo(-0.283, -0.055).lineTo(-0.575, 0.012).lineTo(-0.235, 0.066).lineTo(0.053, 0.132)....
7
67
0.238597
train_fa90a6c8baac8879
import cadquery as cq import math result = cq.Workplane('XY').circle(0.584).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.112).extrude(0.31, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.134, -0.322, 0), normal=(0, 1, 0)...
6
35
1.807298
train_8e024c2726536fac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.025, -0.066), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.425).lineTo(0, 0.255).lineTo(0.5, 0.255).lineTo(0.5, -0.085).lineTo(1, -0.085).lineTo(1, -0.255).lineTo(0, -0.255).lineTo(0, -0.425).lineTo(-0.5, -0.425).lineTo(-0.5, -0.085).lineTo...
12
316
0.263823
train_b684f1531b1dd452
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.543, -0.397, -0.765), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.402, 0.063).threePointArc((0.526, 0.035), (0.504, -0.051)).lineTo(0.433, -0.063).lineTo(0.379, -0.015).lineTo(0.376, -0.006).lineTo(0.402, 0.063).close().sweep(cq.Workplane(cq.Pl...
8
46
0.735028
train_a0667d5a6b171b43
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.349, 0, -0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.602, 2.001).lineTo(1.767, -1.811).lineTo(0.841, -2.001).lineTo(-0.025, 1.294).lineTo(-1.468, 0.805).lineTo(-1.767, 1.323).lineTo(0.602, 2.001).close().extrude(4.401, both=True) result...
7
52
1.421078
train_ccb4e3e9b5aeafbc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.098, 0.356, -0.081), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.622).lineTo(0, 0).lineTo(0.639, 0).lineTo(0.639, -0.311).lineTo(0.426, -0.311).lineTo(0.426, -0.622).lineTo(0.213, -0.622).lineTo(0.213, -0.311).lineTo(-0.213, -0.311).lineTo(-0...
18
141
0.486255
train_e2c02c5852e500dc
import cadquery as cq import math result = cq.Workplane('XY').box(1.889, 1.026, 2) result = result.edges().fillet(0.122) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.399).extrude(3.78, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), norm...
11
83
1.345746
train_11b14de91a911940
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.536, 0.333).threePointArc((0.628, 0.294), (0.667, 0.203)).lineTo(0.667, 0.059).threePointArc((0.649, 0.017), (0.608, 0)).lineTo(0.408, 0).threePointArc((0.355, -0.022), (0.333, -0.074)).lineTo...
5
75
0.347807
train_baa7929a762c64d3
import cadquery as cq import math result = cq.Workplane('XY').box(1.783, 1.398, 2) result = result.edges().fillet(0.215) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.286).extrude(3.568, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
10
125
2.229726
train_da57c64ddf3d6171
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.086, -0.149, -0.397), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.102, 0.375).lineTo(0.102, 0.027).lineTo(0.386, 0.027).lineTo(0.386, -0.375).lineTo(-0.332, -0.375).lineTo(-0.332, -0.301).threePointArc((-0.255, -0.238), (-0.332, -0.238)).lineTo(...
19
357
0.805976
train_025f7edc35bf84df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.05, 0, -0.371), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.589, 0.983).lineTo(0.589, -0.983).threePointArc((-0.589, 0), (0.589, 0.983)).close().extrude(1.283) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0.433, -0.251), normal=(0, 0, ...
13
167
2.099944
train_e2f52668197f9acf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.02, -0.016, -0.708), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.142, 0.984).lineTo(0.413, 0.904).lineTo(0.837, 0.536).lineTo(0.994, 0).lineTo(0.837, -0.536).lineTo(0.413, -0.904).lineTo(-0.142, -0.984).lineTo(-0.65, -0.751).lineTo(-0.954, -0....
10
82
2.414731
train_a556ba08d4d559c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.294), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.901, 0.383).lineTo(0.919, 0.227).lineTo(1, 0.133).lineTo(1, 0).lineTo(0.817, 0).lineTo(0.817, 0.115).lineTo(0.716, 0.227).lineTo(0, 0.199).lineTo(0, 0.383).lineTo(0.901, 0.383).close().re...
7
47
0.578814
train_d8703419b60f6246
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.643, -0.071, -0.969), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.14, 0.03).threePointArc((0.158, 0.015), (0.161, -0.008)).threePointArc((0.147, -0.027), (0.124, -0.03)).threePointArc((0.105, -0.015), (0.102, 0.008)).threePointArc((0.116, 0.02...
7
33
0.228471
train_7204b6bf00c6b662
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.222), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.161, 0.443).lineTo(0.161, 0).lineTo(-0.161, 0).lineTo(-0.161, 0.443).lineTo(-0.041, 0.443).lineTo(-0.041, 0.12).lineTo(0.041, 0.12).lineTo(0.041, 0.443).lineTo(0.161, 0.443).close().extru...
6
32
0.209689
train_e7125e37198715ab
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.488, 0.519).lineTo(0.811, 0.197).lineTo(0.811, -0.288).lineTo(0.579, -0.519).lineTo(-0.811, -0.519).lineTo(-0.811, 0.373).lineTo(-0.665, 0.519).lineTo(0.488, 0.519).close().extrude(0.815, ...
7
16
1.91552
train_f915040e441a52fb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.634), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.001).extrude(0.382) result = result.cut(cq.Workplane(cq.Plane(origin=(1.001, 0, -0.634), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.077, 0.383), (-0.293, 0.708), (-0.618, 0...
6
77
1.459083
train_8437012939b745c2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.556, -0.349, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.903).threePointArc((0.641, 0.641), (0.903, 0)).lineTo(0.534, 0).threePointArc((0.377, 0.377), (0, 0.534)).lineTo(0, 0.903).close().extrude(2) result = result.union(cq.Workplane(cq...
8
86
0.759131
train_bff5623db9ab33a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.117, 0, 0.064), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.884, 0.072).lineTo(1.884, 0).lineTo(0, 0).lineTo(0, 0.072).lineTo(1.884, 0.072).close().extrude(0.531, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0.767, 0, 0.064),...
9
48
0.397263
train_665c0994b939c40f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.216), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.642, 1).threePointArc((0.842, 0.908), (0.927, 0.707)).lineTo(0.927, -0.636).threePointArc((0.825, -0.886), (0.573, -1)).lineTo(-0.573, -1).lineTo(-0.927, -0.636).lineTo(-0.927, 1).lineTo(0...
5
36
1.264675
train_8669ed285bfda5ac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.304), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.608) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.304), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.841).extrude(1.825, both=True)) result = result.union(cq.Workpl...
15
67
1.257002
train_4e2c9e70cda8a4e2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.343, 0.259, -0.13), normal=(0.989, -0.079, 0.121), xDir=(0.08, 0.997, 0))).moveTo(0.583, 0.377).lineTo(0.602, 0.22).threePointArc((0.595, 0.205), (0.568, 0.198)).lineTo(0.332, 0.189).threePointArc((0.312, 0.184), (0.307, 0.173)).lineTo(0.324, 0...
5
135
1.030401
train_7c3d184103927796
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.114, 0.18, 0.221), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.609, 0.203).threePointArc((0.879, 0.203), (0.879, -0.203)).lineTo(0.744, -0.203).lineTo(-0.473, -0.203).threePointArc((-0.879, 0), (-0.338, 0.203)).lineTo(0.609, 0.203).close().move...
15
134
0.652607
train_9c2a5a028f3c9d2b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.344), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.954, 0.84).lineTo(0.954, 0.794).lineTo(1, 0.794).lineTo(1, -0.79).lineTo(0.948, -0.79).lineTo(0.948, -0.84).lineTo(-0.924, -0.84).lineTo(-0.924, -0.766).lineTo(-1, -0.766).lineTo(-1, 0.784...
8
20
2.236083
train_75a08e668255b6ec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.199), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.86, 0.397).lineTo(0.919, 0.328).lineTo(1, 0.139).lineTo(1, 0).lineTo(0.802, 0).lineTo(0.802, 0.12).lineTo(0.702, 0.328).lineTo(0, 0.199).lineTo(0, 0.397).lineTo(0.86, 0.397).close().revol...
2
15
0.581724
train_d77cc1464a67cc22
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, 0.304, -0.433), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.405, 0.627).threePointArc((0.669, 0.656), (0.739, 0.548)).lineTo(0.379, 0.151).threePointArc((0.35, 0.094), (0.366, 0.036)).lineTo(0.751, -0.558).threePointArc((0.655, -0.627), (0....
3
25
0.845425
train_fdb12965fe5a8b9d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.555), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.01).extrude(0.846) result = result.cut(cq.Workplane(cq.Plane(origin=(1.01, 0, -0.555), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.296, 0.714), (-1.01, 1.01), (-1.724, 0.714...
9
152
2.078668
train_37954ae0f25b04ee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.152, 0.927).threePointArc((-0.045, 0.899), (0, 0.833)).lineTo(0, 0.402).threePointArc((0.045, 0.337), (0.15, 0.309)).lineTo(0.841, 0.309).threePointArc((0.953, 0.28), (1, 0.211)).lineTo(1...
4
92
0.346256