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_d0aadd4e6f6874d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.068, -0.455, 0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.37, 0.37).threePointArc((0.523, 0), (0.37, -0.37)).threePointArc((0, -0.523), (-0.37, -0.37)).threePointArc((-0.523, 0), (-0.37, 0.37)).threePointArc((0, 0.523), (0.37, 0.37)).clos...
16
115
0.7195
train_e46e559fb83041d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.085, -0.125, -0.003), normal=(0.969, 0.237, 0.074), xDir=(-0.237, 0.971, 0))).moveTo(0.403, 0.237).lineTo(0.403, -0.319).lineTo(-0.403, -0.319).lineTo(-0.403, 0.237).threePointArc((-0.302, 0.156), (-0.202, 0.237)).threePointArc((-0.101, 0.319), ...
8
92
0.654094
train_03c7ba5a99de2c20
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.496, 1).lineTo(0.496, -1).lineTo(-0.496, -1).lineTo(-0.496, 1).lineTo(0.496, 1).close().extrude(0.419) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.006), normal=(0, 0, 1), xDi...
7
122
0.434835
train_115876ecbe8049a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.716), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.415, 0.998).threePointArc((0.467, 0.983), (0.489, 0.948)).lineTo(0.489, 0.42).threePointArc((0.527, 0.359), (0.617, 0.333)).lineTo(0.786, 0.333).threePointArc((0.92, 0.294), (0.977, 0.203)...
8
88
1.786749
train_72c8a62743cabba7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.111, 0.261, -0.265), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.518, 0.738).threePointArc((0.574, 0.716), (0.596, 0.66)).lineTo(0.596, -0.613).threePointArc((0.559, -0.701), (0.471, -0.738)).lineTo(-0.596, -0.738).lineTo(-0.596, 0.738).lineTo(0...
12
70
1.063615
train_5ec72a14cc49c385
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, 0, -0.487), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.974) result = result.cut(cq.Workplane(cq.Plane(origin=(1.002, 0, -0.487), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.158, 0.541), (-0.585, 0.91), (-1.142, 0....
8
67
1.814271
train_856f208b70d31f3c
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.838, 2).lineTo(0.838, 0.187).lineTo(0.753, 0.187).lineTo(0.753, 0).lineTo(0.494, 0).lineTo(0.494, 2).lineTo(0.838, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))...
3
8
2.73331
train_18116c284d3ee164
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.947), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.894).lineTo(1, 0.352).lineTo(0.427, 0.352).lineTo(0.427, 0).lineTo(0.071, 0).lineTo(0.071, 1.894).lineTo(1, 1.894).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,...
7
40
4.746362
train_d95c83cb3023a2ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.398, 0, -0.233), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.492, 0.235).threePointArc((0.569, 0.203), (0.601, 0.125)).lineTo(0.601, -0.194).threePointArc((0.588, -0.223), (0.56, -0.235)).lineTo(-0.543, -0.235).threePointArc((-0.584, -0.218), (...
7
53
0.475224
train_deb7458ba7753fd5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.104, -0.259, 0.049), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.536, 2.032).threePointArc((0.684, 1.788), (0.707, 1.512)).threePointArc((0.733, 1.3), (0.843, 1.104)).threePointArc((0.946, 0.85), (0.893, 0.588)).threePointArc((0.673, 0.431), (0...
6
30
1.374115
train_b76e0fbcd5aa3be8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.197), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.424, 0.529).lineTo(-0.34, 0.587).lineTo(-0.437, 0.808).lineTo(-0.302, 0.868).lineTo(-0.204, 0.646).lineTo(-0.105, 0.67).lineTo(-0.116, 0.911).lineTo(0.032, 0.918).lineTo(0.043, 0.677).lin...
6
258
0.779615
train_c1085b5c0d841642
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.024, 2).extrude(0.212) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.444, -0.07).lineTo(0.444, -0.428).lineTo(-0.444, -0.428)....
12
42
0.163695
train_cbe409cd380fd3bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.933, -0.259, -0.219), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.52, 0.88).lineTo(0.504, 0.793).lineTo(0.754, 0.715).lineTo(0.703, 0.585).lineTo(0.466, 0.695).lineTo(0.419, 0.621).lineTo(0.624, 0.457).lineTo(0.53, 0.354).lineTo(0.349, 0.543).l...
11
182
0.721795
train_20b5f7acf730eaf5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.502, -0.146, -0.499), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.082, 0.644).lineTo(0.145, 0.285).lineTo(0.49, 0.179).lineTo(0.171, 0.01).lineTo(0.177, -0.352).lineTo(-0.083, -0.101).lineTo(-0.425, -0.218).lineTo(-0.266, 0.107).lineTo(-0.367, ...
3
69
0.650011
train_fd6e3ae65b4baa1e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.205, -0.092, 0.243), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.666, 0.2).threePointArc((0.524, -0.336), (0.269, 0.138)).lineTo(0.18, 0.237).threePointArc((0.166, 0.251), (0.148, 0.261)).lineTo(0.117, 0.273).threePointArc((0.108, 0.281), (0.1...
10
162
1.182244
train_b8a402149881fcc2
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.034, 0.149).threePointArc((0.052, 0.109), (0.066, 0.138)).lineTo(0.095, 0.12).threePointArc((0.094, 0.075), (0.12, 0.095)).lineTo(0.138, 0.066).threePointArc((0.118, 0.027), (0.149, 0.034)).lineTo(0.153, 0).threePointArc((0.118, -0.027), (0.149, -0....
3
58
0.030204
train_6a8e9f75a222f642
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.221), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.866, 0.633).lineTo(0.866, 0.509).lineTo(1, 0.509).lineTo(1, -0.524).threePointArc((0.959, -0.602), (0.882, -0.633)).lineTo(-0.894, -0.633).threePointArc((-0.962, -0.605), (-1, -0.537)).lin...
10
53
0.725602
train_ef9346dc4b0ebe68
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.923), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.496, 0.871).lineTo(1.001, 0.014).lineTo(0.49, -0.871).lineTo(-0.51, -0.859).lineTo(-1.001, -0.015).lineTo(-0.511, 0.862).lineTo(0.496, 0.871).close().extrude(0.429) result = result.edges()...
8
148
1.684181
train_f51f6db1f4a935c8
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.202).lineTo(0.832, 0).lineTo(1, -0.202).lineTo(0.189, -0.202).lineTo(0.189, 0.202).lineTo(1, 0.202).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=(...
10
174
0.60646
train_d1800849bd9d1fb4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.169, 1).threePointArc((0.265, 0.952), (0.305, 0.856)).lineTo(0.305, -0.84).threePointArc((0.261, -0.947), (0.154, -1)).lineTo(-0.213, -1).threePointArc((-0.278, -0.964), (-0.305, -0.9)).li...
15
257
0.161627
train_a7e7e188884c9e0c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.04, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.056, 0.222).threePointArc((0.125, 0.194), (0.136, 0.121)).threePointArc((0.16, 0.058), (0.218, 0.022)).threePointArc((0.285, -0.023), (0.365, -0.012)).lineTo(0.418, -0.14).threePointArc((-0...
3
38
0.529247
train_8f77460fb630ac37
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.549, 1).threePointArc((0.852, 0.864), (0.98, 0.56)).lineTo(0.98, -0.56).threePointArc((0.852, -0.864), (0.549, -1)).lineTo(-0.549, -1).threePointArc((-0.852, -0.864), (-0.98, -0.56)).lineTo(-0.98, 0.56).threePointArc((-0.852, 0.864), (-0.549, 1)).li...
5
31
5.919602
train_c7a245c3305364f4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.421, -0.41, 0.081), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.034, 0.247).threePointArc((0.127, 0.209), (0.165, 0.117)).lineTo(0.165, -0.074).threePointArc((0.127, -0.167), (0.034, -0.205)).lineTo(-0.034, -0.205).threePointArc((-0.127, -0.167...
9
161
0.184883
train_504093480b4452f2
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.914).extrude(0.928) result = result.cut(cq.Workplane(cq.Plane(origin=(0.914, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.175, 0.536), (-0.631, 0.87), (-1.197, 0.87), (-1...
4
45
2.408788
train_1433c81d8380633d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.04, 0.703, -0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.077, 0.287).threePointArc((0.287, 0.077), (0.21, -0.21)).threePointArc((-0.077, -0.287), (-0.287, -0.077)).threePointArc((-0.21, 0.21), (0.077, 0.287)).close().sweep(cq.Workplane(cq...
5
76
0.053441
train_5bbe94aadebf4e80
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.013, 0, -0.405), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.549, 0.861).lineTo(0.549, 0.465).lineTo(0.108, 0.465).lineTo(0.108, -0.861).lineTo(-0.108, -0.861).lineTo(-0.108, 0.465).lineTo(-0.549, 0.465).lineTo(-0.549, 0.861).lineTo(0.549, 0.861...
11
150
1.114435
train_30909da3d7a8b273
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.343), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.555).extrude(0.657, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.343), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.26).extrude(0.159, both=True)) result = result...
4
14
1.019278
train_a970bb92fca38362
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.169, 0.117, 0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.076, 0.384).threePointArc((0.665, 0.783), (0.733, 0.112)).lineTo(0.695, 0.071).lineTo(0.659, -0.026).threePointArc((0.603, -0.184), (0.76, -0.352)).threePointArc((0.749, -0.648), ...
8
60
0.53323
train_dae9b4713481b020
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, -0.074, 0.037), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.178, 0.396).lineTo(0.182, 0.299).lineTo(0.177, 0.205).lineTo(0.124, 0.12).lineTo(0.405, 0.116).lineTo(0.156, -0.014).lineTo(0.328, -0.236).lineTo(0.071, -0.122).lineTo(0.005, -0.39...
15
79
0.391337
train_d88dd7fce54bca3f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.208, 0, -0.513), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.607, 0.634).threePointArc((0.67, 0.61), (0.697, 0.553)).lineTo(0.697, 0.419).threePointArc((0.664, 0.347), (0.585, 0.317)).lineTo(0.404, 0.317).threePointArc((0.365, 0.302), (0.348, 0...
8
118
0.756423
train_f5d8d88a7f54d824
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.408, 0.5, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.094, 1.411).lineTo(0.197, 1.368).lineTo(0.373, 1.132).lineTo(0.33, 0.841).lineTo(0.094, 0.666).lineTo(-0.197, 0.709).lineTo(-0.373, 0.945).lineTo(-0.33, 1.236).lineTo(-0.094, 1.411).clo...
4
138
0.976391
train_47bc0a78767614d7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.476), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.367).extrude(0.45) result = result.cut(cq.Workplane(cq.Plane(origin=(0.368, 0, -0.476), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.042, 0.17), (-0.158, 0.302), (-0.323,...
13
207
0.32749
train_0690501325d49a50
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.122), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.961, 2).extrude(0.453) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.122), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.254, -0.227).lineTo(0.254, -0.271).lineTo(-0.254, -0.271)...
11
48
0.847132
train_bc7be72c89c72187
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.805, 0, -0.875), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.155, 1.75).lineTo(0.155, 0.155).lineTo(1.609, 0.155).lineTo(1.609, 0).lineTo(0, 0).lineTo(0, 1.75).lineTo(0.155, 1.75).close().extrude(1, both=True) result = result.cut(cq.Workplane(...
5
24
0.801663
train_8f37618e44b4426a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.225), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.382).threePointArc((0.168, 0.331), (0.342, 0.317)).threePointArc((0.494, 0.191), (0.684, 0.247)).threePointArc((1, -0.069), (0.684, -0.385)).lineTo(-0.684, -0.385).threePointArc((-1, -0...
14
10
0.572048
train_80aaee4bd44c6bde
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.033, 0.736, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.41, 0.505).lineTo(0.384, 0.419).lineTo(0.488, 0.34).lineTo(0.42, 0.234).lineTo(0.304, 0.295).lineTo(0.236, 0.236).lineTo(0.28, 0.113).lineTo(0.166, 0.061).lineTo(0.102, 0.174).lineTo(0...
4
90
2.12075
train_89ec66665a275a60
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.545).extrude(0.273) result = result.cut(cq.Workplane(cq.Plane(origin=(0.547, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.061, 0.253), (-0.236, 0.449), (-0.48, 0.542)...
7
128
0.176142
train_e29b5eb04f9ed981
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.149, 0.02), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.958, 0.09).threePointArc((1, 0.082), (0.958, 0.074)).lineTo(0.687, 0.041).lineTo(0.102, -0.029).threePointArc((0.027, -0.042), (0.002, -0.058)).lineTo(0.002, -0.204).lineTo(0.002, -0.05...
7
76
0.128073
train_9ecb43bcc02a302c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.05, 0, -0.506), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.337, 0.653).threePointArc((-0.247, 0.624), (-0.21, 0.554)).lineTo(-0.21, 0.406).threePointArc((-0.179, 0.35), (-0.108, 0.326)).lineTo(0.888, 0.326).threePointArc((1.001, 0.289), (1.049...
9
90
0.722468
train_6fda1a58142608f1
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, 0.345).threePointArc((0.244, 0.244), (0.345, 0)).threePointArc((0.244, -0.244), (0, -0.345)).threePointArc((-0.244, -0.244), (-0.345, 0)).threePointArc((-0.244, 0.244), (0, 0.345)).close(...
8
269
0.57968
train_0f5d994bdb762ee7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.257, 0.531), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.578, 0.524).threePointArc((-0.426, 0.699), (-0.193, 0.692)).threePointArc((0.037, 0.656), (0.193, 0.484)).lineTo(0.578, 0.524).threePointArc((1, 0.107), (0.578, -0.311)).threePointArc...
10
356
2.216625
train_f7e7b15ee54f5e30
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.061, 0.065, 0.165), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.734, 0.202).lineTo(0.917, 0.161).lineTo(0.734, 0.081).lineTo(0.184, -0.04).lineTo(0.184, -0.322).lineTo(-0.184, -0.322).lineTo(-0.184, -0.04).lineTo(-0.734, 0.081).lineTo(-0.917, 0....
39
306
0.466645
train_ed39b0524f0339f0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.262, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.357).extrude(0.573) result = result.cut(cq.Workplane(cq.Plane(origin=(0.357, -0.262, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.048, 0.178), (-0.179, 0.309), (-0.357,...
7
74
1.525962
train_6fd00e5f67717a9d
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.546, 2).lineTo(0.546, 0.503).lineTo(0.704, 0.503).lineTo(0.704, 0).lineTo(0.164, 0).lineTo(0.164, 2).lineTo(0.546, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))...
3
21
1.753798
train_375ebd1c94df75a5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.062, 0.02, -0.405), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.822, 0.935).threePointArc((0.922, 0.884), (0.964, 0.764)).lineTo(0.964, 0.104).threePointArc((0.938, 0.031), (0.878, 0)).lineTo(0.716, 0).threePointArc((0.62, -0.05), (0.579, -0.16...
12
1,222
1.799975
train_4d2ec33db5232964
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.551, -0.505, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.244).threePointArc((0.879, 0.879), (1.244, 0)).lineTo(0.421, 0).threePointArc((0.297, 0.297), (0, 0.421)).lineTo(0, 1.244).close().extrude(2) result = result.union(cq.Workplane(cq...
12
73
1.565939
train_c77f6a55d77dc585
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.11, -0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.469, 0.601).threePointArc((0.562, 0.562), (0.601, 0.469)).lineTo(0.601, 0.277).threePointArc((0.624, 0.223), (0.677, 0.2)).lineTo(0.903, 0.2).threePointArc((0.972, 0.171), (1.001,...
6
72
0.360858
train_e01596940fad0794
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.058, 0.119, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.493, 0.732).lineTo(0.916, -0.439).threePointArc((-0.916, -0.585), (0.493, 0.732)).close().moveTo(0.352, 0.293).threePointArc((0.07, -0.732), (-0.352, 0.293)).lineTo(0.352, 0.293).close(...
8
21
0.287224
train_d99a7ce7a73a294c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0.041, -0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.885, 0.778).threePointArc((0.96, 0.747), (0.991, 0.672)).lineTo(0.991, -0.651).threePointArc((0.954, -0.741), (0.864, -0.778)).lineTo(-0.852, -0.778).threePointArc((-0.95, -0.737)...
15
42
1.138579
train_1eb63b9e1c60500b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.042, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.644, 0.644).lineTo(0.644, -0.644).lineTo(-0.644, -0.644).lineTo(-0.644, 0.644).lineTo(-0.297, 0.644).lineTo(-0.297, -0.344).lineTo(0.297, -0.344).lineTo(0.297, 0.644).lineTo(0.644, 0.644)....
18
33
2.166421
train_09592f4393a23d69
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.058, 0.143, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.456, 0.154).lineTo(0.456, -0.096).lineTo(0.4, -0.154).lineTo(-0.382, -0.154).threePointArc((-0.435, -0.131), (-0.456, -0.079)).lineTo(-0.456, 0.11).threePointArc((-0.444, 0.141), (...
11
89
0.561677
train_3401c40c5f46aa77
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.25), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.321, 0.117).lineTo(0.321, 0.068).lineTo(0.369, 0.068).lineTo(0.369, -0.027).lineTo(0.279, -0.027).lineTo(0.279, -0.117).lineTo(-0.277, -0.117).lineTo(-0.277, -0.025).lineTo(-0.369, -0.025)....
8
54
0.208493
train_d3516cac9dc46da0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.119, 0.913).threePointArc((0.27, 0.855), (0.333, 0.717)).lineTo(0.333, 0.447).threePointArc((0.38, 0.347), (0.49, 0.304)).lineTo(0.779, 0.304).threePointArc((0.934, 0.244), (1, 0.103)).lin...
14
74
0.77082
train_21d7e6249f3ded60
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.033, -0.093, -0.556), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.124, 0.533).lineTo(0.178, 0.479).lineTo(0.178, 0.287).lineTo(0.287, 0.178).lineTo(0.764, 0.178).lineTo(0.89, 0.052).lineTo(0.89, -0.101).lineTo(0.812, -0.178).lineTo(0.664, -0.17...
9
115
1.217016
train_7c836760fc74e4dd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.097, 0.998).threePointArc((0.222, 0.96), (0.275, 0.869)).lineTo(0.275, -0.519).threePointArc((0.308, -0.575), (0.385, -0.599)).lineTo(0.617, -0.599).threePointArc((0.763, -0.644), (0.8...
2
19
0.409467
train_76fff0c761108cfe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.301, -0.249, -0.103), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.672, -0.038).threePointArc((0.672, 0.574), (0.224, -0.269)).lineTo(0.224, -0.499).threePointArc((0.224, -0.574), (-0.075, -0.499)).lineTo(-0.075, -0.211).threePointArc((-0.068, -...
5
85
0.285161
train_9067e002d8a22551
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.036), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.61, 0.521).threePointArc((0.755, 0.461), (0.814, 0.316)).lineTo(0.814, -0.316).threePointArc((0.755, -0.461), (0.61, -0.521)).lineTo(-0.61, -0.521).threePointArc((-0.755, -0.461), (-0.814,...
13
147
2.824411
train_075ede99b1da4e0e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.587).extrude(0.715) result = result.cut(cq.Workplane(cq.Plane(origin=(0.579, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.172, 0.415), (-0.587, 0.587), (-1.0...
15
64
0.481464
train_2c8df2f0936fd2e1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.492).lineTo(1, -0.482).lineTo(0.974, -0.482).lineTo(0.974, -0.508).lineTo(-0.98, -0.508).lineTo(-0.98, -0.488).lineTo(-1, -0.488).lineTo(-1, 0.479).lineTo(-0.972, 0.479).lineTo(-0.972, ...
9
56
0.329971
train_17ff2d16a08bb546
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.121, -0.013, -0.368), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.297, -0.49).threePointArc((0.436, -0.378), (0.562, -0.519)).threePointArc((0.179, -0.986), (-0.255, -0.527)).threePointArc((-0.275, -0.478), (-0.406, -0.434)).threePointArc((-0.48...
11
34
1.308503
train_57502d88bb1b0a94
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.215, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.245, 0.215).threePointArc((0, -0.03), (-0.245, 0.215)).threePointArc((0, 0.46), (0.245, 0.215)).close().extrude(2) final_result = result
1
3
0.377148
train_53109e147f69a78b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.165, -0.049, 0.028), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.942, 0.909).threePointArc((1.011, 0.791), (0.998, 0.674)).lineTo(0.336, -0.837).threePointArc((0.185, -0.954), (0.005, -0.891)).lineTo(-0.986, 0.454).threePointArc((-1.011, 0.643),...
5
150
0.08333
train_6c3c2b9d9543c045
import cadquery as cq import math result = cq.Workplane('XY').box(1.527, 2, 1.539) result = result.edges().fillet(0.165) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.237).extrude(3.055, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
13
95
3.340414
train_6baecbf10b961607
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.376, -0.4, 0.04), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.211, 1.026).threePointArc((-0.034, 0.656), (0.283, 0.616)).threePointArc((0.468, 0.568), (0.776, 0.312)).threePointArc((1.26, -0.273), (0.739, -0.834)).threePointArc((0.666, -0.873),...
26
225
0.284346
train_ca436efd0e1a5770
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.189, 0.127, -0.403), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.432, 0.392).lineTo(0.432, -0.434).lineTo(-0.432, -0.434).lineTo(-0.432, 0.392).threePointArc((-0.324, 0.35), (-0.216, 0.392)).threePointArc((-0.108, 0.434), (0, 0.392)).threePoint...
9
131
2.071672
train_a4082c8af53ac588
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.081, 0.076, -0.557), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.759, 0.557).lineTo(0.861, -0.557).threePointArc((-0.861, 0.456), (0.759, 0.557)).close().extrude(1.114) result = result.cut(cq.Workplane(cq.Plane(origin=(0.005, 0.001, -0.012), nor...
8
97
1.801308
train_9c0a8ec17dcf2ed6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.164, 0.025, 0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.641, 0.415).lineTo(-0.145, 0.36).threePointArc((-0.066, 0.272), (0.015, 0.353)).lineTo(0.275, 0.358).threePointArc((0.478, 0.524), (0.545, 0.231)).lineTo(0.72, 0.009).lineTo(0.385...
13
81
1.093884
train_0bd1a5e322d2fd49
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.139), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.9, 0.94).lineTo(1, 0.849).lineTo(1, -0.94).lineTo(-0.86, -0.94).lineTo(-1, -0.813).lineTo(-1, 0.94).lineTo(0.9, 0.94).close().extrude(0.278) result = result.cut(cq.Workplane(cq.Plane(origi...
7
239
0.835394
train_ce2eb07921ae0b2f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.214), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.446, 1).lineTo(0.446, -1).lineTo(-0.446, -1).lineTo(-0.446, 1).lineTo(0.446, 1).close().extrude(0.222) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.046, -0.926, -0.175), normal=(0,...
9
129
0.373006
train_869417f7761da48d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.101), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.693, 0.201).lineTo(0.912, 0.147).lineTo(1, 0.071).lineTo(1, 0).lineTo(0.895, 0).lineTo(0.895, 0.06).lineTo(0.799, 0.147).lineTo(0, 0.105).lineTo(0, 0.201).lineTo(0.693, 0.201).close().rev...
11
69
0.094299
train_514969727dbc6eb8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.233, 0.001, 0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.325, 0.029).threePointArc((0.4, -0.096), (0.385, -0.235)).threePointArc((0.241, -0.28), (0.085, -0.214)).threePointArc((0.004, -0.181), (-0.071, -0.283)).threePointArc((-0.227, -0.4...
1
13
0.777259
train_6747f1f532041d5b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.016, -0.454), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.498, 0.326).threePointArc((0.498, 0.326), (1, 0)).threePointArc((0.498, -0.326), (-0.498, -0.326)).threePointArc((-1, 0), (-0.498, 0.326)).close().extrude(0.973) result = result.unio...
6
26
1.40237
train_f6c893286adf2456
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.361, -0.256, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.721).threePointArc((0.511, 0.511), (0.721, 0)).lineTo(0.254, 0).threePointArc((0.181, 0.181), (0, 0.254)).lineTo(0, 0.721).close().extrude(2) result = result.union(cq.Workplane(cq...
8
67
0.316521
train_597daa00e9378f2f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.003, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.024, -0.779).threePointArc((-0.182, -0.997), (-0.433, -0.797)).lineTo(-0.365, -0.617).threePointArc((-0.378, -0.544), (-0.521, -0.521)).lineTo(-0.991, 0.054).lineTo(-0.173, 0.61).threePoin...
1
26
2.525288
train_8a204e30a4932051
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.284, -0.121), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.63, 0.242).lineTo(0.658, 0.22).lineTo(0.715, 0.084).lineTo(0.715, 0).lineTo(0.621, 0).lineTo(0.621, 0.073).lineTo(0.55, 0.22).lineTo(0, 0.148).lineTo(0, 0.242).lineTo(0.63, 0.242).cl...
6
74
0.187222
train_3ca68bbc1cefe48c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.206), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.824, -0.137).lineTo(0.982, -0.19).lineTo(0.97, -0.249).lineTo(0.807, -0.216).lineTo(0.761, -0.346).lineTo(0.899, -0.438).lineTo(0.872, -0.491).lineTo(0.724, -0.418).lineTo(0.645, -0.531).l...
3
135
0.845328
train_3cedb6ea7f82cb75
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.084, -0.263, -0.072), normal=(-0.558, 0.719, -0.414), xDir=(-0.79, -0.613, 0))).moveTo(-0.087, -0.302).threePointArc((-0.124, -0.333), (-0.141, -0.294)).lineTo(-0.343, -0.199).threePointArc((-0.376, -0.203), (-0.359, -0.171)).lineTo(-0.338, 0.03...
4
59
0.784853
train_e9433dd42aa3e271
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.057, 0.046, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.311, 0.13).lineTo(-0.178, 0.105).lineTo(-0.178, 0.089).lineTo(-0.042, 0.065).lineTo(0.416, 0.065).lineTo(0.533, 0.043).lineTo(0.533, -0.098).lineTo(0.361, -0.13).lineTo(0.098, -0...
11
113
0.153033
train_bc54b927d205a6c4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.342, -0.094, -0.149), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.389, 0.657).lineTo(0.641, 0.6).lineTo(0.584, 0.349).lineTo(0.681, 0.194).lineTo(0.653, 0.069).lineTo(0.498, -0.028).lineTo(0.567, -0.308).lineTo(0.384, -0.531).lineTo(0.356, -0.6...
11
206
0.874602
train_89d159100c117f1e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.035, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.931, 1).lineTo(1.136, 0.661).lineTo(1.136, 0.511).lineTo(0.931, 0.511).lineTo(0.931, 0.417).lineTo(1.168, 0.417).lineTo(1.168, -0.138).lineTo(1.012, -0.177).lineTo(0.931, -0.138).lineTo(0.9...
14
192
1.11317
train_da00148a39cfcdf2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.019, 0.195), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.074, 0.997).threePointArc((0.444, 0.994), (0.746, 0.839)).threePointArc((0.935, 0.557), (0.981, 0.191)).threePointArc((0.878, -0.205), (0.641, -0.57)).threePointArc((0.307, -0.848), (-...
20
1,159
0.963315
train_e2b332914533bb6c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.031, -0.896), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.167, 0.184).threePointArc((0.181, 0.176), (0.187, 0.159)).lineTo(0.187, -0.037).threePointArc((0.181, -0.054), (0.168, -0.061)).lineTo(0.117, -0.061).threePointArc((0.1, -0.071), (0.0...
8
91
0.20385
train_8a79f21ea6bb2b79
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.275), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.549).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.549).lineTo(-0.789, 0.549).lineTo(-0.789, 0.211).lineTo(0.789, 0.211).lineTo(0.789, 0.549).lineTo(1, 0.549).close().extrude(0.233, both=Tru...
4
18
0.268403
train_c3830a2745acfbcf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.108), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.845, 0.215).lineTo(0.986, 0.15).lineTo(1, 0.075).lineTo(1, 0).lineTo(0.937, 0).lineTo(0.937, 0.065).lineTo(0.831, 0.15).lineTo(0, 0.08).lineTo(0, 0.215).lineTo(0.845, 0.215).close().revol...
9
50
0.445232
train_e5e9fa799e57c409
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.48, 2).extrude(0.183) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.098, 0.115, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.113, 0.485).lineTo(0.092, 0.383).threePointArc((0.12, ...
8
47
0.097191
train_e7c3446a16b03b65
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.197, 0.16).lineTo(0.197, -0.16).lineTo(-0.197, -0.16).lineTo(-0.197, 0.16).lineTo(-0.137, 0.16).lineTo(-0.137, -0.1).lineTo(0.137, -0.1).lineTo(0.137, 0.16).lineTo(0.197, 0.16).close().extrude...
19
28
0.089178
train_a7018796d920d26e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.466, 0.875).threePointArc((0.466, 0.875), (0.932, 0)).threePointArc((0.466, -0.875), (-0.466, -0.875)).threePointArc((-0.932, 0), (-0.466, 0.875)).close().extrude(0.2) result = result....
7
208
0.546847
train_0ec1ee100d3b5101
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.5, 1).lineTo(0.5, 0.5).lineTo(1, 0.5).lineTo(1, -1).lineTo(0.5, -1).lineTo(0.5, 0).lineTo(0, 0).lineTo(0, -0.5).lineTo(-0.5, -0.5).lineTo(-0.5, 0.5).lineTo(-1, 0.5).lineTo(-1, 1).lineTo(0.5, 1).close().extrude(0.18, both=True) result = result.cut(cq...
19
127
0.673616
train_aaa81930be1ed0f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.324).extrude(2.853) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.204).extrude(1.99)) result = result.cut(cq.Workplane(cq.Pl...
20
160
0.346153
train_e6c02c3b9e526855
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.525), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.92, 1.293).lineTo(0.92, 0).lineTo(-0.92, 0).lineTo(-0.92, 1.293).lineTo(-0.796, 1.293).lineTo(-0.796, 0.124).lineTo(0.796, 0.124).lineTo(0.796, 1.293).lineTo(0.92, 1.293).close().extrude(...
4
27
0.553376
train_17f75cb502cdcc5a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.486, -0.207, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.972).threePointArc((0.688, 0.688), (0.972, 0)).lineTo(0.284, 0).threePointArc((0.2, 0.2), (0, 0.284)).lineTo(0, 0.972).close().extrude(2) result = result.union(cq.Workplane(cq.Pla...
4
15
1.594056
train_565d8f6f46e385ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.042, 0, -0.292), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.042).lineTo(1, -0.003).threePointArc((1.033, -0.114), (0.923, -0.16)).lineTo(-0.923, -0.16).threePointArc((-1.033, -0.114), (-1, -0.003)).lineTo(-1, 0.003).threePointArc((-1.033, 0....
12
40
0.309283
train_0540ce15f0b20ce5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.711, 0.886).lineTo(-0.711, -0.595).lineTo(1.002, -0.595).lineTo(1.002, -0.886).lineTo(-1.002, -0.886).lineTo(-1.002, 0.886).lineTo(-0.711, 0.886).close().extrude(0.628, taper=1.555) resul...
6
46
0.975516
train_f65ea6965dea848d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.388, 0.969).lineTo(0.388, 0.581).lineTo(0.775, 0.581).lineTo(0.775, 0.194).lineTo(0.388, 0.194).lineTo(0.388, -0.194).lineTo(0.775, -0.194).lineTo(0.775, -0.969).lineTo(0, -0.969).lineTo(0...
4
48
0.708181
train_f1bbd739e8bdd6d1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.135, -0.122), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.951, 0.859).lineTo(0.951, 0).lineTo(-0.317, 0).lineTo(-0.317, -0.859).lineTo(-0.951, -0.859).lineTo(-0.951, 0.859).lineTo(0.951, 0.859).close().extrude(0.053, taper=-5.587) result = re...
13
102
0.21883
train_de4005f3da21c387
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.003, -0.117, -0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.172, 0.882).threePointArc((0.631, 0.507), (0.792, -0.064)).lineTo(0.297, -0.882).threePointArc((-0.132, -0.558), (-0.666, -0.6)).lineTo(-0.792, 0.446).threePointArc((-0.183, 0.384...
9
46
1.104198
train_086dc5de2f442e6a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.335, 0.343), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.664, 0.093).lineTo(0.573, 0).lineTo(0.664, -0.093).lineTo(0.138, -0.093).lineTo(0.138, 0.093).lineTo(0.664, 0.093).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,...
9
57
0.347709
train_ff743409471073ca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.273, -0.27), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.695, 0.58).lineTo(-0.695, -0.433).lineTo(0.995, -0.433).lineTo(0.995, -0.58).lineTo(-0.995, -0.58).lineTo(-0.995, 0.58).lineTo(-0.695, 0.58).close().extrude(0.449, taper=-0.635) result...
7
63
0.497223
train_ba322ebb4d45d03e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.042, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.698, -0.428).lineTo(0.767, -0.464).threePointArc((0.672, -0.498), (0.574, -0.514)).threePointArc((0.402, -0.502), (0.239, -0.443)).threePointArc((0.195, -0.413), (0.157, -0.376)).lineT...
13
165
0.412988
train_38bc19a4e1741ce6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.358, 0, -0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.568, 0.482).lineTo(0.568, 0.41).lineTo(0.641, 0.41).lineTo(0.641, -0.351).lineTo(0.509, -0.482).lineTo(-0.552, -0.482).threePointArc((-0.615, -0.456), (-0.641, -0.394)).lineTo(-0.641, 0...
20
401
0.226742