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_9adadc442a92f759
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.011, 0, -0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.548, 0.7).threePointArc((0.687, 0.659), (0.745, 0.56)).lineTo(0.745, -0.59).threePointArc((0.699, -0.667), (0.589, -0.7)).lineTo(-0.122, -0.7).threePointArc((-0.211, -0.674), (-0.248, ...
26
68
0.23535
train_18507a1f5385e9f5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.076), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.071, 1).lineTo(0.964, 0.413).lineTo(0.646, -0.832).lineTo(-0.751, -1).lineTo(-0.964, 0.317).lineTo(-0.071, 1).close().extrude(0.175) result = result.union(cq.Workplane(cq.Plane(origin=(-0...
5
39
0.465141
train_49cce9124a45e497
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.449, -0.447, 0.064), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.546, -0.538).lineTo(0.328, -0.538).threePointArc((-0.546, 0.538), (0.546, -0.538)).close().extrude(0.117) result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.001, 0.383), no...
8
106
0.326918
train_54db8b28b7e949d1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.858).lineTo(1, -0.775).lineTo(0.916, -0.775).lineTo(0.916, -0.858).lineTo(-0.938, -0.858).lineTo(-1, -0.796).lineTo(-1, 0.803).lineTo(-0.945, 0.803).lineTo(-0.945, 0.858).lineTo(1, 0.85...
5
52
1.606964
train_636670b0f43b76c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.44), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.907, 1.065).lineTo(0.907, 0).lineTo(-0.907, 0).lineTo(-0.907, 1.065).lineTo(-0.805, 1.065).lineTo(-0.805, 0.103).lineTo(0.805, 0.103).lineTo(0.805, 1.065).lineTo(0.907, 1.065).close().extr...
9
56
0.317966
train_4137891b453f0f60
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.175, 0, -0.851), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.271).extrude(0.871) result = result.union(cq.Workplane(cq.Plane(origin=(0.175, 0, -0.241), normal=(0.543, 0, 0.84), xDir=(0.84, 0, -0.543))).circle(0.243).extrude(1.143)) result = resu...
9
49
0.217111
train_466a3654341409ec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.507, -0.548), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.533, 0.71).threePointArc((-0.479, 0.692), (-0.456, 0.652)).lineTo(-0.456, -0.085).threePointArc((-0.369, -0.239), (-0.163, -0.305)).lineTo(0.842, -0.305).threePointArc((0.947, -0.337)...
25
471
0.449434
train_8f9b871604d1c941
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.083, 0.098, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.021, 0.332).threePointArc((0.045, 0.322), (0.056, 0.298)).lineTo(0.056, 0.248).threePointArc((0.064, 0.229), (0.083, 0.221)).lineTo(0.235, 0.221).threePointArc((0.264, 0.209), (0.277, 0...
8
163
0.604583
train_7a3f4109615de783
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.047, -0.03, -0.23), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.189, -0.546).threePointArc((-0.949, 0.486), (0.276, 0.432)).lineTo(0.894, 0.074).threePointArc((0.949, 0.003), (0.801, -0.139)).lineTo(0.116, 0.254).threePointArc((-0.152, 0.546), ...
4
28
0.124303
train_d2c9d566c2f1476f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.478, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.617, 0.477).threePointArc((0, -0.139), (-0.617, 0.477)).threePointArc((0, 1.094), (0.617, 0.477)).close().extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.633, -0.357, -0.8...
23
367
1.859918
train_62d5b87be932b922
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.385).lineTo(0.601, 0).lineTo(1, -0.385).lineTo(0.552, -0.385).lineTo(0.552, 0.385).lineTo(1, 0.385).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), norm...
11
58
0.559652
train_59d1f48e1f22d5fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.684, -0.698, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.081, 1.697).threePointArc((0.417, 1.558), (0.556, 1.222)).threePointArc((0.601, 1.043), (0.671, 0.872)).lineTo(0.493, 0.524).lineTo(0.556, 0.174).threePointArc((0.417, -0.162), (0.081...
6
70
1.910462
train_5bca9b5f9a8e6732
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.065, 0, -0.621), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.935, 1.243).lineTo(0.935, 0).lineTo(-0.935, 0).lineTo(-0.935, 1.243).lineTo(-0.842, 1.243).lineTo(-0.842, 0.093).lineTo(0.842, 0.093).lineTo(0.842, 1.243).lineTo(0.935, 1.243).close(...
4
51
0.311292
train_f217729468c0a298
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.024, 0.067, -0.617), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.883, 0.277).lineTo(0.976, 0.185).lineTo(0.976, -0.192).threePointArc((0.951, -0.253), (0.89, -0.277)).lineTo(-0.859, -0.277).lineTo(-0.859, -0.16).lineTo(-0.976, -0.16).lineTo(-0.9...
10
51
0.476322
train_b1530b7d29cb6425
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, 0.664).lineTo(0.457, 0.481).lineTo(0.664, -0.019).lineTo(0.478, -0.461).lineTo(0.004, -0.664).lineTo(-0.463, -0.475).lineTo(-0.664, -0.005).lineTo(-0.474, 0.465).lineTo(0, 0.664).close().extr...
10
234
1.532312
train_39f770e09649c9c2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.98), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.991, 1.96).lineTo(0.991, 0.472).lineTo(1, 0.472).lineTo(1, 0).lineTo(0.388, 0).lineTo(0.388, 1.96).lineTo(0.991, 1.96).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(...
9
82
4.507996
train_bd809d51d92bbcd2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.016, 2).extrude(0.275) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.302, -0.208).lineTo(0.302, -0.787).lineTo(-0.302, -0.787)...
12
58
0.353959
train_fd38017d530ef0d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.583), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.454, 0.557).lineTo(1, 0.011).lineTo(1, -0.033).threePointArc((0.846, -0.404), (0.476, -0.557)).lineTo(-0.454, -0.557).lineTo(-1, -0.011).lineTo(-1, 0.557).lineTo(0.454, 0.557).close().extr...
8
41
1.880969
train_601a883a61eada72
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.349), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.673, 0.697).lineTo(0.673, 0.257).lineTo(1, 0.257).lineTo(1, 0).lineTo(0.352, 0).lineTo(0.352, 0.697).lineTo(0.673, 0.697).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
4
15
1.127138
train_27fcac3df1602e0d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.35), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.703, 0.703).lineTo(1, 0).lineTo(0.703, -0.703).lineTo(0, -1).lineTo(-0.703, -0.703).lineTo(-1, 0).lineTo(-0.703, 0.703).lineTo(0, 1).close().extrude(0.7) result = result.cut(cq...
7
163
1.537421
train_453ba44dffd92db9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.035, 0.03, -0.042), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.421, 0.298).threePointArc((0.139, 0.959), (0.391, 0.137)).lineTo(0.366, 0.085).lineTo(0.379, 0.029).threePointArc((0.657, -0.761), (-0.083, -0.959)).threePointArc((-0.211, -0.855)...
2
22
1.590314
train_7b882797ee19c56c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.089, -0.099, -0.156), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.773, 2.198).extrude(0.298) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.089, -0.099, -0.156), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.338, -1.05).lineTo(-0.338, -0.708)...
21
126
0.153776
train_54e31192e37cad24
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.731), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.17, 0.17).lineTo(0.17, 0.102).lineTo(-0.102, 0.102).lineTo(-0.102, 0.034).lineTo(0.17, 0.034).lineTo(0.17, -0.17).lineTo(-0.17, -0.17).lineTo(-0.17, -0.102).lineTo(0.102, -0.102).lineTo(0....
13
23
0.141497
train_2d5df30a625544ef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.023, 0, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.816, 0.318).lineTo(1.023, 0.11).lineTo(1.023, -0.318).lineTo(-1.023, -0.318).lineTo(-1.023, 0.113).threePointArc((-0.963, 0.258), (-0.819, 0.318)).lineTo(0.816, 0.318).close().extrude...
20
58
0.048705
train_73010e227fdfaf31
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.426, 0.002, 0.494), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.297, 0).threePointArc((0.361, -0.077), (0.428, -0.19)).threePointArc((0.441, -0.321), (0.375, -0.417)).threePointArc((0.254, -0.441), (0.13, -0.4)).threePointArc((0.036, -0.344), ...
3
60
0.386415
train_64288d6ff2837e7e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.074, 0, -0.514), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.267, 0.269).lineTo(0.267, 0.12).lineTo(0.089, 0.12).lineTo(0.089, -0.269).lineTo(-0.089, -0.269).lineTo(-0.089, 0.12).lineTo(-0.267, 0.12).lineTo(-0.267, 0.269).lineTo(0.267, 0.269).cl...
22
159
1.082482
train_7ddb0df09161ef33
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.189), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.796, 0.594).lineTo(1, 0.39).lineTo(1, -0.455).lineTo(0.86, -0.594).lineTo(-0.804, -0.594).lineTo(-1, -0.396).lineTo(-1, 0.331).lineTo(-0.737, 0.594).lineTo(0.796, 0.594).close().extrude(0....
12
186
0.739767
train_5b32a16ab20e5538
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.945, 0.481).lineTo(0.945, -0.381).threePointArc((0.915, -0.452), (0.845, -0.481)).lineTo(-0.945, -0.481).lineTo(-0.945, 0.42).lineTo(-0.883, 0.42).lineTo(-0.883, 0.481).lineTo(0.945, 0.481...
5
17
0.483809
train_00a2ee504276a3de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.75), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.561, 0.673).lineTo(0.337, 0).lineTo(0.673, -0.561).lineTo(0, -0.337).lineTo(-0.561, -0.673).lineTo(-0.337, 0).lineTo(-0.673, 0.561).lineTo(0, 0.337).lineTo(0.561, 0.673).close().twistExtrud...
9
228
1.254741
train_aae1317c01ef1441
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.083, -0.099), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.375, 0.442).lineTo(0.496, 0.37).lineTo(0.496, 0.244).lineTo(0.659, 0.147).lineTo(0.914, 0.147).lineTo(0.992, 0.101).lineTo(0.992, -0.313).lineTo(0.776, -0.442).lineTo(-0.901, -0.442)....
13
178
0.688559
train_2b7ea535d1c75161
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.066, 0.196).lineTo(0.066, 0.066).lineTo(0.196, 0.066).lineTo(0.196, -0.066).lineTo(-0.066, -0.066).lineTo(-0.066, -0.196).lineTo(-0.196, -0.196).lineTo(-0.196, 0.066).lineTo(-0.066, 0.066).lineTo(-0.066, 0.196).lineTo(0.066, 0.196).close().extrude(1...
18
1,170
0.483257
train_5deaa6e59c75a1c2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.077, -0.388, -0.776), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.096, 0.049).lineTo(0.096, -0.049).threePointArc((-0.006, 0), (0.096, 0.049)).close().extrude(1.433).union(cq.Workplane(cq.Plane(origin=(0.077, -0.388, -0.776), normal=(0, 0, 1), x...
15
75
0.076864
train_22697c9e7a783126
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, -0.28, -0.271), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.083, 0.488).threePointArc((0.297, 0.399), (0.386, 0.185)).lineTo(0.386, -0.059).threePointArc((0.297, -0.274), (0.083, -0.362)).lineTo(-0.083, -0.362).threePointArc((-0.297, -0.274), ...
32
440
0.719834
train_4115e9cdddb949d1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.136, 0, -0.192), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.432, 0.727).threePointArc((0.432, 0.727), (0.863, 0)).threePointArc((0.432, -0.727), (-0.432, -0.727)).threePointArc((-0.863, 0), (-0.432, 0.727)).close().extrude(0.363) result = resu...
21
234
0.701799
train_6f26c50fca59d3b9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.373, 0.133, 0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.028, 0.088).threePointArc((0.043, 0.081), (0.057, 0.071)).lineTo(0.088, 0.017).threePointArc((0.089, 0.002), (0.088, -0.014)).lineTo(0.061, -0.066).threePointArc((0.044, -0.079), (0...
17
132
0.419431
train_583b99cf16bcc0a3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.526, 0.246, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.425, 0.667).lineTo(-0.425, -0.485).lineTo(0.628, -0.485).lineTo(0.628, -0.667).lineTo(-0.628, -0.667).lineTo(-0.628, 0.667).lineTo(-0.425, 0.667).close().extrude(1, both=True) result =...
7
35
0.736306
train_dd14f74a992b1011
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.594, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.039, 0.406).lineTo(0.046, 0.15).lineTo(0.259, 0.315).lineTo(0.138, 0.073).lineTo(0.406, 0.039).lineTo(0.15, -0.046).lineTo(0.315, -0.259).threePointArc((0.283, -0.242), (0.247, -0.245))....
4
139
0.715957
train_15381ffd32af1f8d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.486, 0.598, -0.68), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.268, -0.178).lineTo(-0.299, -0.12).lineTo(-0.38, -0.136).lineTo(-0.395, -0.082).lineTo(-0.318, -0.053).lineTo(-0.322, 0.012).lineTo(-0.403, 0.03).lineTo(-0.395, 0.086).lineTo(-0.3...
3
194
0.737714
train_3d97481b3ecd5bc2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.402, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.903, 0.396).threePointArc((0.956, 0.396), (0.992, 0.284)).lineTo(1, 0.031).lineTo(0.947, 0.031).lineTo(0.947, -0.119).lineTo(0.766, -0.119).lineTo(0.813, -0.263).threePointArc((-0.254, -0....
7
160
2.516768
train_d005210466b0f264
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.451).extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.391), normal=(0.222, 0, 0.975), xDir=(0.975, 0, -0.222))).circle(0.327).extrude(1.503)) result = result.cut(cq.Workp...
9
24
0.597182
train_ec520dd256fcf9ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.33), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.877, 0.659).lineTo(0.912, 0.557).lineTo(1, 0.231).lineTo(1, 0).lineTo(0.805, 0).lineTo(0.805, 0.197).lineTo(0.706, 0.557).lineTo(0, 0.468).lineTo(0, 0.659).lineTo(0.877, 0.659).close().rev...
5
49
0.772078
train_3fc14ca23cec2c5f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.002, -0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.792, -0.147).lineTo(0.979, -0.211).lineTo(0.96, -0.283).lineTo(0.77, -0.238).lineTo(0.715, -0.374).lineTo(0.873, -0.49).lineTo(0.834, -0.553).lineTo(0.666, -0.454).lineTo(0.573, ...
2
87
0.718995
train_7f0aa7a8c367fcba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.016, -0.006, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.6, 0.466).threePointArc((0.768, 0.45), (0.794, 0.261)).lineTo(0.876, -0.361).threePointArc((0.81, -0.466), (0.675, -0.414)).lineTo(0.596, 0.104).lineTo(0.126, -0.242).threePointArc((-...
6
41
0.626713
train_3bb6fa2caf1aac51
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.227).lineTo(1, -0.165).threePointArc((0.916, -0.216), (0.716, -0.237)).lineTo(-0.744, -0.237).threePointArc((-0.924, -0.218), (-1, -0.172)).lineTo(-1, 0.221).threePointArc((-0.982, 0.232...
9
18
0.321571
train_27ecfd86676bd255
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.174), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.807, 0.407).threePointArc((0.943, 0.389), (1, 0.348)).lineTo(1, 0.26).threePointArc((0.945, 0.22), (0.816, 0.203)).lineTo(0.533, 0.203).threePointArc((0.393, 0.185), (0.333, 0.143)).lineTo...
17
84
0.850375
train_a4cee8a60b09602b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.749), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.547, 0.998).threePointArc((-0.436, 0.963), (-0.389, 0.878)).lineTo(-0.389, -0.36).threePointArc((-0.316, -0.494), (-0.141, -0.551)).lineTo(0.913, -0.551).threePointArc((0.954, -0.564)...
7
16
2.56615
train_b47533a7c6d9a824
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.975, -0.24).lineTo(0.174, -0.907).threePointArc((0, -0.979), (-0.174, -0.907)).lineTo(-0.975, -0.24).threePointArc((0, 0.979), (0.975, -0.24)).close().extrude(0.412, taper=12.851, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.538, ...
4
47
1.87967
train_241474543dbc2918
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.045, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.392, 0.168).lineTo(0.392, -0.168).lineTo(-0.392, -0.168).lineTo(-0.392, -0.056).lineTo(0.28, -0.056).lineTo(0.28, 0.056).lineTo(-0.392, 0.056).lineTo(-0.392, 0.168).lineTo(0.392, 0.168).cl...
15
58
0.294427
train_0145c776e7aa87b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.46, -0.116, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.119, -0.053).threePointArc((-0.013, 0.196), (0.119, -0.196)).lineTo(-0.119, -0.053).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.38, -0.106, -0.1...
9
45
0.618359
train_b160bca362d752d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.359, -0.088, 0.189), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.079, 0.778).threePointArc((0.16, 0.743), (0.194, 0.662)).lineTo(0.194, 0.485).threePointArc((0.223, 0.418), (0.291, 0.389)).lineTo(0.437, 0.389).threePointArc((0.54, 0.345), (0.583...
23
329
1.476001
train_f76c555ee924764c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.882, 2).extrude(0.259) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.216, 0.77).lineTo(0.216, -0.77).lineTo(-0.216, -0.77).close...
9
25
0.212561
train_285f3a9414f2d086
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.076, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.248, 0.392).lineTo(-0.248, -0.274).lineTo(0.387, -0.274).lineTo(0.387, -0.392).lineTo(-0.387, -0.392).lineTo(-0.387, 0.392).lineTo(-0.248, 0.392).close().extrude(2, taper=-9.519) result =...
22
46
1.080474
train_44bcb221e9fbe7c7
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.952, 0.211).lineTo(0.952, -0.151).threePointArc((0.835, -0.211), (0.559, -0.237)).lineTo(-0.682, -0.237).threePointArc((-0.872, -0.22), (-0.952, -0.178)).lineTo(-0.952, 0.209).threePoi...
4
56
0.194204
train_4db46927a9f35950
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.089, -0.501), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.248, 0.518).threePointArc((0.248, 0.518), (0.495, 0.089)).threePointArc((0.248, -0.339), (-0.248, -0.339)).threePointArc((-0.495, 0.089), (-0.248, 0.518)).close().revolve(angleDegre...
13
5
1.817766
train_1c22c415c6f436e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.047, -0.06), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.544, 0.332).lineTo(0.644, 0.313).lineTo(0.633, 0.257).lineTo(0.807, 0.222).threePointArc((0.88, 0.249), (0.98, 0.066)).lineTo(0.921, 0.04).lineTo(0.916, -0.143).lineTo(0.971, -0.184).li...
21
378
1.130201
train_a3dc5f81609b9a90
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.045, -0.357, 0.309), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.43, 0.365).lineTo(0.447, 0.342).lineTo(0.52, -0.337).lineTo(0.497, -0.365).lineTo(0.473, -0.356).lineTo(0.123, 0.044).lineTo(0.13, 0.066).lineTo(0.405, 0.361).lineTo(0.43, 0.365)....
16
305
1.237004
train_78711746e00c6340
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.079, 0, -0.059), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.107, 0.916).threePointArc((-0.032, 0.874), (0, 0.773)).lineTo(0, 0.427).threePointArc((0.027, 0.341), (0.091, 0.305)).lineTo(0.787, 0.305).threePointArc((0.88, 0.253), (0.919, 0.13))....
9
87
0.431734
train_77c482ecebdf2f8d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.617), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.878, 0.514).threePointArc((0.958, 0.496), (1, 0.453)).lineTo(1, 0.279).threePointArc((0.942, 0.216), (0.828, 0.189)).lineTo(-0.25, 0.189).threePointArc((-0.345, 0.167), (-0.386, 0.115)).li...
23
203
1.313164
train_04be44002fa6dae0
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.158).lineTo(0.599, 0).lineTo(1, -0.158).lineTo(0.263, -0.158).lineTo(0.263, 0.158).lineTo(1, 0.158).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.55, 0, 0), normal=(0...
5
23
0.274182
train_16a372d79ddf8d19
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.181, 0.184, 0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.577, 0.577).threePointArc((0.788, -0.211), (0.211, -0.788)).threePointArc((-0.577, -0.577), (-0.788, 0.211)).threePointArc((-0.211, 0.788), (0.577, 0.577)).close().sweep(cq.Workpla...
3
17
1.102774
train_101cb4346ac7ed9d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.127), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.315, 0.254).lineTo(0.315, 0.11).lineTo(1, 0.11).lineTo(1, 0).lineTo(0.237, 0).lineTo(0.237, 0.254).lineTo(0.315, 0.254).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, ...
5
43
0.331452
train_e0c20a1e70e02087
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.378), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.715, 0.774).threePointArc((0.909, 0.693), (1, 0.494)).lineTo(1, -0.471).threePointArc((0.903, -0.687), (0.691, -0.774)).lineTo(-1, -0.774).lineTo(-1, 0.554).lineTo(-0.774, 0.774).lineTo(0....
5
27
2.020061
train_e5721782631db0f3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.03, -0.387), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.192).lineTo(1, 0.132).lineTo(-0.636, 0.132).lineTo(-0.636, -0.132).lineTo(1, -0.132).lineTo(1, -0.192).lineTo(-1, -0.192).lineTo(-1, 0.192).lineTo(1, 0.192).close().extrude(0.575) r...
8
159
0.148692
train_0389aa4ad19d3c75
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.711, 0.471).workplane(offset=1.999).rect(1, 0.343).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.271, 0.236, -0.546), normal=(0, 0, -1), xDir=(1, 0, 0))).spline([(-1.085, -0.06), (...
10
20
0.385671
train_634bfbf1cfb8e93e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.367, 0, -0.143), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.633, 0.507).lineTo(0.633, -0.507).lineTo(-0.633, -0.507).lineTo(-0.633, 0.507).lineTo(0.633, 0.507).close().extrude(0.286) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.367, -0...
17
294
0.55643
train_67aac894eba4df23
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.706, 2).lineTo(0.706, 1.366).lineTo(0.745, 1.366).lineTo(0.745, 0.844).lineTo(0.909, 0.844).lineTo(0.909, 0.129).lineTo(0.725, 0.129).lineTo(0.725, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.706, ...
3
28
3.690015
train_3e0439adbff63bee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.787, 0.671).threePointArc((0.931, 0.61), (1, 0.463)).lineTo(1, -0.509).threePointArc((0.944, -0.624), (0.829, -0.671)).lineTo(-0.829, -0.671).lineTo(-1, -0.506).lineTo(-1, 0.489).threePoin...
10
84
0.162251
train_fec482087ec3b1c0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.747), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.886) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.123), normal=(0.547, 0, 0.837), xDir=(0.837, 0, -0.547))).circle(0.296).extrude(0.865)) result = result.cut(cq....
9
62
1.946562
train_1385da97ac215a8a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.35), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.914, 0.753).lineTo(0.914, 0.066).lineTo(1, 0.066).lineTo(1, 0).lineTo(0.564, 0).lineTo(0.564, 0.753).lineTo(0.914, 0.753).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0,...
5
61
1.154059
train_bbe1a58a3c28d1c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.009, 0, -0.033), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.835, 0.268).lineTo(0.835, -0.268).lineTo(-0.835, -0.268).lineTo(-0.835, 0.268).lineTo(0.835, 0.268).close().extrude(0.177) result = result.union(cq.Workplane(cq.Plane(origin=(0.289, 0,...
14
44
0.71239
train_9df5d93be5d0a17c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.082), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.145).lineTo(0.861, 0).lineTo(1, -0.145).lineTo(0.244, -0.145).lineTo(0.244, 0.145).lineTo(1, 0.145).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = r...
13
87
0.536149
train_bca54235e7ca6764
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.186, -0.127, -0.569), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.507, 0.779).lineTo(0.752, -0.779).lineTo(-0.752, -0.779).lineTo(-0.507, 0.779).lineTo(0.507, 0.779).close().extrude(1.143, taper=-4.722) result = result.union(cq.Workplane(cq.Pla...
19
126
0.635576
train_5a31787d4a52b78b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.176, -0.107, 0.251), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.458, 0.763).lineTo(0.884, -0.02).lineTo(0.451, -0.757).lineTo(-0.434, -0.766).lineTo(-0.884, 0.02).lineTo(-0.453, 0.766).lineTo(0.458, 0.763).close().extrude(0.072, taper=-1.139) r...
22
99
0.436695
train_9c00eaf44c9a39e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.779, -0.151), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 0.126).lineTo(0.5, 0.085).threePointArc((0.525, 0.076), (0.583, 0.073)).lineTo(0.909, 0.073).threePointArc((0.973, 0.069), (1, 0.059)).lineTo(1, 0.014).threePointArc((0.971, 0.004)...
17
64
0.301444
train_5d9a8c2ef325ce5a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.302, 0.036, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.252, 0.281).lineTo(0.308, 0.199).lineTo(0.474, 0.132).lineTo(0.697, -0.198).lineTo(0.573, -0.281).lineTo(0.211, 0.253).lineTo(0.252, 0.281).close().revolve(angleDegrees=360, axisStart...
6
120
0.261329
train_c8ee8ea31c07f529
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.036, 1).threePointArc((0.127, 0.953), (0.166, 0.862)).lineTo(0.166, 0.774).threePointArc((0.198, 0.696), (0.276, 0.664)).lineTo(0.374, 0.664).threePointArc((0.461, 0.627), (0.498, 0.541)).lineTo(0.498, 0.096).threePointArc((0.469, 0.029), (0.402, 0)...
4
45
1.050195
train_51ab4316758b82b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.093, 0.046, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.735, -0.316).threePointArc((-0.473, -0.921), (-0.668, 0.291)).lineTo(-0.467, 0.844).threePointArc((-0.226, 0.921), (-0.138, 0.793)).lineTo(-0.375, 0.151).threePointArc((-0.735, -0.156),...
8
62
0.616213
train_e93d0a81cd939895
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.408, -0.232, -0.261), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.592).extrude(0.472) result = result.cut(cq.Workplane(cq.Plane(origin=(1, -0.232, -0.261), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.058, 0.257), (-0.223, 0.463), ...
6
92
1.514855
train_0ab5b441417eb4ee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.039), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.317, 0.796).threePointArc((0.472, 0.732), (0.536, 0.577)).lineTo(0.536, -0.577).threePointArc((0.472, -0.732), (0.317, -0.796)).lineTo(-0.317, -0.796).threePointArc((-0.472, -0.732), (-0.5...
4
53
3.114957
train_d7e64926f129c9aa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.23), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.308).lineTo(1, -0.314).threePointArc((0.997, -0.32), (0.991, -0.322)).lineTo(-0.991, -0.322).threePointArc((-0.997, -0.319), (-1, -0.314)).lineTo(-1, 0.307).threePointArc((-0.995, 0...
19
120
0.411704
train_cfb0e7488f325d0f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.641, 0.527, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.17, 1.065).threePointArc((0.518, 0.921), (0.662, 0.575)).lineTo(0.662, 0.134).threePointArc((0.518, -0.214), (0.17, -0.358)).lineTo(-0.17, -0.358).threePointArc((-0.518, -0.214), (-0.6...
11
46
1.728399
train_e77f7bb18e37239f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.681).lineTo(-0.319, -0.681).lineTo(-1, -0.022).lineTo(-0.774, 0.108).lineTo(1, 0.681).close().extrude(0.495, taper=6.421) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.14, -0.198...
5
65
0.415898
train_abea8844dee9b469
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.055, -0.1, 0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.233, 0.924).threePointArc((0.37, 0.879), (0.498, 0.813)).threePointArc((0.615, 0.73), (0.718, 0.629)).threePointArc((0.805, 0.515), (0.873, 0.388)).threePointArc((0.922, 0.253), (0....
7
177
0.25364
train_78ba81bff9ab57c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.123), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.3, 2).extrude(0.246) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.232, -0.015, 0.079), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.464, 0.804).lineTo(0.928, 0).lineTo(-0.464, -0.804...
10
32
0.110229
train_a2ab7a962d2ebdb8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.483, -0.153, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.966).threePointArc((0.684, 0.684), (0.966, 0)).lineTo(0.512, 0).threePointArc((0.362, 0.362), (0, 0.512)).lineTo(0, 0.966).close().extrude(2) result = result.union(cq.Workplane(cq...
7
36
1.432558
train_d862f481bba1267c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.133, 0.003, 0.332), normal=(-0.488, 0.355, -0.797), xDir=(-0.588, -0.809, 0))).moveTo(-0.315, 0.373).threePointArc((-0.101, 0.543), (0.078, 0.272)).lineTo(0.356, -0.342).threePointArc((0.28, -0.543), (0.069, -0.45)).lineTo(0.012, -0.43).threePoi...
14
125
0.501261
train_3900786f5c2659ea
import cadquery as cq import math result = cq.Workplane('XY').box(1.747, 1.687, 2) result = result.edges().fillet(0.039) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.301).extrude(3.493, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
6
36
4.617259
train_1eeaae3fb36e4c83
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.788, 0.391, -0.096), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.069, 0.191).threePointArc((-0.007, 0.192), (0.04, 0.131)).lineTo(0.086, 0.136).threePointArc((0.086, 0.07), (0.102, 0.042)).lineTo(0.198, -0.018).lineTo(0.128, -0.083).threePoint...
4
81
0.017612
train_c75425820c280067
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.016, 0, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.053, 0.899).threePointArc((0.409, 0.628), (0.637, 0.699)).threePointArc((0.745, 0.296), (0.978, 0.233)).threePointArc((0.798, -0.151), (0.945, -0.323)).threePointArc((0.547, -0.54), (0...
12
483
0.609647
train_66c43528de93ad1a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.336, -0.133), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.375, 0.37).lineTo(0.375, 0).lineTo(-0.375, 0).lineTo(-0.375, 0.37).lineTo(-0.19, 0.37).lineTo(-0.19, 0.185).lineTo(0.19, 0.185).lineTo(0.19, 0.37).lineTo(0.375, 0.37).close().extrude...
9
79
0.316317
train_34d0115e677d3ea0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.231, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.175, 2).lineTo(0.175, 0.175).lineTo(0.462, 0.175).lineTo(0.462, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.175, 2).close().extrude(0.827, both=True) result = result.cut(cq.Workplane(cq.Plane(...
16
119
0.309989
train_7e138cd21201db47
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.025, 0, -0.166), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.949, 0.332).lineTo(0.92, 0.187).lineTo(1, 0.116).lineTo(1, 0).lineTo(0.911, 0).lineTo(0.911, 0.099).lineTo(0.812, 0.187).lineTo(0, 0.244).lineTo(0, 0.332).lineTo(0.949, 0.332).close()...
11
70
0.381838
train_22aa6842bf512631
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.668, 1).lineTo(0.771, 0.896).lineTo(0.771, -0.922).lineTo(0.694, -0.922).lineTo(0.694, -1).lineTo(-0.661, -1).threePointArc((-0.739, -0.967), (-0.771, -0.889)).lineTo(-0.771, 0.866).threeP...
5
108
0.458252
train_3a23241e804c8714
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.028, -0.002, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.604, -0.131).threePointArc((-0.109, 0.997), (0.604, -0.039)).lineTo(0.589, -0.953).lineTo(0.499, -0.997).lineTo(0.417, -0.923).lineTo(0.415, -0.016).threePointArc((0.256, 0.727), (-0....
9
101
0.245708
train_5ae034544bc13822
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.623, 1).threePointArc((0.771, 0.936), (0.828, 0.791)).lineTo(0.828, -0.751).threePointArc((0.758, -0.923), (0.581, -1)).lineTo(-0.721, -1).lineTo(-0.828, -0.885).lineTo(-0.828, 1).lineTo(0...
9
87
0.363842
train_f24f1e4e38f0ff52
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.016, 0.034, -0.274), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.638, 0.638).threePointArc((0.754, 0.754), (0.985, 0.522)).threePointArc((0.406, -0.754), (-0.985, 0.406)).threePointArc((-0.869, 0.522), (-0.638, 0.522)).threePointArc((-0.058, 0....
15
463
1.097218
train_e55d6394acde1b39
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.274, -0.252, -0.406), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.683, 0).threePointArc((0.614, -0.068), (0.546, 0)).threePointArc((0.614, 0.068), (0.683, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.274, -0.252, -0.406), normal=(0, 0, 1...
6
72
0.937459
train_35b89f2c731587d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.003, 0, 0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.032, 0.172).spline([(0.032, 0.172), (0.118, 0.066)]).lineTo(0.14, -0.137).lineTo(0.025, -0.172).lineTo(-0.101, -0.159).lineTo(-0.147, -0.04).lineTo(-0.067, 0.059).lineTo(0.032, 0.172).c...
11
74
0.025467
train_0a5292ce7075289d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.003, -0.476), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.874, 0.614).threePointArc((0.963, 0.595), (1, 0.55)).lineTo(1, -0.469).threePointArc((0.915, -0.571), (0.714, -0.614)).lineTo(-0.536, -0.614).threePointArc((-0.862, -0.544), (-1, -0.37...
10
123
0.906485
train_595e43321a153941
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.007, -0.496, -0.852), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.082, 0.103).lineTo(0.082, -0.062).lineTo(0, -0.062).lineTo(0, -0.103).lineTo(-0.041, -0.103).lineTo(-0.041, -0.062).lineTo(-0.082, -0.062).lineTo(-0.082, 0.062).lineTo(0, 0.062).l...
3
31
0.096595