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_edcf546e17372572
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.834), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.612, 1.668).lineTo(0.612, 0.123).lineTo(1, 0.123).lineTo(1, 0).lineTo(0.482, 0).lineTo(0.482, 1.668).lineTo(0.612, 1.668).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
6
52
0.737344
train_9fa0348da6d3ad55
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.203, 0.198, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.053, 0.361).lineTo(0.192, 0.144).lineTo(0.646, 0.137).lineTo(0.358, -0.063).lineTo(0.485, -0.31).lineTo(0.062, -0.216).lineTo(-0.313, -0.361).lineTo(-0.286, -0.104).lineTo(-0.646...
16
245
0.499692
train_c30887a869539d78
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.01, -0.274, -0.356), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.174, -0.298).threePointArc((-0.224, -0.547), (-0.273, -0.199)).lineTo(0.174, 0.248).threePointArc((0.273, 0.547), (0.273, 0.149)).lineTo(-0.174, -0.298).close().extrude(0.794, ta...
3
35
0.554403
train_0eaeeda21ec35fa4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, -0.003, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.289, 0.712).threePointArc((-0.004, 0.996), (0.423, 0.569)).lineTo(0.145, -0.958).threePointArc((0.13, -0.987), (0.099, -0.996)).lineTo(-0.119, -0.996).threePointArc((-0.142, -0....
1
17
0.452589
train_6e44e0cf2e2fdf56
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.347, 0.39).threePointArc((0.38, 0.376), (0.394, 0.344)).lineTo(0.394, 0.223).threePointArc((0.377, 0.183), (0.338, 0.166)).lineTo(0.146, 0.166).threePointArc((0.121, 0.156), (0.111, 0.131)).li...
8
34
0.596687
train_bd7540bab1241220
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.269, 0.123, 0.161), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.663, 0).threePointArc((0, -0.663), (-0.663, 0)).threePointArc((0, 0.663), (0.663, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.269, 0.123, 0.161), normal=(0, -1, 0), xDir=(1,...
6
52
0.372942
train_1654e8f947d8b254
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.057, 0, 0.225), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.249, 0.131).lineTo(0.44, 0.082).threePointArc((0.571, 0.131), (0.754, 0.07)).lineTo(0.942, 0.028).lineTo(0.898, -0.131).lineTo(0.227, 0.054).lineTo(0.249, 0.131).close().revolve(angleD...
7
48
0.755351
train_549039c1c71b3d8c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.075, 0.091, 0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.181, 0.849).threePointArc((0.271, 0.814), (0.308, 0.732)).lineTo(0.308, 0.428).threePointArc((0.355, 0.326), (0.465, 0.283)).lineTo(0.794, 0.283).threePointArc((0.885, 0.248), (0.92...
37
203
0.501884
train_964fa38c9d69e99e
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.872, 0.362).lineTo(0.872, 0.232).lineTo(1, 0.232).lineTo(1, -0.262).lineTo(0.901, -0.262).lineTo(0.901, -0.362).lineTo(-0.882, -0.362).lineTo(-0.882, -0.242).lineTo(-1, -0.242).lineTo(-1, ...
13
179
0.346461
train_fddd0fa09f8399b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.566), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.006).extrude(1.131) result = result.cut(cq.Workplane(cq.Plane(origin=(1.006, 0, -0.566), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.135, 0.504), (-0.502, 0.871), (-1.006, 1...
13
74
2.231481
train_20c0b38f4d22d440
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, -0.001, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.071, 0.111).lineTo(0.079, 0.105).threePointArc((-0.079, -0.111), (0.071, 0.111)).close().extrude(2, taper=-1.257) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.003, 0.18, -0.82...
5
10
0.175243
train_bbb8eafbc4948beb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0.006, 0.04), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.608, 0.235).threePointArc((0.881, 0.217), (0.997, 0.174)).lineTo(0.997, -0.046).threePointArc((0.935, -0.069), (0.789, -0.078)).lineTo(0.373, -0.078).threePointArc((0.111, -0.096), ...
13
175
0.30617
train_8f1b75bb02b5c630
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.126, 0.072, 0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.212, 0.695).threePointArc((0.148, 0.615), (0.479, 0.479)).threePointArc((0.574, 0.139), (0.874, -0.119)).lineTo(0.639, -0.695).threePointArc((0.239, -0.535), (-0.163, -0.693)).thr...
7
166
1.665729
train_2e9b2f3a0034be01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0.071, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.527, 0.928).threePointArc((0.572, 0.898), (0.591, 0.826)).lineTo(0.591, 0.601).threePointArc((0.582, 0.57), (0.563, 0.557)).lineTo(-0.211, 0.557).threePointArc((-0.314, 0.487), (-0...
5
63
0.227375
train_7e4f2465aeae58a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.146, 0, -0.242), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.594, 0.292).lineTo(0.84, 0.086).threePointArc((0.853, 0.062), (0.845, 0.037)).lineTo(0.576, -0.287).threePointArc((0.553, -0.3), (0.527, -0.292)).lineTo(0.28, -0.086).threePointArc((0...
9
102
0.870296
train_ff26eb517823305a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.237, 0.612, -0.339), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.048, 0.004).lineTo(0.048, -0.006).threePointArc((-0.048, -0.007), (0, -0.005)).lineTo(-0.048, 0.004).threePointArc((0.048, 0.007), (0.048, 0.004)).close().moveTo(0.004, 0.005).lin...
6
78
0.866144
train_9914b4c882a932ec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.588), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.814, 1.176).lineTo(0.814, 0.548).lineTo(1, 0.548).lineTo(1, 0).lineTo(0.381, 0).lineTo(0.381, 1.176).lineTo(0.814, 1.176).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
4
17
2.474984
train_e67e9c3fd8bf3fc1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.051, -0.047, -0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.239, 0.54).lineTo(0.716, -0.54).lineTo(-0.557, -0.54).lineTo(-0.716, -0.54).lineTo(-0.716, 0.54).lineTo(-0.557, 0.54).lineTo(-0.239, 0.54).lineTo(0.239, 0.54).close().extrude(0.12...
22
294
0.53724
train_7bab755d40437b8d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.051, -0.035, 0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.295, 0.381).threePointArc((-0.252, 0.363), (-0.233, 0.319)).lineTo(-0.233, -0.009).threePointArc((-0.214, -0.056), (-0.167, -0.076)).lineTo(0.488, -0.076).threePointArc((0.523, -0...
30
146
0.863518
train_e3829d1dc2bf5053
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.189, 0, -0.83), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.151, 1.659).lineTo(0.151, 0.151).lineTo(0.377, 0.151).lineTo(0.377, 0).lineTo(0, 0).lineTo(0, 1.659).lineTo(0.151, 1.659).close().extrude(1, both=True) result = result.cut(cq.Workplan...
5
18
0.563092
train_44e3b62ff757a647
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.35, 0, -0.345), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.65, 0.689).lineTo(0.65, 0).lineTo(0.584, 0).lineTo(0.584, 0.546).lineTo(0.289, 0.546).lineTo(0.289, 0.689).lineTo(0.65, 0.689).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), ax...
3
12
0.563428
train_5e1025575ce5173f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.276), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.542).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.542).lineTo(-0.718, 0.542).lineTo(-0.718, 0.281).lineTo(0.718, 0.281).lineTo(0.718, 0.542).lineTo(1, 0.542).close().extrude(0.402, both=Tru...
2
15
0.59262
train_95b2396af6fdc2b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.23, 0.089).lineTo(1.23, 0).lineTo(0, 0).lineTo(0, 0.089).lineTo(1.23, 0.089).close().extrude(0.875, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0.23, 0, 0), normal=(0, 1, 0...
7
78
0.596784
train_b4edfd548ce75971
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.741), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.552, 1).lineTo(0.552, -1).lineTo(-0.053, -1).threePointArc((-0.406, -0.846), (-0.552, -0.497)).lineTo(-0.552, 0.733).lineTo(-0.289, 1).lineTo(0.552, 1).close().extrude(0.501) result = resu...
10
25
1.373228
train_46d7978f123456e2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.236), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.838).lineTo(1, 0.503).lineTo(-0.714, 0.503).lineTo(-0.714, 0.168).lineTo(1, 0.168).lineTo(1, -0.838).lineTo(-1, -0.838).lineTo(-1, -0.503).lineTo(0.714, -0.503).lineTo(0.714, -0.168).li...
3
82
0.304573
train_bca0b808f6bb01ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.763, 0.896, 2.199) result = result.edges().fillet(0.417) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.388).extrude(3.53, both=True)) ...
11
76
1.040989
train_e0f4d5417a1d9d28
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.587), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.174).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.174).lineTo(-0.486, 1.174).lineTo(-0.486, 0.514).lineTo(0.486, 0.514).lineTo(0.486, 1.174).lineTo(1, 1.174).close().extrude(0.257, both=Tru...
6
39
0.884153
train_8635025842b0ada8
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.095, 0.176).threePointArc((0.111, 0.169), (0.118, 0.15)).lineTo(0.118, 0.102).threePointArc((0.122, 0.092), (0.131, 0.088)).lineTo(0.181, 0.088).threePointArc((0.192, 0.083), (0.197, 0.071)).lineTo(0.197, 0.029).threePointArc((0.189, 0.009), (0.171,...
9
85
0.154544
train_3a12c8949923dbeb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.361), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.883).lineTo(1, -0.883).lineTo(-1, -0.883).lineTo(-1, 0.883).lineTo(-0.366, 0.883).lineTo(-0.366, -0.288).lineTo(0.366, -0.288).lineTo(0.366, 0.883).lineTo(1, 0.883).close().extrude(0.37...
11
26
0.944524
train_52b1b83ea0c92c18
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.401, -0.014, -0.467), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.599, 0.917).lineTo(0.599, 0.327).lineTo(0.522, 0.327).lineTo(0.522, 0).lineTo(0.205, 0).lineTo(0.205, 0.917).lineTo(0.599, 0.917).close().revolve(angleDegrees=360, axisStart=(0,...
11
70
0.246392
train_a6d113d4bf83c108
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, -0.004, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.101).lineTo(1, -0.293).lineTo(-1.003, -0.293).lineTo(-1.003, -0.165).lineTo(-1, -0.165).lineTo(-1, 0.293).lineTo(0.937, 0.293).threePointArc((1.072, 0.237), (1, 0.101)).close()...
14
32
0.125557
train_6938027668d72e25
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.046, -0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.907, 0.253).threePointArc((1.004, 0.233), (1.045, 0.186)).lineTo(1.045, 0.093).threePointArc((0.988, 0.028), (0.852, 0)).lineTo(0.625, 0).threePointArc((0.552, -0.015), (0.522, -0.05))...
8
19
0.282958
train_942576081f88db96
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.882, -0.452), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.096, 0.977).lineTo(0.259, 0.851).lineTo(0.469, 0.554).lineTo(0.335, 0.239).lineTo(0.152, -0.005).lineTo(-0.187, -0.118).lineTo(-0.224, -0.058).threePointArc((-0.267, -0.055), (-0.29,...
17
112
0.919548
train_38379bdd2faa97a7
import cadquery as cq import math result = cq.Workplane('XY').box(1.963, 1.046, 2) result = result.edges().fillet(0.112) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.355).extrude(3.926, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
7
114
2.525519
train_d597a901f31bfb39
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.009, 0, -0.383), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.228, 1).lineTo(0.639, 0.802).lineTo(1.025, 0).lineTo(0.639, -0.802).lineTo(-0.228, -1).lineTo(-0.923, -0.444).lineTo(-0.923, 0.444).lineTo(-0.228, 1).close().extrude(0.765) result = r...
10
103
1.145259
train_001524b0802a7525
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.375, 0.392).lineTo(0.375, -0.392).lineTo(-0.375, -0.392).lineTo(-0.375, 0.392).lineTo(-0.241, 0.392).lineTo(-0.241, -0.274).lineTo(0.241, -0.274).lineTo(0.241, 0.392).lineTo(0.375, 0.392).clos...
4
24
1.893336
train_78e8aa700cbf96b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.092, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.263, 0.693).lineTo(0.61, 0.263).lineTo(0.556, -0.239).lineTo(0.141, -0.508).lineTo(-0.308, -0.341).lineTo(-0.61, 0.106).lineTo(-0.311, 0.602).lineTo(0.263, 0.693).close().moveTo(-0.073, 0....
7
166
1.278379
train_28b1e5860f931fcb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.192, -0.562, -0.394), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.241, 0.486).threePointArc((0.241, 0.486), (0.482, 0.069)).threePointArc((0.241, -0.348), (-0.241, -0.348)).threePointArc((-0.482, 0.069), (-0.241, 0.486)).close().moveTo(0.016,...
7
167
0.655403
train_d175ab3ff531e7b9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.591, 0.401, 0.335), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.409, 0.514).lineTo(0.409, -0.395).threePointArc((-0.409, 0.059), (0.409, 0.514)).close().extrude(1.182) result = result.union(cq.Workplane(cq.Plane(origin=(-0.459, 0.46, 0.742), no...
9
374
3.155495
train_fc64b3e26a8fa869
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.053, 0.241, 0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.946, 0.592).lineTo(0.946, -0.658).lineTo(-0.06, -0.658).lineTo(-0.06, 0.592).threePointArc((0.003, 0.526), (0.065, 0.592)).threePointArc((0.128, 0.658), (0.191, 0.592)).threePointAr...
21
335
0.345498
train_7657f7eaf5302ed7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.179), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.295).lineTo(0.628, 0).lineTo(1, -0.295).lineTo(0.21, -0.295).lineTo(0.21, 0.295).lineTo(1, 0.295).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = res...
8
66
1.22369
train_e6fbad922c9c1964
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.093), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.33, 0.991).threePointArc((0.8, 0.799), (1, 0.329)).lineTo(1, -0.329).threePointArc((0.8, -0.799), (0.33, -0.991)).lineTo(-0.33, -0.991).threePointArc((-0.8, -0.799), (-1, -0.329)).lineTo(-...
9
186
0.622105
train_c9df9dc6c1694bc1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.599, -0.666, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.257, 0.334).threePointArc((0.53, 0.061), (0.257, -0.213)).lineTo(-0.257, -0.213).threePointArc((-0.53, 0.061), (-0.257, 0.334)).lineTo(0.257, 0.334).close().extrude(1.198) result = re...
23
557
1.983957
train_456c187463b8e0db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.712, -0.728, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.308, 0.684).lineTo(0.238, 0.515).threePointArc((0.323, 0.359), (0.305, 0.237)).threePointArc((0.224, 0.255), (0.231, 0.117)).lineTo(-0.076, 0.1).threePointArc((-0.137, 0.116), (-0.149...
3
26
1.781694
train_0f63e858c5d05ef8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.193, -0.083, -0.15), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.043, 0.851).lineTo(0.163, 0.641).lineTo(0.163, 0.47).lineTo(0.27, 0.284).lineTo(0.727, 0.284).lineTo(0.813, 0.134).lineTo(0.813, -0.067).lineTo(0.689, -0.284).lineTo(0.617, -0.284)...
10
124
1.360323
train_e78209e93db1095c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.7), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.799, 1.399).lineTo(0.799, 1.309).lineTo(1, 1.309).lineTo(1, 0.489).lineTo(0.903, 0.489).lineTo(0.903, 0).lineTo(0, 0).lineTo(0, 1.399).lineTo(0.799, 1.399).close().revolve(angleDegrees=360,...
6
127
1.485939
train_2cb34937911afe2f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.212), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.5, 1).lineTo(-0.5, 0.5).lineTo(0, 0.5).lineTo(0, 0).lineTo(0.5, 0).lineTo(0.5, 0.5).lineTo(1, 0.5).lineTo(1, -0.5).lineTo(0.5, -0.5).lineTo(0.5, -1).lineTo(0, -1).lineTo(0, -0.5).lineTo(-...
18
100
0.898625
train_2cfea52c58a5667a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.114, 0, -0.381), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.516) result = result.cut(cq.Workplane(cq.Plane(origin=(0.886, 0, -0.381), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.099, 0.434), (-0.376, 0.781), (-0.778, ...
10
87
1.619281
train_586f6670388d52e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.252, 0.025, -0.6), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.187, 0.39).threePointArc((0.187, 0.39), (0.374, 0.066)).threePointArc((0.187, -0.257), (-0.187, -0.257)).threePointArc((-0.374, 0.066), (-0.187, 0.39)).close().revolve(angleDegrees...
8
79
1.265084
train_8d492fbdf0832059
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.565, -0.186, 0.005), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.105, 0.354).threePointArc((0.105, 0.354), (0.21, 0.172)).threePointArc((0.105, -0.01), (-0.105, -0.01)).threePointArc((-0.21, 0.172), (-0.105, 0.354)).close().extrude(0.456) resu...
15
152
1.258654
train_b62f98f73041d881
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.223, -0.408), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.63, 0.185).lineTo(1, -0.185).lineTo(1.741, -0.185).lineTo(1, -0.185).lineTo(0.259, -0.185).lineTo(-0.111, -0.185).lineTo(0.63, 0.185).close().extrude(0.816).union(cq.Workplane(cq.Plan...
7
47
0.411942
train_fd6a0f31d73ca385
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.161, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.217, 0.811).threePointArc((0.354, 0.67), (0.392, 0.742)).lineTo(0.548, 0.636).threePointArc((0.609, 0.45), (0.675, 0.498)).lineTo(0.769, 0.336).threePointArc((0.744, 0.141), (0.825, 0.156))...
5
95
0.651289
train_990215310e0fd1ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.7, -0.304), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.202, 0.268).threePointArc((0.119, 0.272), (0.341, 0.212)).threePointArc((0.44, 0.095), (0.413, -0.034)).threePointArc((0.374, -0.091), (0.259, -0.203)).threePointArc((-0.108, -0.272), (...
19
220
0.16063
train_79e7c97e2016ac1c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.106, -0.414, 1.684), normal=(-0.523, 0.722, 0.453), xDir=(-0.81, -0.586, 0))).moveTo(0.279, 0.318).threePointArc((-0.279, -0.318), (-0.279, 0.318)).lineTo(0.279, 0.318).close().extrude(0.616, both=False) result = result.union(cq.Workplane(cq.Pla...
9
8
0.296904
train_b589cc894d5f248d
import cadquery as cq import math result = cq.Workplane('XY').box(2, 1.276, 1.634) result = result.edges().fillet(0.201) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.351).extrude(3.975, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
11
160
1.508686
train_cd38a9b74f23a977
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.03, 0, -0.311), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.621) result = result.cut(cq.Workplane(cq.Plane(origin=(0.03, 0, -0.311), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.516).extrude(1.859, both=True)) result = result.union(cq....
14
49
0.934742
train_f1c036b242154e86
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.096, -0.653), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.944, 0.9).threePointArc((0.983, 0.883), (1, 0.844)).lineTo(1, 0.642).threePointArc((0.975, 0.582), (0.916, 0.557)).lineTo(-0.345, 0.557).threePointArc((-0.565, 0.465), (-0.657, 0.245)...
5
80
1.858409
train_f4e4cc4c4fb1d5af
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.866, 1).threePointArc((0.955, 0.955), (1, 0.866)).lineTo(1, -0.785).lineTo(0.785, -0.785).lineTo(0.785, -1).lineTo(-0.701, -1).threePointArc((-0.905, -0.905), (-1, -0.701)).lineTo(-1, 1).l...
8
63
0.845073
train_6d4043afbaadbe3c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.033, 0, -0.249), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.897, 0.783).threePointArc((0.945, 0.763), (0.966, 0.714)).lineTo(0.966, -0.61).threePointArc((0.914, -0.732), (0.793, -0.783)).lineTo(-0.809, -0.783).threePointArc((-0.919, -0.737), (...
12
38
0.346304
train_236b6dd4f5ca0ecf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.396), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.603, 1).lineTo(0.8, 0.803).lineTo(0.8, -0.667).lineTo(0.467, -1).lineTo(-0.44, -1).lineTo(-0.8, -0.64).lineTo(-0.8, 0.669).lineTo(-0.469, 1).lineTo(0.603, 1).close().extrude(0.792) result ...
13
163
1.635941
train_a4d0affea588c170
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.196, -0.189, -0.543), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.086, 0.403).threePointArc((0.18, 0.364), (0.219, 0.27)).lineTo(0.219, -0.21).threePointArc((0.18, -0.304), (0.086, -0.343)).lineTo(-0.086, -0.343).threePointArc((-0.18, -0.304), ...
11
175
0.77458
train_9d61207a3ce1a6bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.348), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.485, 0.928).lineTo(-0.485, -0.456).lineTo(1, -0.456).lineTo(1, -0.928).lineTo(-1, -0.928).lineTo(-1, 0.928).lineTo(-0.485, 0.928).close().extrude(0.696, taper=2.943) result = result.cut(c...
21
18
1.104894
train_c6bd44b2901a1ee3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.436), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.493, 0.626).threePointArc((0.85, 0.477), (1, 0.119)).lineTo(1, -0.218).lineTo(0.592, -0.626).lineTo(-0.665, -0.626).threePointArc((-0.901, -0.528), (-1, -0.291)).lineTo(-1, 0.626).lineTo(0...
5
16
0.500515
train_fb1aa6a8b2d58662
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.521).extrude(0.952) result = result.cut(cq.Workplane(cq.Plane(origin=(0.521, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.153, 0.368), (-0.521, 0.521), (-0.889, 0...
7
52
0.599401
train_4fdaa0340142ce5d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.009, 0.002, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.934, -0.14).lineTo(0.985, -0.182).lineTo(0.955, -0.305).lineTo(0.894, -0.308).lineTo(0.838, -0.437).lineTo(0.873, -0.492).lineTo(0.805, -0.599).lineTo(0.746, -0.581).lineTo(0.652,...
12
203
0.384935
train_f51431d8154600f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.239), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.645, 0.709).lineTo(0.645, 0.177).lineTo(1, 0.177).lineTo(0.823, 0).lineTo(1, -0.532).lineTo(0.468, -0.355).lineTo(0.291, -0.709).lineTo(0.291, -0.177).lineTo(-0.064, -0.177).lineTo(0.113, ...
4
41
0.632341
train_7e3091c71dd46fb1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.049, 0.13, -0.411), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.035, 0.39).lineTo(0.083, 0.242).lineTo(0.14, 0.095).threePointArc((0.136, 0.021), (0.137, -0.053)).lineTo(0.006, -0.201).threePointArc((-0.019, -0.282), (0.035, -0.348)).threePoint...
27
525
0.775082
train_2e96e7eb9cf5a252
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.335, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.085, 0.671).lineTo(0.676, 0.314).lineTo(0.507, -0.581).lineTo(-0.339, -0.671).lineTo(-0.676, 0.134).lineTo(-0.085, 0.671).close().extrude(0.625, both=True).intersect(cq.Workplane(cq....
7
32
0.22829
train_18a4bd4d834f0b77
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.077, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.463, 0.112).lineTo(0.463, 0.022).threePointArc((0.506, 0.006), (0.611, 0)).lineTo(0.812, 0).threePointArc((0.891, -0.005), (0.925, -0.017)).lineTo(0.925, -0.053).threePointArc((0.895,...
23
178
0.22077
train_8b243617720e514e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.069, 0, -0.915), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.93).extrude(1.051) result = result.union(cq.Workplane(cq.Plane(origin=(-0.069, 0, -0.18), normal=(0.688, 0, 0.726), xDir=(0.726, 0, -0.688))).circle(0.407).extrude(1.124)) result = re...
12
69
1.597431
train_72051ba56b0ab0b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, -0.003, -0.174), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.816, -0.202).lineTo(0.964, -0.277).lineTo(0.94, -0.35).lineTo(0.784, -0.304).lineTo(0.689, -0.483).lineTo(0.799, -0.606).lineTo(0.75, -0.666).lineTo(0.621, -0.567).lineTo(0.468, ...
10
192
0.473824
train_74c0d6f0398674c7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.436), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.354, 0.231).lineTo(0.354, -0.231).lineTo(-0.354, -0.231).lineTo(-0.354, 0.231).lineTo(0.354, 0.231).close().extrude(0.369, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0,...
8
59
0.855856
train_d6b69fb6d916eddb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.06, -0.386), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.397, 0.157).lineTo(0.397, -0.157).lineTo(-0.397, -0.157).lineTo(-0.397, 0.157).lineTo(0.397, 0.157).close().extrude(0.226, both=True) result = result.union(cq.Workplane(cq.Plane(origin=...
13
99
0.332785
train_6e355ba9aee57881
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.325), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.5).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.5).lineTo(-0.6, 0.5).lineTo(-0.6, 0.4).lineTo(0.6, 0.4).lineTo(0.6, 0.5).lineTo(1, 0.5).close().extrude(0.39, both=True) result = result.unio...
3
40
0.715849
train_80aa067539a1a199
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.198).lineTo(1, 0.114).threePointArc((0.947, 0.09), (0.842, 0.079)).lineTo(0.579, 0.079).threePointArc((0.405, 0.062), (0.332, 0.02)).lineTo(0.332, -0.186).threePointArc((0.268, -0.222),...
9
60
0.09614
train_7701e920b1606fe4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.006, 0.57, 0.071), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.091, 0.418).lineTo(0.133, 0.261).threePointArc((0.142, 0.248), (0.158, 0.247)).lineTo(0.316, 0.289).threePointArc((0.327, 0.289), (0.333, 0.279)).lineTo(0.381, 0.102).lineTo(0.429, -...
6
391
0.269511
train_8d23286bde1e1acc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(3.828, 0.006, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-2.829, 0.307).lineTo(-2.829, -0.172).threePointArc((-2.521, -0.209), (-1.794, -0.225)).lineTo(4.569, -0.225).threePointArc((4.751, -0.229), (4.828, -0.239)).lineTo(4.828, -0.317).threePo...
4
38
2.624786
train_6989d949d89786b6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.557, 0.029, -0.275), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.415, 0.548).lineTo(0.415, -0.548).threePointArc((0.043, -0.92), (-0.329, -0.548)).lineTo(-0.29, -0.183).lineTo(-0.415, 0.183).lineTo(-0.329, 0.548).threePointArc((0.043, 0.92), (0...
14
109
1.56312
train_43e311fbc7ac2a5f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.179, -0.128, 0.041), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.718, 0.527).lineTo(0.399, -0.59).threePointArc((-0.718, -0.27), (0.718, 0.527)).close().moveTo(-0.33, 0.59).lineTo(0.462, 0.458).threePointArc((-0.462, -0.202), (-0.33, 0.59)).clo...
5
99
0.782855
train_a4211ca496375a8e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.506, 0.206, 0.216), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.151, 0.317).threePointArc((0, 0.167), (-0.151, 0.317)).threePointArc((0, 0.468), (0.151, 0.317)).close().workplane(offset=0.164).moveTo(0.19, 0.317).threePointArc((0, 0.128), (-0.1...
14
306
0.348861
train_a47fb9dd28c133f8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.909, 0.688, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.458, 0.956).lineTo(0.439, -0.091).lineTo(-0.458, 0.449).lineTo(0.458, 0.956).close().extrude(1.376) result = result.faces('>Z').shell(-0.036) result = result.union(result.mirror(mirror...
7
42
0.251535
train_cab2b9a1814590e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.473, 0.543, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.456, 0).threePointArc((0, -0.456), (-0.456, 0)).threePointArc((0, 0.456), (0.456, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.473, 0.543, -0.505), normal=(0, -1, 0), xDir=(1,...
6
84
1.06048
train_4f635bb99458b210
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.77, 2).lineTo(0.77, 0.376).lineTo(0.761, 0.376).lineTo(0.761, 0).lineTo(0.263, 0).lineTo(0.263, 2).lineTo(0.77, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) re...
8
86
1.778737
train_649e0188c2325f49
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.137, 0.42).lineTo(0.358, 0.26).lineTo(0.442, 0).lineTo(0.358, -0.26).lineTo(0.137, -0.42).lineTo(-0.137, -0.42).lineTo(-0.358, -0.26).lineTo(-0.442, 0).lineTo(-0.358, 0.26).lineTo(-0.137, 0.42...
2
13
0.231932
train_08d454714ee63a19
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.351), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.166).lineTo(1, -0.17).lineTo(0.984, -0.179).lineTo(-1, -0.179).lineTo(-1, 0.173).threePointArc((-0.991, 0.177), (-0.988, 0.179)).lineTo(0.98, 0.179).threePointArc((0.989, 0.175), (1, 0....
11
61
0.320162
train_aa243a5d8b72fa91
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.673, 0.618, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.65, 1.673).lineTo(0.65, -0.327).lineTo(-0.65, -0.327).lineTo(-0.65, 0.006).lineTo(-0.433, 0.006).lineTo(-0.433, 0.339).lineTo(-0.217, 0.339).lineTo(-0.217, 0.673).lineTo(0, 0.673).line...
8
59
1.748661
train_307e3a53a8210c0b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.387, -0.24), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.614, 0.593).lineTo(0.614, -0.597).lineTo(0.598, -0.613).lineTo(-0.589, -0.613).threePointArc((-0.607, -0.606), (-0.614, -0.588)).lineTo(-0.614, 0.613).lineTo(0.596, 0.613).lineTo(0.596,...
12
48
0.463109
train_c71edec15d6bf9ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.076), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.856, 0.455).lineTo(1, 0.405).lineTo(0.841, 0).lineTo(0.977, -0.05).lineTo(0.927, -0.185).lineTo(0.795, -0.135).lineTo(0.746, -0.27).lineTo(0.877, -0.32).lineTo(0.829, -0.455).lineTo(0.426...
5
73
1.547776
train_dd36d9afcfad3849
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.201, 0.249, -0.199), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.481, 0.371).lineTo(0.773, 0.304).lineTo(0.239, -0.063).lineTo(0.646, -0.156).lineTo(0.334, -0.371).lineTo(-0.773, -0.117).lineTo(-0.46, 0.097).lineTo(-0.053, 0.004).lineTo(0.481, ...
21
148
3.153465
train_d991cbbb02f0dfb2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.115), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.619, 0.898).lineTo(1.017, -0.898).lineTo(-1.017, -0.898).lineTo(-0.619, 0.898).lineTo(0.619, 0.898).close().extrude(0.878, both=True).intersect(cq.Workplane(cq.Plane(origin=(0, 0, 0.115), n...
10
66
1.308235
train_0874d49a4e78a05e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.53, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.378).extrude(1.503) result = result.union(cq.Workplane(cq.Plane(origin=(-0.53, 0, 0.053), normal=(0.886, 0, 0.463), xDir=(0.463, 0, -0.886))).circle(0.303).extrude(1.464)) result = res...
7
19
0.838343
train_dce44f80294caf01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.196), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.816, 0.391).lineTo(0.911, 0.261).lineTo(1, 0.136).lineTo(1, 0).lineTo(0.834, 0).lineTo(0.834, 0.117).lineTo(0.739, 0.261).lineTo(0, 0.234).lineTo(0, 0.391).lineTo(0.816, 0.391).close().re...
6
48
0.147422
train_531b7d6f9bd697ab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.047, 0, 0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.047, 0.67).lineTo(0.666, -0.086).threePointArc((0.602, -0.734), (-0.047, -0.67)).lineTo(-0.666, 0.086).threePointArc((-0.602, 0.734), (0.047, 0.67)).close().extrude(3.228, both=True) r...
12
93
0.742275
train_396f810a50101307
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.195, -0.529, 0.211), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.098, 0.598).threePointArc((0.336, 0.5), (0.435, 0.261)).lineTo(0.435, -0.16).threePointArc((0.336, -0.398), (0.098, -0.497)).lineTo(-0.098, -0.497).threePointArc((-0.336, -0.398), ...
12
151
0.560865
train_e8749cde539312a6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.959, 0.124).lineTo(0.959, 0.082).threePointArc((0.939, 0.076), (0.89, 0.073)).lineTo(0.355, 0.073).threePointArc((0.3, 0.071), (0.277, 0.064)).lineTo(0.277, -0.124).threePointArc((0.242, -...
10
188
0.098827
train_d6c0efdc65cf5632
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.755, 0.595).lineTo(1, 0.349).lineTo(1, -0.423).lineTo(0.828, -0.595).lineTo(-0.808, -0.595).lineTo(-1, -0.403).lineTo(-1, 0.399).lineTo(-0.804, 0.595).lineTo(0.755, 0.595).close().extrude(...
10
116
0.404507
train_0bcb1df662f31065
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.051, -0.3, 0.023), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.431, 1.079).lineTo(-0.27, 0.918).lineTo(-0.27, 0.633).lineTo(-0.177, 0.54).lineTo(1.229, 0.54).lineTo(1.349, 0.419).lineTo(1.349, 0.14).lineTo(1.489, 0).lineTo(1.781, 0).lineTo(1.8...
11
193
1.176734
train_c5225d93d8938cc0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.315, 0, -0.503), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.497, 0.793).lineTo(0.497, -0.162).lineTo(-0.497, -0.162).lineTo(-0.497, 0.793).lineTo(-0.261, 0.793).lineTo(-0.261, 0.336).lineTo(0.261, 0.336).lineTo(0.261, 0.793).lineTo(0.497, 0.79...
6
22
1.674231
train_e244ff708dcea18a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.466, 0.936).threePointArc((0.834, 0.791), (1, 0.44)).lineTo(1, -0.865).threePointArc((0.969, -0.915), (0.916, -0.936)).lineTo(0.687, -0.936).threePointArc((0.553, -0.883), (0.498, -0.762))...
8
63
0.335319
train_026d90f4615a2267
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.4, 0.544).lineTo(1, -0.544).lineTo(-0.8, -0.544).lineTo(-1, -0.544).lineTo(-0.8, 0.544).lineTo(-0.2, 0.544).lineTo(0.4, 0.544).close().extrude(0.36, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.221, -0.708), normal=(0, 1, 0), x...
5
14
1.245057