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_e2d0ceee58661745
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.207) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.472).extrude(0.621, both=True)) result = result.union(cq.Workpl...
15
61
0.596094
train_e58aa224d7f6e5e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.049, -0.729), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.999, 0.517).threePointArc((0.096, 0.944), (0.999, 0.427)).lineTo(0.808, -0.517).threePointArc((-0.287, -0.944), (-0.61, -0.548)).lineTo(-0.999, 0.517).close().extrude(1.246) result = ...
3
43
3.711782
train_4fc2dcf42d091fcb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.506), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.403, 0.338).lineTo(-0.403, -0.173).lineTo(1, -0.173).lineTo(1, -0.338).lineTo(-1, -0.338).lineTo(-1, 0.338).lineTo(-0.403, 0.338).close().extrude(1.013) result = result.cut(cq.Workplane(c...
19
8
0.643958
train_5010b06691cc8863
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.724), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.127, 0.575).threePointArc((0.24, 0.527), (0.287, 0.414)).lineTo(0.287, 0.122).threePointArc((0.324, 0.036), (0.41, 0)).lineTo(0.691, 0).threePointArc((0.811, -0.051), (0.861, -0.17)).lineT...
9
261
2.056391
train_51bdb2adfee80a9a
import cadquery as cq import math result = cq.Workplane('XY').circle(0.592).extrude(0.969, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(1).extrude(0.769, both=True)) result = result.cut(cq.Workplane('XY').circle(0.308).extrude(2.906, both=True)) resu...
4
15
4.281597
train_e74e46233ca64cdd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.031, 0, -0.139), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.896).lineTo(-0.365, 0.896).lineTo(-0.365, -0.896).threePointArc((-1.094, 0.896), (-0.365, 0.896)).lineTo(0, 0.896).close().extrude(0.394, taper=-4.697) result = result.union(cq.Work...
5
34
1.14421
train_432cc74481e06004
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.232, -0.008, 0.447), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.768).threePointArc((0.543, 0.543), (0.768, 0)).threePointArc((0.543, -0.543), (0, -0.768)).threePointArc((-0.543, -0.543), (-0.768, 0)).threePointArc((-0.543, 0.543), (0, 0.768)...
4
19
1.517415
train_9e4010ed62e63b1a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.249, 0.058, -0.261), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.751, 0.302).lineTo(0.751, -0.286).lineTo(0.705, -0.332).lineTo(-0.712, -0.332).lineTo(-0.751, -0.294).lineTo(-0.751, 0.299).lineTo(-0.717, 0.332).lineTo(0.721, 0.332).lineTo(0.751,...
10
109
0.334716
train_e10512bb31059fee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.261), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.998).extrude(0.522) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.261), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.361).extrude(1.567, both=True)) result = result.union(cq.Wo...
10
24
1.256584
train_53354fd5865a241e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.106, 0, 0.057), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.23) result = result.cut(cq.Workplane(cq.Plane(origin=(0.106, 0, 0.057), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.81).extrude(0.689, both=True)) result = result.union(cq.Wo...
16
70
0.635977
train_1ea8b29dde5441c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.097, 0.098, -0.059), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.871, 0.241).lineTo(0.795, -0.019).threePointArc((0.766, -0.047), (0.698, -0.067)).lineTo(-0.375, -0.263).threePointArc((-0.871, -0.227), (-0.756, -0.024)).lineTo(0.785, 0.259).thre...
13
39
0.153067
train_20a55493b88ab899
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.415).lineTo(1, -0.138).lineTo(0.333, -0.138).lineTo(0.333, -0.415).lineTo(-0.333, -0.415).lineTo(-0.333, 0.138).lineTo(-1, 0.138).lineTo(-1, 0.277).lineTo(0.333, 0.277).lineTo(0.333, 0....
5
29
0.26499
train_f322afceff037613
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.74, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.022, 0.253).threePointArc((0.105, 0.219), (0.139, 0.136)).lineTo(0.132, 0.1).threePointArc((0.126, 0.083), (0.131, 0.065)).lineTo(0.129, 0.029).lineTo(0.139, -0.006).threePointArc((0.105, -0...
5
70
0.318548
train_34e93bb690698013
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.915, 2).lineTo(0.915, 0.389).lineTo(0.478, 0.389).lineTo(0.478, 0).lineTo(0.343, 0).lineTo(0.343, 2).lineTo(0.915, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))...
3
10
3.678491
train_7c3f334d43d17363
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.771, 0.63).threePointArc((0.882, 0.584), (0.928, 0.473)).lineTo(0.928, -0.63).lineTo(-0.721, -0.63).threePointArc((-0.867, -0.569), (-0.928, -0.423)).lineTo(-0.928, 0.465).lineTo(-0.763, 0...
7
24
0.710086
train_0c102425d9c5eac5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.826), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.621) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.391), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.733).extrude(1.217)) result = result.cut(cq.Workplane(cq.Plan...
7
34
3.463126
train_dd46f3d46e559437
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.402), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.742, -0.128).lineTo(0.979, -0.2).lineTo(0.957, -0.294).lineTo(0.716, -0.234).lineTo(0.667, -0.35).lineTo(0.87, -0.493).lineTo(0.819, -0.574).lineTo(0.61, -0.443).lineTo(0.525, -0.54).lineT...
3
127
1.314043
train_67c3f04e8a80a60e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.393, 0, -0.381), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.178, 0.762).lineTo(0.178, 0.557).lineTo(0.545, 0.557).lineTo(0.545, 0.256).lineTo(0.607, 0.256).lineTo(0.607, 0).lineTo(0, 0).lineTo(0, 0.762).lineTo(0.178, 0.762).close().revolve(an...
6
35
0.580629
train_6d50d3e8c153900d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.408), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.753, 0.543).threePointArc((0.927, 0.514), (1, 0.443)).lineTo(1, 0.329).threePointArc((0.958, 0.289), (0.859, 0.272)).lineTo(0.521, 0.272).threePointArc((0.389, 0.249), (0.333, 0.195))...
3
52
0.90171
train_6466513cf4f5e49c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.422).lineTo(1, -0.426).lineTo(0.98, -0.426).lineTo(0.98, -0.438).lineTo(-0.983, -0.438).threePointArc((-0.99, -0.435), (-1, -0.428)).lineTo(-1, 0.438).lineTo(0.976, 0.438).lineTo(1, 0.4...
9
30
0.357575
train_fb8be06abac988f2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.945), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.787, 0.426).lineTo(0.787, 0).lineTo(1, 0).lineTo(1, -0.213).lineTo(0.787, -0.213).lineTo(0.787, -0.426).lineTo(0.574, -0.426).lineTo(0.574, 0).lineTo(0.362, 0).lineTo(0.362, 0.213).lineTo(...
3
26
1.609428
train_6b13c27f4f646f1f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.07, 0.075, -0.333), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.812, 0.301).threePointArc((0.895, 0.267), (0.929, 0.184)).lineTo(0.929, -0.212).lineTo(0.841, -0.212).lineTo(0.841, -0.301).lineTo(-0.818, -0.301).lineTo(-0.818, -0.19).lineTo(-0.9...
10
123
0.518507
train_f42ef7bb0a91a1fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.6, -0.368, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.198).threePointArc((0.846, 0.846), (1.198, 0)).lineTo(0.547, 0).threePointArc((0.388, 0.388), (0, 0.547)).lineTo(0, 1.198).close().extrude(2) result = result.union(cq.Workplane(cq.P...
9
85
1.763145
train_551b3a8f8ff2285b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.24, -0.323, 0.215), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.466, 0.774).lineTo(0.466, -0.293).threePointArc((0, -0.76), (-0.466, -0.293)).lineTo(-0.466, 0.774).threePointArc((0, 1.24), (0.466, 0.774)).close().extrude(0.764) result = result....
9
124
1.375847
train_bb790ce44bc36129
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.197, 0).threePointArc((0, -0.197), (-0.197, 0)).threePointArc((0, 0.197), (0.197, 0)).close().extrude(2) result = result.edges(cq.selectors.NearestToPointSelector((-0.197, 0, 1))).chamfer(0.03...
2
4
0.243315
train_466d3a2206b80d0f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.708, 0.495, 0.456), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.166, 1.179).threePointArc((0.268, 1.179), (0.319, 1.09)).threePointArc((0.335, 0.997), (0.367, 0.908)).lineTo(0.499, 0.8).lineTo(0.338, 0.321).lineTo(0.225, 0.242).lineTo(0.084, 0....
2
43
0.654504
train_a1e1e0a18152c6fb
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.172, 0.999).threePointArc((-0.051, 0.958), (0, 0.86)).lineTo(0, -0.212).threePointArc((0.045, -0.297), (0.15, -0.333)).lineTo(0.58, -0.333).threePointArc((0.751, -0.392), (0.824, -0.53))....
6
114
0.829979
train_bb17de15b9bc39c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.313, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.313, 0.703).lineTo(0.313, -0.077).lineTo(0.148, -0.077).lineTo(0.148, 0.199).lineTo(-0.148, 0.199).lineTo(-0.148, -0.077).lineTo(-0.313, -0.077).lineTo(-0.313, 0.703).lineTo(-0.148, 0.703...
2
32
0.612999
train_7c335f0be98ecda0
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.077, 0.222).threePointArc((0.089, 0.218), (0.094, 0.209)).lineTo(0.094, -0.052).threePointArc((0.102, -0.068), (0.121, -0.074)).lineTo(0.162, -0.074).threePointArc((0.18, -0.08), (0.187, -0.09...
3
26
0.165749
train_0fac8484105f1bc8
import cadquery as cq import math result = cq.Workplane('XY').box(2, 1.164, 1.904) result = result.edges().fillet(0.033) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.236).extrude(4, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=...
6
38
3.660937
train_ed1d79f7aca8ff57
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.143, 0.037, 0.041), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.298, 0.856).threePointArc((0.06, 0.957), (0.417, 0.654)).lineTo(0.417, 0.454).threePointArc((0.894, 0.05), (0.298, -0.252)).threePointArc((-0.536, -0.957), (-0.655, -0.05)).threePo...
3
66
0.759838
train_22cdae853862df3f
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.372, 0.206).lineTo(0.372, -0.026).threePointArc((0.321, -0.152), (0.194, -0.206)).lineTo(-0.372, -0.206).lineTo(-0.372, 0.206).lineTo(0.372, 0.206).close().extrude(0.149, both=True) result...
6
36
0.172963
train_3775b4ff6cfca39e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.504), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.609, 0.549).threePointArc((0.884, 0.435), (1, 0.159)).lineTo(1, -0.285).threePointArc((0.921, -0.473), (0.736, -0.549)).lineTo(-0.634, -0.549).threePointArc((-0.892, -0.442), (-1, -0.184))...
8
35
0.832072
train_acc1ce0c437e4d23
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.223, 0.196), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.44, 0.261).lineTo(0.713, 0.027).lineTo(0.468, -0.259).threePointArc((0.419, -0.261), (0.414, -0.212)).threePointArc((0.408, -0.163), (0.359, -0.165)).threePointArc((0.31, -0.167), (0....
9
75
0.625457
train_3dd3722704febf0d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.049, -0.053), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.144, 1.049).threePointArc((-0.043, 1.006), (0, 0.905)).lineTo(0, 0.731).threePointArc((0.061, 0.586), (0.207, 0.524)).lineTo(0.388, 0.524).threePointArc((0.484, 0.484), (0.524, 0.388)...
8
105
0.276905
train_fa43808730ab8d5a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.409).extrude(0.428) result = result.cut(cq.Workplane(cq.Plane(origin=(0.41, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.064, 0.221), (-0.239, 0.372), (-0.467, 0.406)...
12
149
0.429327
train_a32f79ac6ed0bb50
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.401, -0.689), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.129, 0.473).lineTo(0.181, 0.262).lineTo(0.49, 0.018).lineTo(0.283, -0.319).lineTo(-0.006, -0.473).lineTo(-0.348, -0.426).lineTo(-0.49, -0.11).lineTo(-0.477, 0.266).lineTo(-0.129, 0....
4
11
1.084794
train_798f42f0810682fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0, -0.419), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.83, 0.386).threePointArc((0.959, 0.333), (1.012, 0.204)).lineTo(1.012, -0.172).threePointArc((0.95, -0.324), (0.798, -0.386)).lineTo(-0.811, -0.386).threePointArc((-0.954, -0.327), (-...
16
64
0.421613
train_602ef96d097d9455
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.008, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.602, 0.296).workplane(offset=2).rect(0.97, 0.126).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.11, 0.11, -0.007), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.733, 1.553).line...
5
30
0.270548
train_1d1280b354e0be58
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.63, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.113, 0.37).lineTo(0.056, 0.242).lineTo(0.264, 0.283).lineTo(0.238, 0.072).lineTo(0.377, -0.087).lineTo(0.182, -0.17).lineTo(0.113, -0.37).lineTo(0.069, -0.357).threePointArc((0.045, -0.358...
8
180
0.955937
train_cbe38fe795a3b9bd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.023, 0.746, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.978, 1.249).threePointArc((0.854, 0.787), (0.229, 0.301)).threePointArc((-0.53, 0.076), (-0.978, 0.243)).threePointArc((-0.854, 0.705), (-0.229, 1.191)).threePointArc((0.53, 1.416), (0...
4
35
3.324077
train_8acd6e3ca6c1b4e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.003, 0, 0.147), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.719, 0.877).lineTo(0.778, 0.395).lineTo(0.825, 0.144).threePointArc((0.796, -0.077), (0.996, -0.489)).threePointArc((0.606, -0.681), (0.259, -0.948)).threePointArc((0.162, -0.857), (0....
20
34
0.622988
train_b3ab88a40d728773
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.641, 0.857).threePointArc((0.837, 0.78), (0.92, 0.597)).lineTo(0.92, 0.024).threePointArc((0.821, -0.194), (0.586, -0.286)).lineTo(-0.205, -0.286).threePointArc((-0.277, -0.314), (-0.307, -0.381)).lineTo(-0.307, -0.641).threePointArc((-0.376, -0.793...
5
85
1.620161
train_7701dfe6c01b7cd5
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.175).lineTo(0.85, 0).lineTo(1, -0.175).lineTo(0.447, -0.175).lineTo(0.447, 0.175).lineTo(1, 0.175).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...
7
73
0.514598
train_3137acaccb1d2464
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.575, -0.869, -0.578), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.521, 1.26).threePointArc((0.556, 1.245), (0.571, 1.21)).lineTo(0.571, 0.528).threePointArc((0.556, 0.493), (0.521, 0.478)).lineTo(-0.521, 0.478).threePointArc((-0.556, 0.493), (-...
3
24
1.261413
train_5186afa32d62e352
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.574, 0, 0.09), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.178, 1.851).lineTo(0.178, 0.178).lineTo(1.146, 0.178).lineTo(1.146, 0).lineTo(0, 0).lineTo(0, 1.851).lineTo(0.178, 1.851).close().extrude(1, both=True) result = result.cut(cq.Workplane...
10
73
0.457695
train_8f05666458dad9bd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.237), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.612, 0.612).threePointArc((-0.524, 0.593), (-0.487, 0.549)).lineTo(-0.487, -0.218).threePointArc((-0.409, -0.311), (-0.226, -0.351)).lineTo(0.886, -0.351).threePointArc((0.966, -0.368...
10
26
0.482152
train_ec5b0bbfd8f11f13
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.288, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.282).extrude(1.396) result = result.union(cq.Workplane(cq.Plane(origin=(-0.288, 0, -0.023), normal=(0.601, 0, 0.8), xDir=(0.8, 0, -0.601))).circle(0.259).extrude(1.084)) result = result.c...
7
42
0.410137
train_908dadbe5dda73d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.388, -0.854), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.587, 0.612).threePointArc((0.616, 0.601), (0.629, 0.573)).lineTo(0.629, -0.396).threePointArc((0.559, -0.548), (0.394, -0.612)).lineTo(-0.41, -0.612).threePointArc((-0.564, -0.553), (...
7
26
1.134658
train_3985300afb257a6a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.005, 0, 0.019), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.626, 0.813, 2.075) result = result.edges().fillet(0.341) result = result.cut(cq.Workplane(cq.Plane(origin=(0.182, -0.222, 0.019), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-1.259, 0.492)....
12
45
0.408093
train_0bc0e5d1eb4ff808
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, 0.38, 0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.321, 0.534).threePointArc((0.321, 0.534), (0.641, 0)).threePointArc((0.321, -0.534), (-0.321, -0.534)).threePointArc((-0.641, 0), (-0.321, 0.534)).close().sweep(cq.Workplane(cq.Plan...
5
65
0.375264
train_197135b96e68b97f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.066, 0.762, -0.346), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.122, 0.169).lineTo(0.267, 0.152).lineTo(0.271, 0.131).lineTo(0.29, 0.117).lineTo(0.247, -0.026).threePointArc((0.187, -0.066), (0.254, -0.113)).lineTo(0.284, -0.174).lineTo(0.271,...
8
91
0.071131
train_10939c544aa68f70
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.381, 0.35, 0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.352, 0.365).lineTo(0.352, -0.041).threePointArc((-0.305, -0.365), (-0.352, 0.365)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.381, 0.35, 0.314), normal=(0, -1, 0), xDir=(1, 0, ...
6
23
0.877137
train_8b6759e8c3ead010
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.239, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.704, 1.522, 1.924) result = result.edges().fillet(0.473) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.239, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.318).extrude(3.408, both=Tr...
7
45
2.564408
train_2ec45c276b2e3fc5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.15, 0, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.85, 0.226).lineTo(0.85, -0.226).lineTo(-0.054, -0.226).lineTo(-0.054, -0.075).lineTo(0.7, -0.075).lineTo(0.7, 0.075).lineTo(-0.054, 0.075).lineTo(-0.054, 0.226).lineTo(0.85, 0.226).clos...
6
120
0.480465
train_2319a268744528c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.999), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.214, 0.371).threePointArc((0.214, 0.371), (0.428, 0)).threePointArc((0.214, -0.371), (-0.214, -0.371)).threePointArc((-0.428, 0), (-0.214, 0.371)).close().workplane(offset=0.982).moveTo(-...
10
150
0.392481
train_ee620923c512625b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.212, 0.145, 0.344), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.214, 0.547).lineTo(0.308, 0.286).lineTo(0.439, 0.333).lineTo(0.569, 0.38).lineTo(0.71, -0.014).lineTo(0.851, -0.407).lineTo(0.458, -0.547).lineTo(0.083, 0.5).lineTo(0.214, 0.547)....
12
48
0.152872
train_a18d9310bf1ec9da
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.377), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.405, 0).lineTo(0.405, 0.754).lineTo(0.351, 0.754).lineTo(0.351, 0.187).lineTo(1, 0.187).lineTo(1, 0).lineTo(0.405, 0).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,...
7
30
0.271788
train_cb2e80b00b882b4e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.724), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.448).lineTo(1, 1.09).lineTo(0.644, 1.09).lineTo(0.644, 0).lineTo(0, 0).lineTo(0, 1.448).lineTo(1, 1.448).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) resul...
6
47
1.301506
train_51f8e1aa434a79d1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, 0, -0.241), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.883, 0.481).lineTo(0.883, 0.16).lineTo(1, 0.16).lineTo(1, 0).lineTo(0.236, 0).lineTo(0.236, 0.481).lineTo(0.883, 0.481).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=...
3
31
1.155539
train_ac0d8c25730e0c74
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.325, -0.455), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1, 0.843).threePointArc((1, 0), (-1, -0.843)).lineTo(-1, 0.843).close().extrude(0.872) result = result.union(cq.Workplane(cq.Plane(origin=(0.048, 0.188, 0.126), normal=(0, -1, 0), xDir=...
9
21
0.539921
train_72124fa51aff2c70
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.627), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.079, 0.809).lineTo(0.738, 0.659).lineTo(1, 0.492).lineTo(0.933, 0.4).lineTo(0.468, 0.292).lineTo(0.73, 0.125).lineTo(0.663, 0.033).lineTo(0.198, -0.075).lineTo(0.46, -0.242).lineTo(0.393, ...
9
36
1.818223
train_6934db86905e7fa9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.02, -0.308, -0.402), normal=(0, 0, 1), xDir=(1, 0, 0))).box(0.919, 1.195, 1.195) result = result.edges().fillet(0.106) result = result.cut(cq.Workplane(cq.Plane(origin=(0.02, -0.308, -0.402), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.236).extr...
6
48
0.90964
train_f84fb7d9fe92a8ab
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(0.555, 0.43).lineTo(1, -0.405).lineTo(0.945, -0.43).lineTo(0.827, -0.198).threePointArc((0.567, -0.156), (0.446, 0.076)).lineTo(0.324, 0.308).lineTo(0.555, 0.43).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result...
6
34
0.558429
train_b2cbc633b59d5a80
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.185, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(0.739, 0.961, 0.534) result = result.edges().fillet(0.069) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.185, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.104).extrude(1.479, both=Tr...
7
91
0.403401
train_c82629bfff8f37a3
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.167, 0.645).threePointArc((0.39, 0.551), (0.484, 0.328)).lineTo(0.484, -0.195).threePointArc((0.522, -0.285), (0.611, -0.323)).lineTo(0.744, -0.323).threePointArc((0.788, -0.341), (0.806, -0.385)).lineTo(0.806, -0.58).threePointArc((0.787, -0.626), ...
7
41
2.620944
train_e85cf641684176bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.362).lineTo(1, 0.121).lineTo(0.5, 0.121).lineTo(0.5, -0.121).lineTo(0, -0.121).lineTo(0, -0.362).lineTo(-1, -0.362).lineTo(-1, -0.121).lineTo(-0.5, -0.121).lineTo(-0.5, 0.121).lineTo(0, ...
10
37
0.190226
train_8a9d2bdc40de0645
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.859, 0.785).threePointArc((0.958, 0.743), (1, 0.644)).lineTo(1, -0.588).threePointArc((0.942, -0.726), (0.803, -0.785)).lineTo(-0.781, -0.785).threePointArc((-0.935, -0.719), (-1, -0.565)).lineTo(-1, 0.672).threePointArc((-0.967, 0.751), (-0.888, 0....
9
113
2.195001
train_5e80adf7ed950ad9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.51, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(5.442, 4.888).lineTo(5.442, -4.888).lineTo(-5.442, -4.888).lineTo(-5.442, 4.888).lineTo(-1.231, 4.888).lineTo(-1.231, -0.192).lineTo(1.231, -0.192).lineTo(1.231, 4.888).lineTo(5.442, 4.888).cl...
11
83
1.775576
train_e09e7f74dfb2c204
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.22, 0.076, 0.29), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.448, 0.775).threePointArc((0.164, 0.611), (0.775, 0.448)).threePointArc((0.611, -0.164), (0.448, -0.775)).threePointArc((-0.164, -0.611), (-0.775, -0.448)).threePointArc((-0.611, 0.1...
2
54
0.318754
train_3fdb2ad7fa0a15f0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.301), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.944, -0.096).lineTo(0.994, -0.124).lineTo(0.98, -0.201).lineTo(0.927, -0.204).lineTo(0.901, -0.297).lineTo(0.944, -0.333).lineTo(0.915, -0.407).lineTo(0.862, -0.398).lineTo(0.817, -0....
7
156
1.542765
train_1905333df7242a78
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, -0.001, -0.043), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.128, 0.537).lineTo(0.511, 0.252).lineTo(0.527, -0.226).lineTo(0.164, -0.537).lineTo(-0.306, -0.446).lineTo(-0.527, -0.023).lineTo(-0.335, 0.415).lineTo(0.128, 0.537).close().sweep(c...
5
32
1.332491
train_15dcb93e71520772
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.366, -0.455, -0.769), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.566, 0.541).lineTo(0.566, -0.541).lineTo(-0.566, -0.541).lineTo(-0.566, 0.541).lineTo(-0.341, 0.541).lineTo(-0.341, -0.271).lineTo(0.341, -0.271).lineTo(0.341, 0.541).lineTo(0.56...
21
80
0.487877
train_f1b47ddf2822d692
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.964, -0.388, -0.253), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.819, 0.342).threePointArc((0.85, 0.351), (0.879, 0.336)).lineTo(0.92, 0.287).threePointArc((0.931, 0.248), (0.912, 0.211)).lineTo(0.859, 0.168).threePointArc((0.846, 0.142), (0....
7
159
0.909185
train_0b450ce73a5f18b9
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.016, 0.115).lineTo(0.049, 0.107).lineTo(0.099, 0.064).lineTo(0.117, 0).lineTo(0.099, -0.064).lineTo(0.049, -0.107).lineTo(-0.016, -0.115).lineTo(-0.077, -0.089).lineTo(-0.112, -0.033).lineTo(-0.112, 0.033).lineTo(-0.077, 0.089).lineTo(-0.016, 0.115...
4
26
0.086481
train_1a2c66279a011eb9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.502), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.931, 0.254).lineTo(0.931, 0.185).lineTo(1, 0.185).lineTo(1, -0.218).lineTo(0.964, -0.218).lineTo(0.964, -0.254).lineTo(-0.945, -0.254).lineTo(-0.945, -0.199).lineTo(-1, -0.199).lineTo(-1, ...
11
35
0.555914
train_6de70c7f58542953
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.707, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.149, 0.332).threePointArc((0.194, 0.423), (0.422, 0.308)).threePointArc((0.404, 0.052), (0.149, -0.195)).threePointArc((-0.194, -0.287), (-0.422, -0.171)).threePointArc((-0.404, 0.086), (-...
7
265
1.365533
train_89f92131ddffd8cd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.292, 0, -0.359), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.707, 0.631).lineTo(0.707, 0).lineTo(-0.707, 0).lineTo(-0.707, 0.631).lineTo(-0.27, 0.631).lineTo(-0.27, 0.437).lineTo(0.27, 0.437).lineTo(0.27, 0.631).lineTo(0.707, 0.631).close().ext...
8
67
0.458832
train_53ada5016eb96d2e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.532), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.199, 0.178).lineTo(0.199, 0.066).lineTo(0.31, 0.066).lineTo(0.31, -0.04).lineTo(0.173, -0.04).lineTo(0.173, -0.178).lineTo(-0.216, -0.178).lineTo(-0.216, -0.083).lineTo(-0.31, -0.083).line...
11
86
0.519811
train_0fe315b9e8134638
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.082, 0, -0.392), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.181, 1).lineTo(0.181, 0.661).lineTo(0.516, 0.661).lineTo(0.516, -0.731).lineTo(0.251, -0.731).lineTo(0.251, -1).lineTo(-0.202, -1).threePointArc((-0.424, -0.9), (-0.516, -0.681)).lineT...
12
50
0.854722
train_f636b28c2cd7d4ee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.527, 0.473).lineTo(0.645, 0.355).lineTo(0.882, 0.355).lineTo(0.882, 0.118).lineTo(1, 0).lineTo(0.882, -0.118).lineTo(0.882, -0.355).lineTo(0.645, -0.355).lineTo(0.527, -0.473).lineTo(0.291...
6
76
0.655582
train_54ac17057600131e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.068, -0.042), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.067, 0.241).threePointArc((1, 0.133), (0.925, -0.107)).threePointArc((-0.067, -0.241), (-1, -0.133)).threePointArc((-0.925, 0.107), (0.067, 0.241)).close().extrude(0.174, both=True) re...
7
103
0.399723
train_32a6de914330c72a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.061, -0.203, -0.388), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.715, 0.71).lineTo(0.715, -0.71).lineTo(-0.715, -0.71).lineTo(-0.715, -0.237).lineTo(0.358, -0.237).lineTo(0.358, 0.237).lineTo(-0.715, 0.237).lineTo(-0.715, 0.71).lineTo(0.715, 0....
14
155
1.513246
train_976f16c93f0db84e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.276, 0.41, -0.25), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.507, 0.052).lineTo(0.509, 0.031).lineTo(0.511, 0.011).lineTo(0.514, -0.009).lineTo(0.517, -0.03).lineTo(0.52, -0.05).lineTo(0.523, -0.07).lineTo(0.527, -0.09).lineTo(0.531, -0.11).l...
5
231
1.069332
train_11e4cf104128a7a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.044, 0.066, -0.632), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.956, 0.427).lineTo(0.956, 0.132).lineTo(0.32, 0.132).lineTo(0.32, -0.427).lineTo(-0.32, -0.427).lineTo(-0.32, 0.132).lineTo(-0.956, 0.132).lineTo(-0.956, 0.427).lineTo(0.956, 0.427...
14
162
1.404208
train_1f4c734c3d27f67f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.389, -0.697, 0.309), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.346, 0.743).threePointArc((0.346, 0.743), (0.691, 0.145)).threePointArc((0.346, -0.454), (-0.346, -0.454)).threePointArc((-0.691, 0.145), (-0.346, 0.743)).close().extrude(1.441) ...
4
30
2.191887
train_5e5ecbe3a21ac0bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.61, 0.884, 0.042), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.396, 1.61).lineTo(0.359, 0.962).lineTo(1.008, 0.951).lineTo(0.479, 0.575).threePointArc((0.547, 0.553), (0.591, 0.498)).threePointArc((0.662, 0.472), (0.674, 0.398)).lineTo(0.75, 0....
2
21
2.641836
train_dc48749519087d67
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.222, 0.133).lineTo(0.222, -0.133).lineTo(-0.222, -0.133).lineTo(-0.222, -0.044).lineTo(0.133, -0.044).lineTo(0.133, 0.044).lineTo(-0.222, 0.044).lineTo(-0.222, 0.133).lineTo(0.222, 0.133).clos...
23
312
0.088363
train_40b0675f64025ed9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.232, 0, -0.47), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.767, 0.939).lineTo(0.767, 0.186).lineTo(0.581, 0.186).lineTo(0.581, 0).lineTo(0.241, 0).lineTo(0.241, 0.939).lineTo(0.767, 0.939).close().revolve(angleDegrees=360, axisStart=(0, 0, 0),...
6
48
1.429393
train_0846b22d2fa0b912
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.176, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.403, 0.348).threePointArc((0.496, 0.297), (0.536, 0.176)).lineTo(0.536, -0.241).threePointArc((0.511, -0.316), (0.453, -0.348)).lineTo(-0.5, -0.348).threePointArc((-0.525, -0.334), (-...
19
185
0.387204
train_703a7fca4f183bd0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.751), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.385, 1.751).lineTo(0.385, 1.314).lineTo(0.566, 1.314).lineTo(0.566, 1.025).lineTo(0.152, 1.025).lineTo(0.152, 0.502).lineTo(0.45, 0.502).lineTo(0.45, 0).lineTo(0, 0).lineTo(0, 1.751).line...
5
18
0.831017
train_a19d98d4bed626d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.022, 0, -0.177), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.7, 0.353).lineTo(0.898, 0.253).lineTo(0.977, 0.125).lineTo(0.977, 0).lineTo(0.878, 0).lineTo(0.878, 0.106).lineTo(0.78, 0.253).lineTo(0, 0.256).lineTo(0, 0.353).lineTo(0.7, 0.353).cl...
7
48
0.351998
train_e4dd880b87bd20e1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.142, -0.285, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.858, 0.368).lineTo(0.858, -0.368).lineTo(-0.858, -0.368).lineTo(-0.858, -0.123).lineTo(0.614, -0.123).lineTo(0.614, 0.123).lineTo(-0.858, 0.123).lineTo(-0.858, 0.368).lineTo(0.85...
11
309
1.01656
train_a94a1782787036f0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.336, 0.184, 0.512), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.363, 0.609).threePointArc((0.63, 0.614), (0.583, 0.128)).threePointArc((0.557, 0.066), (0.553, -0.138)).threePointArc((0.348, -0.614), (0.033, -0.555)).threePointArc((-0.05, -0.442)...
9
102
0.815997
train_e569b5279bfb719b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.367, -0.292, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.734).threePointArc((0.519, 0.519), (0.734, 0)).lineTo(0.261, 0).threePointArc((0.184, 0.184), (0, 0.261)).lineTo(0, 0.734).close().extrude(2) result = result.union(cq.Workplane(cq...
11
62
0.860591
train_79df8230a56b73a6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.198, -0.478), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.531, 0.564).threePointArc((0.639, 0.531), (0.74, 0.481)).lineTo(0.834, 0.424).threePointArc((0.885, 0.36), (0.922, 0.287)).lineTo(0.987, 0.113).threePointArc((0.998, 0.044), (0.998, -...
8
205
1.58881
train_8851564c056db966
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.265), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.608, 1).lineTo(0.868, 0.735).lineTo(0.868, -0.747).threePointArc((0.799, -0.923), (0.619, -1)).lineTo(-0.75, -1).lineTo(-0.75, -0.874).lineTo(-0.868, -0.874).lineTo(-0.868, 0.845).lineTo(-...
2
20
1.23397
train_500fc1fa2f121910
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.211, 0.259, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.567, 0.43).lineTo(-0.154, -0.372).threePointArc((-0.113, -0.412), (-0.073, -0.372)).lineTo(0.34, 0.43).lineTo(-0.077, -0.404).threePointArc((-0.114, -0.43), (-0.152, -0.414)).lineTo(-...
8
47
0.121639
train_c6fa75b626e60fd2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.052, 0.004, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.119, 0.233).lineTo(-0.078, 0.163).lineTo(-0.041, 0.225).lineTo(0, 0.155).lineTo(0.037, 0.217).lineTo(0.078, 0.147).lineTo(0.116, 0.209).lineTo(0.157, 0.138).lineTo(0.194, 0.2).lineTo(...
4
42
0.105747
train_001152adbc717b91
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.383, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.288, 2).lineTo(0.288, 0.288).lineTo(0.766, 0.288).lineTo(0.766, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.288, 2).close().extrude(0.772, both=True) result = result.cut(cq.Workplane(cq.Plane(...
12
50
0.706679