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_ffb97c6040ab5269
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.372, -0.015, 0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.209, -0.297).lineTo(-0.628, -0.297).lineTo(-0.628, 0.332).lineTo(-0.209, 0.332).lineTo(-0.209, 0.714).lineTo(0.209, 0.714).lineTo(0.209, 0.332).lineTo(0.628, 0.332).lineTo(0.628, ...
11
255
0.548693
train_5d1f71eefcfd1d86
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0.003, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.77, -0.186).lineTo(0.962, -0.276).lineTo(0.922, -0.387).lineTo(0.723, -0.322).lineTo(0.627, -0.483).lineTo(0.767, -0.644).lineTo(0.685, -0.73).lineTo(0.529, -0.589).lineTo(0.377, ...
7
139
0.317684
train_47f009c8a6121eab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.864), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.163, 0.501).workplane(offset=1.863).rect(0.79, 0.417).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.018, -0.895), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.015, 0.263).li...
3
19
0.654054
train_f8dba014d790c819
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.943, 0.965).lineTo(0.943, -0.965).lineTo(0, -0.965).lineTo(0, -0.58).lineTo(-0.943, -0.58).lineTo(-0.943, -0.193).lineTo(0.472, -0.193).lineTo(0.472, 0.965).lineTo(0.943, 0.965).close().ex...
18
17
0.730477
train_7db8ec71ee792f78
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.041), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.31).lineTo(1, -0.31).lineTo(-1, -0.31).lineTo(-1, -0.103).lineTo(0.667, -0.103).lineTo(0.667, 0.103).lineTo(-1, 0.103).lineTo(-1, 0.31).lineTo(1, 0.31).close().extrude(0.146, taper=3.353...
3
62
0.270484
train_655c7f8d4bf7ca98
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.028, -0.219, -0.255), normal=(0.203, -0.789, -0.579), xDir=(0.968, 0.249, 0))).moveTo(0.021, 0.031).lineTo(0.021, 0.01).lineTo(0.063, 0.01).lineTo(0.063, -0.031).lineTo(0.042, -0.031).lineTo(0.042, -0.01).lineTo(0.021, -0.01).lineTo(0.021, -0.03...
3
33
0.141556
train_6e84e105c51ab84a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.544, 0.995, -0.001), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.403, 0.506).threePointArc((0.485, 0.293), (0.463, 0.037)).lineTo(-0.051, -0.255).threePointArc((-0.205, -0.19), (-0.328, -0.09)).threePointArc((-0.438, -0.044), (-0.55, 0.009)).li...
12
182
2.604127
train_386329c2cd35b780
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.34, 0.168, 0.046), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.16, 0.168).threePointArc((0, 0.008), (-0.16, 0.168)).threePointArc((0, 0.329), (0.16, 0.168)).close().extrude(1.34) result = result.union(cq.Workplane(cq.Plane(origin=(-0.207, 0.016...
12
56
0.092157
train_9eadd6838ee74b86
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.656, 2).extrude(0.523) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.116, -0.287, -0.001), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.116, 1.282).lineTo(-0.116, 0.872).lineTo(0.294...
15
63
1.151267
train_955abc8a686615d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.898, -0.738, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.198, 1.73).lineTo(0.329, 1.317).lineTo(0.742, 1.187).lineTo(0.45, 0.867).lineTo(0.544, 0.444).lineTo(0.427, 0.417).threePointArc((0.378, 0.467), (0.34, 0.525)).threePointArc((0.284, 0...
5
100
1.215526
train_325724dc7f82bbe8
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.013, 0.377).threePointArc((0.058, 0.345), (0.087, 0.269)).lineTo(0.087, 0.148).threePointArc((0.128, 0.044), (0.224, 0)).lineTo(0.377, 0).threePointArc((0.418, -0.019), (0.436, -0.063)).lineTo(0.436, -0.145).threePointArc((0.424, -0.176), (0.395, -...
7
91
0.736538
train_b4b77eee65ef60c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.334, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.156, 1).threePointArc((0.188, 0.855), (0.333, 0.51)).lineTo(0.333, -0.149).threePointArc((0.388, -0.279), (0.517, -0.333)).lineTo(0.848, -0.333).threePointArc((0.955, -0.379), (1, -0.486)...
23
83
1.709578
train_3d7e6065958d5c8c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.1, -1.801, -0.192), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.917, 1.568).threePointArc((0, 1.568), (0, 0.603)).lineTo(0.229, 0.362).lineTo(1.146, 0.362).lineTo(1.605, 0.362).lineTo(1.605, -0.121).lineTo(1.375, -0.844).lineTo(0.917, -1.327)....
6
19
3.387539
train_d1c37538cc68a254
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.368, 0, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.632).extrude(0.258) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.368, 0, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.326).extrude(0.773, both=True)) result = result.u...
18
72
0.298076
train_2f36a6e70d873d33
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.004, -0.389), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.232, 0.927).lineTo(0.232, 0.464).lineTo(0.695, 0.464).lineTo(0.695, -0.464).lineTo(0.232, -0.464).lineTo(0.232, -0.927).lineTo(-0.232, -0.927).lineTo(-0.232, -0.464).lineTo(-0.695, -0....
8
56
1.362533
train_12ff433b96f5b238
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.117), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.093).lineTo(1, -0.113).lineTo(0.747, -0.113).lineTo(0.747, 0.093).threePointArc((0.763, 0.113), (0.78, 0.093)).threePointArc((0.798, 0.072), (0.815, 0.093)).threePointArc((0.833, 0.113...
1
12
1.140016
train_ae102f485702a572
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.414), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.786).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.786).lineTo(-0.566, 0.786).lineTo(-0.566, 0.434).lineTo(0.566, 0.434).lineTo(0.566, 0.786).lineTo(1, 0.786).close().extrude(0.314, both=Tru...
7
73
0.617125
train_94c0ec22a2b9b7f5
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.265, 0.477).lineTo(0.265, 0).lineTo(-0.265, 0).lineTo(-0.265, 0.477).lineTo(-0.205, 0.477).lineTo(-0.205, 0.061).lineTo(0.205, 0.061).lineTo(0.205, 0.477).lineTo(0.265, 0.477).close().ext...
4
24
0.145148
train_bade8405694c0f86
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.165, 0.197).threePointArc((0.186, 0.189), (0.195, 0.171)).lineTo(0.195, 0.061).threePointArc((0.184, 0.038), (0.157, 0.028)).lineTo(-0.116, 0.028).threePointArc((-0.126, 0.025), (-0.13, 0.017)...
5
50
0.193079
train_53e90bdb7be11c88
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.947), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.5, 1.893).lineTo(0.5, 0.543).lineTo(1, 0.543).lineTo(1, 0).lineTo(0.167, 0).lineTo(0.167, 1.893).lineTo(0.5, 1.893).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0...
6
60
1.675209
train_39b49b017b5bb478
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.364), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.807).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.807).lineTo(-0.528, 0.807).lineTo(-0.528, 0.472).lineTo(0.528, 0.472).lineTo(0.528, 0.807).lineTo(1, 0.807).close().extrude(0.453, both=Tru...
4
34
1.264085
train_d741f3685f45d71b
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.444, 0.667).lineTo(0.444, 0.222).lineTo(0.888, 0.222).lineTo(0.888, -0.667).lineTo(0.444, -0.667).lineTo(0.444, -0.222).lineTo(-0.888, -0.222).lineTo(-0.888, 0.667).lineTo(-0.444, 0.667).lineT...
8
196
2.580177
train_f79ddcabb1792430
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.057, -0.572), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.859, 0.801).threePointArc((0.956, 0.719), (0.996, 0.525)).lineTo(0.996, 0.231).threePointArc((0.962, 0.068), (0.882, 0)).lineTo(0.691, 0).threePointArc((0.625, -0.055), (0.598, -...
3
81
0.553056
train_34a5efcf063535f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.037, -0.002, -0.404), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.161, 0.963).lineTo(0.963, -0.161).threePointArc((0.802, -0.321), (-0.481, -0.963)).lineTo(-0.481, -0.802).lineTo(-0.963, -0.161).threePointArc((-0.321, 0.963), (-0.161, 0.963)).c...
3
15
1.902609
train_9fd7365d2b5d266a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.947, 0.052, -0.312), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.054).lineTo(0.054, 0).lineTo(0, -0.054).lineTo(-0.054, 0).lineTo(0, 0.054).close().extrude(0.975) result = result.edges().chamfer(0.002) result = result.cut(cq.Workplane(cq.Plan...
18
187
1.343132
train_8e5d06457d4ae10e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.068, 0.447, 0.059), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.405, 0.67).lineTo(0.67, 0.405).lineTo(0.67, -0.46).lineTo(0.46, -0.67).lineTo(-0.335, -0.67).lineTo(-0.67, -0.335).lineTo(-0.67, 0.142).lineTo(-0.477, 0.335).lineTo(-0.052, 0.335).l...
8
229
0.454676
train_4f0252e92d6c28d4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.842, 0.412, 0.461), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.161, 1.481).threePointArc((0.119, 1.416), (0.446, 1.392)).threePointArc((0.44, 1.072), (0.539, 0.864)).threePointArc((0.49, 0.743), (0.501, 0.601)).threePointArc((0.302, 0.582), (...
11
454
1.488892
train_70ff2ddb0a60160b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.054, -0.044, -0.79), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.134, 0.498).threePointArc((0.208, 0.472), (0.277, 0.435)).threePointArc((0.34, 0.388), (0.395, 0.332)).threePointArc((0.441, 0.268), (0.477, 0.198)).threePointA...
19
218
0.874818
train_e9ab5f605e76148c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.699), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.166, 0.975).lineTo(-0.03, 0.901).lineTo(0.284, -0.613).lineTo(-0.222, -0.559).lineTo(-0.284, -0.975).lineTo(-0.166, 0.975).close().extrude(1.398, taper=-1.023) result = result.cut(cq.Work...
7
58
1.009397
train_99cfea9a7b44ecb3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0, -0.418), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.806, 0.922).threePointArc((0.938, 0.818), (0.994, 0.574)).lineTo(0.994, -0.423).threePointArc((0.914, -0.773), (0.725, -0.922)).lineTo(-0.899, -0.922).threePointArc((-0.965, -0.869), ...
3
18
2.165305
train_27eb800b04b86f8c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.097, 0.116, -0.664), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.184, 0.185).lineTo(0.184, -0.185).lineTo(-0.184, -0.185).lineTo(-0.184, 0.185).lineTo(-0.093, 0.185).lineTo(-0.093, -0.119).lineTo(0.093, -0.119).lineTo(0.093, 0.185).lineTo(0.184,...
25
160
1.360344
train_2b0512b0cc7eb710
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -2.338), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 2.743).lineTo(1, 1.933).lineTo(0.694, 1.933).lineTo(0.694, 1.549).lineTo(0.654, 1.549).lineTo(0.654, 0.77).lineTo(0.439, 0.77).lineTo(0.439, 0).lineTo(0, 0).lineTo(0, 2.743).lineTo(1, 2....
5
17
0.610387
train_14cdc91dc040e6b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.378, 0, -0.809), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.622, 1.618).lineTo(0.622, 0.809).lineTo(0.402, 0.809).lineTo(0.402, 0).lineTo(0, 0).lineTo(0, 1.618).lineTo(0.622, 1.618).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisE...
12
86
1.353471
train_32662026a609da89
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.215), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.765, 1).threePointArc((0.93, 0.93), (1, 0.765)).lineTo(1, -0.127).threePointArc((0.939, -0.272), (0.793, -0.333)).lineTo(0.512, -0.333).threePointArc((0.387, -0.387), (0.333, -0.512)).line...
4
68
1.411174
train_a53cbcd4b69b61dd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.319, 0.246).threePointArc((0.445, 0.233), (0.498, 0.201)).lineTo(0.498, 0.148).threePointArc((0.529, 0.13), (0.601, 0.122)).lineTo(0.838, 0.122).threePointArc((0.946, 0.111), (1, 0.085...
3
91
0.172945
train_8b3b5e3eb573803e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.032, -0.007, -0.411), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.123, -0.66).threePointArc((-0.082, -0.892), (-0.317, -0.979)).threePointArc((-0.809, -0.868), (-0.896, -0.799)).lineTo(-0.924, -0.719).threePointArc((-0.431, 0.872), (-0.359, 0....
6
66
1.417386
train_7b7b7b0c76aafc04
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.394), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.823, 0.619).lineTo(1, 0.443).lineTo(1, -0.449).threePointArc((0.95, -0.569), (0.831, -0.619)).lineTo(-0.851, -0.619).lineTo(-0.851, -0.47).lineTo(-1, -0.47).lineTo(-1, 0.619).lineTo(0.823,...
11
166
1.889803
train_238811d51cf80dce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.595, 0.52, 0.201), normal=(-0.638, -0.546, -0.543), xDir=(0.65, -0.76, 0))).moveTo(0.286, 0.343).threePointArc((0.325, 0.198), (0.398, 0.115)).threePointArc((0.377, 0.005), (0.245, -0.082)).lineTo(0.103, -0.327).lineTo(-0.151, -0.343).threePoint...
15
62
0.416737
train_a13c94badc73b4a1
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.378).lineTo(0.781, 0).lineTo(1, -0.378).lineTo(0.417, -0.378).lineTo(0.417, 0.378).lineTo(1, 0.378).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.388, 0.388, 0), nor...
10
44
0.990049
train_9f4a633f4114a40c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.169), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.338) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.169), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.893).extrude(1.017, both=True)) result = result.union(cq.Workpl...
12
62
0.713844
train_55237549139ea549
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.367, 0, -0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.538, -0.086).lineTo(0.621, -0.121).lineTo(0.6, -0.203).lineTo(0.512, -0.187).lineTo(0.476, -0.265).lineTo(0.542, -0.327).lineTo(0.495, -0.395).lineTo(0.417, -0.35).lineTo(0.357, -0.41...
5
127
0.501559
train_4c6c22fc8dc02244
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.017, 2).extrude(0.284) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.25, -0.259).lineTo(0.25, -0.741).lineTo(-0.25, -0.741).cl...
5
14
0.440768
train_060bb093dd060582
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.043, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.412, 0.757).threePointArc((0.412, 0.757), (0.824, 0.044)).threePointArc((0.412, -0.67), (-0.412, -0.67)).threePointArc((-0.824, 0.044), (-0.412, 0.757)).close().moveTo(-0.027, 0.452).line...
23
282
3.016009
train_cb1c26db192d18a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.537, -0.48, -0.101), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.205, 0.553).threePointArc((0.464, 0.446), (0.572, 0.186)).lineTo(0.572, -0.096).threePointArc((0.464, -0.356), (0.205, -0.463)).lineTo(-0.205, -0.463).threePointArc((-0.464, -0.35...
6
97
2.213099
train_d0cdf10c8d6dde30
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.635), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.523).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.523).lineTo(-0.67, 1.523).lineTo(-0.67, 0.33).lineTo(0.67, 0.33).lineTo(0.67, 1.523).lineTo(1, 1.523).close().extrude(0.588, both=True) res...
11
70
1.83332
train_b7e7624b683e883c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.133, -0.139, -0.647), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.21, 0.265).threePointArc((0.367, 0.244), (0.433, 0.196)).lineTo(0.433, 0.026).threePointArc((0.408, 0.008), (0.347, 0)).lineTo(0.223, 0).threePointArc((0.168, -0.007), (0.144, -0...
9
187
0.715443
train_ebdc36f40687d7cb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.472, -0.028, 0.055), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.471, 0.557).lineTo(0.471, -0.501).threePointArc((0, -0.972), (-0.471, -0.501)).lineTo(-0.471, 0.557).threePointArc((0, 1.028), (0.471, 0.557)).close().extrude(0.732) result = resu...
15
70
1.292158
train_5a75d005660f189a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.125, 0.093, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.055, 0.382).lineTo(0.158, 0.085).lineTo(0.129, -0.316).lineTo(0.021, -0.393).lineTo(-0.158, -0.111).lineTo(-0.142, 0.393).lineTo(-0.055, 0.382).close().extrude(9.471, both=True).inters...
9
73
0.185054
train_69178ef8c4d4ea08
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.093, 0, -0.587), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.033, 0.311).lineTo(0.192, 0.243).threePointArc((0.222, 0.21), (0.254, 0.18)).lineTo(0.311, 0.042).threePointArc((0.31, 0.006), (0.312, -0.031)).lineTo(0.257, -0.177).threePointArc((0....
4
39
0.574272
train_a70b69e781f4195c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.774).extrude(1, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0.001, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.277).extrude(1, both=True)) result = result.cut(cq.W...
10
39
1.957217
train_651b7da43fca5595
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.146), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.353, 1).lineTo(0.353, 0.749).lineTo(0.604, 0.749).lineTo(0.604, -0.637).threePointArc((0.498, -0.893), (0.241, -1)).lineTo(-0.604, -1).lineTo(-0.604, 0.591).threePointArc((-0.484, 0.879), ...
18
116
0.247844
train_1786b727db18f665
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.777, 0, -0.951), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.218).extrude(0.435) result = result.union(cq.Workplane(cq.Plane(origin=(-0.777, 0, -0.649), normal=(0.808, 0, 0.589), xDir=(0.589, 0, -0.808))).circle(0.225).extrude(2.027)) result = ...
12
140
0.238228
train_397ca47f9e29161c
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.389, 1).threePointArc((0.426, 0.983), (0.442, 0.946)).lineTo(0.442, -1).lineTo(-0.442, -1).lineTo(-0.442, 0.93).lineTo(-0.372, 1).lineTo(0.389, 1).close().extrude(0.19) result = result.cut...
15
265
0.276292
train_751c59ca7c5e56ef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.318) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.885).extrude(0.949, both=True)) result = result.union(cq.Workpl...
12
34
0.655814
train_9c1a7e9d48e8275d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.073, -0.713), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.618, 0.849).lineTo(0.69, 0.082).lineTo(0.556, -0.654).lineTo(0.076, -0.849).lineTo(-0.451, -0.669).lineTo(-0.69, 0.118).lineTo(-0.524, 0.674).lineTo(0.107, 0.837).lineTo(0.618, 0.849)...
5
40
1.08894
train_d4075346e13bdf76
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, -0.122, -0.391), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.912, 0.589).lineTo(1.004, 0.496).lineTo(1.004, -0.469).lineTo(0.884, -0.589).lineTo(-0.909, -0.589).lineTo(-1.004, -0.492).lineTo(-1.004, 0.541).lineTo(-0.957, 0.589).lineTo(0.912...
17
41
0.649173
train_77a0711aec693e08
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.397, -0.311, -0.43), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.796).threePointArc((0.562, 0.562), (0.796, 0)).lineTo(0.449, 0).threePointArc((0.317, 0.317), (0, 0.449)).lineTo(0, 0.796).close().extrude(1.429) result = result.union(cq.Workp...
6
114
0.719607
train_5e701d8890568259
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0.161, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.37, 0.74).threePointArc((0.37, 0.74), (0.74, 0)).threePointArc((0.37, -0.74), (-0.37, -0.74)).threePointArc((-0.74, 0), (-0.37, 0.74)).close().extrude(0.622, both=True) result = resul...
14
17
2.234486
train_32ab58ce8b772500
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.572), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.377, 0.803).threePointArc((0.463, 0.765), (0.5, 0.673)).lineTo(0.5, 0.443).threePointArc((0.548, 0.32), (0.662, 0.268)).lineTo(0.832, 0.268).threePointArc((0.947, 0.216), (1, 0.092)).lineT...
4
71
2.172568
train_204056d270a1f54f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.449, -0.561, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.524, 0.419).lineTo(0.488, 0.263).threePointArc((-0.524, -0.419), (0.524, 0.419)).close().extrude(0.189, taper=-4.761) result = result.cut(cq.Workplane(cq.Plane(origin=(0.46, 0.997...
5
67
0.563183
train_0e91960b2603dad4
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.532, 2).lineTo(0.532, 0.078).lineTo(0.736, 0.078).lineTo(0.736, 0).lineTo(0.198, 0).lineTo(0.198, 2).lineTo(0.532, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))...
6
30
0.994459
train_39a4c2efc4259112
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.472, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.689, 0.527).lineTo(0.689, -0.443).lineTo(0.606, -0.443).lineTo(0.606, -0.527).lineTo(-0.689, -0.527).lineTo(-0.689, 0.527).lineTo(0.689, 0.527).close().extrude(0.473) result = result.u...
12
72
0.779013
train_a0fdf5d23c6b942b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.011), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.276).lineTo(0.332, 0.137).lineTo(0.332, 0).lineTo(0.664, -0.137).lineTo(1, -0.276).lineTo(1, -0.413).lineTo(0.332, -0.689).lineTo(-0.332, -0.689).lineTo(-1, -0.413).lineTo(-1, -0.276).l...
6
113
1.567044
train_89d9b6cd07ed29af
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.739, -0.478, -0.907), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.478).threePointArc((1.044, 1.044), (1.478, 0)).lineTo(0.835, 0).threePointArc((0.591, 0.591), (0, 0.835)).lineTo(0, 1.478).close().extrude(1.813) result = result.union(cq.Work...
6
25
2.703674
train_a5fc6c8a70fde718
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.045, 0, -0.29), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.374, 1).lineTo(0.374, -1).lineTo(-0.374, -1).lineTo(-0.374, 1).lineTo(-0.12, 1).lineTo(-0.12, 0.289).lineTo(0.12, 0.289).lineTo(0.12, 1).lineTo(0.374, 1).close().extrude(0.833) result ...
12
131
1.324093
train_9d0d1433219157f4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.246, -0.219, -0.429), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.75, 0.418).lineTo(-0.387, -0.553).threePointArc((-0.75, 0.553), (0.75, 0.418)).close().extrude(0.629) result = result.union(cq.Workplane(cq.Plane(origin=(-0.263, -0.449, 0.188), n...
8
45
0.898106
train_0782050d947a2651
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.028, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.057, 0.099).lineTo(0.113, 0).lineTo(-0.057, -0.099).lineTo(-0.057, 0.099).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0.086, 0.039, 0), normal=(0, -1, ...
6
20
0.026248
train_eb1690dd1dfad691
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.404), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.807).lineTo(1, 0.407).lineTo(0.443, 0.407).lineTo(0.443, 0).lineTo(0, 0).lineTo(0, 0.807).lineTo(1, 0.807).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) res...
2
6
1.398933
train_4cbccaa75ebcb19c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.421, 0, -0.992), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.176, 1.983).lineTo(0.176, 0.176).lineTo(0.841, 0.176).lineTo(0.841, 0).lineTo(0, 0).lineTo(0, 1.983).lineTo(0.176, 1.983).close().extrude(1, both=True) result = result.cut(cq.Workpla...
10
48
1.23703
train_63b294cc8256b1f0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.426, 0, -0.413), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.111, 0.826).lineTo(0.111, 0.111).lineTo(0.852, 0.111).lineTo(0.852, 0).lineTo(0, 0).lineTo(0, 0.826).lineTo(0.111, 0.826).close().extrude(1, both=True) result = result.cut(cq.Workpla...
5
34
0.291287
train_76803df0be5f20ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.347), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.827, 0.275).lineTo(1, 0.108).lineTo(1, -0.191).lineTo(0.908, -0.191).lineTo(0.908, -0.275).lineTo(-0.843, -0.275).threePointArc((-0.949, -0.232), (-1, -0.126)).lineTo(-1, 0.139).lineTo(-0....
9
49
0.550799
train_e0e80c5cf0f6777b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.126, 0.866, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.379, 1.126).lineTo(0.856, 0.99).lineTo(0.828, -0.2).lineTo(-0.159, -0.874).lineTo(-0.856, 0.11).lineTo(-0.379, 1.126).close().extrude(1.731) result = result.cut(cq.Workplane(cq.Plane(...
11
18
3.785669
train_8df30be4aef61baa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.359), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.396).lineTo(1, -0.258).lineTo(0.861, -0.258).lineTo(0.861, -0.396).lineTo(-1, -0.396).lineTo(-1, 0.396).lineTo(1, 0.396).close().extrude(0.111) result = result.union(cq.Workplane(cq.Pla...
10
62
0.268797
train_7d6f1ea277e11b68
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.391, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.315, 2).lineTo(0.315, 0.315).lineTo(0.777, 0.315).lineTo(0.777, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.315, 2).close().extrude(0.95, both=True) result = result.cut(cq.Workplane(cq.Plane(o...
9
134
1.352406
train_e6e82cca716902fa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.013, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.821, 0.465).lineTo(1.013, 0.272).lineTo(1.013, -0.286).lineTo(0.835, -0.465).lineTo(-1.013, -0.465).lineTo(-1.013, 0.465).lineTo(0.821, 0.465).close().extrude(0.213) result = result.un...
11
45
0.179481
train_6dc7e6c27e4b1a1b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.405), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.911, 0.325).lineTo(1, 0.195).lineTo(1, -0.036).lineTo(0.753, -0.325).lineTo(-0.886, -0.325).lineTo(-0.886, -0.17).lineTo(-1, -0.17).lineTo(-1, 0.09).lineTo(-0.807, 0.09).lineTo(-0.807...
13
54
0.374416
train_cdfcd381ab7efbd3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.181, -0.071, -0.472), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.375, 0.4).lineTo(0.819, 0.077).lineTo(0.474, -0.399).threePointArc((0.405, -0.4), (0.385, -0.334)).threePointArc((0.365, -0.269), (0.296, -0.27)).threePointArc((0.227, -0.271), (...
9
45
1.83866
train_7951c4ab82e815e6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.01, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.984, 0.251).threePointArc((-0.249, -0.251), (-0.984, 0.184)).lineTo(0.984, 0.251).close().extrude(0.178, taper=-9.293) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.03, -0.069, 0...
5
39
0.123889
train_80c3947d03a2a1dd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.021, -0.842), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.4).lineTo(1, 0.211).lineTo(-0.534, 0.211).lineTo(-0.534, -0.211).lineTo(1, -0.211).lineTo(1, -0.4).lineTo(-1, -0.4).lineTo(-1, 0.4).lineTo(1, 0.4).close().extrude(0.6) result = resu...
16
37
0.95113
train_81c102c04474ecd5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.157), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.47, 2).extrude(0.314) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.426, -0.001), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.103, 0.255).lineTo(0.144, 0.059).lineTo(-0.144, 0.059)...
14
86
0.10062
train_4baf87082bff7194
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.214), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.462, 0.961).threePointArc((0.558, 0.896), (0.599, 0.742)).lineTo(0.599, 0.47).threePointArc((0.626, 0.365), (0.692, 0.321)).lineTo(0.905, 0.321).threePointArc((0.97, 0.277), (0.997, 0...
8
99
0.589878
train_330dfc30370ec3bd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.218, -0.088, -0.405), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.463, 0.741).threePointArc((-0.431, 0.731), (-0.417, 0.708)).lineTo(-0.417, -0.234).threePointArc((-0.32, -0.403), (-0.09, -0.474)).lineTo(0.735, -0.474).threePointArc((0.768, -0....
19
130
0.319714
train_fa83f157d744f6ca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.213, 0.132, 0.062), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.386, 0.499).lineTo(-0.067, 0.168).lineTo(-0.052, 0.102).threePointArc((0.422, -0.361), (0.178, 0.221)).threePointArc((0.132, 0.258), (0.23, 0.375)).threePointArc((0.501, -0.499), (...
8
83
0.487918
train_fb8f19be8aa8a359
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.316), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.598, 0.756).lineTo(1, 0.355).lineTo(1, -0.524).lineTo(0.768, -0.524).lineTo(0.768, -0.756).lineTo(-0.676, -0.756).threePointArc((-0.904, -0.662), (-1, -0.432)).lineTo(-1, 0.281).lineTo(-0....
10
46
0.862765
train_78b616e583f5eaf2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.036, -0.026, -0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.004, 0.618).threePointArc((0.615, 0.731), (0.425, 0.133)).threePointArc((0.303, 0.115), (0.099, 0.203)).threePointArc((0.016, 0.19), (-0.067, -0.021)).threePointArc((-0.116, -0.2...
3
25
1.528478
train_3c99247edb321def
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.127, -0.015, -0.157), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.539, 0.734).lineTo(0.873, 0.619).lineTo(0.404, -0.734).lineTo(0.239, -0.677).lineTo(0.363, -0.319).lineTo(0.247, -0.111).lineTo(0.413, 0.305).lineTo(0.539, 0.734).close().revolve...
11
103
1.500417
train_3b32ef43baeb8829
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.339, -0.026, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.117, 0.566).threePointArc((-0.035, 0.556), (0, 0.532)).lineTo(0, 0.256).threePointArc((0.07, 0.209), (0.235, 0.189)).lineTo(0.439, 0.189).threePointArc((0.595, 0.17), (0.661, 0....
19
161
0.366641
train_f4c5c5e71bb422f7
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.938, 0.8).lineTo(0.938, 0.267).lineTo(-0.469, 0.267).lineTo(-0.469, -0.8).lineTo(-0.938, -0.8).lineTo(-0.938, 0.8).lineTo(0.938, 0.8).close().extrude(0.394, taper=-8.813, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.732, 0.159),...
5
62
1.670238
train_4dad3d7e1e3909ec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.372), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.904).lineTo(1, -0.914).threePointArc((0.991, -0.933), (0.972, -0.94)).lineTo(-0.971, -0.94).threePointArc((-0.99, -0.932), (-1, -0.913)).lineTo(-1, 0.921).threePointArc((-0.993, 0.935),...
12
109
1.290797
train_58a7c65abd3242ff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.009, 0, 0.047), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.004, 0.04).lineTo(0.018, 0.036).lineTo(0.029, 0.027).lineTo(0.037, 0.015).lineTo(0.04, 0).lineTo(0.037, -0.015).lineTo(0.029, -0.027).lineTo(0.018, -0.036).lineTo(0.004, -0.04).lineTo(...
9
49
0.01444
train_409952bdeebdfbb6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.713), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1) result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.713), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.5, 0.866), (-1.5, 0.866), (-2, 0), (-1.5, -0.866), (...
10
213
1.830744
train_09ce8d5192e99ada
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.755).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(0.755, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.101, 0.377), (-0.378, 0.654), (-0.755, 0.755), (-1.1...
4
51
2.310425
train_4d6a9e217da25f2a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.093, 0.485, -0.156), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.081, 0.16).lineTo(0.184, -0.111).threePointArc((0.402, -0.178), (-0.098, -0.132)).lineTo(-0.364, 0.139).threePointArc((-0.402, 0.178), (-0.081, 0.16)).close().extrude(0.258) resu...
11
56
0.509358
train_e631a7adfa3d85d6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.159, 0.456, 0.233), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.228, 1.158).lineTo(0.65, 0.919).lineTo(0.592, 0.452).lineTo(0.421, 0.111).lineTo(0.079, -0.156).lineTo(-0.307, 0.047).lineTo(-0.65, 0.349).lineTo(-0.436, 0.75).lineTo(-0.242, 1.155...
11
96
0.87206
train_208d0b5154f639e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.404, 0.903, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.362, 0.756).threePointArc((0.362, 0.756), (0.725, 0.129)).threePointArc((0.362, -0.499), (-0.362, -0.499)).threePointArc((-0.725, 0.129), (-0.362, 0.756)).close().revolve(angleDegrees...
13
299
2.409467
train_bf5a2072be43fc2c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.077), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.515, 0.862).lineTo(1, -0.022).lineTo(0.479, -0.874).lineTo(-0.503, -0.86).lineTo(-1, -0.004).lineTo(-0.495, 0.874).lineTo(0.515, 0.862).close().extrude(0.111) result = result.union(cq.Work...
3
62
0.506111
train_62b6a097d175c84b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.268, 0.214).lineTo(0.268, 0).lineTo(-0.268, 0).lineTo(-0.268, 0.214).lineTo(-0.24, 0.214).lineTo(-0.24, 0.028).lineTo(0.24, 0.028).lineTo(0.24, 0.214).lineTo(0.268, 0.214).close().extrude...
5
42
0.048956
train_a9aacd2afde77e2a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.343, -0.005, 0.907), normal=(-0.304, 0.097, -0.948), xDir=(0, 0.995, 0.102))).moveTo(0.049, 0.065).lineTo(0.049, -0.065).lineTo(0.016, -0.065).lineTo(0.016, -0.032).lineTo(-0.016, -0.032).lineTo(-0.016, -0.065).lineTo(-0.049, -0.065).lineTo(-0.0...
7
53
0.068265
train_02393b6aac743ed8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.233, 0.574, 0.027), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.341, 0.014).lineTo(0.341, 0.358).lineTo(0.324, -0.358).close().moveTo(-0.252, 0.09).lineTo(-0.184, 0.09).lineTo(-0.184, 0.03).lineTo(-0.103, 0.03).lineTo(-0.103, 0.09).lineTo(-0.03...
10
102
1.231404
train_fffb7a8233cec09b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.083, -0.674), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.228).lineTo(1, -0.228).lineTo(0.981, -0.239).lineTo(-0.978, -0.239).lineTo(-1, -0.225).lineTo(-1, 0.231).lineTo(-0.984, 0.239).lineTo(0.981, 0.239).lineTo(1, 0.228).close().extrude(...
9
82
1.128026