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_0ab21a77284cf305
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.259, 0.004, -0.166), normal=(-0.049, -0.065, 0.997), xDir=(0, -0.998, -0.065))).moveTo(0.998, 0.02).lineTo(0.956, -0.012).lineTo(0.872, -0.014).lineTo(0.832, -0.019).lineTo(0.837, -0.042).threePointArc((0.49, -0.061), (0.212, -0.033)).lineTo(0....
5
38
0.15452
train_fbeadb4af0875f10
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.094, 0.999).threePointArc((0.25, 0.947), (0.316, 0.824)).lineTo(0.316, 0.699).threePointArc((0.39, 0.559), (0.567, 0.5)).lineTo(0.761, 0.5).threePointArc((0.892, 0.456), (0.947, 0.352)).li...
9
184
0.501704
train_c391920a5eb537c8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.648).extrude(0.868, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.131), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.195).extrude(0.561, both=True)) result = result....
11
168
1.801454
train_17cbf552703a5130
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.063, -0.481), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.919, 0.408).threePointArc((0.97, 0.396), (1, 0.367)).lineTo(1, 0.269).threePointArc((0.971, 0.241), (0.921, 0.23)).lineTo(0.299, 0.23).threePointArc((0.202, 0.207), (0.16, 0.153)).lin...
12
131
0.596237
train_25cf728f4c282fa9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.259, 0.155, 0.29), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.327).threePointArc((0.231, 0.231), (0.327, 0)).threePointArc((0.231, -0.231), (0, -0.327)).threePointArc((-0.231, -0.231), (-0.327, 0)).threePointArc((-0.231, 0.231), (0, 0.327))....
6
51
0.215971
train_be4a1008c808f887
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.254, 0.202).workplane(offset=2).rect(1.502, 0.133).loft() final_result = result
1
6
0.458778
train_78fc801aac980e90
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.304), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.859, 0.608).lineTo(0.92, 0.433).lineTo(1, 0.214).lineTo(1, 0).lineTo(0.739, 0).lineTo(0.739, 0.182).lineTo(0.639, 0.433).lineTo(0, 0.347).lineTo(0, 0.608).lineTo(0.859, 0.608).close().rev...
3
14
1.073387
train_4a777a97fecab3da
import cadquery as cq import math result = cq.Workplane('XY').circle(1).extrude(0.635, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.306).extrude(0.733, both=True)) result = result.cut(cq.Workplane('XY').circle(0.69).extrude(1.9, both=True)) result ...
4
7
1.56409
train_d3cf6c5156a3c2ad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.505, 0.476, 0.597), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.24, 0.495).threePointArc((0.379, 0.387), (0.388, 0.211)).lineTo(0.309, -0.072).lineTo(0.24, -0.356).threePointArc((-0.388, 0.069), (0.24, 0.495)).close().revolve(angleDegrees=180, ...
6
66
2.101512
train_27e5fd242e01c7ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.167), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.877, 0.217).threePointArc((0.961, 0.178), (1, 0.087)).lineTo(1, -0.059).threePointArc((0.954, -0.17), (0.851, -0.217)).lineTo(-0.872, -0.217).threePointArc((-0.96, -0.177), (-1, -0.082)).l...
7
105
0.256532
train_82b992ee2b89344f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.25), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.8, 2).extrude(0.499) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.25), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.166, 0.034).lineTo(0.166, 0.034).lineTo(-0.166, -0.034).close...
13
47
0.728784
train_5797c21aeba9354e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.003), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.406, 0.977).lineTo(0.858, 0.762).threePointArc((1.105, 0.663), (1.011, 0.469)).lineTo(0.974, -0.016).threePointArc((0.971, -0.033), (0.965, -0.05)).lineTo(0.921, -0.136).threePointArc((0.90...
1
42
0.919763
train_c62da9cd9c84943d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.258), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.695, 2).extrude(0.517) result = result.cut(cq.Workplane(cq.Plane(origin=(0.163, 0, -0.062), normal=(0, 0, -1), xDir=(1, 0, 0))).spline([(0.998, 0), (0.896, 0.023), (0.867, 0.418), (0.951, 0....
12
33
0.522178
train_e0378ebeccc9b853
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.775), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.16, 1).threePointArc((-0.047, 0.953), (0, 0.84)).lineTo(0, 0.717).threePointArc((0.035, 0.635), (0.117, 0.6)).lineTo(0.262, 0.6).threePointArc((0.359, 0.559), (0.4, 0.462)).lineTo(0.4, 0....
4
464
2.648663
train_4c7e10c264287576
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.256, -0.185, -0.363), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.086, 0.666).threePointArc((0.26, 0.592), (0.333, 0.419)).lineTo(0.333, 0.099).threePointArc((0.362, 0.029), (0.432, 0)).lineTo(0.558, 0).threePointArc((0.634, -0.032), (0.666, -0...
19
320
1.156394
train_639bee1851b8bf3f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.171, -0.076, 0.147), normal=(0.311, -0.563, -0.765), xDir=(0.875, 0.484, 0))).moveTo(0.226, 0.233).threePointArc((0.256, 0.221), (0.269, 0.191)).lineTo(0.269, -0.17).threePointArc((0.25, -0.215), (0.205, -0.233)).lineTo(-0.15, -0.233).threePoin...
10
263
0.794849
train_dd0a0f2dc6f8798a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.017, -0.001, -0.391), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.14, 0.434).threePointArc((0.276, 0.188), (0.445, -0.036)).lineTo(0.063, -0.434).threePointArc((-0.194, -0.404), (-0.445, -0.343)).threePointArc((-0.422, -0.043...
18
191
0.183982
train_3767ddd5f9bcefa9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.088, -0.273), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.864, 0.569).threePointArc((0.954, 0.534), (1, 0.442)).lineTo(1, -0.45).threePointArc((0.956, -0.536), (0.872, -0.569)).lineTo(-0.894, -0.569).threePointArc((-0.964, -0.542), (-1, -0.47...
9
67
1.957871
train_640eb211d6423126
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.337), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.912, -0.133).lineTo(0.985, -0.172).lineTo(0.968, -0.256).lineTo(0.887, -0.249).lineTo(0.843, -0.374).lineTo(0.903, -0.431).lineTo(0.862, -0.507).lineTo(0.788, -0.478).lineTo(0.71, -0....
2
95
1.88169
train_495ffc4bc5a5c73a
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.415, 1).threePointArc((0.826, 0.826), (1, 0.415)).lineTo(1, -0.517).threePointArc((0.857, -0.857), (0.517, -1)).lineTo(-0.288, -1).threePointArc((-0.789, -0.789), (-1, -0.288)).lineTo(-1, 0.413).threePointArc((-0.826, 0.826), (-0.413, 1)).lineTo(0.4...
6
102
5.90427
train_e2d0eec1e088ec36
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.626, -0.5), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.072, 0.374).lineTo(0.31, 0.222).lineTo(0.283, 0.156).lineTo(0.005, 0.267).lineTo(-0.021, 0.2).lineTo(0.257, 0.09).lineTo(0.231, 0.023).lineTo(-0.048, 0.134).lineTo(-0.074, 0.068).lineT...
4
160
0.417486
train_7ed031a7f31b8908
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.49, 0.209), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.146, 0.51).lineTo(0.369, 0.381).threePointArc((0.397, 0.318), (0.44, 0.264)).threePointArc((0.431, 0.189), (0.408, 0.117)).threePointArc((0.472, 0.072), (0.466, -0.005)).lineTo(0.515,...
6
55
0.289065
train_989a06a442b52581
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.063, 0.31, 0.495), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.053, 0.542).threePointArc((0.144, 0.426), (0.185, 0.301)).threePointArc((0.227, 0.228), (0.319, 0.19)).threePointArc((0.437, 0.128), (0.505, 0.017)).threePointArc((0.474, -0.102), (...
6
151
0.688862
train_181b27c14fa4099a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.517, -0.22, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.034).threePointArc((0.731, 0.731), (1.034, 0)).lineTo(0.442, 0).threePointArc((0.313, 0.313), (0, 0.442)).lineTo(0, 1.034).close().extrude(2) result = result.union(cq.Workplane(cq....
4
16
1.684024
train_0747d2329bd2fc66
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0.007, -0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.539, -0.121).threePointArc((-0.751, -0.249), (-0.532, 0.092)).lineTo(0.515, 0.092).threePointArc((0.751, 0.249), (0.515, -0.107)).lineTo(-0.539, -0.121).close().extrude(0.361, ta...
4
24
0.215425
train_59381e0b73aad88d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.267, 0.083, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.03, 0.111).threePointArc((0.081, 0.081), (0.111, -0.03)).threePointArc((0.03, -0.111), (-0.081, -0.081)).threePointArc((-0.111, 0.03), (-0.03, 0.111)).close().extrude(2) result = res...
4
33
0.160454
train_b245638176033691
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.212, 0.174), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.148, 0.199).lineTo(0.144, 0.173).lineTo(0.186, 0.159).lineTo(0.176, 0.133).lineTo(0.135, 0.149).lineTo(0.122, 0.126).lineTo(0.156, 0.099).lineTo(0.138, 0.077).lineTo(0.105, 0.106).line...
4
344
0.357355
train_5ea084c58cc816b7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.122), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.95, 0.243).lineTo(0.92, 0.173).lineTo(1, 0.085).lineTo(1, 0).lineTo(0.884, 0).lineTo(0.884, 0.073).lineTo(0.785, 0.173).lineTo(0, 0.127).lineTo(0, 0.243).lineTo(0.95, 0.243).close().revol...
2
12
0.337922
train_f238bdb829f5e30f
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.091, 0.842).lineTo(0, 0.74).lineTo(0, 0.366).lineTo(0.076, 0.281).lineTo(0.411, 0.281).lineTo(0.5, 0.181).lineTo(0.5, -0.153).lineTo(0.614, -0.281).lineTo(0.822, -0.281).lineTo(1, -0.481).lineTo(1, -0.704).lineTo(0.877, -0.842).lineTo(-0.732, -0.84...
5
43
1.232501
train_af6557d161ddbbdf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.077, 0.023, -0.449), normal=(0.1, -0.048, 0.994), xDir=(0, -0.999, -0.048))).moveTo(0.084, 0.121).lineTo(0.084, -0.121).threePointArc((-0.084, 0), (0.084, 0.121)).close().extrude(1.163, both=False) result = result.union(cq.Workplane(cq.Plane(ori...
20
126
0.09218
train_f866c2551c799db0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.999).extrude(0.4) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.753).extrude(1.198, both=True)) result = result.union(cq.Workplan...
11
51
1.087564
train_04e969a0b274c99a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.007, -0.124, -0.233), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.845, 0.745).threePointArc((0.949, 0.701), (0.993, 0.598)).lineTo(0.993, 0.323).threePointArc((0.97, 0.271), (0.918, 0.248)).lineTo(0.155, 0.248).threePointArc((0.046, 0.202), (0,...
4
25
0.698269
train_fd21a0734f44facb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.398), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.456).lineTo(1, -0.452).threePointArc((0.987, -0.466), (0.973, -0.472)).lineTo(-0.97, -0.472).threePointArc((-0.986, -0.465), (-1, -0.45)).lineTo(-1, 0.45).threePointArc((-0.986, 0.465),...
21
99
1.093776
train_00cbe219d0bb0c67
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.239), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.566, 0.478).lineTo(0.912, 0.392).lineTo(1, 0.167).lineTo(1, 0).lineTo(0.806, 0).lineTo(0.806, 0.143).lineTo(0.708, 0.392).lineTo(0, 0.291).lineTo(0, 0.478).lineTo(0.566, 0.478).close().re...
5
29
0.61868
train_317ff075536a8157
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.02), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.071).lineTo(0.051, 0.051).lineTo(0.071, 0).lineTo(0.051, -0.051).lineTo(0, -0.071).lineTo(-0.051, -0.051).lineTo(-0.071, 0).lineTo(-0.051, 0.051).lineTo(0, 0.071).close().extrude(1.019, b...
5
27
0.034864
train_ce9dac24a93c1589
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.508, -0.138, 0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.376, 0.633).threePointArc((0.457, 0.589), (0.491, 0.485)).lineTo(0.491, 0.241).threePointArc((0.456, 0.135), (0.374, 0.09)).lineTo(-0.328, 0.09).threePointArc((-0.344, 0.082), (-0....
10
317
1.357829
train_966343e1a12a6657
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.439), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.912, 0.566).lineTo(0.912, -0.566).threePointArc((-0.912, 0), (0.912, 0.566)).close().extrude(0.878, taper=6.598) result = result.edges(cq.selectors.NearestToPointSelector((-0.81, 0, 0.439)...
3
7
2.341133
train_685413d8529906ac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.048, 0.271), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.106).lineTo(1, -0.061).threePointArc((0.843, -0.098), (0.497, -0.113)).lineTo(-0.644, -0.113).threePointArc((-0.887, -0.103), (-1, -0.077)).lineTo(-1, 0.109).threePointArc((-0.978, 0...
5
54
0.076932
train_1e497bd3e1a7d7ff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.349, 0, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.651).extrude(0.196) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.349, 0, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.395).extrude(0.588, both=True)) result = result.u...
15
49
0.234051
train_5c53735e8f0635dd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.014, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.111).lineTo(0, 0.037).lineTo(0.098, 0.037).lineTo(0.098, -0.037).lineTo(0.049, -0.037).lineTo(0.049, -0.111).lineTo(-0.049, -0.111).lineTo(-0.049, -0.074).lineTo(0, -0.074).lineTo(0, -0....
10
130
0.052277
train_bbbd72a9b304860e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.999, -0.316, -0.103), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.816, -0.091).threePointArc((0.862, -0.19), (0.697, -0.259)).lineTo(0.419, -0.428).lineTo(0.34, -0.651).lineTo(0.26, -0.634).lineTo(0.179, -0.617).lineTo(0.095, -0.634).lineTo(0.0...
12
381
1.952868
train_49c4d450bece95af
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.193), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.054, 0.178).threePointArc((-0.063, 0.178), (0.054, 0.295)).lineTo(0.275, 0.516).threePointArc((0.287, 0.522), (0.299, 0.516)).lineTo(0.631, 0.184).threePointArc((0.638, 0.18), (0.645, ...
3
46
0.324939
train_96418b62746d8bbe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.084, 0.013, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.132, 0.62).lineTo(0.146, 0.561).lineTo(0.146, 0.119).lineTo(0.118, 0).lineTo(0.085, 0).lineTo(0.073, -0.051).lineTo(0.073, -0.239).lineTo(0.056, -0.31).lineTo(0.02, -0.31).lineTo(0, -0...
7
279
0.411834
train_4bfd091adb0491b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.001, 0.112), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.977, -0.089).threePointArc((0.84, -0.422), (0.508, -0.559)).threePointArc((0.406, -0.531), (0.301, -0.528)).lineTo(0.093, -0.494).lineTo(-0.114, -0.525).threePointArc((-0.197, -0...
9
66
0.638783
train_19b9a72371e26331
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.686, -0.412, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.583).threePointArc((0.366, 0.431), (0.519, 0.065)).threePointArc((0.366, -0.302), (0, -0.453)).threePointArc((-0.366, -0.302), (-0.519, 0.065)).threePointArc((-0.366, 0.431), (0, 0...
6
49
1.868778
train_0955fa39d5a3a214
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.954).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(0.954, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.096, 0.416), (-0.358, 0.749), (-0.74, 0.931), (-1.16...
7
69
3.844694
train_6867d051afc3ea0a
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.267).lineTo(0.784, 0).lineTo(1, -0.267).lineTo(0.113, -0.267).lineTo(0.113, 0.267).lineTo(1, 0.267).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.389, 0.389, 0), nor...
11
84
0.843508
train_dfce0a9891049855
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.327, -0.155), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.742, 0.4).threePointArc((0.916, 0.327), (1, 0.147)).lineTo(1, -0.143).lineTo(0.737, -0.4).lineTo(-0.859, -0.4).lineTo(-1, -0.268).lineTo(-1, 0.154).lineTo(-0.75, 0.154).lineTo(-0.75, 0...
13
52
0.44536
train_e713b1120ea8a4c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.259, 0.229).lineTo(0.467, 0.022).lineTo(0.467, -0.062).lineTo(0.299, -0.229).lineTo(-0.242, -0.229).lineTo(-0.467, -0.005).lineTo(-0.467, 0.121).lineTo(-0.358, 0.229).lineTo(0.259, 0.229)....
4
23
0.352857
train_0fd48136c3fe4928
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.053, 0.314).threePointArc((0.155, 0.297), (0.199, 0.256)).lineTo(0.199, 0.183).threePointArc((0.219, 0.164), (0.266, 0.156)).lineTo(0.848, 0.156).threePointArc((0.949, 0.139), (1, 0.101))....
4
75
0.075851
train_8169bab14b156a8e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.123), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.293, 0.998).threePointArc((0.428, 0.959), (0.485, 0.867)).lineTo(0.485, 0.792).threePointArc((0.539, 0.703), (0.668, 0.666)).lineTo(0.855, 0.666).threePointArc((0.935, 0.642), (0.969, 0.587...
13
208
1.086655
train_cce92ac65dc78f9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.076, -0.404), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.667, 0.882).lineTo(-0.667, -0.549).lineTo(1, -0.549).lineTo(1, -0.882).lineTo(-1, -0.882).lineTo(-1, 0.882).lineTo(-0.667, 0.882).close().extrude(0.641) result = result.edges().chamf...
4
88
1.337546
train_1694339df4621883
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.301, 0.966).threePointArc((0.542, 0.677), (0.743, 0.727)).threePointArc((0.812, 0.367), (1.015, 0.325)).threePointArc((0.897, -0.024), (1.056, -0.15)).threePointArc((0.778, -0.408), (0.856...
3
35
0.99779
train_f1f359d5eb1e64b3
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.118).lineTo(1, 0.072).lineTo(-0.484, 0.072).lineTo(-0.484, -0.072).lineTo(1, -0.072).lineTo(1, -0.118).lineTo(-1, -0.118).lineTo(-1, 0.118).lineTo(1, 0.118).close().extrude(3.908, both=True) result = result.intersect(cq.Workplane('XZ').moveTo(1.0...
6
122
0.167703
train_daa02858f44a5b92
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.052, 0.69, 0.385), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.04, 0.08).threePointArc((0.059, 0.086), (0.111, -0.086)).threePointArc((0.077, -0.061), (0.03, -0.008)).threePointArc((0.018, 0.014), (0.014, 0.052)).lineTo(0.022, 0.067).threePoin...
11
66
0.887945
train_134bfe79df199c8c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.079, 0, -0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.607, 0.77).threePointArc((0.828, 0.672), (0.921, 0.442)).lineTo(0.921, -0.245).threePointArc((0.881, -0.343), (0.787, -0.385)).lineTo(0.691, -0.385).threePointArc((0.594, -0.428), (0....
13
112
1.461903
train_4848ce0885a691b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.369), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.896, 0.644).threePointArc((0.969, 0.614), (1, 0.54)).lineTo(1, -0.531).lineTo(0.886, -0.644).lineTo(-0.826, -0.644).lineTo(-1, -0.47).lineTo(-1, 0.5).threePointArc((-0.957, 0.602), (-0.855...
4
51
0.798211
train_f64ffaa2af738392
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.806, 0.215).threePointArc((0.943, 0.158), (1, 0.022)).lineTo(1, -0.004).lineTo(0.789, -0.215).lineTo(-1, -0.215).lineTo(-1, 0.004).lineTo(-0.789, 0.215).lineTo(0.806, 0.215).close().extrud...
6
26
0.429061
train_a5f5239a224988a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.091, 0.049, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.071, 1.001).lineTo(0.006, 1.04).threePointArc((0.009, 1.041), (0.013, 1.039)).lineTo(0.074, 0.987).threePointArc((0.077, 0.983), (0.079, 0.978)).lineTo(0.292, -0.492).threePointArc((0...
4
43
0.791969
train_d18f7f9e844d3cf2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.552, 0, -0.349), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.22, 0.698).lineTo(0.22, 0.22).lineTo(1.103, 0.22).lineTo(1.103, 0).lineTo(0, 0).lineTo(0, 0.698).lineTo(0.22, 0.698).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq...
19
109
0.373737
train_2a9b3f7aa5ba8aaf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.05, -0.08, 0.407), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.411, 0.61).lineTo(0.847, -0.584).lineTo(0.772, -0.61).lineTo(0.69, -0.387).threePointArc((0.338, -0.347), (0.276, 0.054)).lineTo(0.038, 0.475).lineTo(0.411, 0.61).close().revolve(an...
11
181
1.835339
train_eb69cc7d76d62328
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.381, 0, -0.191), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.378, 0.382).lineTo(0.378, 0.3).lineTo(0.619, 0.3).lineTo(0.619, 0).lineTo(0.037, 0).lineTo(0.037, 0.382).lineTo(0.378, 0.382).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), a...
5
56
0.439527
train_bfa29bb25e475856
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.087, -0.255), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.761, 0.912).threePointArc((0.812, 0.89), (0.833, 0.839)).lineTo(0.833, 0.644).threePointArc((0.816, 0.601), (0.774, 0.584)).lineTo(-0.284, 0.584).threePointArc((-0.439, 0.518), (-0.504...
7
94
0.695692
train_8c11d5efe4565a0e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.556, -0.376).lineTo(0.673, -0.494).lineTo(0.563, -0.695).lineTo(0.442, -0.583).lineTo(0.282, -0.737).lineTo(0.325, -0.923).lineTo(0.147, -1).lineTo(0.099, -0.816).lineTo(-0.099, -0.816).li...
7
171
1.016293
train_3fe82ac0688beec5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.006, -0.948), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.721).lineTo(1, 0.317).lineTo(-0.425, 0.317).lineTo(-0.425, -0.317).lineTo(1, -0.317).lineTo(1, -0.721).lineTo(-1, -0.721).lineTo(-1, 0.721).lineTo(1, 0.721).close().extrude(0.559) r...
6
29
1.237625
train_b8d41249deece92c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.38, 0.226, -0.015), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.233, 0.921).threePointArc((0.494, 0.915), (0.622, 0.688)).threePointArc((0.584, 0.301), (0.389, -0.143)).threePointArc((0.09, -0.525), (-0.233, -0.742)).threePointArc((-0.494, -0.7...
11
158
1.075194
train_a1a2914cb4110edd
import cadquery as cq import math result = cq.Workplane('XY').circle(0.828).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.32).extrude(0.336, both=True)) result = result.cut(cq.Workplane('XY').circle(0.323).extrude(2.977, both=True)) resul...
14
104
2.50046
train_b1aab468b760a7cc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.201, -0.054, 0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.307, 0.132).lineTo(0.307, -0.082).threePointArc((0.292, -0.117), (0.256, -0.132)).lineTo(-0.255, -0.132).threePointArc((-0.292, -0.117), (-0.307, -0.08)).lineTo(-0.307, 0.1).three...
14
152
0.240247
train_af117dde44113bac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.994), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.814, 0.975).threePointArc((0.945, 0.921), (1, 0.793)).lineTo(1, 0.206).threePointArc((0.937, 0.061), (0.788, 0)).lineTo(0.171, 0).threePointArc((0.051, -0.049), (0, -0.166)).lineTo(0, -0.7...
3
98
3.770552
train_2d568822485782fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.271, -0.615, -0.341), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.479, 0.461).lineTo(0.479, -0.513).lineTo(-0.479, -0.513).lineTo(-0.479, 0.461).threePointArc((-0.383, 0.513), (-0.288, 0.461)).threePointArc((-0.192, 0.409), (-0.096, 0.461)).thr...
14
198
1.109242
train_1b474bd5a2a87308
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.979), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.067, 0.018).threePointArc((0.086, 0.018), (0.095, 0)).threePointArc((0.086, -0.018), (0.067, -0.018)).threePointArc((0.058, 0), (0.067, 0.018)).close().sweep(cq.Workplane(cq.Plane(origin=...
8
26
0.012271
train_428f9c5be93270fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.175, -0.008, -0.248), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.048, 0.757).lineTo(0.792, 0.163).threePointArc((0.624, 0.076), (0.743, -0.042)).lineTo(0.725, -0.43).lineTo(0.863, -0.489).lineTo(0.899, -0.623).threePointArc((0.696, -0.745), (0....
9
97
0.781793
train_294380010346c554
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.105, -0.08, -0.465), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.262, 0.664).threePointArc((0.895, -0.007), (0.188, -0.802)).lineTo(-0.895, 0.026).lineTo(0.156, 0.681).threePointArc((0.213, 0.802), (0.262, 0.664)).close().extrude(0.67) result =...
13
274
0.996416
train_36e5e9025b20135b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.46, -0.513), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.831, 0.494).lineTo(1, 0.452).lineTo(1, -0.437).lineTo(0.77, -0.494).lineTo(0.237, -0.494).lineTo(0, -0.435).lineTo(0, -0.341).lineTo(-0.382, -0.247).lineTo(-0.834, -0.247).lineTo(-1, -...
10
149
0.921787
train_5a0cb2798e68f30d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.081, 0.305, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.777, 0.06).lineTo(0.545, -0.017).threePointArc((0.905, -0.056), (0.47, -0.056)).lineTo(-0.877, 0.024).threePointArc((-0.905, 0.048), (-0.777, 0.06)).close().moveTo(0.659, -0.034)....
2
16
0.094363
train_177fb546e31d86ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.378, -0.778, -0.407), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.14, 0.214).lineTo(0.14, -0.214).threePointArc((-0.14, 0), (0.14, 0.214)).close().extrude(0.069) result = result.union(cq.Workplane(cq.Plane(origin=(-0.347, -0.38, -0.391), norma...
9
13
0.767443
train_8ef8deb2b2ec8845
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.303, 0, -0.186), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.697, 0.352).lineTo(0.697, 0).lineTo(-0.697, 0).lineTo(-0.697, 0.352).lineTo(-0.415, 0.352).lineTo(-0.415, 0.282).lineTo(0.415, 0.282).lineTo(0.415, 0.352).lineTo(0.697, 0.352).close(...
5
80
0.187664
train_1d703bee138a4d2a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.142, 0.098, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.087, 0.788).lineTo(0.42, 0.488).lineTo(0.743, 0.1).lineTo(0.388, -0.262).lineTo(0.056, -0.504).lineTo(-0.374, -0.442).lineTo(-0.699, -0.116).lineTo(-0.743, 0.378).lineTo(-0.376, 0.71)....
2
40
1.699828
train_12639c25eba9ef01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.026, 0, -0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.7, -0.069).lineTo(0.993, -0.117).lineTo(0.982, -0.194).lineTo(0.687, -0.147).lineTo(0.67, -0.212).lineTo(0.948, -0.321).lineTo(0.92, -0.395).lineTo(0.641, -0.285).lineTo(0.612, -0.346...
4
215
0.531751
train_dc25ed9f8dff4ab8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.012, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.084).lineTo(0.026, 0.079).lineTo(0.049, 0.067).lineTo(0.067, 0.049).lineTo(0.079, 0.026).lineTo(0.084, 0).lineTo(0.079, -0.026).lineTo(0.067, -0.049).lineTo(0.049, -0.067).lineTo(0.026, ...
7
49
0.043556
train_822935d0bb9cb3ce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.122, -0.093, -0.123), normal=(0.625, 0.678, 0.386), xDir=(-0.735, 0.678, 0))).moveTo(-0.415, -0.417).threePointArc((-0.253, -0.374), (-0.297, -0.211)).threePointArc((-0.471, 0.437), (0.178, 0.611)).threePointArc((0.471, 0.168), (0.071, -0.287))...
5
45
0.822778
train_840bf88bf404685e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.319), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.436, 1).threePointArc((0.628, 0.92), (0.707, 0.729)).lineTo(0.707, -0.726).threePointArc((0.626, -0.918), (0.432, -1)).lineTo(-0.568, -1).threePointArc((-0.665, -0.958), (-0.707, -0.86)).l...
15
30
1.636024
train_2ac3661b44bc9c0e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.196), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.86, 0.468).lineTo(1, 0.336).lineTo(1, -0.347).lineTo(0.871, -0.468).lineTo(-1, -0.468).lineTo(-1, 0.331).threePointArc((-0.951, 0.428), (-0.855, 0.468)).lineTo(0.86, 0.468).close().extrude...
9
24
0.23026
train_a09ce4ea343b0236
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.467, -0.317), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.771, 0.234).threePointArc((0.932, 0.167), (1, 0.005)).lineTo(1, -0.005).threePointArc((0.932, -0.167), (0.771, -0.234)).lineTo(-0.83, -0.234).threePointArc((-0.949, -0.184), (-1, -0.06...
10
55
0.876899
train_a889049936bb7930
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.214, -0.013, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.105, 0.987).lineTo(0.174, 0.493).lineTo(0.383, 0.658).lineTo(0.244, 0.164).lineTo(0.453, -0.164).lineTo(0.244, -0.329).lineTo(0.314, -0.822).lineTo(0.105, -0.493).lineTo(-0.035, -0.98...
13
422
0.649787
train_bc40dd07f8e5c53d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.025, 0.016, -0.733), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.365, 0.714).threePointArc((0.029, 0.829), (0.412, 0.679)).threePointArc((0.404, 0.237), (0.688, -0.103)).threePointArc((0.511, -0.376), (0.413, -0.686)).threePointArc((0.002, -0.6...
16
361
1.434034
train_628129772110acb0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, -0.002, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.035, 0.169).threePointArc((0.062, 0.187), (0.078, 0.101)).lineTo(-0.007, -0.039).threePointArc((-0.011, -0.058), (0.008, -0.061)).lineTo(0.147, -0.041).threePointArc((0.196, -0.081),...
3
27
0.154361
train_cc75bb4d86a61bb9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.856).lineTo(1, 0).lineTo(0, 0).lineTo(0, -0.856).lineTo(-1, -0.856).lineTo(-1, 0.856).lineTo(1, 0.856).close().extrude(0.181) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.535, 0...
12
16
0.442181
train_060f659ef348d585
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.173), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.943, 0.374).threePointArc((0.983, 0.358), (1, 0.318)).lineTo(1, -0.247).threePointArc((0.962, -0.337), (0.872, -0.374)).lineTo(-0.858, -0.374).threePointArc((-0.958, -0.333), (-1, -0.233))...
9
22
0.244594
train_940a51df658e40ef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.017, -0.211, -0.532), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.211, 0.597).threePointArc((0.261, 0.547), (0.262, 0.475)).lineTo(0.16, 0.354).threePointArc((0.233, 0.314), (0.254, 0.232)).lineTo(0.26, 0.111).lineTo(0.211, -0.011).threePointAr...
10
208
0.316863
train_ec006fec3528b719
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.487, -0.227, 0.399), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.498).threePointArc((0.206, 0.412), (0.292, 0.207)).threePointArc((0.206, 0), (0, -0.086)).threePointArc((-0.206, 0), (-0.292, 0.207)).threePointArc((-0.206, 0.412), (0, 0.498)...
9
160
0.698112
train_459ea1f7af4dfbac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.298, -0.231, 0.13), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.309, 0.227).lineTo(0.309, -0.227).lineTo(-0.309, -0.227).lineTo(-0.309, 0.227).lineTo(-0.125, 0.227).lineTo(-0.125, -0.113).lineTo(0.125, -0.113).lineTo(0.125, 0.227).lineTo(0.309,...
8
44
0.304183
train_c0e32c7e4c77c3d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.002, -0.115), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.825, -0.159).lineTo(0.976, -0.219).lineTo(0.96, -0.284).lineTo(0.803, -0.247).lineTo(0.741, -0.395).lineTo(0.867, -0.497).lineTo(0.833, -0.554).lineTo(0.694, -0.474).lineTo(0.592...
9
132
0.536455
train_5a3a2bf1d972c1eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.294), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.2, 0.367).lineTo(-0.2, 0.289).threePointArc((-0.159, 0.251), (-0.061, 0.235)).lineTo(0.135, 0.235).threePointArc((0.181, 0.227), (0.2, 0.209)).lineTo(0.2, -0.132).threePointArc((0.278...
6
152
0.678123
train_21a5887a532c2ca8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.08, 0.001, 0.452), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.145, 0.82).threePointArc((0.073, 0.635), (0.293, 0.258)).threePointArc((0.36, 0.055), (0.516, 0.012)).threePointArc((0.768, -0.164), (0.758, -0.554)).threePointArc((0.3, -0.875), (-...
7
58
2.106307
train_f3ebff56c1584ece
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.942).lineTo(1, -0.942).lineTo(-1, -0.942).lineTo(-1, 0.942).lineTo(1, 0.942).close().extrude(0.286) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.162), normal=(0, 0, 1), xDi...
21
273
0.684718
train_33c281e05006b1f8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.954), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.437, 1.908).lineTo(0.437, 1.432).lineTo(0.939, 1.432).lineTo(0.939, 1.063).lineTo(1, 1.063).lineTo(1, 0).lineTo(0, 0).lineTo(0, 1.908).lineTo(0.437, 1.908).close().revolve(angleDegrees=36...
6
51
2.725869
train_3913b40b03fad386
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.664, -0.54, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.329).threePointArc((0.94, 0.94), (1.329, 0)).lineTo(0.332, 0).threePointArc((0.236, 0.236), (0, 0.332)).lineTo(0, 1.329).close().extrude(2) result = result.union(cq.Workplane(cq.Pl...
4
19
2.771209
train_be565c958eeaab6b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.158), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.925, 0.315).lineTo(0.921, 0.196).lineTo(1, 0.11).lineTo(1, 0).lineTo(0.906, 0).lineTo(0.906, 0.094).lineTo(0.807, 0.196).lineTo(0, 0.22).lineTo(0, 0.315).lineTo(0.925, 0.315).close().revo...
3
28
0.369225
train_1b4371ef2dd879f8
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.664, 1).lineTo(0.877, 0.758).lineTo(0.877, -0.315).lineTo(0.714, -0.5).lineTo(0.537, -0.5).lineTo(0.438, -0.613).lineTo(0.438, -0.814).lineTo(0.276, -1).lineTo(0.133, -1).lineTo(0, -0.848)...
5
30
2.388276