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_4c7f3782a26b9944
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.443, -0.063, -0.863), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.497, 0.575).threePointArc((0.539, 0.562), (0.557, 0.529)).lineTo(0.557, -0.37).threePointArc((0.476, -0.514), (0.284, -0.575)).lineTo(-0.416, -0.575).threePointArc((-0.515, -0.54...
14
79
1.447453
train_9a1afaafc2e26fb0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.627, 0.498), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.338, 0.368).threePointArc((0.413, 0.337), (0.444, 0.263)).lineTo(0.444, -0.263).threePointArc((0.413, -0.337), (0.338, -0.368)).lineTo(-0.338, -0.368).threePointArc((-0.413, -0.337), ...
6
161
1.225838
train_9c997483a3fd0513
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.135), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.851, 1).lineTo(0.851, -0.885).lineTo(0.738, -1).lineTo(-0.677, -1).lineTo(-0.677, -0.825).lineTo(-0.851, -0.825).lineTo(-0.851, 0.898).lineTo(-0.751, 1).lineTo(0.851, 1).close().extrude(0....
2
16
0.829473
train_8602f10317f65943
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.079, -0.017, -0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.738, 0.168).threePointArc((0.875, 0), (0.738, -0.168)).lineTo(0, -0.168).lineTo(-0.738, -0.168).threePointArc((-0.875, 0), (-0.738, 0.168)).lineTo(0, 0.168).lineTo(0.738, 0.168)....
19
117
0.230133
train_93d179d5c38bf5eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.303), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.522, 1).lineTo(0.522, -1).lineTo(-0.522, -1).lineTo(-0.522, 0.807).threePointArc((-0.467, 0.937), (-0.334, 1)).lineTo(0.522, 1).close().extrude(0.606) result = result.cut(cq.Workplane(cq.P...
6
24
0.303665
train_31f841095b254d12
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.418), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.287, 1).threePointArc((0.365, 0.959), (0.398, 0.88)).lineTo(0.398, 0.284).threePointArc((0.423, 0.224), (0.483, 0.199)).lineTo(0.727, 0.199).threePointArc((0.775, 0.178), (0.796, 0.129)).l...
10
206
1.382789
train_cf1d212f0a4955a5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.229, -0.002, -0.078), normal=(0.64, -0.084, 0.764), xDir=(0.13, 0.992, 0))).moveTo(0.823, 0).lineTo(0.165, -0.658).threePointArc((-0.823, 0.329), (0.823, 0)).close().moveTo(-0.165, 0.658).lineTo(0.494, 0).threePointArc((-0.494, 0.329), (-0.165, ...
5
50
1.864043
train_049255d3be04a3ee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.375, -0.811, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.806, 0.407).threePointArc((1, 0.217), (0.806, 0.028)).lineTo(-0.806, 0.028).threePointArc((-1, 0.217), (-0.806, 0.407)).lineTo(0.806, 0.407).close().extrude(1.622) result = result.cut...
24
84
1.951279
train_904e738cec249181
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.15), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.339, 0.3).lineTo(0.339, 0).lineTo(-0.339, 0).lineTo(-0.339, 0.3).lineTo(-0.282, 0.3).lineTo(-0.282, 0.057).lineTo(0.282, 0.057).lineTo(0.282, 0.3).lineTo(0.339, 0.3).close().extrude(0.656,...
4
36
0.118039
train_67a5d984ca590a27
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.204, -0.02, -0.45), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.168, 0.213).lineTo(0.168, -0.213).threePointArc((-0.168, 0), (0.168, 0.213)).close().workplane(offset=0.482).moveTo(0.202, 0.189).lineTo(0.19, 0.097).lineTo(0.1...
20
262
0.419269
train_9ac7165c8a0257cf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.01, 0, -0.174), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.158, 1).threePointArc((-0.047, 0.945), (0, 0.833)).lineTo(0, 0.619).threePointArc((0.036, 0.534), (0.121, 0.498)).lineTo(0.351, 0.498).threePointArc((0.454, 0.454), (0.498, 0.351)).li...
5
24
2.236613
train_22126c2bae69755d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.377), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.76, 0.979).lineTo(1, 0.746).lineTo(1, -0.818).lineTo(0.829, -0.818).lineTo(0.829, -0.979).lineTo(-1, -0.979).lineTo(-1, 0.811).lineTo(-0.825, 0.979).lineTo(0.76, 0.979).close().extrude(0.0...
18
101
0.338761
train_bc1440f5c591667d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.256, -0.003, -0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.337, 0.733).lineTo(0.742, 0).threePointArc((0.742, -0.55), (0.472, -0.733)).lineTo(-0.742, 0.366).threePointArc((-0.472, 0.733), (-0.337, 0.733)).close().extrude(0.318, both=Tru...
24
65
0.845487
train_1925540ed55a6ed6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.067, 0.218, 0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.332, 0.574).threePointArc((0.332, 0.574), (0.663, 0)).threePointArc((0.332, -0.574), (-0.332, -0.574)).threePointArc((-0.663, 0), (-0.332, 0.574)).close().sweep(cq.Workplane(cq.Pl...
4
29
0.327998
train_7f48c13123aaf9f5
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.903).lineTo(1, 0.71).lineTo(0.146, 0.71).lineTo(0.146, -0.903).lineTo(-0.146, -0.903).lineTo(-0.146, 0.71).lineTo(-1, 0.71).lineTo(-1, 0.903).lineTo(1, 0.903).close().extrude(0.678, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0.0...
4
37
0.898024
train_aa6611c99dff33a6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.034, 0.644), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.322, 0.945).lineTo(0.499, 0.836).threePointArc((0.545, 0.739), (0.652, 0.712)).threePointArc((0.724, 0.597), (0.67, 0.473)).lineTo(0.871, 0.386).lineTo(0.94, 0.188).lineTo(0.655, -0.73...
4
24
3.62427
train_6f420acc68f74990
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.922, -0.122).lineTo(0.981, -0.15).lineTo(0.972, -0.199).lineTo(0.909, -0.194).lineTo(0.877, -0.313).lineTo(0.927, -0.351).lineTo(0.909, -0.396).lineTo(0.848, -0.38).lineTo(0.796, -0.488).l...
5
172
0.468714
train_2ee00cbc10a77e22
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.034, 0.064, -0.083), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.303, -0.062).threePointArc((0.727, 0.257), (0.859, -0.257)).lineTo(0.303, -0.062).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq....
7
94
0.585924
train_a4cdf3f43195c317
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.441), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.278).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.278).lineTo(-0.623, 1.278).lineTo(-0.623, 0.377).lineTo(0.623, 0.377).lineTo(0.623, 1.278).lineTo(1, 1.278).close().extrude(0.265, both=Tru...
8
66
0.902448
train_9304e246662c66e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1.102, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.356, 2.098).threePointArc((0.666, 2), (0.897, 1.765)).threePointArc((0.992, 1.455), (0.977, 1.147)).threePointArc((0.913, 0.866), (0.818, 0.588)).threePointArc((0.648, 0.322), (0.375,...
4
24
1.18109
train_38d2c78317651dd7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.023, -0.001, -0.725), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.38, 0.564).lineTo(0.633, 0.081).threePointArc((0.127, -0.564), (-0.38, 0.081)).lineTo(-0.633, 0.403).threePointArc((0.127, 0.564), (0.38, 0.564)).close().extrude(1.488) result = ...
6
33
1.346177
train_0abdd04969d3ab45
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.327, 0.437, -0.383), normal=(-0.438, -0.895, 0.078), xDir=(0.898, -0.44, 0))).moveTo(0.282, 0.223).lineTo(0.282, -0.223).lineTo(-0.282, -0.223).lineTo(-0.282, -0.074).lineTo(0.202, -0.074).lineTo(0.202, 0.074).lineTo(-0.282, 0.074).lineTo(-0.282...
5
124
0.500631
train_47c3528880ad23ac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.452), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.526, 1).threePointArc((0.688, 0.93), (0.754, 0.771)).lineTo(0.754, -0.71).threePointArc((0.669, -0.912), (0.464, -1)).lineTo(-0.401, -1).threePointArc((-0.652, -0.895), (-0.754, -0.647)).l...
3
25
2.100953
train_ced6acca2706a3a3
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(0.873, 0.438).threePointArc((0.962, 0.421), (1, 0.382)).lineTo(1, 0.197).threePointArc((0.972, 0.168), (0.905, 0.155)).lineTo(0.427, 0.155).threePointArc((0.352, 0.141), (0.32, 0.108)).lineT...
10
24
0.289196
train_ae47e9ad4cdf4f63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.081, 0, -0.275), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.706, 0.697).lineTo(0.706, 0.593).lineTo(0.81, 0.593).lineTo(0.81, -0.598).lineTo(0.711, -0.598).lineTo(0.711, -0.697).lineTo(-0.672, -0.697).lineTo(-0.672, -0.56).lineTo(-0.81, -0.56)....
12
52
0.608039
train_0f82adbb366cd3eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.413, -0.03), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.225, 0.587).lineTo(-0.225, -0.201).lineTo(0.647, -0.201).lineTo(0.647, -0.587).lineTo(-0.647, -0.587).lineTo(-0.647, 0.587).lineTo(-0.225, 0.587).close().extrude(0.248) result = result...
10
68
0.463523
train_6c5296d1c1db1dd9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.741, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.037, 0.62).lineTo(0.443, 0.347).lineTo(0.332, -0.193).lineTo(-0.215, -0.255).lineTo(-0.443, 0.248).lineTo(-0.037, 0.62).close().revolve(angleDegrees=270, axisStart=(-0.619, 0.741), axisE...
34
463
1.026496
train_9e5f48216d83ca75
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.296, 0, 0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.676, 0.013).lineTo(0.665, -0.02).lineTo(0.647, -0.05).lineTo(0.625, -0.074).lineTo(0.599, -0.093).lineTo(0.57, -0.105).lineTo(0.541, -0.11).lineTo(0.51, -0.108).lineTo(0.481, -0.098).li...
5
167
0.848364
train_5e4fc9cfa66ddc8a
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.105, 0.105).lineTo(0.105, 0.015).lineTo(-0.075, 0.015).lineTo(-0.075, -0.015).lineTo(0.105, -0.015).lineTo(0.105, -0.105).lineTo(-0.105, -0.105).lineTo(-0.105, -0.075).lineTo(0.075, -0.075).li...
12
18
0.0558
train_ee13c28669031356
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.353, -0.353, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.706).threePointArc((0.499, 0.499), (0.706, 0)).lineTo(0.263, 0).threePointArc((0.186, 0.186), (0, 0.263)).lineTo(0, 0.706).close().extrude(2) result = result.union(cq.Workplane(cq...
7
29
0.472009
train_87453270830f5ddd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.066, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.668, -0.134).lineTo(0.966, -0.227).lineTo(0.947, -0.296).lineTo(0.647, -0.21).lineTo(0.593, -0.334).lineTo(0.848, -0.515).lineTo(0.812, -0.575).lineTo(0.551, -0.4).lineTo(0.461, -0.501...
7
129
0.391001
train_32556c2d91b13c4d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.174, 0, -0.037), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.37, 2).extrude(0.125) result = result.cut(cq.Workplane(cq.Plane(origin=(0.011, 0.61, -0.015), normal=(0, 0, -1), xDir=(1, 0, 0))).spline([(0.448, 0.545), (0.4, 0.409), (0.312, 0.313), (...
9
30
0.094492
train_0fe76f3e10b9b0bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.846), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.777).lineTo(1, 0.159).lineTo(-0.382, 0.159).lineTo(-0.382, -0.159).lineTo(1, -0.159).lineTo(1, -0.777).lineTo(-1, -0.777).lineTo(-1, 0.777).lineTo(1, 0.777).close().extrude(0.36, taper=...
8
25
0.994637
train_8484a81091a3a081
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.053, 0.431, 0.324), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.356, 0.081).lineTo(0.349, 0.035).lineTo(0.468, -0.006).lineTo(0.452, -0.056).lineTo(0.332, -0.023).lineTo(0.311, -0.065).lineTo(0.412, -0.138).lineTo(0.383, -0.182).lineTo(0.277, -...
7
469
1.075868
train_c8b54d2a044780d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.196, 0, -0.797), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.177, 1.593).lineTo(0.177, 0.177).lineTo(0.359, 0.177).lineTo(0.359, 0).lineTo(0, 0).lineTo(0, 1.593).lineTo(0.177, 1.593).close().extrude(1, both=True) result = result.cut(cq.Workpla...
6
34
0.595172
train_63bf48bc9253a275
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.411, -0.91, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.811, 1.691).lineTo(0.811, 0.129).threePointArc((-0.811, 0.909), (0.811, 1.691)).close().extrude(0.681) result = result.cut(cq.Workplane(cq.Plane(origin=(0.119, -0.13, -0.271), normal=(...
10
23
1.578082
train_2794c3b0d62e758a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.023), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.562, 0.959).lineTo(1, 0.085).lineTo(0.781, -0.802).lineTo(-0.07, -0.981).lineTo(-1, -0.779).lineTo(-0.87, 0.16).lineTo(-0.462, 0.981).lineTo(0.562, 0.959).close().extrude(0.171) result = r...
13
263
0.366678
train_3d745c803f81f111
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.352, 0.034, 0.093), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.032, 0.962).lineTo(0.324, 0.853).lineTo(0.517, 0.578).lineTo(0.544, 0.356).lineTo(0.226, 0.218).lineTo(0.305, -0.168).threePointArc((0.14, -0.087), (0.049, -0.102)).lineTo(-0.241, ...
9
30
0.429404
train_11585baa6192c305
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.901, 0.878).threePointArc((0.965, 0.854), (1, 0.801)).lineTo(1, -0.414).threePointArc((0.835, -0.743), (0.468, -0.878)).lineTo(-0.398, -0.878).threePointArc((-0.468, -0.852), (-0.498, -0.793)).lineTo(-0.498, -0.576).threePointArc((-0.543, -0.481), (...
4
78
1.32298
train_147654f99fdf7d26
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.35, 0.016, -0.561), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.077, 0.007).threePointArc((0.082, 0.005), (0.084, 0)).threePointArc((0.082, -0.005), (0.077, -0.007)).threePointArc((0.072, -0.005), (0.069, 0)).threePointArc((0.072, 0.005), (0.07...
6
58
0.034316
train_d62e1e109032ec6c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.025, 0.419, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.751, 0.266).lineTo(0.751, 0).lineTo(0.218, 0).lineTo(0.218, -0.266).lineTo(-0.048, -0.266).lineTo(-0.048, 0.266).lineTo(0.751, 0.266).close().extrude(1.474).union(cq.Workplane(cq.Plan...
10
98
1.764734
train_b45a161652b135d6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.222, 0.428, -1.022), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.373, 0.044).lineTo(0.413, 0.029).lineTo(0.391, 0.005).lineTo(0.387, 0.004).threePointArc((0.406, -0.023), (0.384, -0.049)).lineTo(0.387, -0.058).threePointArc((0.375, -0.066), (0...
10
156
0.553258
train_a99d5b0bf0ef42d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.736, 0.192, 0.281), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.414, 1.191).lineTo(0.655, 1.111).lineTo(0.312, 0.073).lineTo(-0.655, 0.393).lineTo(-0.569, 0.652).lineTo(-0.328, 0.572).lineTo(-0.242, 0.832).lineTo(0, 0.752).lineTo(0.086, 1.012)....
3
50
0.588322
train_eeb1402de1f8c2bc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.2, 0.197), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.177, 0.262).lineTo(0.177, -0.262).threePointArc((-0.177, 0), (0.177, 0.262)).close().extrude(0.395) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.015, -0.162, 0.027), normal=(-1,...
12
364
0.15522
train_9e0c185c1f1667c3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.125, -0.595), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.329, 0.734).lineTo(-0.329, 0.245).lineTo(0.986, 0.245).lineTo(0.986, -0.245).lineTo(-0.329, -0.245).lineTo(-0.329, -0.734).lineTo(-0.986, -0.734).lineTo(-0.986, 0.734).lineTo(-0.329, ...
15
159
1.133848
train_e5911d15a39fd0f4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.358, -0.679), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.699, 0.303).lineTo(1, 0.006).lineTo(1, -0.01).lineTo(0.703, -0.01).lineTo(0.703, -0.303).lineTo(-0.764, -0.303).threePointArc((-0.925, -0.234), (-1, -0.071)).lineTo(-1, 0.087).threePoi...
4
28
1.181674
train_85f7d3eb238ae81d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.474, -0.012, -0.115), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.881, 0.74).lineTo(0.881, 0.526).threePointArc((0.859, 0.472), (0.806, 0.45)).lineTo(-0.316, 0.45).threePointArc((-0.485, 0.379), (-0.556, 0.21)).lineTo(-0.556, -0.287).threePointA...
14
169
0.376335
train_24f34a30d921e092
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.178, -0.042, 0.342), normal=(-0.581, 0.357, -0.731), xDir=(-0.523, -0.852, 0))).moveTo(0.464, 0.441).lineTo(0.487, 0.402).lineTo(0.464, 0.371).lineTo(0.273, 0.327).lineTo(0.194, 0.361).lineTo(0.166, 0.33).lineTo(0.173, -0.048).lineTo(0.464, -0....
12
375
1.588333
train_f09bb19c75aef009
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.734, 0.408).lineTo(0.734, 0.142).lineTo(1, 0.142).lineTo(1, -0.181).lineTo(0.773, -0.408).lineTo(-1, -0.408).lineTo(-1, 0.008).threePointArc((-0.883, 0.29), (-0.6, 0.408)).lineTo(0.734, 0....
7
32
0.296293
train_84b04305b3aec14f
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.335).lineTo(1, 0.218).lineTo(-0.537, 0.218).lineTo(-0.537, -0.218).lineTo(1, -0.218).lineTo(1, -0.335).lineTo(-1, -0.335).lineTo(-1, 0.335).lineTo(1, 0.335).close().extrude(0.504, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0.176...
3
26
0.609599
train_5db627bcfa899df2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.475), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.738, 1).threePointArc((0.911, 0.918), (0.985, 0.745)).lineTo(0.985, -0.826).threePointArc((0.935, -0.942), (0.819, -1)).lineTo(-0.827, -1).threePointArc((-0.938, -0.944), (-0.985, -0.83))....
14
55
1.133928
train_a233b8162d242bbf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.124, -0.182, 0.7), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 0.398).threePointArc((0.138, 0.34), (0.195, 0.203)).threePointArc((0.138, 0.065), (0, 0.008)).threePointArc((-0.138, 0.065), (-0.195, 0.203)).threePointArc((-0.138, 0.34), (0, 0.39...
9
77
1.508922
train_4a69440c1b280315
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.422), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.498, 0.468).lineTo(0.912, 0.437).lineTo(1, 0.164).lineTo(1, 0).lineTo(0.924, 0).lineTo(0.924, 0.14).lineTo(0.829, 0.437).lineTo(0, 0.401).lineTo(0, 0.468).lineTo(0.498, 0.468).close().rev...
7
142
0.741008
train_33bb5c14f355cb7a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.116, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.464, 0.405).lineTo(0.464, -0.135).lineTo(0.232, -0.135).lineTo(0.232, -0.405).lineTo(0, -0.405).lineTo(0, -0.135).lineTo(-0.232, -0.135).lineTo(-0.232, 0.135).lineTo(-0.464, 0.135).lineTo(...
5
32
0.410173
train_2e43197ed95a486d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.171, 0.327).threePointArc((0.171, 0.327), (0.341, 0)).threePointArc((0.171, -0.327), (-0.171, -0.327)).threePointArc((-0.341, 0), (-0.171, 0.327)).close().extrude(1.732, taper=-7.817...
12
273
1.335257
train_aacdd44e60ed674e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.109), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0, 0.332).lineTo(0.407, 0.332).lineTo(0.407, 0).lineTo(0.815, 0).lineTo(0.815, -0.332).lineTo(0, -0.332).lineTo(0, -1).lineTo(-0.407, -1).lineTo(-0.407, 0).lineTo(-0.815, 0).lin...
18
27
0.146739
train_a8dd10b19b398f34
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.613, -0.384, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.291, -0.035).lineTo(0.28, -0.087).lineTo(0.349, -0.115).lineTo(0.319, -0.182).lineTo(0.252, -0.15).lineTo(0.22, -0.193).lineTo(0.272, -0.247).lineTo(0.217, -0.297).lineTo(0.169, -0.23...
4
153
0.536957
train_3b4c501d6f6ca3c2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.173, -0.049, 0.049), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.658, 0.137).threePointArc((0.596, 0.605), (-0.532, -0.605)).lineTo(-0.658, 0.137).close().moveTo(0.658, 0.234).lineTo(-0.462, -0.277).threePointArc((0.56, 0.441), (0.658, 0.234))...
10
30
0.687087
train_e47b9c81ba83f088
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.263), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.869, -0.099).lineTo(0.992, -0.138).lineTo(0.973, -0.232).lineTo(0.847, -0.217).lineTo(0.818, -0.311).lineTo(0.926, -0.38).lineTo(0.886, -0.468).lineTo(0.766, -0.421).lineTo(0.714, -0....
2
103
1.347304
train_c76b25d5f98ef7c3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.851, 1).lineTo(0.851, -1).lineTo(-0.851, -1).lineTo(-0.851, 1).lineTo(0.851, 1).close().extrude(0.253) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.569, 0, 0.126), normal=(0, 0, 1)...
15
217
0.642802
train_cb3c320bdb814f18
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.088, -0.215, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.564, 0.231).lineTo(0.478, -0.231).lineTo(0.051, -0.231).lineTo(-0.036, 0.231).lineTo(0.564, 0.231).close().extrude(2).union(cq.Workplane(cq.Plane(origin=(-0.088, -0.215, -1), normal=...
13
113
0.983544
train_82a6bbe374d799fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.494, 0.081), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.044, 0.551).lineTo(0.39, 0.386).lineTo(0.55, 0.037).lineTo(0.448, -0.333).lineTo(0.132, -0.551).lineTo(-0.25, -0.514).lineTo(-0.519, -0.241).lineTo(-0.55, 0.141).lineTo(-0.328, 0.454)...
9
53
0.987048
train_c151453fb299a1f5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.048, -0.288), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.298, 0.917).lineTo(0.78, 0.566).lineTo(0.964, 0).lineTo(0.78, -0.566).lineTo(0.298, -0.917).lineTo(-0.298, -0.917).lineTo(-0.78, -0.566).lineTo(-0.964, 0).lineTo(-0.78, 0.566).lineTo(-...
12
162
1.426266
train_24faca742f22543b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.227, -0.288, -0.006), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.721, 0.524).lineTo(0.721, -0.524).lineTo(-0.721, -0.524).lineTo(-0.721, -0.174).lineTo(0.481, -0.174).lineTo(0.481, 0.174).lineTo(-0.721, 0.174).lineTo(-0.721, 0.524).lineTo(0.72...
9
133
0.858312
train_3066a62261d29174
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.802, 1).threePointArc((0.941, 0.941), (1, 0.802)).lineTo(1, 0.444).threePointArc((0.967, 0.366), (0.889, 0.333)).lineTo(0.521, 0.333).threePointArc((0.389, 0.278), (0.333, 0.146)).lineTo(0...
5
100
0.448688
train_f54fc0b3a36f78c0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.072, 0, -0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.091, 0.091).lineTo(0.091, -0.091).lineTo(0.03, -0.091).lineTo(0.03, -0.03).lineTo(-0.03, -0.03).lineTo(-0.03, 0.03).lineTo(-0.091, 0.03).lineTo(-0.091, 0.091).lineTo(0.091, 0.091).clos...
3
27
0.043434
train_f335799bfb8e1f3e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.003, 0.492), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.585, -0.11).lineTo(0.34, -0.182).lineTo(0.358, -0.192).lineTo(0.371, -0.205).lineTo(0.378, -0.219).lineTo(0.378, -0.234).lineTo(0.371, -0.249).lineTo(0.359, -0.261).lineTo(0.34, -0.272...
2
193
1.410966
train_0585127865303642
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.159, 0.99).threePointArc((0.264, 0.972), (0.367, 0.946)).threePointArc((0.467, 0.911), (0.563, 0.869)).threePointArc((0.651, 0.814), (0.73, 0.748)).threePointArc((0.796, 0.671), (0.851, 0....
7
144
0.550822
train_aa48b88dee983652
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.522), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.044).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.044).lineTo(-0.77, 1.044).lineTo(-0.77, 0.23).lineTo(0.77, 0.23).lineTo(0.77, 1.044).lineTo(1, 1.044).close().extrude(0.2, both=True) resul...
6
23
0.333353
train_67fd47e0f4974723
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.158, 0, -0.741), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.315, 1.481).lineTo(0.315, 0.315).lineTo(0.633, 0.315).lineTo(0.633, 0).lineTo(0, 0).lineTo(0, 1.481).lineTo(0.315, 1.481).close().extrude(1, both=True) result = result.cut(cq.Workpla...
8
11
0.687874
train_b40df571c30c47b6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.342, 0, -0.438), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.658, 0.875).lineTo(0.658, 0).lineTo(-0.658, 0).lineTo(-0.658, 0.875).lineTo(-0.493, 0.875).lineTo(-0.493, 0.165).lineTo(0.493, 0.165).lineTo(0.493, 0.875).lineTo(0.658, 0.875).close()...
4
37
0.427885
train_39bdd49397ba504c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.285, -0.001, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.568).threePointArc((0.402, 0.402), (0.568, 0)).lineTo(0.142, 0).threePointArc((0.101, 0.101), (0, 0.142)).lineTo(0, 0.568).close().extrude(2) result = result.union(cq.Workplane(cq...
15
54
0.18096
train_bbcb65aa72f8a5c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.621, -0.797, -0.184), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.051, 0.758).lineTo(0.103, 0.468).lineTo(0.373, 0.581).lineTo(0.205, 0.34).lineTo(0.478, 0.229).lineTo(0.188, 0.177).lineTo(0.302, -0.094).lineTo(0.061, 0.075).lineTo(-0.051, -0....
7
90
0.968717
train_165af91ff4d33026
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.278, -0.14, -0.237), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.57, 0.548).threePointArc((0.588, 0.541), (0.595, 0.522)).lineTo(0.595, 0.402).threePointArc((0.58, 0.367), (0.546, 0.352)).lineTo(0.189, 0.352).threePointArc((...
6
108
0.953176
train_67b86bd4118cf1f5
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(-0.494, 0.913).threePointArc((-0.397, 0.882), (-0.355, 0.81)).lineTo(-0.355, -0.236).threePointArc((-0.269, -0.388), (-0.063, -0.453)).lineTo(0.902, -0.453).threePointArc((0.954, -0.469), (0....
4
74
2.478398
train_ec02a728f2aebf12
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.029, 0.157, -0.16), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.564, 0.737).threePointArc((0.59, 0.724), (0.601, 0.694)).lineTo(0.601, 0.54).threePointArc((0.591, 0.514), (0.569, 0.503)).lineTo(-0.312, 0.503).threePointArc((-0.374, 0.472), (-0.4...
14
265
0.59352
train_58f6cb126987a36e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.254, -0.188), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.842, 0.341).lineTo(0.842, 0.184).lineTo(1, 0.184).lineTo(1, -0.218).threePointArc((0.963, -0.304), (0.876, -0.341)).lineTo(-0.789, -0.341).lineTo(-1, -0.131).lineTo(-1, 0.244).threePoi...
10
49
0.460085
train_43e54a1aeab972e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.645).lineTo(1, -0.645).threePointArc((0.984, -0.662), (0.968, -0.669)).lineTo(-0.968, -0.669).threePointArc((-0.985, -0.662), (-1, -0.646)).lineTo(-1, 0.658).threePointArc((-0.988, 0.66...
13
88
0.756072
train_c5c36192b92183c3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.272), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.406, 0.702).threePointArc((0.406, 0.702), (0.811, 0)).threePointArc((0.406, -0.702), (-0.406, -0.702)).threePointArc((-0.811, 0), (-0.406, 0.702)).close().workplane(offset=0.15).moveTo(-0...
7
170
1.855102
train_3fc2d3079927e513
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.194, 0.033, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.226, 0.209).lineTo(0.529, -0.08).lineTo(0.139, -0.209).lineTo(0.119, -0.189).threePointArc((-0.529, -0.033), (0.094, 0.164)).lineTo(0.226, 0.209).close().extrude(2) result = result.uni...
7
40
0.739811
train_eeaea6df86286d58
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.027, 0, 0.059), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.973, 0.149).lineTo(0.783, 0).lineTo(0.973, -0.149).lineTo(0.318, -0.149).lineTo(0.318, 0.149).lineTo(0.973, 0.149).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,...
17
133
0.310447
train_f5016fb8961c1ffb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0.651, -0.256), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.023, 0.348).threePointArc((0.056, 0.33), (0.08, 0.287)).threePointArc((0.111, 0.265), (0.162, 0.287)).lineTo(0.292, 0.3).lineTo(0.417, 0.194).threePointArc((0.453, 0.123), (0.449...
3
49
1.047592
train_5d7d6769a31dfbac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.549), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.085, 0.565).threePointArc((0.223, 0.439), (0.511, 0.293)).threePointArc((0.605, 0.162), (0.73, 0.045)).threePointArc((0.537, -0.184), (0.553, -0.449)).lineTo(-0.057, -0.565).threePointArc...
1
18
1.902441
train_544400df34219eb5
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(-0.402, 0.645).threePointArc((-0.353, 0.631), (-0.332, 0.599)).lineTo(-0.332, -0.197).threePointArc((-0.284, -0.272), (-0.17, -0.304)).lineTo(0.768, -0.304).threePointArc((0.825, -0.32), (0.8...
13
38
2.683581
train_3dc753eec7255167
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.43, 0, -0.689), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.191, 0.33).threePointArc((0.191, 0.33), (0.382, 0)).threePointArc((0.191, -0.33), (-0.191, -0.33)).threePointArc((-0.382, 0), (-0.191, 0.33)).close().sweep(cq.Workplane(cq.Plane(orig...
4
58
0.941634
train_5d41585a45a17029
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.441).lineTo(0.61, 0).lineTo(1, -0.441).lineTo(0.236, -0.441).lineTo(0.236, 0.441).lineTo(1, 0.441).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.321, 0.217, -0.097),...
8
60
0.868263
train_e07e56ec53779a1f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.347, -0.089, -0.421), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.137, 0.472).lineTo(-0.137, 0.236).lineTo(0.411, 0.236).lineTo(0.411, 0).lineTo(0.274, 0).lineTo(0.274, -0.236).lineTo(0.411, -0.236).lineTo(0.411, -0.472).lineTo(0, -0.472).lineT...
6
64
0.750825
train_66db67da5f7160c4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.921, 2).extrude(0.174) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.245, 0.118).lineTo(0.245, -0.118).lineTo(-0.245, -0.118)....
7
18
0.260314
train_0fe99f920f7da1f8
import cadquery as cq import math result = cq.Workplane('XY').circle(0.177).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.13).extrude(0.729, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0...
9
116
0.075827
train_dc37b77eb532879c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.694), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.992).lineTo(1, -0.929).lineTo(0.938, -0.992).lineTo(-0.933, -0.992).threePointArc((-0.981, -0.971), (-1, -0.924)).lineTo(-1, 0.901).lineTo(-0.91, 0.992).lineTo(1, 0.992).close().extrude...
10
34
1.892055
train_e1b5faef825148da
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.165, 0.054, -0.062), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.834, 0).threePointArc((0, -0.834), (-0.834, 0)).threePointArc((0, 0.834), (0.834, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.165, 0.054, -0.062), normal=(0, -1, 0), xDir=(1,...
6
291
0.378937
train_026ce964addf29d7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.566), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.702, 0.985).threePointArc((0.907, 0.898), (1, 0.695)).lineTo(1, -0.641).lineTo(0.648, -0.985).lineTo(-0.641, -0.985).lineTo(-1, -0.632).lineTo(-1, 0.661).lineTo(-0.668, 0.661).lineTo(-0.66...
12
65
1.918401
train_8181a6d3674c286a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.089, 0.044, -0.683), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.012, 0.319).threePointArc((0.067, 0.302), (0.111, 0.26)).threePointArc((0.138, 0.201), (0.145, 0.134)).threePointArc((0.129, 0.067), (0.094, 0.013)).threePointArc((0.044, -0.022),...
9
152
0.14972
train_ae7b98ba74f51a2e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.284, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.43, 1.433, 1.718) result = result.edges().fillet(0.225) result = result.cut(cq.Workplane(cq.Plane(origin=(0.284, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.179).extrude(2.862, both=Tru...
13
95
2.510748
train_d5e67137ebd8fcba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.021, 0, -0.065), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.394, 0.833).lineTo(0.394, 0.195).lineTo(1, 0.195).lineTo(1, 0).lineTo(0.201, 0).lineTo(0.201, 0.833).lineTo(0.394, 0.833).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisE...
9
42
0.697429
train_7a607784e49a2881
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.015, 0.893, 0.252), normal=(0.017, -0.962, -0.273), xDir=(1, 0.018, 0))).moveTo(-0.233, 0.42).threePointArc((-0.024, 0.365), (0.178, 0.287)).lineTo(0.578, 0.105).lineTo(0.696, -0.178).lineTo(0.149, 0.06).threePointArc((0.157, -0.124), (0.034, -...
2
22
1.202771
train_f1dcb8860c7c00ae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.036, 0.156, 0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.069, 0.835).lineTo(0.064, 0.759).threePointArc((0.111, 0.881), (0.111, 0.603)).lineTo(0.175, 0.054).threePointArc((0.199, -0.017), (0.172, -0.077)).lineTo(0.092, -0.501).lineTo(0....
17
139
0.459402
train_8ae0fc021bac46bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.338, 0.284, -0.054), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.084, 0.689).lineTo(0.37, 0.601).lineTo(0.507, 0.178).lineTo(0.444, -0.231).lineTo(0.083, -0.515).lineTo(-0.329, -0.323).lineTo(-0.507, 0.037).lineTo(-0.462, 0.455).lineTo(-0.084,...
5
34
0.85487
train_9204e1557a26d6e2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.36), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.76, -0.094).lineTo(0.991, -0.151).lineTo(0.97, -0.253).lineTo(0.737, -0.207).lineTo(0.706, -0.295).lineTo(0.914, -0.413).lineTo(0.866, -0.506).lineTo(0.653, -0.398).lineTo(0.599, -0.476...
11
212
1.366441
train_16f86ccaa700ac57
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.564, -0.57, 0.001), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.358, 0.54).threePointArc((0.471, 0.392), (0.52, 0.182)).threePointArc((0.405, 0.031), (0.198, 0.026)).threePointArc((0.03, 0.079), (-0.106, 0.059)).threePointArc((-0.283, 0.002), (...
5
92
1.584177