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_abf80ef391799e27
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.055, 0.219, 0.009), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.739, -0.097).lineTo(-0.77, 0.018).threePointArc((-0.349, 0.746), (-0.235, 0.776)).lineTo(0.576, 0.502).lineTo(0.669, 0.157).threePointArc((0.77, -0.676), (-0.065, -0.776)).close()...
18
262
1.477715
train_81dd8832586df909
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.26), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.639).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.639).lineTo(-0.6, 0.639).lineTo(-0.6, 0.4).lineTo(0.6, 0.4).lineTo(0.6, 0.639).lineTo(1, 0.639).close().extrude(0.302, both=True) result = r...
3
26
0.614646
train_90ab0a07356f8595
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.176, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1.083, 1).threePointArc((-1.011, 0.97), (-0.981, 0.898)).lineTo(-0.981, -0.228).threePointArc((-0.868, -0.496), (-0.599, -0.61)).lineTo(1.265, -0.61).threePointArc((1.34, -0.641), (1.371, -0...
4
26
0.760657
train_2ad8b42e7c4452ba
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.426, 0.216).workplane(offset=2).rect(0.278, 0.251).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.064).extrude(0.649, both=Tr...
4
50
0.137758
train_be594585bf551088
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.863, 0.935).threePointArc((0.959, 0.897), (1, 0.807)).lineTo(1, 0.215).threePointArc((0.932, 0.064), (0.77, 0)).lineTo(-0.125, 0).threePointArc((-0.389, -0.104), (-0.5, -0.351)).lineTo(-0.5, -0.833).threePointArc((-0.532, -0.904), (-0.609, -0.935))....
8
99
3.329298
train_a4f8d28ed971064c
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.09).lineTo(0.681, 0).lineTo(1, -0.09).lineTo(0.301, -0.09).lineTo(0.301, 0.09).lineTo(1, 0.09).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.551, 0), normal=(0, 0...
9
50
0.192006
train_006dddcff476e7be
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.329, -0.152, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.632, 0.364).lineTo(0.632, -0.455).lineTo(-0.632, -0.455).lineTo(-0.632, 0.364).threePointArc((-0.474, 0.274), (-0.317, 0.364)).threePointArc((-0.158, 0.455), (0, 0.364)).threePoin...
10
151
0.70521
train_513f9a3753d1eaf4
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.517, 0.322).workplane(offset=2).rect(0.936, 0.431).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.761, 0.114, -0.007), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.276, 1.901).lineTo...
5
20
0.648345
train_d8653b36d3d78b66
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.999, 0.3, -0.173), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.762).threePointArc((0.452, 0.575), (0.639, 0.123)).threePointArc((0.452, -0.329), (0, -0.515)).threePointArc((-0.452, -0.329), (-0.639, 0.123)).threePointArc((-0.452, 0.575), (0,...
5
16
1.404836
train_f1ac2669f3e8a64a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.291, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.01, 0.544).threePointArc((0.029, 0.533), (0.038, 0.513)).threePointArc((0.051, 0.496), (0.061, 0.478)).threePointArc((0.063, 0.457), (0.066, 0.435)).lineTo(0.186, 0.463).lineTo(0.149, 0.3...
14
812
0.217459
train_a202afa11867e802
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.03, 0.628, -0.173), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.845, 0.88).threePointArc((0.933, 0.854), (0.97, 0.791)).lineTo(0.97, 0.463).threePointArc((0.95, 0.429), (0.901, 0.414)).lineTo(-0.098, 0.414).threePointArc((-0.249, 0.369), (-0.31...
12
35
0.245201
train_a5b9002d660ff232
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.102, 0.151, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.37, 0.331).lineTo(0.43, 0.312).threePointArc((0.465, 0.252), (0.485, 0.283)).lineTo(0.534, 0.243).threePointArc((0.545, 0.175), (0.574, 0.196)).lineTo(0.605, 0.141).threePointArc((0.5...
7
158
1.068278
train_32402ae036e56c2b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.123, 0, 0.22), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.769, 0.428).threePointArc((0.444, 0.741), (0.769, -0.428)).threePointArc((-0.444, -0.741), (-0.769, 0.428)).close().extrude(0.067, both=True) result = result.cut(cq.Workplane(cq.Plane(o...
14
219
0.308682
train_4935cad65f0c2432
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.083, 0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.579, 1.082).lineTo(0.712, -0.955).lineTo(-0.408, -1.082).lineTo(-0.712, -0.889).threePointArc((-0.425, -0.215), (-0.451, 0.475)).lineTo(-0.183, 0.861).lineTo(0.579, 1.082).close().extrud...
12
164
0.285121
train_69bb0160748177f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.561), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.437, 1).lineTo(0.975, 0.461).lineTo(0.975, -1).lineTo(-0.612, -1).threePointArc((-0.868, -0.892), (-0.975, -0.637)).lineTo(-0.975, 0.521).threePointArc((-0.834, 0.859), (-0.496, 1)).lineTo...
8
28
1.278201
train_c38f03cae58d40d0
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.164).lineTo(0.861, 0).lineTo(1, -0.164).lineTo(0.133, -0.164).lineTo(0.133, 0.164).lineTo(1, 0.164).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...
14
58
0.51381
train_91b81aba4f97f902
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.668), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.7, 1).threePointArc((0.821, 0.95), (0.873, 0.83)).lineTo(0.873, 0.334).threePointArc((0.815, 0.2), (0.678, 0.143)).lineTo(-0.532, 0.143).threePointArc((-0.567, 0.128), (-0.582, 0.094)).lin...
5
113
2.907667
train_fca5c3fb978ee80b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.11, -0.523), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.396, -0.048).lineTo(0.387, -0.099).lineTo(0.548, -0.158).lineTo(0.511, -0.253).lineTo(0.352, -0.188).lineTo(0.325, -0.232).lineTo(0.454, -0.345).lineTo(0.385, -0.421).lineTo(0.261, -0....
7
119
1.230103
train_61a3293e1f1d7989
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.023, -0.051, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.976, 0.062).lineTo(0.976, -0.062).lineTo(-0.976, -0.062).lineTo(-0.976, 0.062).lineTo(-0.316, 0.062).lineTo(-0.316, -0.031).lineTo(0.316, -0.031).lineTo(0.316, 0.062).lineTo(0.97...
19
154
0.027319
train_a8e1ca8abd67891a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.464), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.824).lineTo(1, 0.329).lineTo(0.824, 0.329).lineTo(0.824, 0.214).lineTo(0.241, 0.214).lineTo(0.241, 0).lineTo(0, 0).lineTo(0, 0.824).lineTo(1, 0.824).close().revolve(angleDegrees=360, a...
6
62
1.583081
train_c910d089e28104ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.389), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.949).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.949).lineTo(-0.597, 0.949).lineTo(-0.597, 0.398).lineTo(0.597, 0.398).lineTo(0.597, 0.949).lineTo(1, 0.949).close().extrude(0.302, both=Tru...
9
63
0.729719
train_bf5b7f3db12b0e69
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.029, 0, -0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.7, 0.695).lineTo(0.751, 0.286).threePointArc((0.994, -0.25), (0.679, -0.695)).lineTo(-0.8, -0.272).threePointArc((-0.994, 0.377), (-0.7, 0.695)).close().moveTo(-0.647, 0.389).lineTo(0...
25
126
1.200671
train_c84a4465dcf99897
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.477, 0, -0.384), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.854, 0.528).lineTo(1.477, 0.436).lineTo(-0.692, -0.528).lineTo(-1.314, -0.436).lineTo(-1.477, -0.372).lineTo(-1.409, -0.342).lineTo(-1.043, -0.315).lineTo(-1.206, -0.251).lineTo(-1.138...
5
33
0.739987
train_2bdd2d378c65280e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.112, 0.402, 0.495), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.318, 0.504).lineTo(-0.318, -0.32).lineTo(0.592, -0.32).lineTo(0.592, -0.504).lineTo(-0.592, -0.504).lineTo(-0.592, 0.504).lineTo(-0.318, 0.504).close().extrude(0.213) result = res...
15
142
0.798604
train_62747d68d6da0ab0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.178, 0.312, -0.048), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.485, 0.485).threePointArc((0.663, -0.178), (0.178, -0.663)).threePointArc((-0.485, -0.485), (-0.663, 0.178)).threePointArc((-0.178, 0.663), (0.485, 0.485)).close().sweep(cq.Workpla...
1
5
0.45507
train_4057b43527338366
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.389, -0.054).lineTo(0.377, -0.076).lineTo(0.368, -0.1).lineTo(0.36, -0.128).lineTo(0.355, -0.157).lineTo(0.353, -0.187).lineTo(0.353, -0.218).lineTo(0.355, -0.248).lineTo(0.36, -0.277).lin...
28
709
0.226031
train_51c87d5f3cd1a4f6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.168), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.534, 0.335).lineTo(0.912, 0.245).lineTo(1, 0.117).lineTo(1, 0).lineTo(0.903, 0).lineTo(0.903, 0.101).lineTo(0.807, 0.245).lineTo(0, 0.247).lineTo(0, 0.335).lineTo(0.534, 0.335).close().re...
4
18
0.289578
train_66f0b87a87316649
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.053, 0.356, 0.067), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.364, 0.547).threePointArc((0.364, 0.547), (0.728, 0)).threePointArc((0.364, -0.547), (-0.364, -0.547)).threePointArc((-0.728, 0), (-0.364, 0.547)).close().sweep(cq.Workplane(cq.Pl...
5
21
0.207214
train_1cc30f304f7d44fe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.402, 0.354, -0.329), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.167, 0.593).lineTo(0.256, 0.082).lineTo(0.125, 0.059).lineTo(0.059, 0.441).lineTo(-0.233, 0.39).lineTo(-0.256, 0.521).lineTo(0.167, 0.593).close().revolve(angleDegrees=180, axisS...
2
20
0.424291
train_2fb3f78d49830902
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.639).extrude(0.266) result = result.cut(cq.Workplane(cq.Plane(origin=(0.64, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.101, 0.345), (-0.373, 0.581), (-0.73, 0.633),...
4
49
0.652612
train_c7f92285b35daad7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.127, -0.732), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.464).lineTo(1, 1.289).lineTo(0.393, 1.289).lineTo(0.393, 0.758).lineTo(0.414, 0.758).lineTo(0.414, 0).lineTo(0, 0).lineTo(0, 1.464).lineTo(1, 1.464).close().revolve(angleDegrees=36...
7
26
0.825881
train_2116d49a082f778f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.576, 0.04, -0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.419, 0).threePointArc((0, -0.419), (-0.419, 0)).threePointArc((0, 0.419), (0.419, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.576, 0.04, -0.181), normal=(0, -1, 0), xDir=(1,...
4
8
0.227389
train_70ec1822fdbaba08
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.299, -0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.619, 0.701).threePointArc((0.68, 0.676), (0.706, 0.614)).lineTo(0.706, -0.628).threePointArc((0.684, -0.679), (0.632, -0.701)).lineTo(-0.573, -0.701).threePointArc((-0.666, -0.663), (...
4
32
0.39738
train_529576648ecf1209
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.552), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.715).lineTo(1, -0.429).lineTo(0, -0.429).lineTo(0, -0.715).lineTo(-0.498, -0.715).lineTo(-0.498, -0.143).lineTo(-1, -0.143).lineTo(-1, 0.429).lineTo(0.498, 0.429).lineTo(0.498, 0.715).l...
11
29
1.912522
train_cc9398ec6f3c3848
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.061, 0, -0.013), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.833, 0.747).threePointArc((0.906, 0.716), (0.938, 0.641)).lineTo(0.938, 0.321).threePointArc((0.921, 0.281), (0.881, 0.264)).lineTo(-0.353, 0.264).threePointArc((-0.426, 0.234), (-0.45...
11
84
0.698477
train_d95ce8986bfe8850
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.813, 0.116), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.488, 0.571).lineTo(0.77, 0.405).threePointArc((0.663, 0.292), (0.376, 0.311)).threePointArc((0.372, 0.202), (0.261, 0.188)).threePointArc((0.183, 0.17), (0.115, 0.148)).threePointArc((...
10
88
2.379978
train_d8f0eb2334010ef8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.482, 0, 0.092), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.518).threePointArc((0.366, 0.366), (0.518, 0)).threePointArc((0.366, -0.366), (0, -0.518)).threePointArc((-0.366, -0.366), (-0.518, 0)).threePointArc((-0.366, 0.366), (0, 0.518)).c...
14
96
0.186832
train_29c0f637bfc4a0b7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.141, 0, -0.638), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.607, 0.607).threePointArc((0.222, 0.83), (0.83, 0.222)).threePointArc((0.607, -0.607), (-0.222, -0.83)).threePointArc((-0.83, -0.222), (-0.607, 0.607)).close().extrude(1.244) result ...
20
203
1.123779
train_2b6337e2c17cd370
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.388, 0, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.501, 0.239).threePointArc((-0.274, 0.237), (-0.226, 0.165)).lineTo(-0.182, 0.139).lineTo(0.045, 0.171).lineTo(0.108, 0.164).lineTo(0.169, 0.054).lineTo(0.209, 0.024).lineTo(0.473, 0....
21
269
0.209303
train_d8fa3ccab0f0be8f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.245, 0.019, 0.261), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.404, 0.841).threePointArc((0.4, 0.75), (0.464, 0.687)).lineTo(0.375, 0.533).threePointArc((0.407, 0.445), (0.475, 0.38)).lineTo(0.468, 0.227).threePointArc((0.467, 0.136), (0.404, ...
26
241
0.981471
train_e937c950cd67c2f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.131, 0.128, -0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.188, 0.796).threePointArc((0.823, -0.796), (-0.823, -0.379)).threePointArc((-0.727, 0.204), (-0.188, 0.796)).close().extrude(0.176, taper=-8.86) result = result.cut(cq.Workplane(...
9
6
0.526325
train_2fad688eb8d659ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.549), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.916, 0.708).threePointArc((0.975, 0.689), (1, 0.645)).lineTo(1, -0.551).threePointArc((0.938, -0.661), (0.792, -0.708)).lineTo(-0.739, -0.708).threePointArc((-0.922, -0.649), (-1, -0.51))....
14
160
1.229011
train_dfeee3bb3a2bfcbf
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.431, 0.505).threePointArc((0.463, 0.493), (0.476, 0.462)).lineTo(0.476, -0.397).threePointArc((0.442, -0.473), (0.361, -0.505)).lineTo(-0.241, -0.505).threePointArc((-0.407, -0.44), (-0.476...
14
107
0.580596
train_44de5d4d7fb49c4d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.466), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.133, 0.125).threePointArc((0.141, 0.122), (0.144, 0.114)).lineTo(0.144, -0.089).threePointArc((0.134, -0.115), (0.108, -0.125)).lineTo(-0.114, -0.125).threePointArc((-0.135, -0.116), (-0.1...
13
44
0.047203
train_5e14ac6831765e59
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.263, 0, -0.034), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.148, 0.727).lineTo(0.736, 0.223).lineTo(0.419, -0.416).lineTo(-0.178, -0.727).lineTo(-0.736, -0.238).lineTo(-0.598, 0.52).lineTo(0.148, 0.727).close().extrude(0.383) result = result.c...
19
337
0.538334
train_b94daef6f731bf0c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.34, 0, -0.39), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.038, 0.275).lineTo(0.187, 0.228).lineTo(0.102, -0.047).lineTo(0.269, -0.099).lineTo(0.215, -0.275).lineTo(-0.269, -0.125).lineTo(-0.215, 0.051).lineTo(-0.048, -0.001).lineTo(0.038, 0.27...
4
34
0.405867
train_8b38e90013ecf259
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.373, 0, -0.486), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.248, 0.526).threePointArc((0.516, 0.416), (0.627, 0.149)).lineTo(0.627, -0.288).threePointArc((0.557, -0.456), (0.388, -0.526)).lineTo(-0.236, -0.526).threePointArc((-0.512, -0.411), (...
4
47
1.117318
train_0ffa57885fa78497
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.491), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.878, 0.633).lineTo(0.878, 0.359).lineTo(-0.457, 0.359).lineTo(-0.457, -0.359).lineTo(0.878, -0.359).lineTo(0.878, -0.633).lineTo(-0.878, -0.633).lineTo(-0.878, 0.633).lineTo(0.878, 0.633)....
7
15
2.083722
train_e9329c52840ec9c4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.005, -0.498), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.676, -0.099).lineTo(0.978, -0.172).lineTo(0.959, -0.255).lineTo(0.657, -0.184).lineTo(0.623, -0.279).lineTo(0.894, -0.43).lineTo(0.855, -0.506).lineTo(0.584, -0.355).lineTo(0.526, -0.4...
7
120
1.031015
train_35837af2e9dbcf86
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.603, 3.533, -2.776), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.71, 0.532).lineTo(0.71, -0.532).lineTo(-0.71, -0.532).lineTo(-0.71, -0.177).lineTo(0.355, -0.177).lineTo(0.355, 0.177).lineTo(-0.71, 0.177).lineTo(-0.71, 0.532).lineTo(0.71, 0.532)...
5
7
0.828775
train_873ab4905e5f7270
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.157), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.256, 1).threePointArc((0.473, 0.91), (0.563, 0.692)).lineTo(0.563, -0.734).lineTo(0.298, -1).lineTo(-0.17, -1).lineTo(-0.563, -0.607).lineTo(-0.563, 1).lineTo(0.256, 1).close().extrude(0.3...
9
87
0.499036
train_a9c07c0feba42773
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.149).lineTo(0.761, 0).lineTo(1, -0.149).lineTo(0.107, -0.149).lineTo(0.107, 0.149).lineTo(1, 0.149).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.303, 0.041), norm...
11
147
0.400144
train_ed814898d42f94e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.258), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.738).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.738).lineTo(-0.606, 0.738).lineTo(-0.606, 0.394).lineTo(0.606, 0.394).lineTo(0.606, 0.738).lineTo(1, 0.738).close().extrude(0.437, both=Tru...
11
75
0.839255
train_6decb1c5d39ac26f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.021, 0, -0.307), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.143, 1).lineTo(0.42, 0.92).lineTo(0.851, 0.547).lineTo(1.011, 0).lineTo(0.851, -0.547).lineTo(0.42, -0.92).lineTo(-0.143, -1).lineTo(-0.662, -0.764).lineTo(-0.97, -0.284).lineTo(-0.9...
2
14
1.626978
train_2843fd9173c36f62
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.012, 0, -0.663), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.179, 0.152).threePointArc((0.2, 0.162), (0.203, 0.204)).lineTo(0.257, 0.195).threePointArc((0.275, 0.193), (0.293, 0.194)).lineTo(0.369, 0.204).threePointArc((0.388, 0.144), (0.424, 0...
15
334
0.246162
train_3b133514c70ed52c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.182), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.228).lineTo(1, 0.182).threePointArc((0.968, 0.166), (0.891, 0.159)).lineTo(-0.371, 0.159).threePointArc((-0.506, 0.147), (-0.564, 0.119)).lineTo(-0.564, -0.101).threePointArc((-0.4...
6
21
0.178773
train_43f95092aae8d54d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.46), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.755).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.755).lineTo(-0.83, 0.755).lineTo(-0.83, 0.17).lineTo(0.83, 0.17).lineTo(0.83, 0.755).lineTo(1, 0.755).close().extrude(0.565, both=True) resu...
22
47
0.497598
train_df1bbae195647251
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.34).lineTo(0.777, 0).lineTo(1, -0.34).lineTo(0.688, -0.34).lineTo(0.688, 0.34).lineTo(1, 0.34).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.549, 0, 0), normal=(0, 0,...
6
27
0.294539
train_f3a3114c187b31e3
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.173).lineTo(0.922, 0).lineTo(1, -0.173).lineTo(0.374, -0.173).lineTo(0.374, 0.173).lineTo(1, 0.173).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.341, 0.332, 0), nor...
7
38
0.516917
train_7da2b6513342cf3b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.005), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.99, 0.112).lineTo(1, -0.104).lineTo(0.201, -0.112).lineTo(0.2, -0.065).lineTo(0.416, -0.062).lineTo(0.487, 0.107).lineTo(0.741, 0.097).lineTo(0.99, 0.112).close().revolve(angleDegrees=360,...
14
314
0.485611
train_e475f79a540c9ba0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.034, -0.001, -0.664), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.398, 0.765).threePointArc((0.477, 0.658), (0.47, 0.623)).threePointArc((-0.053, 0.301), (-0.063, 0.264)).lineTo(-0.047, 0.251).threePointArc((0.409, -0.131), (-0.048, -0.569)).thr...
12
136
1.924964
train_313ee21094d78112
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.256, -0.038, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.113, -0.444).threePointArc((-0.111, -0.622), (-0.489, -0.546)).lineTo(-0.9, 0.135).lineTo(-1.168, 0.289).threePointArc((-1.212, 0.581), (-0.417, 0.664)).lineTo(1.196, -0.247).threePoi...
6
30
3.178283
train_319b7215c8ade6a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.284, 0.028, -0.228), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.071, 0.614).lineTo(0.5, 0.307).lineTo(0.357, -0.307).lineTo(-0.071, -0.614).lineTo(-0.5, -0.307).lineTo(-0.5, 0.307).lineTo(-0.071, 0.614).close().extrude(0.661, taper=7.423) res...
21
214
0.795811
train_c16140fd0159de1b
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.278, 0.113).lineTo(0.212, -0.113).lineTo(0.048, -0.113).lineTo(-0.018, 0.113).lineTo(0.278, 0.113).close().extrude(2).union(cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, ...
4
91
0.201795
train_f1aa3a80aabc42b1
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.037, 0.113).lineTo(0.119, 0).lineTo(0.037, -0.113).lineTo(-0.096, -0.07).lineTo(-0.096, 0.07).lineTo(0.037, 0.113).close().extrude(1.115, both=True) result = result.cut(cq.Workplane(cq.Plan...
10
22
0.076798
train_6195e72f9289a390
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.051, 0, -0.016), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.186, 0.275).lineTo(0.186, 0.188).threePointArc((0.215, 0.161), (0.282, 0.15)).lineTo(0.466, 0.15).threePointArc((0.531, 0.139), (0.557, 0.112)).lineTo(0.557, 0.038).threePointArc((0.5...
11
61
0.127227
train_9144fbd166f9181b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.077, 0.02, -0.401), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.904, 0.253).lineTo(0.812, -0.513).threePointArc((-0.904, 0.513), (0.904, 0.253)).close().extrude(0.801) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.654, -0.7, -0.521), norm...
15
1,202
1.946122
train_af3847836898987d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, 0.076, -0.538), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.626, 0.695).lineTo(0.798, 0.357).threePointArc((0.988, 0.199), (0.895, 0.048)).lineTo(0.997, -0.586).threePointArc((0.855, -0.695), (0.653, -0.632)).lineTo(0.554, -0.083).threePoi...
13
407
1.336428
train_95955d89d4f31f22
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -4.335), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 4.641).lineTo(1, 4.028).lineTo(0.461, 4.028).lineTo(0.461, 1.765).lineTo(0.47, 1.765).lineTo(0.47, 0).lineTo(0, 0).lineTo(0, 4.641).lineTo(1, 4.641).close().revolve(angleDegrees=360, axi...
4
56
0.58852
train_02d5214807e20c34
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.083, 0, -0.26), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.768, 0.148).threePointArc((0.879, 0.111), (0.916, 0)).threePointArc((0.879, -0.111), (0.768, -0.148)).threePointArc((0.657, -0.111), (0.62, 0)).threePointArc((0.657, 0.111), (0.768, 0....
4
75
0.83217
train_9775dae4560ab1c2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.012, 0, 0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.611, 0.069).threePointArc((0, 0.986), (0.611, 0.069)).lineTo(0.611, -0.819).threePointArc((0.606, -0.846), (0.59, -0.869)).lineTo(0.489, -0.97).threePointArc((0.458, -0.986), (0.427, -...
15
133
0.322288
train_b6f5545b049f1668
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.378, -0.198, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.757).threePointArc((0.536, 0.536), (0.757, 0)).lineTo(0.254, 0).threePointArc((0.179, 0.179), (0, 0.254)).lineTo(0, 0.757).close().extrude(2) result = result.union(cq.Workplane(cq...
11
334
0.743217
train_2cb29bafa8013468
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.418), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.22, 0.996).threePointArc((0.298, 0.976), (0.33, 0.93)).lineTo(0.33, 0.738).threePointArc((0.4, 0.64), (0.564, 0.598)).lineTo(0.841, 0.598).threePointArc((0.946, 0.571), (0.99, 0.508)).line...
6
207
2.007621
train_00448dc7d6c259f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.259, 0.114, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.097, 0.111).threePointArc((0.107, 0.107), (0.111, 0.097)).lineTo(0.111, 0.044).threePointArc((0.103, 0.024), (0.083, 0.016)).lineTo(-0.073, 0.016).threePointArc((-0.078, 0.014), (-0.079...
7
187
0.147005
train_d1b85efe3d27f2cb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.082, 0.448, 0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.298, 0.411).lineTo(0.498, 0.198).lineTo(0.419, -0.095).lineTo(-0.084, 0.04).lineTo(-0.205, -0.411).lineTo(-0.498, -0.333).lineTo(-0.298, 0.411).close().extrude(3.662, both=True).in...
10
166
1.092288
train_0057ba8383562c9d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.87, 0.978).lineTo(1, 0.787).lineTo(-0.373, -0.978).lineTo(-1, 0.109).lineTo(0.87, 0.978).close().extrude(0.176) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.027), normal=(0, ...
6
49
0.244727
train_80da07b40aa65897
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.64, 0.281).workplane(offset=2).rect(0.455, 0.254).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.083).extrude(0.838, both=Tru...
3
13
0.263718
train_8e0e9afdddf6749f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.202, -0.294), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.691).lineTo(1, 0.099).lineTo(-0.667, 0.099).lineTo(-0.667, -0.099).lineTo(1, -0.099).lineTo(1, -0.691).lineTo(-1, -0.691).lineTo(-1, -0.494).lineTo(0.667, -0.494).lineTo(0.667, -0.2...
3
34
1.329327
train_b53c46244b5cbdec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.127, -0.272, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.493, 0.583).threePointArc((0.583, 0.672), (0.672, 0.493)).lineTo(0.279, -0.057).threePointArc((0.258, -0.127), (0.305, -0.183)).lineTo(0.672, -0.403).threePointArc((0.672, -0.672), (0...
3
43
0.576403
train_3f3b45a88404ba3e
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.121).lineTo(0.818, 0).lineTo(1, -0.121).lineTo(0.282, -0.121).lineTo(0.282, 0.121).lineTo(1, 0.121).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.548, 0, 0), normal=(...
12
41
0.348164
train_73bdc9db6da4bb70
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.438, 0.695, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.494, 0.816).threePointArc((1, 0.315), (0.494, -0.187)).lineTo(-0.494, -0.187).threePointArc((-1, 0.315), (-0.494, 0.816)).lineTo(0.494, 0.816).close().extrude(0.64) result = result.uni...
4
53
1.173356
train_e3be24ed1c94590b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.333, 0.901).lineTo(-0.333, 0.3).lineTo(1, 0.3).lineTo(1, -0.901).lineTo(-1, -0.901).lineTo(-1, 0.901).lineTo(-0.333, 0.901).close().extrude(0.382) result = result.cut(cq.Workplane(cq.Plan...
20
174
1.003641
train_e72b9678164b54eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.294), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.898, -0.126).lineTo(0.978, -0.167).lineTo(0.956, -0.263).lineTo(0.869, -0.256).lineTo(0.829, -0.375).lineTo(0.891, -0.436).lineTo(0.843, -0.524).lineTo(0.767, -0.492).lineTo(0.691, -0.594)...
4
95
1.050391
train_47349c77cb171eb1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.663), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.185, 0.167).lineTo(0.185, 0.101).lineTo(0.141, -0.167).lineTo(-0.014, -0.155).lineTo(-0.159, 0.049).lineTo(-0.185, 0.167).close().extrude(1.662, taper=-3.286) result = result.cut(cq.Workp...
18
254
0.206461
train_9f9472813e72991a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.139, 0.858).threePointArc((0.276, 0.809), (0.333, 0.692)).lineTo(0.333, 0.434).threePointArc((0.384, 0.33), (0.505, 0.286)).lineTo(0.832, 0.286).threePointArc((0.95, 0.243), (1, 0.142)).li...
11
141
0.444399
train_0714762f8a0aa2f5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-35.359, -0.092, -1.896), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(18.075, 14.926).lineTo(35.63, 0.091).lineTo(17.152, -15.058).lineTo(-17.617, -14.936).lineTo(-35.63, -0.391).lineTo(-17.616, 15.058).lineTo(18.075, 14.926).close().extrude(5.339) ...
11
44
0.388468
train_9166922a21571e78
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.03, 0, -0.695), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.175, 1).lineTo(0.775, 0.652).lineTo(1.006, 0).lineTo(0.775, -0.652).lineTo(0.175, -1).lineTo(-0.507, -0.871).lineTo(-0.947, -0.346).lineTo(-0.947, 0.346).lineTo(-0.507, 0.871).lineTo(0...
5
47
3.886211
train_aefd7a5e8479d23f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.249, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.117, 0.486).lineTo(0.252, 0.333).lineTo(0.19, 0.151).lineTo(0.066, 0.024).lineTo(-0.133, 0.008).lineTo(-0.252, 0.175).lineTo(-0.199, 0.354).lineTo(-0.079, 0.489).lineTo(0.117, 0.486).clos...
2
30
0.294046
train_f5e011ae188b70b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.356, 0, -0.167), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.461, 0.334).lineTo(0.615, 0.234).lineTo(0.667, 0.117).lineTo(0.667, 0).lineTo(0.488, 0).lineTo(0.488, 0.101).lineTo(0.422, 0.234).lineTo(0, 0.155).lineTo(0, 0.334).lineTo(0.461, 0.334...
8
114
0.325679
train_b4a5fdecba2a18c6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.025, -0.481, -0.045), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.312, 0.255).lineTo(0.312, -0.204).lineTo(-0.312, -0.204).lineTo(-0.312, -0.113).lineTo(-0.188, -0.113).lineTo(-0.188, -0.021).lineTo(-0.063, -0.021).lineTo(-0.063, 0.071).lineTo(...
8
136
0.348342
train_974d51171e192380
import cadquery as cq import math result = cq.Workplane('XY').circle(0.1).extrude(0.541, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.345).extrude(1, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0,...
10
38
0.150475
train_9be38ab294705fa4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.25, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.088, 0.582).threePointArc((0.212, 0.53), (0.264, 0.406)).lineTo(0.264, 0.093).threePointArc((0.212, -0.031), (0.088, -0.083)).lineTo(-0.088, -0.083).threePointArc((-0.212, -0.031), (-0.264...
10
169
0.594422
train_b4f1345a0a1368df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.038, 0, -0.356), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.229, 1).lineTo(0.639, 0.802).lineTo(1, 0).lineTo(0.639, -0.802).lineTo(-0.229, -1).lineTo(-0.924, -0.445).lineTo(-0.924, 0.445).lineTo(-0.229, 1).close().extrude(0.384) result = resu...
7
117
1.474191
train_b8091e1314ae5c42
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.085), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.484, 0.999).lineTo(0.037, 0.865).lineTo(-0.146, 0.209).threePointArc((-0.025, 0.197), (0.097, 0.203)).threePointArc((0.246, 0.181), (0.299, 0.046)).lineTo(0.576, 0.162).threePointArc(...
6
91
0.098575
train_e8599971849d874d
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.213, 0.197).threePointArc((0.219, 0.194), (0.221, 0.188)).lineTo(0.221, 0.139).threePointArc((0.217, 0.129), (0.208, 0.125)).lineTo(-0.119, 0.125).threePointArc((-0.141, 0.116), (-0.15, 0.096)...
7
37
0.139263
train_e7be05e94b5968c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.163, 0, 0.097), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.367, 0.902).lineTo(0.836, 0.821).lineTo(0.535, -0.902).lineTo(0.378, -0.874).lineTo(0.461, -0.405).threePointArc((0.175, -0.194), (0.284, 0.433)).lineTo(0.367, 0.902).close().revolve(...
15
127
2.402157
train_744ff7673f10300c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.207, 0.161, -0.146), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.164, 0.465).lineTo(-0.056, 0.405).lineTo(-0.086, 0.171).lineTo(0.115, 0.058).lineTo(0.145, 0.292).lineTo(0.253, 0.232).lineTo(0.164, -0.465).lineTo(0.056, -0.405).lineTo(0.086, -0...
9
149
0.520034
train_e582c9602f408547
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.335, -0.083, -0.453), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.463, -0.047).threePointArc((-0.618, -0.142), (-0.463, 0.142)).lineTo(0.463, 0.142).threePointArc((0.618, 0.142), (0.463, -0.047)).lineTo(-0.463, -0.047).close().extrude(0.207) re...
7
153
0.848689
train_6f18cabcbee38eaf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.415, 0, -0.024), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.58, 0).threePointArc((0, -0.178), (-0.58, 0)).threePointArc((0, 0.178), (0.58, 0)).close().extrude(0.063) result = result.union(cq.Workplane(cq.Plane(origin=(-0.247, -0.02, 0), normal=...
2
10
0.084807
train_5dab3668edf93380
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.028, 0, -0.112), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.758, 0.224).lineTo(0.912, 0.191).lineTo(1, 0.08).lineTo(1, 0).lineTo(0.891, 0).lineTo(0.891, 0.068).lineTo(0.796, 0.191).lineTo(0, 0.124).lineTo(0, 0.224).lineTo(0.758, 0.224).close(...
4
31
0.143262