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_4ba0f6f5fc8163b7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.364, -0.193, 0.182), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.413, 1.344).lineTo(1.062, -1.209).lineTo(0.824, -1.344).lineTo(0.425, -0.691).lineTo(-0.117, -0.667).lineTo(-0.549, 0.175).lineTo(-1.062, 0.97).lineTo(-0.413, 1.344).close().extru...
15
166
1.618649
train_e87de11447362f34
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.968, -0.851), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.5, 1.834).threePointArc((0.5, 1.834), (1, 0.968)).threePointArc((0.5, 0.102), (-0.5, 0.102)).threePointArc((-1, 0.968), (-0.5, 1.834)).close().extrude(1.701) result = result.cut(cq.W...
22
524
3.576129
train_4f69457700d40c63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.255, 0.213, -0.823), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.387, 0.721).threePointArc((0.421, 0.704), (0.435, 0.663)).lineTo(0.435, 0.425).threePointArc((0.45, 0.38), (0.485, 0.361)).lineTo(0.62, 0.361).threePointArc((0.693, 0.323), (0.723,...
19
163
3.727368
train_2ba6849315d4153f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.004, -0.169), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.623, 0.466).threePointArc((0.881, 0.431), (1, 0.349)).lineTo(1, -0.351).threePointArc((0.882, -0.432), (0.627, -0.466)).lineTo(-0.357, -0.466).threePointArc((-0.806, -0.407), (-1, -0.2...
20
46
0.472144
train_478d64b5625c2d91
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.147, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.208, 0.111).lineTo(0.208, -0.111).threePointArc((-0.013, 0), (0.208, 0.111)).close().extrude(2).union(cq.Workplane(cq.Plane(origin=(0.147, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo...
8
67
0.193614
train_3d9790525deb794e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.04, -0.041, 0.283), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.426, 0.923).threePointArc((0.811, 0.53), (0.903, -0.161)).lineTo(0.911, -0.206).threePointArc((0.938, -0.409), (0.794, -0.496)).lineTo(0.754, -0.518).threePointArc((-0.142, -0.923),...
9
64
0.569963
train_5fd2d6dbfadc49f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.217, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.092, 0.393).threePointArc((0.143, 0.372), (0.164, 0.321)).lineTo(0.185, 0.251).lineTo(0.191, 0.182).lineTo(0.164, 0.112).threePointArc((0.143, 0.061), (0.092, 0.04)).lineTo(-0.092, 0.04)....
1
16
0.233133
train_9022e8ec3a2016f0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.073, 0.083, 0.016), normal=(-0.641, -0.722, -0.262), xDir=(0.748, -0.664, 0))).moveTo(0.821, -0.17).threePointArc((0.813, -0.211), (0.79, -0.245)).lineTo(0.033, -1.002).threePointArc((0, -1.019), (-0.033, -1.002)).lineTo(-0.372, -0.663).threePoi...
3
38
0.268829
train_095ff49976a372ce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.006, 0.174, -0.067), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.753).threePointArc((0.532, 0.532), (0.753, 0)).threePointArc((0.532, -0.532), (0, -0.753)).threePointArc((-0.532, -0.532), (-0.753, 0)).threePointArc((-0.532, 0.532), (0, 0.753)...
5
27
2.221729
train_fd8f27066b67d8bd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.113), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.396, 0.225).lineTo(0.396, 0).lineTo(-0.396, 0).lineTo(-0.396, 0.225).lineTo(-0.303, 0.225).lineTo(-0.303, 0.093).lineTo(0.303, 0.093).lineTo(0.303, 0.225).lineTo(0.396, 0.225).close().ext...
4
31
0.183497
train_c1e9265f55a06024
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.845).lineTo(1, 0.507).lineTo(-0.667, 0.507).lineTo(-0.667, 0.169).lineTo(1, 0.169).lineTo(1, -0.845).lineTo(-1, -0.845).lineTo(-1, -0.507).lineTo(0.667, -0.507).lineTo(0.667, -0.169).lin...
1
14
0.540746
train_a7877d5278e92c72
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.287), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.5).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.5).lineTo(-0.676, 0.5).lineTo(-0.676, 0.324).lineTo(0.676, 0.324).lineTo(0.676, 0.5).lineTo(1, 0.5).close().extrude(0.2, both=True) result = ...
6
39
0.268626
train_e8ceb84082808064
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.151).lineTo(0.847, 0).lineTo(1, -0.151).lineTo(0.178, -0.151).lineTo(0.178, 0.151).lineTo(1, 0.151).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.387, 0.387, 0), norm...
15
61
0.399037
train_b8e117d53bf45194
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.35, 0.063, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.347, 0.058).threePointArc((0.578, 0.174), (0.347, -0.174)).lineTo(-0.463, -0.174).threePointArc((-0.578, 0.058), (-0.463, 0.058)).lineTo(0.347, 0.058).close().extrude(0.434, both=True) ...
19
191
0.158744
train_49814ccc25555072
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.526), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.786, 0.936).lineTo(1, 0.724).lineTo(1, -0.936).lineTo(-0.671, -0.936).threePointArc((-0.903, -0.84), (-1, -0.609)).lineTo(-1, 0.936).lineTo(0.786, 0.936).close().extrude(0.249) result = re...
6
26
2.697976
train_77bf29fd1a96fc16
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.623, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.372).threePointArc((0.264, 0.264), (0.372, 0)).threePointArc((0.264, -0.264), (0, -0.372)).threePointArc((-0.264, -0.264), (-0.372, 0)).threePointArc((-0.264, 0.264), (0, 0.372)).close(...
17
140
1.121161
train_9cdd2f7da78a55fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.472), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.944) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.192), normal=(0.627, 0, 0.779), xDir=(0.779, 0, -0.627))).circle(0.484).extrude(2.014)) result = result.cut(cq.W...
7
50
1.784393
train_d33a3f863a487877
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.149, 0.377).threePointArc((-0.132, 0.37), (-0.125, 0.353)).lineTo(-0.125, 0.153).threePointArc((-0.117, 0.133), (-0.099, 0.125)).lineTo(-0.034, 0.125).threePointArc((-0.01, 0.115), (0, 0.092)).lineTo(0, 0.034).threePointArc((0.01, 0.01), (0.034, 0)...
5
65
0.479422
train_b2161c035577a190
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.435), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.437, 0.869).lineTo(0.437, 0.309).lineTo(1, 0.309).lineTo(1, 0).lineTo(0.05, 0).lineTo(0.05, 0.869).lineTo(0.437, 0.869).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, ...
6
35
0.450891
train_d689279bde46ee21
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.829, 0, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.066, 0.905).threePointArc((-0.021, 0.903), (0.018, 0.878)).threePointArc((0.045, 0.845), (0.069, 0.821)).threePointArc((0.105, 0.81), (0.154, 0.793)).threePointArc((0.194, 0.758), (0.201,...
7
84
0.310095
train_52e136106bb1ee9a
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.16).lineTo(0.902, 0).lineTo(1, -0.16).lineTo(0.229, -0.16).lineTo(0.229, 0.16).lineTo(1, 0.16).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.387, 0.387, 0), normal=(0...
11
49
0.57634
train_69b065e3cdc8a9dc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.125, 0, -0.081), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.824, 0.438).lineTo(0.877, 0.017).lineTo(0.832, -0.366).lineTo(-0.843, -0.438).lineTo(-0.877, 0.365).lineTo(0.824, 0.438).close().moveTo(0.622, 0.184).lineTo(0.624, -0.13).lineTo(-0.609...
12
134
0.448539
train_4636e6c3d40fb069
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.02, -0.173), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.696, 0.347).lineTo(0.902, 0.174).lineTo(0.98, 0.121).lineTo(0.98, 0).lineTo(0.865, 0).lineTo(0.865, 0.105).lineTo(0.767, 0.174).lineTo(0, 0.233).lineTo(0, 0.347).lineTo(0.696, 0.347)....
10
168
0.360777
train_c18655886880fe75
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.005, -0.02, -0.17), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.491, 0.956).threePointArc((0.875, 0.592), (0.925, 0.064)).threePointArc((0.293, -0.25), (0.266, -0.956)).threePointArc((-0.239, -0.865), (-0.655, -0.566)).threePointArc((-0.925, -0...
9
318
0.787441
train_c6dc73ea5261c027
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0.466, -0.041), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.296, 0.338).lineTo(0.296, -0.338).lineTo(-0.296, -0.338).lineTo(-0.296, -0.225).lineTo(-0.197, -0.225).lineTo(-0.197, -0.113).lineTo(-0.099, -0.113).lineTo(-0.099, 0).lineTo(0, 0...
5
62
0.53437
train_52cb326260a4870b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.027, -0.01, 0.074), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.406).lineTo(0.203, 0.203).lineTo(0.406, 0.203).lineTo(0.203, 0).lineTo(0.406, 0).lineTo(0.203, -0.203).lineTo(0.203, -0.406).lineTo(0, -0.203).lineTo(0, -0.406).lineTo(-0.203, -0...
11
260
0.631659
train_e77229db5f9e510a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.005, -0.024, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.551, -0.072).threePointArc((0.799, -0.07), (0.436, -0.153)).lineTo(-0.525, 0.072).threePointArc((-0.799, 0.068), (-0.41, 0.153)).lineTo(0.551, -0.072).close().extrude(0.229, both=True...
20
275
0.190171
train_7574d59c88a66793
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.999), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.148, 0.899).lineTo(0.401, 0.515).lineTo(-0.277, 0.069).lineTo(-0.045, -0.281).lineTo(0.632, 0.165).lineTo(0.885, -0.222).lineTo(-0.148, -0.899).lineTo(-0.885, 0.222).lineTo(0.148, 0.899).c...
6
45
1.340433
train_a406a55c00f07361
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.314, 0, -0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.598, 0.391).lineTo(0.598, -0.384).threePointArc((0.594, -0.394), (0.585, -0.398)).lineTo(-0.588, -0.398).threePointArc((-0.596, -0.395), (-0.598, -0.387)).lineTo(-0.598, 0.382).threePoi...
15
158
0.1773
train_4f56d1a989386d22
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.95, 0.2).lineTo(0.92, 0.147).lineTo(1, 0.07).lineTo(1, 0).lineTo(0.85, 0).lineTo(0.85, 0.06).lineTo(0.75, 0.147).lineTo(0, 0.05).lineTo(0, 0.2).lineTo(0.95, 0.2).close().revolve(angleDegree...
8
16
0.313496
train_e0f7e1444c83eac9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.016, -0.039, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.638, 0.904).threePointArc((0.665, 0.284), (-0.154, -0.904)).threePointArc((-0.229, -0.584), (-0.447, -0.337)).threePointArc((-0.468, -0.01), (-0.665, 0.251)).lineTo(-0.638, 0.90...
9
218
0.610761
train_7b34d93aa6f4a340
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.004, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1.586, 3.371).lineTo(2.334, 2.43).lineTo(2.455, 2.133).lineTo(2.773, 2.151).lineTo(4.489, 0.006).lineTo(4.202, -0.4).lineTo(4.198, -0.983).lineTo(3.124, -1.343).lineTo(3.17, -1.767).threePo...
6
16
1.340075
train_a305e3ec5eef7e47
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.35, 0.386, 0.193), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.551, 0.375).threePointArc((0.62, 0.336), (0.65, 0.242)).lineTo(0.65, -0.279).threePointArc((0.628, -0.347), (0.578, -0.375)).lineTo(-0.621, -0.375).threePointArc((-0.641, -0.364), (...
10
304
1.742726
train_ff5aa877ba602ec9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.291), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.7, 0.934).threePointArc((0.909, 0.847), (1, 0.636)).lineTo(1, -0.689).threePointArc((0.925, -0.862), (0.753, -0.934)).lineTo(-0.631, -0.934).threePointArc((-0.891, -0.828), (-1, -0.567)).l...
3
27
1.649995
train_54357eff210e6d1d
import cadquery as cq import math result = cq.Workplane('XY').box(2, 1.021, 1.912) result = result.edges().fillet(0.231) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.312).extrude(3.975, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
5
36
2.529905
train_52cadd233906fbe5
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.707, 0.707).threePointArc((0.965, -0.259), (0.259, -0.965)).threePointArc((-0.707, -0.707), (-0.965, 0.259)).threePointArc((-0.259, 0.965), (0.707, 0.707)).close().extrude(0.107, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0.707, -0...
8
207
0.597254
train_0a6c856bdd32d15d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.318, 0, 0.276), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.241, 0.749).threePointArc((0.282, 0.731), (0.3, 0.69)).lineTo(0.3, -0.041).threePointArc((0.332, -0.118), (0.408, -0.15)).lineTo(0.505, -0.15).threePointArc((0.571, -0.178), (0.599, -0....
19
158
0.284522
train_b54b1e139b8b4cf7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.492), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.984).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.984).lineTo(-0.577, 0.984).lineTo(-0.577, 0.423).lineTo(0.577, 0.423).lineTo(0.577, 0.984).lineTo(1, 0.984).close().extrude(0.313, both=Tru...
8
50
0.73954
train_6c217ecd4cf67daa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.348, 0.003, -0.055), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.63, 0.109).threePointArc((0.636, 0.071), (0.633, 0.032)).lineTo(0.535, -0.395).threePointArc((0.507, -0.446), (0.452, -0.474)).lineTo(0.26, -0.52).lineTo(-0.153, -0.618).threePoin...
4
56
0.494359
train_aa3296a138a07b1e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.044, -0.149), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.937, 2.088).extrude(0.298) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.044, -0.149), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.311, 0.051).lineTo(0.311, -0.051).lineTo(-0...
28
78
0.401921
train_13f86dd2aa40edf7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.475), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.12).lineTo(1, -0.143).lineTo(0.742, -0.143).lineTo(0.742, 0.12).threePointArc((0.771, 0.099), (0.801, 0.12)).threePointArc((0.833, 0.143), (0.865, 0.12)).threePointArc((0.897, 0.099), ...
2
22
1.769111
train_e84bf96b00e3e761
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.982, 0.262, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.274, 1.473).lineTo(0.226, 1.276).lineTo(0.411, 1.08).lineTo(0.236, 0.883).lineTo(0.352, 0.686).lineTo(0.274, 0.49).threePointArc((-0.411, 0.981), (0.274, 1.473)).close().workplane(offs...
11
201
0.517503
train_7805283672db64a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.168, -0.132, -0.139), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.613, 0).threePointArc((0.49, 0.858), (0.613, -0.368)).lineTo(0.613, -0.736).threePointArc((0.49, -0.858), (0.245, -0.736)).lineTo(0.245, -0.245).threePointArc((0.49, 0), (0.49, ...
5
40
0.289538
train_9cf67190542ca287
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.062, 0.038, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0, 0.938).threePointArc((0.3, 0.813), (0.425, 0.513)).threePointArc((0.3, 0.213), (0, 0.089)).threePointArc((-0.3, 0.213), (-0.425, 0.513)).threePointArc((-0.3, 0.813), (0, 0.938)).close(...
20
33
0.177108
train_4c4d71bcf173d97d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.161), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.929, 0.403).lineTo(1, 0.34).lineTo(1, -0.351).lineTo(0.94, -0.403).lineTo(-1, -0.403).lineTo(-1, 0.362).lineTo(-0.951, 0.362).lineTo(-0.951, 0.403).lineTo(0.929, 0.403).close().extrude(0.2...
6
23
0.379363
train_53ca11e8771c4758
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.385, 0).threePointArc((0, -0.385), (-0.385, 0)).threePointArc((0, 0.385), (0.385, 0)).close().extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(0.029, -0.33, 0.027), normal=(0, 0, -...
13
620
0.510519
train_f75e4da68b96a95f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.272, -0.142, -0.481), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.164, 0.741).threePointArc((0.171, 0.723), (0.174, 0.683)).lineTo(0.174, -0.434).threePointArc((0.159, -0.65), (0.122, -0.741)).lineTo(-0.114, -0.741).threePointArc((-0.156, -0.63...
16
152
0.515936
train_bbc15dc78f1abe01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.23, 0.997).threePointArc((0.645, 0.869), (0.82, 0.565)).lineTo(0.82, -0.113).threePointArc((0.785, -0.174), (0.702, -0.2)).lineTo(0.407, -0.2).threePointArc((0.313, -0.228), (0.274, -0.297...
3
44
1.420315
train_6ebc06cf41e7eb39
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.252).lineTo(0.651, 0).lineTo(1, -0.252).lineTo(0.355, -0.252).lineTo(0.355, 0.252).lineTo(1, 0.252).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.387, -0.387, 0), nor...
10
50
0.409038
train_7bbe6375a4fb39d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.035, -0.787), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.754).lineTo(1, -0.251).lineTo(0, -0.251).lineTo(0, -0.754).lineTo(-0.498, -0.754).lineTo(-0.498, -0.251).lineTo(-1, -0.251).lineTo(-1, 0.251).lineTo(-0.498, 0.251).lineTo(-0.498, 0...
6
50
2.7836
train_9f55b8cdaa59c13f
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.636, 2).lineTo(0.636, 0.907).lineTo(0.789, 0.907).lineTo(0.789, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.636, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result ...
2
9
3.153035
train_6faa90f063d5a282
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.025, -0.005, -0.211), normal=(0.071, -0.992, 0.104), xDir=(0.997, 0.072, 0))).moveTo(0.613, 0.34).threePointArc((0.764, 0.259), (0.95, 0.191)).threePointArc((0.92, -0.34), (-0.472, -0.327)).threePointArc((-0.95, 0.308), (0.613, 0.34)).close().e...
16
310
1.038311
train_18b5b7e853a5712a
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.048, 0.098).lineTo(0.098, 0.002).lineTo(0.05, -0.097).lineTo(-0.048, -0.098).lineTo(-0.098, -0.002).lineTo(-0.047, 0.098).lineTo(0.048, 0.098).close().extrude(1, taper=-10.272, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 1), n...
2
62
0.235209
train_f36db5ece94390c4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.315, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.29, 0.702).lineTo(0.29, -0.073).threePointArc((-0.29, 0.315), (0.29, 0.702)).close().extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.036, 0.225, -0.652), normal=(0, 0, -1)...
37
451
0.622591
train_4cd296f7770f3523
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.172, -0.078, -0.904), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.243, 0.082).threePointArc((0.064, 0.409), (0.334, 0.053)).lineTo(0.142, -0.181).threePointArc((0.376, -0.409), (0.069, -0.251)).threePointArc((-0.037, -0.302), (-0.299, -0.3)).th...
12
256
1.231461
train_1c01d5124e60966f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.116, 0.229, -0.401), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.596, -0.042).lineTo(0.606, -0.084).lineTo(0.614, -0.127).lineTo(0.619, -0.172).lineTo(0.62, -0.217).lineTo(0.619, -0.262).lineTo(0.615, -0.306).lineTo(0.608, -0.349).lineTo(0.599, ...
2
222
0.686084
train_70ae2303a17f5d24
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.196, 0, -0.296), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.2, 0.591).lineTo(0.2, 0.2).lineTo(1.196, 0.2).lineTo(1.196, 0).lineTo(0, 0).lineTo(0, 0.591).lineTo(0.2, 0.591).close().extrude(0.399, both=True) result = result.cut(cq.Workplane(cq....
9
35
0.32703
train_e0a00e3d9aca6bae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.82, -0.579), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.416, 0.449).threePointArc((0, 0.034), (-0.416, 0.449)).threePointArc((0, 0.861), (0.416, 0.449)).close().revolve(angleDegrees=270, axisStart=(0.579, -0.812), axisEnd=(0.579, 0.812)) res...
14
442
2.414082
train_66f89f68cb88168a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.25).lineTo(1, -0.25).lineTo(-1, -0.25).lineTo(-1, 0.25).lineTo(1, 0.25).close().extrude(0.18) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.164, 0.031, -1.39), normal=(1, 0, 0), x...
17
6
0.18
train_51e49777aaffe584
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.23), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.921, 0.592).threePointArc((0.976, 0.575), (1, 0.535)).lineTo(1, 0.396).threePointArc((0.983, 0.367), (0.943, 0.355)).lineTo(-0.614, 0.355).threePointArc((-0.651, 0.344), (-0.667, 0.318)).li...
4
37
0.701892
train_30ef5d4d43b82f6b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.028, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.684, 0.303).lineTo(0.738, 0.245).lineTo(0.883, -0.205).threePointArc((0.831, -0.312), (0.722, -0.293)).lineTo(0.579, 0.097).lineTo(0.036, 0.029).threePointArc((-0.056, 0.118), (0.033, 0.23...
8
72
0.804328
train_e5ccd5da77286ad8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.56), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.754, 1.119).lineTo(0.754, 0.331).lineTo(1, 0.331).lineTo(1, 0).lineTo(0.177, 0).lineTo(0.177, 1.119).lineTo(0.754, 1.119).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0,...
2
7
2.331547
train_60858c109c27e585
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.459, -0.257, 1.273), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.513, 0.51).threePointArc((0.551, 0.49), (0.567, 0.443)).lineTo(0.567, 0.25).threePointArc((0.552, 0.204), (0.515, 0.185)).lineTo(0.223, 0.185).threePointArc((0.16, 0.153), (0.134,...
13
92
0.736285
train_05c693ad494cd64b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.409).extrude(0.569) result = result.cut(cq.Workplane(cq.Plane(origin=(0.41, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.046, 0.191), (-0.176, 0.338), (-0.36, 0.407),...
13
118
0.261364
train_7255ebdb5e8048c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.203, 0.013, -0.276), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.015, 0.212).lineTo(0.09, 0.171).lineTo(0.122, 0.092).lineTo(0.094, 0.011).lineTo(0.021, -0.034).lineTo(-0.063, -0.021).lineTo(-0.12, 0.043).lineTo(-0.122, 0.129).lineTo(-0.068, 0....
10
142
0.303248
train_da540893a4b57b1e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.032, 0, -0.749), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.966, 0.997).lineTo(0.966, -0.997).lineTo(-0.966, -0.997).lineTo(-0.966, 0.997).lineTo(-0.482, 0.997).lineTo(-0.482, -0.554).lineTo(0.482, -0.554).lineTo(0.482, 0.997).lineTo(0.966, 0.9...
13
38
3.452492
train_9004c9f5f64c3ac9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.772, 0.17, 0.096), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.539, 0.415).threePointArc((0.564, 0.569), (0.666, 0.581)).lineTo(1.154, 1.012).threePointArc((1.181, 1.024), (1.194, 0.997)).lineTo(1.261, 0.386).threePointArc((1.269, 0.367), (1.28...
14
108
0.342169
train_4f138c3c80db0457
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, -0.001, -0.294), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.808, -0.186).lineTo(0.774, -0.292).lineTo(0.73, -0.388).lineTo(0.679, -0.474).lineTo(0.62, -0.547).lineTo(0.555, -0.606).lineTo(0.485, -0.65).lineTo(0.412, -0.677).lineTo(0.338, -...
16
541
1.056383
train_e15e95746be36ed0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.801), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.368, 0.584).threePointArc((-0.305, 0.557), (-0.278, 0.494)).lineTo(-0.278, -0.009).threePointArc((-0.232, -0.118), (-0.123, -0.164)).lineTo(0.637, -0.164).threePointArc((0.68, -0.182), (0...
6
103
2.232384
train_5bb19810d92e2e1c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.288, 0.485, -0.144), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.092, 0.589).lineTo(0.119, 0.416).lineTo(0.154, 0.424).lineTo(0.189, 0.436).threePointArc((0.214, 0.429), (0.224, 0.405)).lineTo(0.259, 0.422).lineTo(0.294, 0.416).lineTo(0.175, 0.2...
4
80
0.698074
train_0619b530bd8401e6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.901, 0.529).lineTo(1, 0.429).lineTo(1, -0.389).lineTo(0.86, -0.529).lineTo(-0.877, -0.529).lineTo(-1, -0.406).lineTo(-1, 0.412).lineTo(-0.883, 0.529).lineTo(0.901, 0.529).close().extrude(0...
10
55
0.12892
train_2c572de665d280a2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.347), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.371, 1.347).lineTo(0.371, 0.279).lineTo(0.34, 0.279).lineTo(0.34, 0).lineTo(0.189, 0).lineTo(0.189, 1.347).lineTo(0.371, 1.347).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axis...
6
69
0.547528
train_be35dea875dcae12
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.123, -0.186, -1.794), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.111, 0.154).lineTo(-0.111, -0.109).lineTo(0.155, -0.109).lineTo(0.155, -0.154).lineTo(-0.155, -0.154).lineTo(-0.155, 0.154).lineTo(-0.111, 0.154).close().extrude(2.793, taper=-9...
5
95
1.802686
train_7c5020a4fea20457
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.647, 0.944).threePointArc((0.895, 0.845), (1, 0.611)).lineTo(1, -0.395).threePointArc((0.976, -0.449), (0.918, -0.472)).lineTo(0.653, -0.472).threePointArc((0.546, -0.515), (0.5, -0.616))....
8
451
0.517132
train_8e95c971d757b1b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.437, 0.191, 0.324), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.348, 0.976).threePointArc((0.062, 0.834), (0.435, 0.254)).threePointArc((0.553, -0.427), (0.348, -0.808)).threePointArc((-0.062, -0.666), (-0.435, -0.086)).threePointArc((-0.553, ...
4
29
0.840953
train_18d77d59b27531ab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.017, -0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.849, 0.668).lineTo(0.879, -0.668).threePointArc((-0.879, -0.055), (0.849, 0.668)).close().moveTo(-0.039, 0.384).lineTo(0.376, 0.24).threePointArc((-0.02, -0.44), (-0.039, 0.384)).close...
8
64
0.725007
train_29c39f892f595a91
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.416, -0.074, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.523).extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(0.416, -0.074, 0.39), normal=(0.718, 0, 0.696), xDir=(0.696, 0, -0.718))).circle(0.425).extrude(1.258)) result = re...
6
20
1.511985
train_9744c1841c7f027d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.321, -0.485), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.505).lineTo(1, -0.503).lineTo(0.982, -0.523).lineTo(-0.97, -0.523).lineTo(-1, -0.491).lineTo(-1, 0.505).threePointArc((-0.995, 0.516), (-0.982, 0.523)).lineTo(0.983, 0.523).lineTo(1...
4
24
1.084982
train_00a3659479702bed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.186), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.498, 0.873).threePointArc((-0.381, 0.851), (-0.332, 0.804)).lineTo(-0.332, 0.508).threePointArc((-0.186, 0.356), (0.157, 0.293)).lineTo(0.672, 0.293).threePointArc((0.895, 0.25), (1,...
3
40
0.756087
train_6a173b0c36d02776
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.09, -0.028, -0.877), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.102, 0.095).lineTo(0.077, -0.074).threePointArc((0, -0.104), (-0.102, -0.065)).threePointArc((0.013, 0.104), (0.102, 0.095)).close().extrude(1.876) result = result.union(cq.Workpl...
11
87
0.041841
train_699223f190853160
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.182, -0.707), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.161, 0.911).threePointArc((0.281, 0.883), (0.332, 0.817)).lineTo(0.332, 0.604).threePointArc((0.363, 0.564), (0.435, 0.547)).lineTo(0.818, 0.547).threePointArc((0.942, 0.518), (0.995,...
8
84
1.981848
train_79e6d972daf16517
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.009, -0.068, -0.508), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.908, 0.982).lineTo(0.908, 0.301).lineTo(0.932, 0.301).lineTo(0.932, 0).lineTo(0.705, 0).lineTo(0.705, 0.982).lineTo(0.908, 0.982).close().revolve(angleDegrees=360, axisStart=(0, ...
5
48
0.824312
train_5a5f44dc79f15210
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.454, 0.493).lineTo(0.454, 0.296).lineTo(-0.272, 0.296).lineTo(-0.272, 0.099).lineTo(0.454, 0.099).lineTo(0.454, -0.493).lineTo(-0.454, -0.493).lineTo(-0.454, -0.296).lineTo(0.272, -0.296).lineTo(0.272, -0.099).lineTo(-0.454, -0.099).lineTo(-0.454, 0...
4
18
1.226194
train_8fd9141b19d91b67
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.025, -0.013, -0.413), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.328, 0.983).threePointArc((0.546, 0.983), (0.655, 0.764)).lineTo(-0.328, -0.873).threePointArc((-0.546, -0.983), (-0.655, -0.655)).lineTo(0.328, 0.983).close().extrude(0.825) resu...
18
10
0.692761
train_d3efdf71d1c70b06
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(0.656, 0.357).lineTo(0.911, 0.32).lineTo(1, 0.125).lineTo(1, 0).lineTo(0.91, 0).lineTo(0.91, 0.107).lineTo(0.813, 0.32).lineTo(0, 0.275).lineTo(0, 0.357).lineTo(0.656, 0.357).close().revolv...
5
30
0.236075
train_f2b84e8aec11d4f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.096), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.425).lineTo(0.61, 0).lineTo(1, -0.425).lineTo(0.531, -0.425).lineTo(0.531, 0.425).lineTo(1, 0.425).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = res...
10
71
0.945709
train_d12be6a2ef092615
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.234, 0.011), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.862, 0.76).threePointArc((0.946, 0.714), (0.981, 0.607)).lineTo(0.981, 0.019).threePointArc((0.918, -0.173), (0.77, -0.254)).lineTo(0.34, -0.254).threePointArc((0.239, -0.309), (0.196,...
11
77
0.520795
train_5bde6c20f8d74387
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, 0, -0.55), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.164) result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.55), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.16, 0.541), (-0.582, 0.906), (-1.14, 0.987), (...
14
199
0.793567
train_87b6280092671349
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.05, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.144, 0.35).threePointArc((0.181, 0.335), (0.196, 0.299)).lineTo(0.196, 0.077).threePointArc((0.181, 0.04), (0.144, 0.025)).lineTo(-0.144, 0.025).threePointArc((-0.181, 0.04), (-0.196, 0.07...
5
58
0.441597
train_18714060d5eb6d27
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.286, -0.23, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.571).threePointArc((0.404, 0.404), (0.571, 0)).lineTo(0.143, 0).threePointArc((0.101, 0.101), (0, 0.143)).lineTo(0, 0.571).close().extrude(2) result = result.union(cq.Workplane(cq....
5
31
0.423462
train_4935ae3e02ebf6fb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.723, -0.869, -0.169), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.116, 1.311).lineTo(0.395, 1.1).lineTo(0.443, 0.753).lineTo(0.415, 0.687).lineTo(0.389, 0.618).threePointArc((0.365, 0.592), (0.343, 0.565)).lineTo(0.293, 0.515).lineTo(0.232, 0.4...
8
82
1.738879
train_3afbf05ff8e0816d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.53), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.059).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.059).lineTo(-0.698, 1.059).lineTo(-0.698, 0.302).lineTo(0.698, 0.302).lineTo(0.698, 1.059).lineTo(1, 1.059).close().extrude(0.24, both=True)...
3
75
0.541567
train_8cf56fcec0498829
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.392, 0.386).lineTo(0.392, 0.193).lineTo(0.235, 0.193).lineTo(0.235, 0).lineTo(0.392, 0).lineTo(0.392, -0.386).lineTo(0.079, -0.386).lineTo(0.079, -0.193).lineTo(-0.079, -0.193).lineTo(-0.079, ...
17
213
0.771159
train_ca8d8532116fb449
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.041, 1).threePointArc((0.223, 0.916), (0.299, 0.738)).lineTo(0.299, -1).lineTo(-0.057, -1).lineTo(-0.299, -0.754).lineTo(-0.299, 0.869).threePointArc((-0.263, 0.956), (-0.176, 1)).lineTo(0...
19
78
0.206709
train_7c5e03923e4891b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.734, -0.823, 0.002), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.242, 1.608).lineTo(0.45, 1.433).threePointArc((0.511, 1.324), (0.581, 1.223)).lineTo(0.997, 0.988).lineTo(0.447, 0.862).threePointArc((0.543, 0.739), (0.742, 0.497)).lineTo(0.243,...
4
35
0.853815
train_6a5b206e8ff3185a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.082, 0, -0.224), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.918).extrude(0.248) result = result.cut(cq.Workplane(cq.Plane(origin=(0.082, 0, -0.224), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.651).extrude(0.744, both=True)) result = result.uni...
12
83
0.495837
train_acf4f40522ed0a6c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(51.287, -53.225, -67.037), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-16.523, 49.57).lineTo(30.686, 2.361).lineTo(-21.245, -49.57).lineTo(-25.965, -44.848).lineTo(-30.686, -40.128).lineTo(-16.523, -25.965).lineTo(-30.686, -11.802).lineTo(-21.245, ...
15
10
0.689808
train_f0d8e62dbd886e86
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.326, 0.153).lineTo(0.326, -0.153).threePointArc((-0.021, -0.153), (0.326, 0.153)).close().extrude(2).union(cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0....
3
8
0.54789
train_293482d6330d194d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).threePointArc((0.324, 0.781), (0.5, 0.866)).threePointArc((0.671, 0.515), (0.866, 0.5)).threePointArc((0.838, 0.11), (1, 0)).threePointArc((0.781, -0.324), (0.866, -0.5)).threePointArc(...
9
246
0.381004
train_17d93feb74baff02
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.078, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.053, 0.333).threePointArc((-0.016, 0.32), (0, 0.288)).lineTo(0, 0.118).threePointArc((0.018, 0.082), (0.06, 0.067)).lineTo(0.126, 0.067).threePointArc((0.148, 0.059), (0.157, 0.041)).lineT...
5
50
0.277434