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_a02909463f8a26b5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.016, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.646, 0.354).threePointArc((1, 0), (0.646, -0.354)).lineTo(-0.646, -0.354).threePointArc((-1, 0), (-0.646, 0.354)).lineTo(0.646, 0.354).close().extrude(0.36) result = result.union(cq.Wor...
7
39
0.395451
train_249ef4724aa8d8ae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.932, 0.182).lineTo(0.932, 0.12).lineTo(-0.614, 0.12).lineTo(-0.614, -0.12).lineTo(0.932, -0.12).lineTo(0.932, -0.182).lineTo(-0.932, -0.182).lineTo(-0.932, 0.182).lineTo(0.932, 0.182).clos...
21
105
0.160964
train_30f2d9e65c2ad9c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.256, -0.194, -0.264), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.226, 0.606).lineTo(0.281, 0.487).lineTo(0.594, 0.271).lineTo(0.551, -0.108).lineTo(0.606, -0.226).lineTo(0.303, -0.508).lineTo(0.271, -0.594).lineTo(-0.108, -0.551).lineTo(-0.226...
16
456
0.340281
train_cb79e43a89a71a53
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.088), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.978, 0.119).threePointArc((0.988, 0.115), (1, 0.106)).lineTo(1, 0.082).threePointArc((0.989, 0.075), (0.981, 0.072)).lineTo(0.718, 0.072).threePointArc((0.712, 0.069), (0.709, 0.063)).lin...
1
26
0.780065
train_6984ffb43803018e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.251, -0.176, 0.039), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.427, 0.581).lineTo(0.427, -0.086).lineTo(0.225, -0.086).lineTo(0.225, 0.17).lineTo(-0.225, 0.17).lineTo(-0.225, -0.086).lineTo(-0.427, -0.086).lineTo(-0.427, 0.581).lineTo(-0.225,...
3
84
0.291944
train_f107661e49ed85a5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.107, -0.352, -0.047), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.137, 0.644).lineTo(0.385, 0.533).threePointArc((0.463, 0.443), (0.549, 0.36)).lineTo(0.656, 0.083).threePointArc((0.651, -0.005), (0.653, -0.092)).lineTo(0.532, -0.376).threePoin...
16
169
0.18156
train_57482773e48b9e2b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.234, 0, -0.324), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.101, 0.636).lineTo(0.161, 0.576).threePointArc((0.188, 0.534), (0.192, 0.485)).lineTo(0.101, -0.245).threePointArc((0.003, -0.636), (0.003, -0.245)).lineTo(0.003, 0.343).threePointArc(...
6
45
0.287085
train_838700f13eda3569
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.141, 0.183).workplane(offset=2).rect(0.435, 0.133).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.067, 0.085, -0.72), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.06, 0.118).lineTo...
4
40
0.087976
train_54d6ea8b33546474
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.323), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.886).lineTo(1, 0.539).lineTo(0.175, 0.539).lineTo(0.175, -0.886).lineTo(-0.175, -0.886).lineTo(-0.175, 0.539).lineTo(-1, 0.539).lineTo(-1, 0.886).lineTo(1, 0.886).close().extrude(0.646,...
5
32
0.510872
train_37656d1693580b10
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.244), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.953, 0.998).lineTo(0.953, 0.143).lineTo(-0.635, 0.143).lineTo(-0.635, -0.143).lineTo(0.953, -0.143).lineTo(0.953, -0.998).lineTo(-0.953, -0.998).lineTo(-0.953, -0.712).lineTo(0.635, -...
9
191
1.592738
train_2ca9c6692f26fbcb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.791, 0.411).threePointArc((0.937, 0.35), (1, 0.202)).lineTo(1, -0.186).threePointArc((0.933, -0.346), (0.775, -0.411)).lineTo(-0.856, -0.411).lineTo(-1, -0.269).lineTo(-1, 0.199).lineTo(-0...
6
13
0.289635
train_1c286f00589e2812
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.275, -0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.724).extrude(0.569) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.275, -0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.519).extrude(1.708, both=True)) result = result.uni...
13
34
0.906727
train_f988fbd70b705aa9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.218, -0.563, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.357, -0.069).lineTo(0.333, -0.134).lineTo(0.296, -0.193).lineTo(0.244, -0.245).lineTo(0.182, -0.286).lineTo(0.112, -0.314).lineTo(0.038, -0.328).lineTo(-0.038, -0.328).lineTo(-0.1...
8
68
0.62618
train_b4f487979e832fc8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.047, -1, -0.122), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.73, 0.879).threePointArc((0.788, 0.855), (0.812, 0.797)).lineTo(0.812, -0.703).threePointArc((0.788, -0.762), (0.73, -0.786)).lineTo(-0.73, -0.786).threePointArc((-0.788, -0.762), (-...
10
65
5.424219
train_85e308b1f4652966
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.153, 0, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.575, 0.28).threePointArc((0.854, 0), (0.575, -0.28)).lineTo(0, -0.28).lineTo(-0.575, -0.28).threePointArc((-0.854, 0), (-0.575, 0.28)).lineTo(0, 0.28).lineTo(0.575, 0.28).close().extr...
6
80
0.144546
train_edf4b6b29b907a53
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.333, -0.116, -0.383), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.033, 0.074).threePointArc((0.318, 0.277), (0.521, -0.074)).threePointArc((0.17, -0.277), (-0.033, 0.074)).close().extrude(0.848).union(cq.Workplane(cq.Plane(origin=(-0.333, -0.1...
10
248
0.60113
train_2c57c082399f9454
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.019, -0.043, 0.065), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.026, 0.331).lineTo(0.186, 0.265).lineTo(0.288, 0.068).lineTo(0.222, -0.143).lineTo(0.026, -0.245).lineTo(-0.186, -0.179).lineTo(-0.288, 0.017).lineTo(-0.222, 0.228).lineTo(-0.026...
9
123
0.422785
train_b087869a4e5c383a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.91, 0.521).workplane(offset=2).rect(1.279, 0.23).loft() result = result.faces('>Z').shell(-0.03) result = result.edges(cq.selectors.NearestToPointSelector((0, -0.228, -0.97))).fillet(0.059) resu...
4
16
0.255305
train_6e3aa1d11a738618
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.587, -0.327, -0.282), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.135).threePointArc((0.096, 0.096), (0.135, 0)).threePointArc((0.096, -0.096), (0, -0.135)).threePointArc((-0.096, -0.096), (-0.135, 0)).threePointArc((-0.096, 0.096), (0, 0.13...
2
13
0.221092
train_879c2e812250f8b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.061, 0.184), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.23).lineTo(1, -0.23).lineTo(-1, -0.23).lineTo(-1, 0.23).lineTo(-0.537, 0.23).lineTo(-0.537, -0.149).lineTo(0.537, -0.149).lineTo(0.537, 0.23).lineTo(1, 0.23).close().extrude(0.082) r...
6
50
0.063189
train_5afd541f0d206e2a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.251, -0.132, 0.298), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.291, 0.129).threePointArc((0.392, 0.028), (0.291, -0.073)).lineTo(0.146, -0.128).lineTo(0, -0.129).lineTo(-0.146, -0.117).lineTo(-0.291, -0.073).threePointArc((-0.392, 0.028), (-...
10
342
0.223589
train_234786c4672b26bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.095, -0.328), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.52).lineTo(1, -0.52).lineTo(-1, -0.52).lineTo(-1, 0.319).lineTo(-0.795, 0.319).lineTo(-0.795, 0.52).lineTo(1, 0.52).close().extrude(0.657) result = result.union(cq.Workplane(cq.Plan...
11
144
1.080199
train_a1405016a576d7af
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.339, 0, -0.291), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.661).extrude(0.581) result = result.union(cq.Workplane(cq.Plane(origin=(0.339, 0, 0.116), normal=(0.263, 0, 0.965), xDir=(0.965, 0, -0.263))).circle(0.16).extrude(1.543)) result = resu...
11
34
0.67647
train_cc0aa8ce7a316321
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.164, 0, 0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.8, 0.8).lineTo(0.8, -0.8).threePointArc((-0.8, 0), (0.8, 0.8)).close().extrude(0.832, both=True).intersect(cq.Workplane(cq.Plane(origin=(-0.164, 0, 0.094), normal=(0, -1, 0), xDir=(1, ...
3
18
0.200612
train_9c071cb44afdc8a1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.18, -0.068, -0.55), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.411, 0.028).lineTo(0.411, 0.004).lineTo(0.358, 0.004).lineTo(0.358, -0.004).lineTo(0.411, -0.004).lineTo(0.411, -0.028).lineTo(0.334, -0.028).lineTo(0.334, 0.028).lineTo(0.411, 0.0...
10
142
0.640038
train_6e5c59e8a0e2027a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.241), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.846, 0.843).lineTo(1, 0.701).lineTo(1, -0.639).lineTo(0.787, -0.843).lineTo(-0.755, -0.843).lineTo(-1, -0.606).lineTo(-1, 0.553).lineTo(-0.703, 0.843).lineTo(0.846, 0.843).close().extrude(...
7
154
1.022145
train_cde54c1842bee739
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 0.75).lineTo(0.5, 0.25).lineTo(1, 0.25).lineTo(1, -0.25).lineTo(0.5, -0.25).lineTo(0.5, -0.75).lineTo(0, -0.75).lineTo(0, -0.25).lineTo(-1, -0.25).lineTo(-1, 0.75).lineTo(0.5, 0.75).clos...
12
31
0.743455
train_8cce4d697d5df001
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.049, 0, -0.071), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.024, 1).threePointArc((0.182, 0.925), (0.249, 0.771)).lineTo(0.249, 0.141).threePointArc((0.291, 0.042), (0.39, 0)).lineTo(0.647, 0).threePointArc((0.717, -0.03), (0.747, -0.1)).lineT...
9
174
0.48676
train_149f1cbd43eb6090
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.065, 0, -0.544), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.479, 0).threePointArc((0.412, -0.067), (0.345, 0)).threePointArc((0.412, 0.067), (0.479, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.065, 0, -0.544), normal=(0, 0, 1), xDir=(1, ...
11
150
0.627149
train_1c12d3c805e529f5
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(0.999, 0.238).lineTo(0.765, 0).lineTo(0.999, -0.238).lineTo(0.274, -0.238).lineTo(0.274, 0.238).lineTo(0.999, 0.238).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.551, ...
9
45
0.673938
train_6f50b9c8f3e47f26
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.362, 0.312, -0.284), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.349).threePointArc((0.119, 0.3), (0.168, 0.181)).threePointArc((0.119, 0.061), (0, 0.012)).threePointArc((-0.119, 0.061), (-0.168, 0.181)).threePointArc((-0.119, 0.3), (0, 0.349...
7
39
1.141052
train_cf4f98ab529c47aa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.332), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.663) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.332), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.704).extrude(1.983, both=True)) result = result.union(cq.Workpl...
10
34
1.457859
train_90c57f094f36f7f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.433, 0.098, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.118, 0.049).lineTo(0.128, 0.042).threePointArc((0.15, 0.025), (0.153, 0.006)).threePointArc((0.145, -0.006), (0.156, -0.014)).threePointArc((0.101, -0.041), (0.09, -0.033)).threePoint...
14
262
0.132394
train_969532f1d167274c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, -0.004, -0.407), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.59, -0.087).lineTo(0.949, -0.152).lineTo(1.002, -0.355).lineTo(0.739, -0.258).lineTo(0.4, -0.21).threePointArc((0.031, -0.297), (-0.431, -0.292)).lineTo(-0.634, -0.326).lineTo(-1...
21
169
0.691112
train_a4123769521871f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.114, 0, 0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.673, 0.939).threePointArc((0.822, 0.912), (0.885, 0.849)).lineTo(0.885, -0.876).threePointArc((0.841, -0.92), (0.737, -0.939)).lineTo(0.235, -0.939).threePointArc((0.07, -0.91), (0, -0...
7
153
1.82012
train_fb5755cf5b2186b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.049, 0, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.504, 0.874).lineTo(1.009, 0).lineTo(0.504, -0.874).lineTo(-0.504, -0.874).lineTo(-1.009, 0).lineTo(-0.504, 0.874).lineTo(0.504, 0.874).close().extrude(1.112) result = result.union(cq.W...
4
95
2.929556
train_229818b0a0385eb3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.107, 0.426, -0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.573, 0).threePointArc((0, -0.573), (-0.573, 0)).threePointArc((0, 0.573), (0.573, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.107, 0.426, -0.004), normal=(0, -1, 0), xDir=(...
8
887
0.517063
train_28907b48321013c3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.512, 0.482, 0.459), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.089, 0.507).threePointArc((0.122, 0.391), (0.3, 0.171)).threePointArc((0.398, -0.095), (0.39, -0.336)).threePointArc((0.277, -0.485), (0.089, -0.507)).threePointArc((-0.122, -0.3...
18
150
1.890096
train_128258b4a6d5e539
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.28), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.746, 2).extrude(0.561) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.28), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.1, -0.274).lineTo(0.1, -0.724).lineTo(-0.1, -0.724).close()...
11
42
0.575222
train_005c6156b93df193
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(2.557, -1.422, -0.214), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.92, 2.379).lineTo(-0.92, -0.805).lineTo(2.689, -0.805).lineTo(2.689, -2.379).lineTo(-2.689, -2.379).lineTo(-2.689, 2.379).lineTo(-0.92, 2.379).close().extrude(0.504, taper=-10.90...
17
2,053
0.137136
train_dfe00144a720738e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.904), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.127, 0.529).lineTo(0.923, 0.262).lineTo(1, -0.291).lineTo(-1, -0.529).lineTo(-0.99, -0.125).lineTo(-0.127, 0.529).close().extrude(1.807) result = result.faces('<X').edges().fillet(0.137) ...
2
11
2.525342
train_82d0d11d061fc21b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.08, -0.364, -0.456), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.331, 0.673).threePointArc((0.479, 0.611), (0.54, 0.463)).lineTo(0.54, 0.264).threePointArc((0.479, 0.115), (0.331, 0.055)).lineTo(-0.331, 0.055).threePointArc((-0.479, 0.115), (-0...
18
311
1.593553
train_01fb1cb9dd7ffac3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.128), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0).threePointArc((0.468, -0.532), (-0.064, 0)).threePointArc((0.468, 0.532), (1, 0)).close().moveTo(0.734, 0).threePointArc((0.601, -0.266), (0.335, 0)).threePointArc((0.601, 0.133), (0.7...
3
22
0.086602
train_d850576f0ed602fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.416), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.65, 1).threePointArc((0.718, 0.963), (0.747, 0.895)).lineTo(0.747, -0.794).threePointArc((0.687, -0.932), (0.546, -1)).lineTo(-0.015, -1).threePointArc((-0.179, -0.922), (-0.249, -0.762))....
11
106
1.319198
train_b141e14d77743e8a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.229, 0.152, 0.242), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.327, 0.725).threePointArc((0.435, 0.68), (0.48, 0.572)).lineTo(0.48, -0.391).threePointArc((0.435, -0.499), (0.327, -0.543)).lineTo(-0.327, -0.543).threePointArc((-0.435, -0.499), ...
13
100
0.336131
train_582f673c2a9f6967
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.186, 0, 0.411), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.5, 0.231).threePointArc((0.709, -0.231), (0.037, 0.022)).lineTo(0.5, 0.231).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.union(cq.Workplan...
14
101
1.350912
train_5d6a864787618a08
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.122, -0.157, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.142, 0.608).lineTo(0.142, -0.294).threePointArc((0, -0.436), (-0.142, -0.294)).lineTo(-0.142, 0.608).threePointArc((0, 0.75), (0.142, 0.608)).close().extrude(2) result = result.cut(cq...
23
19
1.191382
train_2b4ff18ba2fd4753
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.756, -0.599, -0.406), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.616).threePointArc((0.436, 0.436), (0.616, 0)).lineTo(0.273, 0).threePointArc((0.193, 0.193), (0, 0.273)).lineTo(0, 0.616).close().extrude(0.734) result = result.union(cq.Work...
8
50
0.352196
train_3e570fdabecf96a1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.194, -0.009, -0.414), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.822, 0.828).lineTo(0.822, 0).lineTo(-0.822, 0).lineTo(-0.822, 0.828).lineTo(-0.566, 0.828).lineTo(-0.566, 0.256).lineTo(0.566, 0.256).lineTo(0.566, 0.828).lineTo(0.822, 0.828).c...
6
54
0.342203
train_eb89e51951e35dd7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.211, 0.113, 0.14), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.636, 0.517).lineTo(0.636, -0.517).lineTo(-0.636, -0.517).lineTo(-0.636, 0.517).lineTo(-0.328, 0.517).lineTo(-0.328, -0.21).lineTo(0.328, -0.21).lineTo(0.328, 0.517).lineTo(0.636, 0.5...
13
106
0.912331
train_b5b5a4356cc4e999
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.026, 0.03, -0.573), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.706, -0.499).lineTo(0.493, -0.285).threePointArc((0.364, -0.209), (0.214, -0.22)).lineTo(-0.623, -0.499).threePointArc((-0.956, -0.499), (-0.956, -0.166)).lineTo(-0.179, 0.093).thre...
5
249
1.564365
train_9aef8e09cb8090f3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.644), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.288).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.288).lineTo(-0.636, 1.288).lineTo(-0.636, 0.364).lineTo(0.636, 0.364).lineTo(0.636, 1.288).lineTo(1, 1.288).close().extrude(0.3, both=True)...
12
66
0.862982
train_e6754d4409537704
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.027, -0.523), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.322, 0.785).threePointArc((-0.232, 0.918), (0.382, 0.721)).lineTo(0.507, 0.699).lineTo(0.713, 0.076).lineTo(0.637, -0.369).lineTo(0.834, -0.477).lineTo(0.9, -0.697).threePointArc((0....
9
137
1.219731
train_d1dda1c739ae87b6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.252), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.503) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.252), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.506).extrude(1.507, both=True)) result = result.union(cq.Workpl...
13
9
1.57996
train_911a1a5244cf1263
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.043, 0, -0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.434, 0.806).threePointArc((0.531, 0.748), (0.572, 0.611)).lineTo(0.572, 0.473).threePointArc((0.616, 0.329), (0.718, 0.269)).lineTo(0.842, 0.269).threePointArc((0.921, 0.222), (0.954,...
8
296
0.633486
train_fce2ecae6e520893
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.174, -0.7), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.34).lineTo(1, 0.235).lineTo(-0.569, 0.235).lineTo(-0.569, -0.235).lineTo(1, -0.235).lineTo(1, -0.34).lineTo(-1, -0.34).lineTo(-1, 0.34).lineTo(1, 0.34).close().extrude(0.511, taper=6....
21
152
0.421885
train_f4c054f8d19fe6da
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.736, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.064, 0.49).threePointArc((0.026, 0.451), (0.091, 0.377)).threePointArc((0.146, 0.344), (0.234, 0.355)).threePointArc((0.348, 0.351), (0.429, 0.289)).threePointArc((0.441, 0.189), (0.407, ...
6
64
0.843234
train_19643aceecfe8c93
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.023, 0, -0.251), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.518, 0.502).lineTo(0.518, 0).lineTo(-0.518, 0).lineTo(-0.518, 0.502).lineTo(-0.378, 0.502).lineTo(-0.378, 0.139).lineTo(0.378, 0.139).lineTo(0.378, 0.502).lineTo(0.518, 0.502).close()...
5
145
0.090151
train_26e4a22ddc60cb36
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.418, 0.059, 0.068), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.268, 0.509).threePointArc((-0.162, 0.539), (-0.069, 0.478)).lineTo(0.117, 0.424).lineTo(0.212, 0.19).lineTo(0.432, 0.201).lineTo(0.582, 0.075).lineTo(0.49, -0.104).lineTo(0.157, 0...
14
110
0.166915
train_4387bf9970a2c5c0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.021, -0.449), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.442, 1.021).lineTo(0.442, 0.925).lineTo(0.538, 0.925).lineTo(0.538, -0.801).threePointArc((0.475, -0.957), (0.319, -1.021)).lineTo(-0.368, -1.021).lineTo(-0.368, -0.85).lineTo(-0.538,...
13
98
1.260194
train_c7a356d90e21c1b5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.289, -0.79, -0.449), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.047, 1.316).threePointArc((0.32, 1.203), (0.433, 0.929)).lineTo(0.433, 0.652).threePointArc((0.32, 0.378), (0.047, 0.266)).lineTo(-0.047, 0.266).threePointArc((-0.32, 0.378), (-0....
16
76
1.045594
train_cd1502dca11c6848
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.504, 0.146, -0.818), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.285, 0).threePointArc((0, -0.285), (-0.285, 0)).threePointArc((0, 0.285), (0.285, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.504, 0.146, -0.818), normal=(1, 0, 0), xDir=(...
7
64
1.186944
train_4ea5d0920e822855
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0, 0.042), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.019, 0.105).lineTo(0.082, 0.068).lineTo(0.106, 0).lineTo(0.082, -0.068).lineTo(0.019, -0.105).lineTo(-0.053, -0.093).lineTo(-0.1, -0.037).lineTo(-0.1, 0.037).lineTo(-0.053, 0.093).line...
9
44
0.025163
train_c5938e75b6868a2d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.271), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.291, 0.414).lineTo(1.291, -0.414).lineTo(-1.291, -0.414).lineTo(-1.291, 0.414).lineTo(1.291, 0.414).close().extrude(0.181) result = result.union(cq.Workplane(cq.Plane(origin=(-0.646, 0, -0...
17
62
0.493707
train_73ef5894b30cd92e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.187), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.878, 0.647).lineTo(0.878, 0.525).lineTo(1, 0.525).lineTo(1, -0.516).lineTo(0.868, -0.516).lineTo(0.868, -0.647).lineTo(-0.856, -0.647).lineTo(-0.856, -0.504).lineTo(-1, -0.504).lineTo(-1, ...
3
47
0.31866
train_9f9a6bd4529691a1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.474), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.222, 1.936).lineTo(0.222, 0.947).lineTo(1, 0.947).lineTo(1, 0).lineTo(0, 0).lineTo(0, 1.936).lineTo(0.222, 1.936).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))...
5
22
2.056503
train_8bfeb1d4249ff325
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.292, 0, -0.228), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.228, 0.457).lineTo(0.228, 0.228).lineTo(0.584, 0.228).lineTo(0.584, 0).lineTo(0, 0).lineTo(0, 0.457).lineTo(0.228, 0.457).close().extrude(1, both=True) result = result.cut(cq.Workpla...
11
143
0.295156
train_a99f61500256203e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.083, 0.409, 0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.591).threePointArc((0.418, 0.418), (0.591, 0)).threePointArc((0.418, -0.418), (0, -0.591)).threePointArc((-0.418, -0.418), (-0.591, 0)).threePointArc((-0.418, 0.418), (0, 0.591)...
5
52
0.481969
train_8c0d6e29e3faa54e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.501, -0.657, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.495, 0.659).threePointArc((0, 0.164), (-0.495, 0.659)).threePointArc((0, 1.15), (0.495, 0.659)).close().revolve(angleDegrees=270, axisStart=(0.501, -0.541), axisEnd=(0.501, 0.541)) re...
14
893
1.638988
train_3bc89fadcda03982
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.501).extrude(2.838) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.986), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.618).extrude(2.164)) result = result.cut(cq.Workplane(cq.Plane...
9
38
0.460637
train_a9c57c751745c7ce
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.835, 0.645).lineTo(0.835, 0.092).lineTo(-0.596, 0.092).lineTo(-0.596, -0.092).lineTo(0.835, -0.092).lineTo(0.835, -0.645).lineTo(-0.835, -0.645).lineTo(-0.835, -0.461).lineTo(0.596, -0.461).lineTo(0.596, -0.276).lineTo(-0.835, -0.276).lineTo(-0.835,...
5
130
2.653611
train_e3df6412400085f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.308, -0.199, 0.06), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.47, 0.642).lineTo(-0.47, -0.472).lineTo(0.692, -0.472).lineTo(0.692, -0.642).lineTo(-0.692, -0.642).lineTo(-0.692, 0.642).lineTo(-0.47, 0.642).close().extrude(0.058, both=True) res...
30
171
0.201107
train_a363ab5976614321
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.083, 0.073, 0.118), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.886).threePointArc((0.708, 0.708), (0.886, 0)).threePointArc((0.708, -0.708), (0, -0.886)).threePointArc((-0.708, -0.708), (-0.886, 0)).threePointArc((-0.708, 0.708), (0, 0.886))...
7
77
0.576486
train_7f5d6fba25db0f92
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.023, -0.331), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.205, 0.385).lineTo(0.273, 0.318).lineTo(0.273, -0.244).lineTo(0.132, -0.385).lineTo(-0.219, -0.385).lineTo(-0.273, -0.332).lineTo(-0.273, 0.26).lineTo(-0.148, 0.385).lineTo(0.205, 0.3...
10
97
0.405139
train_8afd61f5d724692b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.076, -0.388), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.867, 0.594).lineTo(1, 0.462).lineTo(1, -0.331).lineTo(0.736, -0.594).lineTo(-0.713, -0.594).lineTo(-1, -0.309).lineTo(-1, 0.227).lineTo(-0.633, 0.594).lineTo(0.867, 0.594).close().extr...
9
35
1.908939
train_5dafc416a77ae434
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.562, 0.193, 1), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.265, -0.088).threePointArc((0.196, -0.256), (0.029, -0.325)).lineTo(-0.025, -0.325).threePointArc((-0.193, -0.256), (-0.262, -0.088)).threePointArc((-0.255, -0.067), (-0.257, -0.044))...
5
48
1.444879
train_13274392fb86180c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.07), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.917, 0.541).threePointArc((0.975, 0.517), (1, 0.46)).lineTo(1, -0.541).lineTo(-0.869, -0.541).threePointArc((-0.961, -0.503), (-1, -0.412)).lineTo(-1, 0.541).lineTo(0.917, 0.541).close().ex...
19
307
0.566871
train_45f13fd1454aa6c7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.015, -0.581, 0.029), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.445, 0.419).lineTo(0.445, 0.419).lineTo(0.552, 0.399).lineTo(0.648, 0.339).lineTo(0.724, 0.246).lineTo(0.774, 0.13).lineTo(0.79, 0).lineTo(0.774, -0.13).lineTo(0.724, -0.246).line...
13
28
0.546869
train_6bdc20c79b4d0f43
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.15, -0.059, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.821, 0.183).lineTo(0.821, 0.148).threePointArc((0.796, 0.137), (0.737, 0.132)).lineTo(-0.097, 0.132).threePointArc((-0.345, 0.113), (-0.45, 0.065)).lineTo(-0.45, -0.096).threePoint...
7
151
0.08955
train_6c4ee317914ae800
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, 0.044), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.047, 0.632).threePointArc((0.25, 0.548), (0.334, 0.346)).lineTo(0.408, 0.177).threePointArc((0.415, 0.09), (0.383, 0.008)).threePointArc((0.392, -0.076), (0.387, -0.161)).threePointAr...
10
81
1.289482
train_9c7465ffd8f9e40e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.391, 0, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.615).extrude(0.627) result = result.cut(cq.Workplane(cq.Plane(origin=(0.224, 0, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.118, 0.362), (-0.424, 0.585), (-0.8...
19
162
0.520642
train_179f0e5ae26b0dcf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.323, 0, -0.594), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.439, 0.436).lineTo(0.397, 0.145).lineTo(0.524, -0.145).lineTo(0.439, -0.436).threePointArc((-0.524, 0), (0.439, 0.436)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.323, 0, -0.594)...
3
21
1.291433
train_75b3bf677fa69a5c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.1, 0, -0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.324, 1).lineTo(1.042, 0).lineTo(0.324, -1).lineTo(-0.842, -0.615).lineTo(-0.842, 0.615).lineTo(0.324, 1).close().extrude(0.444) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.1, 0...
4
34
1.557467
train_4747e545f70635ac
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.68, -0.027).lineTo(0.534, -0.197).lineTo(0.293, -0.188).lineTo(0.182, -0.004).lineTo(-0.061, 0.054).lineTo(-0.027, 0.197).lineTo(0.275, 0.125).lineTo(0.378, -0.044).lineTo(0.469, -0.047).lineT...
6
41
0.667952
train_fefe850facf6ccfe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.054, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.83, 0.858).threePointArc((0.91, 0.817), (0.944, 0.72)).lineTo(0.944, -0.18).threePointArc((0.777, -0.656), (0.385, -0.858)).lineTo(-0.792, -0.858).threePointArc((-0.899, -0.803), (-0.9...
6
78
0.168797
train_aabce2be0a4a64d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.085, 0, -0.224), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.028, 0.475).threePointArc((0.028, 0.461), (0.037, 0.45)).lineTo(0.047, 0.425).lineTo(0.054, 0.4).lineTo(0.051, 0.373).lineTo(0.046, 0.346).lineTo(0.167, 0.394).lineTo(0.089, 0.29).line...
2
34
0.220486
train_edf9686879dcffa8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.441, -0.416), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.37, 1).threePointArc((0.46, 0.954), (0.498, 0.864)).lineTo(0.498, 0.6).threePointArc((0.528, 0.528), (0.6, 0.498)).lineTo(0.821, 0.498).threePointArc((0.94, 0.446), (1, 0.324)).lineTo...
7
28
1.475019
train_271ab39973707ef7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0.11, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.189, 0.454).threePointArc((1.001, -0.133), (-0.095, -0.454)).lineTo(-1.001, -0.17).lineTo(-0.906, 0.133).lineTo(0, -0.151).threePointArc((0.698, -0.038), (0.492, 0.359)).lineTo(0.189, 0...
4
38
0.288019
train_f93e3702e97407aa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.068, -0.079, -0.392), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.527, 0.461).threePointArc((-0.871, 0.558), (-0.311, 0.754)).lineTo(0.682, -0.466).threePointArc((0.871, -0.547), (0.477, -0.754)).lineTo(-0.527, 0.461).close().extrude(0.784) res...
7
80
0.719027
train_33a1c4abfd4a81d1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.237) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.732).extrude(0.71, both=True)) result = result.union(cq.Workpla...
12
56
0.615287
train_b2223166fd046972
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.231), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.649).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.649).lineTo(-0.691, 0.649).lineTo(-0.691, 0.309).lineTo(0.691, 0.309).lineTo(0.691, 0.649).lineTo(1, 0.649).close().extrude(0.219, both=Tru...
11
69
0.299834
train_9a7c8ee43efe701c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, 0, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.418) result = result.cut(cq.Workplane(cq.Plane(origin=(1.002, 0, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.114, 0.465), (-0.432, 0.825), (-0.88, 0....
10
72
1.0178
train_9bbc7a9e360e733f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.146, -0.34), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.849, 0.075).lineTo(0.849, 0.012).lineTo(0.705, 0.012).lineTo(0.705, -0.012).lineTo(0.849, -0.012).lineTo(0.849, -0.075).lineTo(0.642, -0.075).lineTo(0.642, 0.075).lineTo(0.849, 0.075)...
9
491
0.793827
train_7032d5a3edfd592e
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.896).extrude(0.768) result = result.cut(cq.Workplane(cq.Plane(origin=(0.896, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.896, 0.896), (-1.792, 0), (-0.896, -0.896)]).rec...
4
21
1.505793
train_eb9ad871d5ec379f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.586, 0.053, -0.06), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.442, 0.099).lineTo(0.388, -0.031).lineTo(0.499, -0.171).lineTo(0.377, -0.294).lineTo(0.237, -0.183).lineTo(0.107, -0.236).lineTo(0.087, -0.414).lineTo(-0.087, -0.414).lineTo(-0.107...
10
102
0.427369
train_eb3d694145b9bba3
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.105, 0.09).lineTo(0.105, -0.09).lineTo(-0.105, -0.09).lineTo(-0.105, 0.09).lineTo(-0.069, 0.09).lineTo(-0.069, -0.054).lineTo(0.069, -0.054).lineTo(0.069, 0.09).lineTo(0.105, 0.09).close().ext...
6
10
0.035856
train_818afaaed74591f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.876), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.839, 0.39).threePointArc((0.941, 0.375), (0.984, 0.339)).lineTo(0.984, 0.216).threePointArc((0.949, 0.187), (0.866, 0.174)).lineTo(0.46, 0.174).threePointArc((0.35, 0.158), (0.303, 0.118))...
4
38
0.817863
train_acabf13204c77fbf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.425, -0.245, -0.304), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.575, 0.427).lineTo(0.575, -0.371).threePointArc((0.558, -0.411), (0.518, -0.427)).lineTo(-0.575, -0.427).lineTo(-0.575, 0.299).threePointArc((-0.537, 0.389), (-0.447, 0.427)).line...
10
58
0.622538
train_5d33ee13bab6d860
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.191, 0, -0.381), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.317, 0.68).lineTo(0.317, 0.317).lineTo(0.335, 0.317).lineTo(0.335, 0).lineTo(0, 0).lineTo(0, 0.68).lineTo(0.317, 0.68).close().extrude(1, both=True) result = result.cut(cq.Workplane(...
6
38
0.411389
train_42e3ec98132b9c0e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.261), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.673).lineTo(1, -0.673).lineTo(-1, -0.673).lineTo(-1, 0.673).lineTo(-0.669, 0.673).lineTo(-0.669, -0.467).lineTo(0.669, -0.467).lineTo(0.669, 0.673).lineTo(1, 0.673).close().extrude(0.52...
9
31
0.584957