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_a713f91022d445e4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.076), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0).threePointArc((0, -1), (-1, 0)).threePointArc((0, 1), (1, 0)).close().extrude(0.214) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.135, 0.391, -0.108), normal=(0, 0, 1), xDir=(1...
11
401
0.720292
train_085d8a73d141c448
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.84, 0, -0.521), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.205, 1.315).lineTo(0.205, 0.205).lineTo(1.68, 0.205).lineTo(1.68, 0).lineTo(0, 0).lineTo(0, 1.315).lineTo(0.205, 1.315).close().extrude(1, both=True) result = result.cut(cq.Workplane(...
11
67
0.854108
train_bd4d09a13f68cb1d
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.584).extrude(0.943) result = result.cut(cq.Workplane(cq.Plane(origin=(0.584, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.111, 0.344), (-0.404, 0.555), (-0.764, 0...
11
86
0.641916
train_c727ec382baf95e6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.313, -0.279, -0.394), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.577, 0.258).lineTo(0.645, 0.19).lineTo(0.645, 0.058).lineTo(0.587, 0).lineTo(0.471, 0).lineTo(0.387, -0.084).lineTo(0.387, -0.17).lineTo(0.299, -0.258).lineTo(-0.468, -0.258).line...
14
442
0.853487
train_664ddfa38c23d6a2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.722, 1.089, 0.606), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.041, 0.11).lineTo(0.081, 0.043).lineTo(0.121, -0.024).lineTo(0.162, -0.091).threePointArc((0.155, -0.116), (0.131, -0.11)).lineTo(0.091, -0.043).lineTo(0.05, 0.024).lineTo(0.01, 0....
18
62
0.622888
train_febcd8e8419fab0e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.111, -0.104, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.87, -0.086).lineTo(0.4, -0.755).threePointArc((-0.87, 0.755), (0.87, -0.086)).close().moveTo(0.42, 0.569).lineTo(0.612, -0.048).threePointArc((-0.711, -0.152), (0.42, 0.569)).close().e...
9
10
2.380202
train_e63327ead6a5e9fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.007, -0.417), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.321, 0.229).lineTo(0.375, 0.175).lineTo(0.375, -0.195).threePointArc((0.366, -0.22), (0.341, -0.229)).lineTo(-0.312, -0.229).threePointArc((-0.357, -0.211), (-0.375, -0.166)).lineTo(-...
9
70
0.773289
train_7cf8e6e4a095ca01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.093, 0.368).threePointArc((0.119, 0.346), (0.13, 0.296)).lineTo(0.13, 0.196).threePointArc((0.142, 0.144), (0.169, 0.122)).lineTo(0.326, 0.122).threePointArc((0.372, 0.086), (0.392, -0.00...
1
26
0.878313
train_f8bf1ef4f936f8a9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.059, -0.1, -0.59), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.516, 0.792).lineTo(0.768, 0.232).threePointArc((1.036, 0.057), (0.738, -0.1)).lineTo(0.446, -0.529).lineTo(0.52, -0.626).lineTo(0.526, -0.734).threePointArc((0.271, -0.874), (0.236, ...
14
129
1.715945
train_047a31428cb4a9b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.344, 1.197, 0.848), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.071, 0.141).threePointArc((0.089, 0.141), (0.159, 0)).threePointArc((0.071, -0.141), (-0.089, -0.141)).threePointArc((-0.159, 0), (-0.071, 0.141)).close().sweep(cq.Workplane(cq.Pl...
6
36
0.833333
train_6e10d913aa961469
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.426), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.866, 0.317).lineTo(1, 0.183).lineTo(1, -0.173).threePointArc((0.957, -0.275), (0.856, -0.317)).lineTo(-0.839, -0.317).lineTo(-1, -0.157).lineTo(-1, 0.185).threePointArc((-0.96, 0.278), (-0...
9
66
0.333636
train_bfdd4d641c1f858b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.288), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.386).lineTo(1, -0.272).threePointArc((0.965, -0.353), (0.885, -0.386)).lineTo(-0.852, -0.386).threePointArc((-0.956, -0.343), (-1, -0.238)).lineTo(-1, 0.295).threePointArc((-0.972, 0.36...
12
53
0.100817
train_b664b513a9473632
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.472, -0.139, 0.38), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.013, 0.372).lineTo(0.261, 0.235).lineTo(0.229, -0.054).lineTo(0.006, -0.248).lineTo(-0.205, -0.054).lineTo(-0.261, 0.209).lineTo(-0.013, 0.372).close().revolve(angleDegrees=180, ax...
4
50
0.353166
train_e361d7db2694bbaa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.494, 0.077, -0.268), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.505, 0.381).lineTo(0.32, -0.381).lineTo(-0.32, -0.381).lineTo(-0.505, 0.381).lineTo(0.505, 0.381).close().workplane(offset=0.355).moveTo(0.411, 0.499).lineTo(0....
15
139
0.898815
train_af685ebc1bb93b8f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.321, 0, -0.567), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.418).threePointArc((0.295, 0.295), (0.418, 0)).threePointArc((0.295, -0.295), (0, -0.418)).threePointArc((-0.295, -0.295), (-0.418, 0)).threePointArc((-0.295, 0.295), (0, 0.418))....
1
6
0.969534
train_a11e197b5034c90c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.999, -0.294, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.249, 0.388).threePointArc((0.352, 0.279), (0.498, 0.314)).threePointArc((0.786, 0.026), (0.498, -0.262)).threePointArc((0.391, -0.281), (0.299, -0.341)).threePointArc((0.209, -0.258)...
3
71
1.246805
train_841bde4db0f41367
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.631, 0.487, -0.257), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.23, 0.154).threePointArc((0.285, 0.196), (0.328, 0.141)).threePointArc((0.426, 0.128), (0.567, 0.059)).threePointArc((0.584, -0.193), (0.233, -0.196)).threePointArc((0.204, -0.043...
11
36
0.317194
train_0ceba4fb120caba7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.694, 0.068), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.607, 0.883).lineTo(-0.607, -0.531).lineTo(1, -0.531).lineTo(1, -0.883).lineTo(-1, -0.883).lineTo(-1, 0.883).lineTo(-0.607, 0.883).close().extrude(0.187) result = result.cut(cq.Workplan...
23
146
0.24412
train_0f30f2d74637718c
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1.006, 0.306).lineTo(0.291, 0.409).lineTo(0.229, -0.02).lineTo(0.802, -0.102).lineTo(0.781, -0.245).lineTo(0.209, -0.163).lineTo(0.188, -0.306).lineTo(0.903, -0.409).lineTo(0.965, 0.02).lineTo(0.393, 0.102).lineTo(0.414, 0.245).lineTo(0.986, 0.163).li...
4
31
1.316059
train_952c86c7da5faf00
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.012, 0.058), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.527, 0.7).threePointArc((-0.16, 0.722), (0.231, 0.635)).threePointArc((0.587, 0.452), (0.853, 0.198)).threePointArc((0.99, -0.085), (0.975, -0.355)).threePointArc((0.813, -0.571), (0....
17
632
0.267897
train_a98edf1be2607b4c
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.907, 0.293).workplane(offset=2).rect(0.219, 0.231).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0.231, 0.133, 0.366), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.018, 0.77).lineTo(-0...
4
33
0.27715
train_4778f6b46ea0ceb8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.162), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.413).lineTo(1, -0.315).threePointArc((0.906, -0.407), (0.684, -0.446)).lineTo(-0.739, -0.446).threePointArc((-0.922, -0.414), (-1, -0.338)).lineTo(-1, 0.418).threePointArc((-0.98, 0...
3
45
0.26873
train_34a73552cc23f29b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.14, 0, -0.711), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.565, 1).threePointArc((-0.489, 0.963), (-0.456, 0.896)).lineTo(-0.456, 0.682).threePointArc((-0.427, 0.623), (-0.357, 0.597)).lineTo(0.311, 0.597).threePointArc((0.413, 0.559), (0.456,...
6
53
0.909908
train_4239b9b19cba6296
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.123, 0.096, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.356, 0.169).lineTo(0.388, 0.018).lineTo(0.503, 0.018).lineTo(0.509, -0.173).lineTo(0.559, -0.173).lineTo(0.559, -0.25).lineTo(-0.559, -0.25).lineTo(-0.559, -0.173).lineTo(-0.509, -...
13
330
0.415847
train_3048494b02da1b70
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.122, -0.213), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.722).lineTo(1, -0.722).lineTo(-0.759, -0.722).lineTo(-1, -0.487).lineTo(-1, 0.722).lineTo(1, 0.722).close().extrude(0.426) result = result.cut(cq.Workplane(cq.Plane(origin=(0.139, 0...
9
93
0.953801
train_2d52bf1a1df1404f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.081), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.055, 0.719).lineTo(0, 0.664).lineTo(0, 0.302).lineTo(0.157, 0.144).lineTo(0.775, 0.144).lineTo(0.864, 0.055).lineTo(0.864, -0.084).lineTo(0.803, -0.144).lineTo(0.06, -0.144).lineTo(0, -0....
6
173
1.831674
train_58ae1de238d5122b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.419), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.399, -0.997).threePointArc((-0.399, -0.798), (-0.997, -0.598)).threePointArc((-0.598, 0.399), (-0.199, 0.798)).threePointArc((0.399, 0.997), (0.598, 0.997)).lineTo(0.997, -0.969).thr...
18
9
2.138897
train_be435f5e4773a33e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.196, -0.456, -0.707), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.03, 0.093).threePointArc((0.326, 0.259), (0.612, 0.079)).threePointArc((0.618, 0.06), (0.599, -0.026)).threePointArc((0.417, -0.235), (0.181, -0.259)).threePointArc((0.034, -0.159...
13
106
0.568856
train_1e48c1cff2dbc75d
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.189, 0).lineTo(0.189, -0.056).threePointArc((0.22, -0.056), (0.157, -0.083)).lineTo(0.094, -0.139).threePointArc((0.126, -0.167), (0.063, -0.167)).lineTo(0, -0.167).threePointArc((0, -0.222), ...
6
144
0.221047
train_bff15b440571cf9f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.2, 0, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.857, 1).threePointArc((0.958, 0.958), (1, 0.857)).lineTo(1, 0.693).threePointArc((0.972, 0.628), (0.907, 0.6)).lineTo(0.741, 0.6).threePointArc((0.642, 0.558), (0.6, 0.459)).lineTo(0.6,...
7
89
1.509279
train_5fea37ec69c8bfa4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.214, -0.431, -0.839), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.41, 0.066).lineTo(0.426, 0.049).threePointArc((0.452, 0.05), (0.459, 0.028)).lineTo(0.483, 0.021).threePointArc((0.487, 0.001), (0.514, -0.001)).lineTo(0.537, -0.031).lineTo(0.5...
4
111
0.888745
train_9679b96397aee125
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1.33), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.419, 3.168).lineTo(0.419, 2.468).lineTo(0.322, 2.468).lineTo(0.322, 1.995).lineTo(1, 1.995).lineTo(1, 0.665).lineTo(0.472, 0.665).lineTo(0.472, 0).lineTo(0, 0).lineTo(0, 3.168).lineTo(0.41...
2
4
1.180755
train_d90b773c83013096
import cadquery as cq import math result = cq.Workplane('XY').box(1.529, 2, 1.649) result = result.edges().fillet(0.125) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.441).extrude(3.055, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
8
55
2.355466
train_9b95dd075bf3392e
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.332, 0.215).lineTo(0.332, 0.13).threePointArc((0.36, 0.097), (0.429, 0.083)).lineTo(0.926, 0.083).threePointArc((0.972, 0.073), (1, 0.05)).lineTo(1, -0.034).threePointArc((0.963, -0.068), (0.893, -0.083)).lineTo(0.758, -0.083).threePointArc((0.692, ...
4
37
0.328742
train_75d80545a3ce387d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.022, 0, -0.057), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.788, 0.778).threePointArc((0.867, 0.735), (0.901, 0.632)).lineTo(0.901, -0.429).threePointArc((0.82, -0.674), (0.631, -0.778)).lineTo(-0.668, -0.778).threePointArc((-0.832, -0.688), (-...
15
136
0.288061
train_8b784193502ac0d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.101, 0, -0.069), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.899, 0.899).lineTo(0.899, 0.54).lineTo(-0.54, 0.54).lineTo(-0.54, 0.18).lineTo(0.899, 0.18).lineTo(0.899, -0.899).lineTo(-0.899, -0.899).lineTo(-0.899, -0.54).lineTo(0.54, -0.54).line...
4
53
0.861671
train_2a1d86effc71bf4c
import cadquery as cq import math result = cq.Workplane('XY').circle(0.385).extrude(0.313, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.797).extrude(1, both=True)) result = result.cut(cq.Workplane('XY').circle(0.207).extrude(0.932, both=True)) resu...
8
26
3.612093
train_9e80599d2527eebd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.13, 0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.389, 0.869).threePointArc((-0.319, 0.84), (-0.29, 0.771)).lineTo(-0.29, -0.092).threePointArc((-0.231, -0.231), (-0.092, -0.29)).lineTo(0.641, -0.29).threePointArc((0.802, -0.358), (0....
3
50
0.306583
train_c29b4f19f457b992
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.066, -0.248), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.92, 0.172).threePointArc((0.971, 0.151), (1, 0.1)).lineTo(1, -0.172).lineTo(-0.904, -0.172).threePointArc((-0.967, -0.147), (-1, -0.084)).lineTo(-1, 0.119).threePointArc((-0.977, 0.156...
14
82
0.149553
train_4b39fe6c864caae6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.454, -0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.719, 0.546).lineTo(0.719, 0.421).lineTo(0.843, 0.421).lineTo(0.843, -0.432).lineTo(0.73, -0.432).lineTo(0.73, -0.546).lineTo(-0.717, -0.546).lineTo(-0.717, -0.419).lineTo(-0.843, -0.4...
11
67
0.508791
train_2d9a00451c9deb54
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.048, 0.25, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.895, 0.25).lineTo(0.951, 0.194).lineTo(0.951, -0.25).lineTo(-0.871, -0.25).threePointArc((-0.927, -0.227), (-0.951, -0.17)).lineTo(-0.951, 0.25).lineTo(0.895, 0.25).close().extrude...
6
34
0.679468
train_f9962b3a152eb8a2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.086, -0.19, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.452, 0.81).lineTo(0.568, 0.694).lineTo(0.568, -0.81).lineTo(-0.568, -0.81).lineTo(-0.568, 0.7).lineTo(-0.458, 0.81).lineTo(0.452, 0.81).close().extrude(0.242) result = result.cut(...
7
88
0.415199
train_903a038079c553d4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.222), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.511).lineTo(1, -0.511).lineTo(-1, -0.511).lineTo(-1, 0.441).threePointArc((-0.971, 0.49), (-0.922, 0.511)).lineTo(1, 0.511).close().extrude(0.443) result = result.union(cq.Workplane(cq....
8
21
0.294862
train_327cdac9b4eddaa9
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.02, 0.114).lineTo(0.059, 0.101).lineTo(0.09, 0.075).lineTo(0.109, 0.039).lineTo(0.116, 0).lineTo(0.109, -0.039).lineTo(0.09, -0.075).lineTo(0.059, -0.101).lineTo(0.02, -0.114).lineTo(-0.02, -0.114).lineTo(-0.059, -0.101).lineTo(-0.09, -0.075).lineTo...
3
22
0.092085
train_36e8ed50e6304c24
import cadquery as cq import math result = cq.Workplane('XY').box(2, 1.341, 1.757) result = result.edges().fillet(0.04) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.252).extrude(4, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(...
7
35
3.798883
train_14fdec5751c97c2a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.021, 0, -0.017), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.259, 0.53).lineTo(0.331, 0.482).lineTo(0.392, 0.421).lineTo(0.443, 0.347).threePointArc((0.452, 0.298), (0.494, 0.273)).lineTo(0.542, -0.158).lineTo(0.273, -0.494).lineTo(-0.158, -0.54...
11
51
1.277792
train_2e6505fa2c9a664d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.509), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.016, 1).lineTo(0.695, 0.719).lineTo(1, 0.003).lineTo(0.693, -0.721).lineTo(0.006, -1).lineTo(-0.696, -0.718).lineTo(-1, 0.025).lineTo(-0.704, 0.711).lineTo(-0.016, 1).close().extrude(0.84...
10
233
2.432843
train_c8b206cc293bbe1b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.055, 0.139), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.601, 0.233).lineTo(0.601, 0.14).lineTo(1.001, 0.14).lineTo(1.001, 0.047).lineTo(0.601, 0.047).lineTo(0.601, -0.047).lineTo(-0.2, -0.047).lineTo(-0.2, -0.233).lineTo(-0.601, -0.233).line...
12
141
0.069875
train_a39ecd0fba2b89b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.462, -0.053, 0.302), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.816, -0.37).lineTo(0.801, -0.428).lineTo(0.776, -0.484).lineTo(0.742, -0.536).lineTo(0.7, -0.583).lineTo(0.65, -0.622).lineTo(0.595, -0.654).lineTo(0.534, -0.678).lineTo(0.47, -0....
7
128
1.34346
train_fc350e1c65989926
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.8, 1).lineTo(0.8, -0.2).lineTo(0.4, -0.2).lineTo(0.4, -1).lineTo(0, -1).lineTo(0, -0.2).lineTo(-0.4, -0.2).lineTo(-0.4, 0.2).lineTo(-0.8, 0.2).lineTo(-0.8, 1).lineTo(0.8, 1).close().extrude(0.424, both=True) result = result.cut(cq.Workplane(cq.Plane...
12
22
2.164924
train_19ee6fd09355ef52
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.651, 0.135, 0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.344, 0.402).lineTo(0.344, 0.058).lineTo(-0.23, 0.058).lineTo(-0.23, -0.058).lineTo(0.344, -0.058).lineTo(0.344, -0.402).lineTo(-0.344, -0.402).lineTo(-0.344, -0.288).lineTo(0.23, -0...
16
339
0.698631
train_be737d3826d7f17a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, -0.029, -0.32), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.95, 0.194).threePointArc((0.992, 0.125), (0.896, -0.02)).lineTo(-0.094, -0.002).threePointArc((-0.238, -0.013), (-0.377, -0.052)).lineTo(-0.868, -0.242).threePointArc((-0.992, -0.1...
4
21
0.134604
train_af73a9476872b660
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.458, -0.101, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.531, 0.213).lineTo(0.531, -0.213).lineTo(-0.106, -0.213).lineTo(-0.106, 0).lineTo(-0.531, 0).lineTo(-0.531, 0.213).lineTo(0.531, 0.213).close().extrude(5.176, taper=13.099, both=True) ...
11
147
0.667157
train_9b3c8d868720213a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.069, -0.188, -0.3), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.358, 0.292).lineTo(0.358, -0.292).lineTo(-0.358, -0.292).lineTo(-0.358, 0.292).lineTo(-0.166, 0.292).lineTo(-0.166, -0.1).lineTo(0.166, -0.1).lineTo(0.166, 0.292).lineTo(0.358, 0.2...
32
90
1.358151
train_b015a31ee1acd993
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, -0.084, -0.399), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.916).extrude(0.323) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.002, -0.084, -0.399), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.607).extrude(0.969, both=True)) result ...
19
180
0.991694
train_aff6fa26417653a3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.065, 0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.164, 0.384).threePointArc((0.268, 0.366), (0.312, 0.323)).lineTo(0.312, 0.175).threePointArc((0.345, 0.142), (0.425, 0.128)).lineTo(0.713, 0.128).threePointArc((0.868, 0.101), (0.934, 0...
14
240
0.197455
train_27ae96dfda0eae1f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.012, 0.096, -0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.453, 0.454).lineTo(0.453, -0.454).lineTo(-0.453, -0.454).lineTo(-0.453, 0.454).lineTo(-0.321, 0.454).lineTo(-0.321, -0.345).lineTo(0.321, -0.345).lineTo(0.321, 0.454).lineTo(0.453...
11
169
0.345614
train_07935c154099de94
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.746, -0.793), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.334, 1.669).lineTo(0.955, 0.9).threePointArc((0.999, 0.724), (0.921, 0.559)).lineTo(0.79, 0.257).threePointArc((0.71, 0.106), (0.6, -0.023)).lineTo(-0.378, -0.177).lineTo(-0.999,...
21
292
2.883526
train_3d32ae6305661a9a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.658, -1.403, -0.528), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.15, 0.244).threePointArc((0.203, 0.2), (0.24, 0.135)).threePointArc((0.188, 0.092), (0.085, 0.128)).lineTo(0.04, 0.016).lineTo(-0.061, 0.048).threePointArc((-0.082, 0.116), (-0.1...
10
143
1.49612
train_51097f993518999e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.11), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.925, 0.219).lineTo(0.92, 0.191).lineTo(1, 0.077).lineTo(1, 0).lineTo(0.937, 0).lineTo(0.937, 0.066).lineTo(0.837, 0.191).lineTo(0, 0.156).lineTo(0, 0.219).lineTo(0.925, 0.219).close().revo...
4
56
0.129208
train_ec02fd092a063b49
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.731, 0.269).threePointArc((1, 0), (0.731, -0.269)).lineTo(0, -0.269).lineTo(-0.731, -0.269).threePointArc((-1, 0), (-0.731, 0.269)).lineTo(0, 0.269).lineTo(0.731, 0.269).close().extrude(0....
7
77
0.191953
train_512e5f20383bce8f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.018, -0.053), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.087, 0.872).lineTo(-0.103, 0.699).lineTo(0.07, 0.684).lineTo(-0.134, 0.353).lineTo(0.353, -0.039).lineTo(0.557, 0.291).lineTo(0.887, 0.087).lineTo(0.103, -0.887).lineTo(-0.054, -0.69...
7
61
1.159666
train_ec96957b2e0954ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.006, -0.012, -0.386), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.088, 0.918).threePointArc((0.174, 0.906), (0.154, 0.796)).lineTo(0.422, 0.82).threePointArc((0.634, 0.667), (0.558, 0.586)).lineTo(0.796, 0.462).threePointArc((0.894, 0.218), (0....
7
718
1.82162
train_359734638cb06d6c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.274, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.084).extrude(0.382, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.274, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.486).extrude(0.725, both=True)) result = resul...
5
29
1.124863
train_35028ce47ce4f2a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.099, -0.046, -0.217), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.048, 0.431).lineTo(0.082, 0.304).threePointArc((0.087, 0.294), (0.096, 0.286)).lineTo(0.854, -0.152).threePointArc((0.895, -0.304), (0.688, -0.44)).lineTo(-0.045, -0.017).threePo...
11
250
0.577912
train_42033e8304695591
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.012, -0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.194, 0.236).lineTo(0.726, 0.114).threePointArc((0.985, 0.143), (0.735, 0.024)).lineTo(0.019, -0.311).lineTo(0.022, -0.339).threePointArc((-0.063, -0.324), (-0.011, -0.287)).lineTo(0.08...
9
181
0.157846
train_ce47a256b12ea455
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.319), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 1).threePointArc((0.704, 0.704), (1, 0)).threePointArc((0.704, -0.704), (0, -1)).threePointArc((-0.704, -0.704), (-1, 0)).threePointArc((-0.704, 0.704), (0, 1)).close().moveTo(0, 0.95).th...
11
112
1.073693
train_e829182e8d22d9f5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.093, -0.001, -0.351), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.906, 0.153).lineTo(0.906, -0.153).lineTo(-0.906, -0.153).lineTo(-0.906, 0.153).lineTo(-0.404, 0.153).lineTo(-0.404, -0.073).lineTo(0.404, -0.073).lineTo(0.404, 0.153).lineTo(0.906...
16
111
0.670743
train_70f23ebd05ba6ca3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.58, 0, -0.959), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.402).extrude(0.921) result = result.union(cq.Workplane(cq.Plane(origin=(-0.58, 0, -0.314), normal=(0.849, 0, 0.528), xDir=(0.528, 0, -0.849))).circle(0.795).extrude(1.366)) result = re...
7
39
2.017958
train_9f6bc4bb46dd13fb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.28), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.56) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.28), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.73).extrude(1.683, both=True)) result = result.union(cq.Workplane(...
10
44
1.45529
train_63dab16398d18348
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.276), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.72) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.276), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.262).extrude(2.155, both=True)) result = result.union(cq.Workpla...
12
47
1.29379
train_77852ff7fe6433ca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.914, -0.226, -0.048), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.039, 0.079).threePointArc((-0.001, 0.066), (0.037, 0.035)).threePointArc((0.065, -0.006), (0.076, -0.044)).threePointArc((0.067, -0.071), (0.039, -0.079)).threePointArc((0.001, ...
4
30
0.057792
train_f8082de168b59c37
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.175), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.369, 0.351).lineTo(0.369, 0).lineTo(-0.369, 0).lineTo(-0.369, 0.351).lineTo(-0.244, 0.351).lineTo(-0.244, 0.125).lineTo(0.244, 0.125).lineTo(0.244, 0.351).lineTo(0.369, 0.351).close().ext...
8
46
0.199806
train_1cb6528a83713672
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.388), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.195, 1).threePointArc((-0.058, 0.942), (0, 0.805)).lineTo(0, 0.533).threePointArc((0.059, 0.393), (0.2, 0.333)).lineTo(0.402, 0.333).threePointArc((0.588, 0.255), (0.667, 0.068)).lineTo(0...
5
33
1.336225
train_3161f571e567a64e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.11, 0.038, 0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.222, 0.833).threePointArc((0.642, 0.588), (0.833, 0.084)).threePointArc((0.742, -0.092), (0.555, -0.219)).lineTo(0.518, -0.253).threePointArc((-0.676, -0.845), (-0.833, 0.371)).three...
22
259
1.516011
train_3718fb09e56838b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.692, -0.033), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.188, 0.247).lineTo(0.188, -0.077).threePointArc((-0.188, 0.085), (0.188, 0.247)).close().revolve(angleDegrees=360, axisStart=(-0.087, -0.227), axisEnd=(0.087, -0.227)) result = result...
15
107
0.553538
train_c0c21549aaf75fa9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.779, -0.708, -0.01), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.528, 0.707).threePointArc((0.489, 0.63), (0.524, 0.538)).threePointArc((0.561, 0.379), (0.745, 0.031)).lineTo(0.19, -0.292).lineTo(-0.178, -0.185).lineTo(-0.794, 0.023).threePoint...
19
98
3.369478
train_88b5e9ef72d34bb9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.056, 0.015, -0.34), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.677, 0.609).lineTo(0.704, -0.609).threePointArc((-0.704, 0.518), (0.677, 0.609)).close().extrude(0.394, taper=-9.487) result = result.union(cq.Workplane(cq.Plane(origin=(0.32, -1.1...
7
43
0.827491
train_581b938615f7a95c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.115, -0.17, -0.174), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.596, 0.521).lineTo(0.596, -0.521).lineTo(-0.596, -0.521).lineTo(-0.596, 0.521).lineTo(-0.397, 0.521).lineTo(-0.397, -0.372).lineTo(0.397, -0.372).lineTo(0.397, 0.521).lineTo(0.596,...
21
384
1.928441
train_bc57e3d3b67b05e3
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.5, 0.716).threePointArc((0.854, 0.57), (1, 0.218)).lineTo(1, -0.509).threePointArc((0.939, -0.655), (0.79, -0.716)).lineTo(-0.779, -0.716).lineTo(-1, -0.496).lineTo(-1, 0.478).lineTo(-0.76,...
18
49
1.242666
train_8c635adfeeb0ca76
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.42, 0.912).lineTo(0.04, 0.429).lineTo(0.58, 0.82).lineTo(0.391, 0.18).lineTo(1, -0.093).lineTo(0.351, -0.249).lineTo(0.42, -0.912).lineTo(-0.04, -0.429).lineTo(-0.58, -0.82).lineTo(-0.391...
3
51
2.275761
train_fc0bf473a967b782
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.008, -0.078, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.667, 0.224).lineTo(0.334, -0.518).threePointArc((-0.667, -0.069), (0.667, 0.224)).close().moveTo(-0.275, 0.518).lineTo(0.512, 0.165).threePointArc((-0.512, -0.01), (-0.275, 0.518)).cl...
12
8
1.3365
train_7e007bf1909d5d28
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.141), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.748, 0.281).lineTo(0.912, 0.251).lineTo(1, 0.099).lineTo(1, 0).lineTo(0.842, 0).lineTo(0.842, 0.085).lineTo(0.747, 0.251).lineTo(0, 0.131).lineTo(0, 0.281).lineTo(0.748, 0.281).close().re...
4
22
0.337952
train_01ce0d9620a00186
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.029, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.936, 0.195).lineTo(1, 0.033).lineTo(0.324, -0.195).lineTo(0.301, -0.13).lineTo(0.433, -0.081).threePointArc((0.505, 0.048), (0.726, 0.111)).lineTo(0.936, 0.195).close().revolve(angleDegre...
5
16
0.528807
train_2ca9b722102a4c06
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.318, -0.294, 0.237), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.198, 0.296).lineTo(0.136, 0.21).threePointArc((0.122, 0.146), (0.082, 0.082)).lineTo(-0.031, 0.154).threePointArc((-0.05, 0.16), (-0.067, 0.171)).threePointArc((-0.122, 0.184), (...
2
32
0.102267
train_b2d2ddf929b2e989
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.109, -0.132, -0.695), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.402, 0.229).lineTo(0.428, 0.051).lineTo(0.191, 0.017).lineTo(0.2, -0.043).lineTo(0.437, -0.008).lineTo(0.463, -0.185).lineTo(0.167, -0.229).lineTo(0.158, -0.17).lineTo(0.395, -0...
14
485
1.789335
train_96df27097a266133
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.169, -0.314), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.248, 0.228).lineTo(0.837, -0.179).lineTo(0.803, -0.228).lineTo(0.656, -0.126).lineTo(0.539, -0.191).lineTo(0.343, -0.055).lineTo(0.147, 0.081).lineTo(0.248, 0.228).close().revolve(an...
4
29
0.536796
train_0450e9ed89d61060
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.288, 0, 0.268), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.351, 0.583).threePointArc((0.606, 0.477), (0.712, 0.223)).lineTo(0.712, -0.223).threePointArc((0.606, -0.477), (0.351, -0.583)).lineTo(-0.351, -0.583).threePointArc((-0.606, -0.477), ...
10
226
1.073433
train_e46dff4163db9f4b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.052, 0.02, 0.296), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.398, 0.371).lineTo(0.491, -0.327).threePointArc((-0.491, -0.371), (0.398, 0.371)).close().extrude(2.578, both=True).intersect(cq.Workplane(cq.Plane(origin=(0.052, 0.02, 0.296), norma...
17
180
0.239028
train_035b525913c0ba55
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.272, 0.342, 0.622), normal=(-0.01, 0.013, -1), xDir=(0, 1, 0.013))).moveTo(0.609, 0.336).lineTo(0.609, 0.086).lineTo(0.172, 0.086).lineTo(0.172, -0.336).lineTo(-0.172, -0.336).lineTo(-0.172, 0.086).lineTo(-0.609, 0.086).lineTo(-0.609, 0.336).lin...
6
64
0.486145
train_d73db1c58b04624a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.145, -0.225, -0.32), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.801, 0.684).threePointArc((0.838, 0.668), (0.854, 0.631)).lineTo(0.854, 0.439).threePointArc((0.844, 0.416), (0.821, 0.406)).lineTo(0.243, 0.406).threePointArc((0.17, 0.375), (0.13...
10
118
1.49968
train_5679ee427e170c84
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.439, -0.241, -0.558), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.038, 0.038).lineTo(0.038, 0).lineTo(0.023, 0).lineTo(0.023, -0.019).lineTo(-0.008, -0.019).lineTo(-0.008, -0.038).lineTo(-0.023, -0.038).lineTo(-0.023, -0.019).lineTo(-0.038, -0.0...
15
312
0.599935
train_3cdfa3d1a58f2a1b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.041, 0.084, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.629, 0.916).lineTo(0.629, -0.916).lineTo(-0.629, -0.916).lineTo(-0.629, 0.775).lineTo(-0.488, 0.916).lineTo(0.629, 0.916).close().extrude(0.144) result = result.cut(cq.Workplane(cq...
5
72
0.310107
train_c713e3c91ca5765b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.002, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.51, -0.305).threePointArc((0.296, -0.383), (0.264, -0.168)).lineTo(0.091, -0.018).threePointArc((-0.061, 0.011), (0.067, 0.116)).lineTo(0.189, 0.329).threePointArc((0.199, 0.44), (0.28, 0...
5
77
1.369323
train_84dd663a4e362389
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.625, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.213, 0.179).lineTo(0.213, -0.179).threePointArc((0.02, -0.372), (-0.174, -0.179)).lineTo(-0.213, -0.09).threePointArc((-0.178, -0.047), (-0.147, 0)).lineTo(-0.208, 0.09).threePointArc((-0....
4
48
0.920099
train_ebb38fa4bdbbe25c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.22), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.914).lineTo(1, -0.533).threePointArc((0.879, -0.805), (0.609, -0.914)).lineTo(-1, -0.914).lineTo(-1, 0.584).lineTo(-0.661, 0.914).lineTo(1, 0.914).close().extrude(0.44) result = result.c...
5
32
1.385025
train_5a425baeb5f34318
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.046, 0, -0.641), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.512, 1.035).lineTo(0.512, 0.837).lineTo(0.953, 0.837).lineTo(0.953, 0).lineTo(0, 0).lineTo(0, 1.035).lineTo(0.512, 1.035).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEn...
6
71
2.155472
train_579b85365dafd80e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.377), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.754).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.754).lineTo(-0.735, 0.754).lineTo(-0.735, 0.265).lineTo(0.735, 0.265).lineTo(0.735, 0.754).lineTo(1, 0.754).close().extrude(0.24, both=True...
4
39
0.399829
train_d09478e43edcbe83
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.324, 0, -0.8), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.231, 1.6).lineTo(0.231, 0.231).lineTo(0.647, 0.231).lineTo(0.647, 0).lineTo(0, 0).lineTo(0, 1.6).lineTo(0.231, 1.6).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq.Pl...
7
63
0.798483
train_9da970922237b878
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.955), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.25, 1.012).lineTo(0.25, 0.362).lineTo(1, 0.362).lineTo(1, 0).lineTo(0.089, 0).lineTo(0.089, 1.012).lineTo(0.25, 1.012).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1...
5
25
1.351788