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_3c5d817653128e26
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.29, 0.331, 0.424), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.576, 0.018).lineTo(-0.576, 0.468).lineTo(0.576, 0.468).lineTo(0.576, 0.018).lineTo(-0.576, 0.018).close().extrude(0.684) result = result.edges().fillet(0.052) result = result.union...
22
129
0.311861
train_56bfa488000cf774
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.137, 0, -0.949), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.864, 2).extrude(1.897) result = result.union(cq.Workplane(cq.Plane(origin=(0.428, 0.466, -0.179), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.141).extrude(0.37))
2
9
3.30094
train_409408296e563db7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.064, 0, -0.645), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.362, 0.384).extrude(0.314) result = result.union(cq.Workplane(cq.Plane(origin=(-0.082, 0.097, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.021, 0.048).extrude(0.365)) result = result....
5
121
0.111276
train_0a32944938816893
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.085, 0.144, 0.005), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.192, 0.14).threePointArc((-0.142, 0.279), (-0.003, 0.228)).lineTo(0.192, -0.19).lineTo(0.003, -0.279).lineTo(-0.192, 0.14).close().sweep(cq.Workplane('XY').spline([(-0.085, 0.481...
1
6
0.008544
train_ebbc2a936e8979fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.017, -0.022, -0.004), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.54, -0.318).threePointArc((-0.54, -0.299), (-0.539, -0.281)).lineTo(-0.539, -0.069).threePointArc((-0.556, 0.109), (-0.605, 0.281)).lineTo(0.605, 0.978).lineTo(0.605, -0.978).l...
38
256
1.040102
train_4bd15b62c4a5c6ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.118), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.392).sweep(cq.Workplane('XZ').spline([(-0.162, -0.787), (0.257, -0.752), (0.676, -0.752), (1.095, -0.802), (1.514, -0.887)])) result = result.edges().chamfer(0.221) result = result.cut(c...
10
39
0.726529
train_04d2fda7f2e97767
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.444, 0.098), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.211, 0.244).lineTo(-0.184, 0.196).lineTo(-0.155, 0.212).lineTo(0.155, 0.032).lineTo(0.211, 0).lineTo(0.155, -0.032).lineTo(-0.155, -0.212).lineTo(-0.211, -0.244).lineTo(-0.184, -0.196)...
18
246
0.255934
train_7b87172953cd39bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.015, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.791, 0.804).extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(-0.44, 0.096, -0.477), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.032).extrude(0.217)) result = result.union(cq.W...
11
144
1.250287
train_ba33a1f39feac9ae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.037, 0.039, 0.34), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.266, 0.238).extrude(0.06) result = result.union(cq.Workplane(cq.Plane(origin=(0.014, -0.115, 0.354), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.127, 0.078).extrude(0.036)) result = resu...
15
189
0.058975
train_4263915d990770e3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.816, -0.003, -0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.119, 0.119).extrude(0.177) result = result.union(cq.Workplane(cq.Plane(origin=(-0.89, -0.013, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.034, 0.026).extrude(0.037)) result ...
8
184
0.073461
train_4a699ecee5c4ee89
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.232, -0.847, 0.175), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.825, 1.211).lineTo(-0.825, 0.067).lineTo(0.825, 0.067).lineTo(0.825, 1.211).lineTo(-0.825, 1.211).close().extrude(1.017) result = result.edges().chamfer(0.064) result = result.un...
16
88
1.900067
train_7ddddf5b0263d631
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.24, -0.304, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.174, 0.297).lineTo(0.62, 0.417).lineTo(0.174, 0.32).lineTo(0.174, 0.76).lineTo(-0.62, 0.063).lineTo(-0.489, -0.101).lineTo(-0.402, -0.207).lineTo(0.042, -0.76).lineTo(-0.228, -0.194)....
4
17
0.185507
train_3b1c23de609f2049
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.336, 0, -0.098), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.49).sweep(cq.Workplane('XZ').spline([(0.208, -0.985), (0.363, -0.978), (0.519, -0.943), (0.674, -0.804), (0.83, -0.557), (0.985, -0.418), (1.141, -0.383), (1.296, -0.376)])) result =...
8
29
0.745406
train_06b5abea59d5e55e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.229, -0.008, -0.312), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.229, -0.162).lineTo(-0.229, 0.266).lineTo(0.229, 0.266).lineTo(0.229, -0.162).lineTo(-0.229, -0.162).close().revolve(angleDegrees=180, axisStart=(-0.229, -0.162), axisEnd=(-0.229...
14
92
0.173528
train_0ec34a1f4c175e63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.08, 0.257), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.714, 0.161).lineTo(-0.714, 0.117).threePointArc((-0.743, 0.088), (-0.714, 0.059)).lineTo(-0.714, 0.015).lineTo(0.743, 0.015).lineTo(0.743, 0.161).lineTo(-0.714, 0.161).close().revolve(...
5
71
0.061003
train_7dc43e81655b6f16
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.321), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.436).extrude(0.758) result = result.union(cq.Workplane(cq.Plane(origin=(0 + 0.36 * math.cos(3.975 + 2 * math.pi * 0 / 7), 0 + 0.36 * math.sin(3.975 + 2 * math.pi * 0 / 7), -0.533), normal...
27
85
2.017036
train_447a89a1d846eb4c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.684, 0.524, -0.214), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.258, 0.249).lineTo(0.258, -0.316).lineTo(-0.258, -0.316).lineTo(-0.258, 0.316).lineTo(-0.241, 0.316).lineTo(-0.241, 0.249).lineTo(0.258, 0.249).close().sweep(cq.Workplane('XY').s...
3
30
0.327613
train_f4c18113d2caa22d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.858, -0.321, 0.309), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.961, 0.321).lineTo(-0.961, 1.213).lineTo(-0.961, -0.57).lineTo(0.961, 0.321).close().extrude(1.717) result = result.edges().fillet(0.196) result = result.union(cq.Workplane(cq.Pla...
11
67
2.475543
train_fbd67f8b7423efe7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.733), normal=(1, 0, 0), xDir=(0, 0, 1))).lineTo(-0.858, 0.071).lineTo(-1.446, 0.071).lineTo(-1.446, -0.071).lineTo(-1.466, -0.071).lineTo(-1.466, -0.352).lineTo(-1.466, -0.355).lineTo(-1.485, -0.355).lineTo(-1.485, 0.355).lineTo(-1.466, 0....
4
39
0.302152
train_372202c1396a8be4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.492, 0.5, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.013, -0.492).lineTo(-0.013, -0.492).lineTo(-0.013, 0.508).lineTo(0.013, 0.508).lineTo(0.013, -0.492).close().revolve(angleDegrees=180, axisStart=(0.013, -0.492), axisEnd=(-0.013, -0.492))...
6
23
0.040167
train_6f1a8109990df42e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.434, 0, -0.19), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.604, -0.434).lineTo(0.604, -0.434).lineTo(0.604, -0.267).lineTo(-0.431, -0.267).lineTo(0.604, 0.304).lineTo(0.604, 0.566).lineTo(-0.604, 0.566).lineTo(-0.604, -0.434).close().revolve(a...
10
50
2.699595
train_20b024263d2e56c4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.399, -0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.122, 1.202).extrude(0.398) result = result.union(cq.Workplane(cq.Plane(origin=(0.056, 0.459, 0.35), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.505).extrude(0.055)) result = result.union...
9
44
0.246705
train_4b6fefc07b1679b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.447, -0.015, -0.343), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.106, 0.775).extrude(0.686) result = result.union(cq.Workplane(cq.Plane(origin=(-0.447, -0.488, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.101).extrude(0.119)) result = re...
4
27
0.546109
train_dc82c7b8a0736415
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.195, -0.681, -0.007), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.25, 0.242).threePointArc((0.279, 0.311), (0.349, 0.338)).lineTo(0.349, 0.778).threePointArc((0.282, 0.806), (0.254, 0.873)).lineTo(-0.187, 0.873).lineTo(-0.282, 0.873).lineTo(-0...
22
79
0.237734
train_438459ea3c6e5d8b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.185).extrude(0.627) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.433, -0.215, -0.163), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.734, 0.795).extrude(0.139)) result = result.cut(cq...
7
38
1.258617
train_9f844137819491bc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.269, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.002, 0.433).lineTo(0.002, 0).lineTo(-0.435, 0).lineTo(-0.435, -0.433).lineTo(0.435, -0.433).lineTo(0.435, 0.433).lineTo(0.002, 0.433).close().sweep(cq.Workplane('XY').spline([(-0.503, 0.2...
5
86
0.365873
train_16a103e4e94eab06
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.266, -0.144, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.229, 0.179).extrude(0.173) result = result.union(cq.Workplane(cq.Plane(origin=(-0.234, -0.108, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.12, 0.044).extrude(0.027)) result ...
16
85
0.149345
train_fe5b5a59da69ae71
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.138, 0, 0.23), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.289, 0.012).lineTo(-0.289, 0.33).lineTo(-0.275, -0.33).lineTo(0.289, 0.012).close().sweep(cq.Workplane('XZ').spline([(-0.728, -0.117), (-0.376, -0.117), (-0.025, -0.117), (0.318, -0.311)...
15
20
0.205372
train_3062d64162ab38fe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.167, 0.153, 0.049), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.191, 0.239).lineTo(-0.191, -0.143).lineTo(0.191, -0.143).lineTo(0.191, 0.239).lineTo(-0.191, 0.239).close().extrude(0.361) result = result.edges().fillet(0.036) result = result.un...
22
88
0.191739
train_dd7b8e1f55c56b37
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.461), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(1).workplane(offset=0.444).circle(0.687).workplane(offset=0.478).circle(0.143).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.8 + 0.16, -0.8 + 0.2665, -0.599), normal=(0, 0, 1),...
29
151
1.164118
train_e5198592a9adb0a5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1, -0.102), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.176, -0.191).lineTo(0.205, -0.161).lineTo(0.205, -0.002).lineTo(0.191, -0.009).lineTo(0.176, -0.018).lineTo(0.161, -0.009).lineTo(0.147, -0.002).lineTo(0.053, 0.05).lineTo(-0.205, 0.191)...
5
31
0.059479
train_f8565fa21091bc53
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.076, -0.013, 0.008), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.806, -0.186).threePointArc((0.991, 0), (0.806, 0.186)).lineTo(0.806, 0.14).threePointArc((0.947, 0), (0.806, -0.14)).lineTo(0.685, -0.14).threePointArc((0.638, -0.077), (0.621, 0...
5
76
0.110615
train_c4a43c2469d84e17
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.202, -0.323, 0.235), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.166, -0.677).lineTo(-0.166, 0.821).lineTo(-0.083, 0.821).threePointArc((0, 0.738), (0.083, 0.821)).lineTo(0.166, 0.821).lineTo(0.166, -0.677).lineTo(0.083, -0.677).threePointArc(...
6
96
0.323906
train_a08d3c4c87f4e23d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.009, 0.497, 0.003), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.04, -0.111).threePointArc((0, -0.118), (0.04, -0.111)).threePointArc((0.001, 0.128), (-0.04, -0.111)).close().extrude(0.075) result = result.edges().fillet(0.019) result = result....
10
132
0.025703
train_0369bf790c3a90c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.184, -0.609, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.143).sweep(cq.Workplane('YZ').spline([(-0.609, -0.241), (-0.404, -0.115), (-0.199, -0.04), (0.007, -0.015), (0.212, -0.04), (0.417, -0.115), (0.622, -0.241)])) result = result.un...
14
88
0.333209
train_be70554c1d649060
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.019, -0.015, -0.793), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.889, 0.99).extrude(1.793) result = result.cut(cq.Workplane(cq.Plane(origin=(0.374, -0.145, 0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.109, 0.09).extrude(0.186)) result = resu...
9
33
1.604174
train_67ca0988e295de5d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.537, 0.33, -0.311), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.402, 0.029).threePointArc((0, 0.041), (0.402, 0.029)).lineTo(0.402, 0.23).lineTo(0.603, 0.23).lineTo(0.603, 0.632).lineTo(0.402, 0.632).lineTo(-0.402, 0.632).lineTo(-0.603, 0.632)...
13
72
0.323857
train_949694c1e78946e7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.354), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.31, 1).lineTo(0.31, -0.483).lineTo(0.903, -0.483).lineTo(0.903, -1).lineTo(-0.31, -1).lineTo(-0.31, 0.483).lineTo(-0.903, 0.483).lineTo(-0.903, 1).lineTo(0.31, 1).close().extrude(0.707) re...
3
51
1.095534
train_e1933bd38cf7e171
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.018, -0.026, -0.154), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.846, 0.003).lineTo(0.846, 0.003).lineTo(0.846, 0.05).lineTo(-0.846, 0.049).lineTo(-0.846, 0.003).close().extrude(0.037) result = result.edges().chamfer(0.004) result = result.un...
3
28
0.002879
train_8e745338af66f0c2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.48), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.019).extrude(0.855) result = result.union(cq.Workplane(cq.Plane(origin=(-0.8 + 0.16, -0.408 + 0.204, 0.375), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, -0.036).lineTo(-0.059, -0.016).lin...
19
214
1.633723
train_0498f9a6feaf902d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.049, -0.097, -0.498), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.621, 0.751).extrude(0.551) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.049, -0.042 + 0.11, -0.902), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0, 0.063).lineTo(-0.006, 0.06...
19
88
0.242994
train_3137b59fbf2f10f3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.917, 0, 0.29), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.245, 0.237).lineTo(0.245, -0.237).lineTo(0.158, -0.237).threePointArc((0.121, -0.182), (0.084, -0.237)).lineTo(0.072, -0.237).lineTo(0.005, -0.237).lineTo(-0.245, -0.237).lineTo(-0.245, ...
2
16
0.25681
train_cbe98a074ce1bb56
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.127, -0.044, -0.124), normal=(1, 0, 0), xDir=(0, 0, 1))).circle(0.403).sweep(cq.Workplane('XY').spline([(-0.674, -0.044), (-0.16, -0.044), (0.129, -0.266), (0.419, -0.488)])) result = result.edges().fillet(0.04) result = result.union(cq.Workpla...
20
29
0.651996
train_ba0f6f950b653a1a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.717, -0.011, 0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.103, -0.17).lineTo(0.283, 0.17).threePointArc((-0.078, 0.13), (-0.283, -0.17)).lineTo(0.103, -0.17).close().sweep(cq.Workplane('XZ').spline([(-0.717, -0.231), (-0.046, -0.333), (0...
2
10
0.014798
train_0b4fe44158150978
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.025, -0.054, 0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.693, 0.101).lineTo(0.693, 0.008).lineTo(-0.693, 0.008).lineTo(-0.693, 0.101).lineTo(0.693, 0.101).close().extrude(0.404) result = result.union(cq.Workplane(cq.Plane(origin=(0.841,...
3
19
0.081509
train_4ec769203cd4508e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.359, -0.153, -0.138), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.681, 0.172).threePointArc((0.007, 0.029), (-0.681, 0.081)).threePointArc((-0.024, 0.492), (0.681, 0.172)).close().extrude(0.344) result = result.faces('>Z').shell(-0.029) result ...
13
59
0.568607
train_357ea1ffdab3e50f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.392, 1.031, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.452, 0.895).lineTo(-0.452, 0.031).lineTo(0.452, 0.031).lineTo(0.452, 0.266).lineTo(0.128, 0.266).lineTo(0.128, 0.895).lineTo(-0.452, 0.895).close().extrude(0.783) result = result.edge...
3
43
0.443767
train_a39364446ccbcdb2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.139, -0.27, -0.488), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.246, -0.009).lineTo(0.167, 0.171).lineTo(-0.007, 0.232).lineTo(-0.169, 0.178).lineTo(-0.239, 0.009).lineTo(-0.173, -0.162).lineTo(0, -0.248).lineTo(0.169, -0.161).close().moveTo(0...
25
354
0.451384
train_e4d424ff70455f1a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.18, 0.15, -0.042), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.06, 0.399).lineTo(0.06, 0.399).lineTo(0.06, -0.358).lineTo(-0.06, -0.358).lineTo(-0.06, 0.399).close().extrude(0.162) result = result.edges().fillet(0.021) result = result.union(cq...
19
163
0.229002
train_10c280d2c3c6c2a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.614), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.339, 2).extrude(1.228) result = result.cut(cq.Workplane(cq.Plane(origin=(0.006, -0.002, 0.286), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.036, -0.179).lineTo(-0.262, -0.083).lineTo(-0.332...
7
32
2.570603
train_7dae27ed7c3b9363
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.727, 0.241, 0.382), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.013, -0.332).threePointArc((0, -0.331), (-0.013, -0.332)).lineTo(-0.137, 0.332).lineTo(0.137, 0.332).lineTo(0.013, -0.332).close().sweep(cq.Workplane('XY').spline([(0.509, 0.241), (...
8
54
0.230252
train_e037aabb6595d083
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.405, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.637, 0.625).extrude(0.754) result = result.union(cq.Workplane(cq.Plane(origin=(0.281, 0, -0.758), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.884, 0.42).extrude(0.27)) result = result.union(c...
12
118
0.365869
train_3d4f9e32ec5caa13
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.032, 0.276, -0.16), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.667, 1.449).extrude(0.437) result = result.union(cq.Workplane(cq.Plane(origin=(0.083, 0.276, 0.272), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.565, 0.887).extrude(0.082)) result = re...
15
104
1.187994
train_4c06b07a686b575f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.494, 0.693, -0.023), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.167, -0.223).lineTo(-0.424, -0.223).lineTo(0.023, 0.223).lineTo(0.151, 0.095).lineTo(0.2, 0.047).threePointArc((0.311, 0.094), (0.424, 0.047)).threePointArc((0.424, -0.177), (0....
8
130
0.511608
train_f56f111ef0f4d772
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.229, -0.378), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.234, 1.542).extrude(0.756) result = result.union(cq.Workplane(cq.Plane(origin=(0.14, 0.757, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.243).extrude(0.319)) result = result.cut...
3
12
1.478475
train_ceaffd01b8046a0c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.19, 0, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.863, 1.114).extrude(1.207) result = result.union(cq.Workplane(cq.Plane(origin=(0.385, -0.201, 0.042), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.005, -0.186).lineTo(-0.015, -0.186).li...
6
47
1.21007
train_ca87267a53788708
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.93, 0.362), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.182, 0.07).lineTo(0.182, -0.07).lineTo(-0.054, -0.07).lineTo(-0.054, -0.058).lineTo(-0.182, -0.058).lineTo(-0.182, 0.07).lineTo(0.182, 0.07).close().sweep(cq.Workplane('YZ').spline([(-...
2
18
0.107908
train_ec72222b0675f34a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.263, -0.091, -0.266), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.474, 1.232).extrude(0.532) result = result.faces('>Z').shell(-0.03) result = result.union(cq.Workplane(cq.Plane(origin=(0.205, 0.609, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).cir...
4
20
0.179916
train_aa0e7f4030b0835f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.222), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.333, -0.667).threePointArc((0, -1), (0.333, -0.667)).lineTo(0.333, 1).lineTo(0.111, 1).lineTo(-0.111, 1).lineTo(-0.333, 1).lineTo(-0.333, -0.667).close().extrude(0.444) result = result.ed...
12
65
0.497911
train_0f1bd6be22336ea4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.652, 0.423, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.444, 1.402).lineTo(0.444, 0.847).lineTo(-0.514, 0.847).lineTo(-0.514, 0.902).lineTo(-0.972, 0.902).lineTo(-0.972, -0.015).lineTo(-1, -0.015).lineTo(-1, -0.098).lineTo(1, -0.098).lineTo...
4
25
0.701342
train_97616f71b4211a70
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.379, 0, -0.142), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.092, 0.006).lineTo(0.092, 0.177).lineTo(-0.092, 0.177).lineTo(-0.092, -0.041).lineTo(0.006, -0.041).threePointArc((-0.031, -0.065), (-0.046, -0.107)).lineTo(-0.046, -0.109).threePoin...
15
97
0.078029
train_71a9ab482c057978
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.003, -0.474), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.485, 0.285).extrude(0.542) result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.003, 0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.089).extrude(0.356)) result = result.union(...
6
24
0.141771
train_1fc6a92c8d557f25
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 0, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.2).workplane(offset=0.584).circle(0.152).workplane(offset=0.442).circle(0.159).workplane(offset=0.472).circle(0.147).workplane(offset=0.502).circle(0.189).loft() result = result.cut(cq.Workpla...
13
20
0.13273
train_a8d5ab8fe4955e9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.102, -0.071, -0.568), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.367, 1.021).lineTo(0.367, -0.681).lineTo(-0.367, -0.997).lineTo(-0.367, 1.021).close().extrude(0.929) result = result.edges().fillet(0.054) result = result.union(cq.Workplane(c...
10
146
1.628639
train_640d6f1349a9edc7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.106, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.951, -0.007).lineTo(0.951, -0.483).lineTo(-0.951, -0.483).lineTo(-0.951, -0.007).lineTo(0, -0.007).lineTo(0, 0.731).lineTo(0.951, -0.007).close().workplane(offset=0.362).moveTo(0.876, 0.00...
9
69
1.075103
train_233f4d5fda10f653
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.188, 0, 0.718), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(1.448, 1.03).lineTo(0.44, -1.03).lineTo(-1.448, -1.03).lineTo(-1.448, 1.03).lineTo(1.448, 1.03).close().workplane(offset=0.84).moveTo(1.193, 0.848).lineTo(0.362, -0.848).lineTo(-1.193, -...
12
130
1.892575
train_50e366b49b6e8e08
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.106), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.478).lineTo(-0.319, 0.159).lineTo(-0.319, -0.159).lineTo(0, -0.478).lineTo(0, -0.159).lineTo(0.319, -0.159).lineTo(0.159, 0).lineTo(0, 0.159).lineTo(0.319, 0.159).lineTo(0.319, 0.478)...
2
25
0.238455
train_6d0790fc7b356c5b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.187, 0.129, -0.105), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.083, -0.106).lineTo(-0.083, 0.106).lineTo(-0.022, 0.106).lineTo(0.016, 0.069).threePointArc((0.011, 0.093), (0.031, 0.106)).lineTo(0.083, 0.106).lineTo(0.083, -0.106).lineTo(-0.0...
11
88
0.120877
train_1a23d20026f81d54
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.021, 0.38, 0.05), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.522, -0.074).lineTo(0.671, -0.074).lineTo(0.671, 0.074).lineTo(-0.671, 0.074).lineTo(-0.671, -0.074).lineTo(-0.522, -0.074).close().extrude(0.116) result = result.edges().fillet(0....
13
173
0.596614
train_90f5d9968c14c9ae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0, -0.076), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.496, -0.009).lineTo(0.252, 0.423).lineTo(-0.262, 0.445).lineTo(-0.49, 0.016).lineTo(-0.251, -0.435).lineTo(0.243, -0.419).close().moveTo(-0.16, -0.138).lineTo(-0.13, -0.042).lineTo(-0...
9
101
0.06987
train_1f8b0d0e91655b01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.05, -0.162, -0.887), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1.184, -0.18).lineTo(0.371, 0.434).lineTo(1.184, 0.755).lineTo(0.371, -0.18).lineTo(-1.184, -0.18).close().extrude(1.553) result = result.edges().fillet(0.055) result = result.cut(...
17
133
0.635446
train_3ee0ca7d82cd1e5f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.615, 0, -0.078), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.771, 0.551).extrude(0.07) result = result.union(cq.Workplane(cq.Plane(origin=(-0.229, 0.028, -0.003), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.196, 0.151).lineTo(0.251, 0.151).lineT...
6
48
0.062069
train_286ffb2d899588c8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.047, -0.793, 0.634), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.366, -0.171).lineTo(-0.366, -0.038).lineTo(0, -0.038).lineTo(0, 0.067).lineTo(-0.366, 0.067).lineTo(-0.366, 0.078).lineTo(0, 0.078).lineTo(0, 0.16).lineTo(-0.366, 0.16).lineTo(-0...
7
50
0.31607
train_1dca6ecc87ee29ca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.795, 2).extrude(0.592) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.8 + 0.16, 0.1775, -1.427), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(-0.089, -0.022).lineTo(-0.089, 0.022).lineTo(-...
22
8
2.125801
train_d04cc3e7ec302858
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.075, -0.669, -0.011), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.322, -0.331).lineTo(0.322, 0.008).lineTo(-0.365, -0.073).lineTo(-0.365, 0.099).lineTo(0.322, 0.099).lineTo(0.322, 0.331).lineTo(0.365, 0.331).lineTo(0.365, -0.331).lineTo(0.322, ...
4
49
0.067905
train_0b86ff63781c32eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.763, 0, 0.732), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.025, 0).lineTo(0.011, 0.028).lineTo(-0.025, 0.027).lineTo(0.003, -0.028).lineTo(0.025, 0).close().sweep(cq.Workplane('XZ').spline([(-0.322, 0.702), (-0.266, 0.732), (-0.355, 0.76), (-...
5
33
0.004845
train_7acd3103086456ef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.045, 0.36, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.581, 0.53).lineTo(-0.181, 0.64).lineTo(-0.67, 0.347).lineTo(-0.159, -0.66).lineTo(0.37, -0.624).close().moveTo(0, -0.18).lineTo(0.038, -0.066).lineTo(0.155, -0.09).lineTo(0.076, 0)....
13
88
0.380348
train_a781baa4ea12d5c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.739, -0.461, -0.119), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.702, 0.197).threePointArc((0.435, 1.318), (-0.702, 1.133)).threePointArc((-0.504, -0.091), (0.702, 0.197)).close().extrude(0.921) result = result.edges().fillet(0.203) result = r...
6
34
0.630336
train_9304bf53833b413e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.297, -0.228, -0.301), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.699, 0.513).lineTo(-0.699, 0.047).lineTo(0.699, 0.047).lineTo(0.699, 0.513).lineTo(-0.699, 0.513).close().extrude(0.467) result = result.edges().chamfer(0.098) result = result.u...
30
176
0.137118
train_232e802bca37082c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.783, 0, -0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.081, 0.055).extrude(0.01) result = result.union(cq.Workplane(cq.Plane(origin=(-0.783, 0.024, 0.008), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.02, 0.259).threePointArc((-0.018, 0.01),...
23
190
0.446124
train_5db9cb962aa6d142
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.154, 0.224, 0.028), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.231, 0.22).lineTo(-0.163, 0.22).lineTo(-0.163, 0.254).threePointArc((-0.109, 0.235), (-0.075, 0.188)).threePointArc((-0.058, 0.148), (-0.019, 0.132)).lineTo(-0.015, 0.132).threePo...
25
156
0.403052
train_7154fed7cc9b3ce1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.352), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.564).extrude(0.703) result = result.edges().fillet(0.049)
2
26
2.190347
train_bed2cbefce16e494
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.28), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.564).extrude(0.56) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.626 + 0.313, 0.168, -1.58), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(-0.023, -0.051).lineTo(-0.012, -0.062).lineTo(...
5
6
1.75168
train_3f4090335d518b16
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.363, 0.179, -0.188), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.485, 1.427).lineTo(-0.736, 1.226).lineTo(0.465, -0.696).lineTo(0.736, -0.527).lineTo(-0.485, 1.427).close().workplane(offset=0.112).moveTo(-0.31, 1.044).lineTo(-0.47, 0.915).line...
8
45
0.288145
train_61e639896dd0716d
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.68, 1.305).extrude(1.678) result = result.union(cq.Workplane(cq.Plane(origin=(0.133, -0.278, 0.661), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.278, 0.458).extrude(0.339))
2
11
1.530056
train_359d22995f5c6716
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.286, -0.784, -0.611), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.314, -0.216).lineTo(0.63, -0.216).lineTo(0.63, 1.358).lineTo(-0.63, 1.358).lineTo(-0.63, -0.216).lineTo(-0.314, -0.216).close().extrude(1.496) result = result.edges().fillet(0.55...
11
65
2.028394
train_0299af13359d2e63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.391), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, -1).lineTo(0.25, -0.433).lineTo(0.866, -0.5).lineTo(0.499, 0).lineTo(0.866, 0.5).lineTo(0.25, 0.433).lineTo(0, 1).lineTo(-0.25, 0.433).lineTo(-0.866, 0.5).lineTo(-0.499, 0).lineTo(-0.866,...
12
64
0.811451
train_e3ff94be6e8a15f6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.292, -0.715, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.237, -0.237).lineTo(0.133, -0.133).lineTo(-0.122, -0.188).lineTo(0, 0).lineTo(-0.133, 0.133).lineTo(0.122, 0.188).lineTo(0.133, 0.133).lineTo(0.237, 0.237).lineTo(-0.237, 0.237).lineT...
2
18
0.007784
train_c45a06bdc4da6e7e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.783, -0.288, -0.371), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.629, 0.093).lineTo(-0.629, 1.135).lineTo(-0.413, 1.135).lineTo(-0.413, 0.308).lineTo(0.629, 0.308).lineTo(0.629, 0.093).lineTo(-0.629, 0.093).close().extrude(1.566) result = res...
8
39
0.739213
train_db8945d901e71515
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.478, -0.157, 0.349), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.25, 0.009).lineTo(-0.25, 0.172).lineTo(0.25, 0.172).lineTo(0.25, 0.009).lineTo(-0.25, 0.009).close().extrude(0.584) result = result.union(cq.Workplane(cq.Plane(origin=(0.577, 0.13...
24
155
0.124136
train_5409debcf73427e2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.821), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.672, 2).extrude(1.641) result = result.cut(cq.Workplane(cq.Plane(origin=(0.183, -0.091, 0.083), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.605, 0.474).extrude(0.757)) result = result.edges()....
4
53
5.156715
train_67b29fea2d93e9e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.227, -0.8), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.398).extrude(1.6) result = result.union(cq.Workplane(cq.Plane(origin=(0.031, -0.697, 0.232), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.229).extrude(0.29)) result = result.cut(cq.Workp...
13
34
3.330226
train_a9c656567d31e1de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.27, -0.037, -0.601), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.166, 0.706).extrude(0.788) result = result.faces('<X').shell(-0.077) result = result.union(cq.Workplane(cq.Plane(origin=(-0.249, 0.469, -0.325), normal=(1, 0, 0), xDir=(0, 0, 1))).m...
12
102
0.328037
train_4f7d0c507b30e892
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.027, 1, 0.318), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.035, -0.155).lineTo(-0.198, 0.046).lineTo(-0.198, 0.135).lineTo(-0.204, 0.142).lineTo(-0.208, 0.147).lineTo(-0.198, 0.155).lineTo(0.041, -0.142).lineTo(0.208, -0.142).lineTo(0.208, -0.1...
5
98
0.137688
train_5581dc7a519ac8bc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.311, 0.166, -0.333), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.711, 1.23).extrude(0.251) result = result.union(cq.Workplane(cq.Plane(origin=(0.403, 0.883, -0.3), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.385, 0.234).extrude(0.133)) result = resu...
22
124
0.208347
train_b529848d87f2dfe6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.044, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.38, 0.456).threePointArc((-0.435, 0.433), (-0.458, 0.378)).lineTo(-0.458, -0.291).threePointArc((-0.38, -0.369), (-0.303, -0.291)).lineTo(-0.303, 0.224).threePointArc((-0.28, 0.279), (-0...
3
86
0.679276
train_1aa445b7a49811d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.733, 0.128), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.17, -0.437).lineTo(0.17, 0.437).lineTo(-0.17, 0.437).lineTo(-0.17, -0.437).lineTo(0.17, -0.437).close().sweep(cq.Workplane('YZ').spline([(-1.11, -0.305), (-0.645, -0.285), (-0.18, -0.0...
8
66
0.907235
train_3f7989fbcc1aedfe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.56, -0.764, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.833, -0.291).lineTo(0.833, 1.818).lineTo(0.045, 1.818).lineTo(0.045, 0.634).lineTo(-0.833, 0.777).lineTo(-0.833, -0.291).lineTo(0.833, -0.291).close().workplane(offset=0.263).moveTo(0....
5
59
1.541399
train_9811324a9e9acfcc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.093, 0.715, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, -0.346).threePointArc((0.749, -0.656), (0.439, 0.093)).threePointArc((0.749, 0.843), (0, 0.533)).threePointArc((-0.749, 0.843), (-0.439, 0.093)).threePointArc((-0.129, -0.036), (0, -0...
3
23
2.389751
train_700e40834bee2f9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.762, -0.023, -0.484), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.032, -0.549).lineTo(0.125, -0.573).lineTo(0.519, -0.518).lineTo(0.519, 0.574).lineTo(-0.034, 0.615).lineTo(-0.48, 0.523).lineTo(-0.519, -0.404).lineTo(0.032, -0.549).close().extr...
4
48
0.71241