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_60059a3d8b273b48
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.506, 0, -0.311), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.211, 0.632).lineTo(0.211, 0.211).lineTo(0.421, 0.211).lineTo(0.421, -0.421).lineTo(0.211, -0.421).lineTo(0.211, -0.632).lineTo(-0.211, -0.632).lineTo(-0.211, -0.211).lineTo(-0.421, -0...
23
136
0.170019
train_50a96340274ae2f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.104, 0.293, 0.096), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.511, 0.896).lineTo(0.765, -0.35).lineTo(0.344, -0.436).threePointArc((0.405, -0.332), (0.371, -0.215)).threePointArc((0.339, -0.112), (0.351, -0.005)).lineTo(0.26, 0.192).threePoi...
8
229
0.340997
train_041f15500beedaab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.064, 0, -4.616), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.064).extrude(5.94) result = result.union(cq.Workplane(cq.Plane(origin=(-1.064, 0, -0.459), normal=(0.677, 0, 0.736), xDir=(0.736, 0, -0.677))).circle(1).extrude(1.272)) result = resul...
9
100
0.370633
train_90c4946a1411e740
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.478).extrude(0.451) result = result.cut(cq.Workplane(cq.Plane(origin=(0.478, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.065, 0.239), (-0.239, 0.413), (-0.478, 0.478), (...
10
95
1.687955
train_701007cd655fc6be
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.174, 0.337, -0.038), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.664).threePointArc((0.664, 0), (0, -0.664)).threePointArc((-0.664, 0), (0, 0.664)).close().sweep(cq.Workplane(cq.Plane(origin=(0.174, 0.337, -0.038), normal=(0, -1, 0), xDir=(1,...
4
34
0.67189
train_18a491c883191e70
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.208), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.704, 1).lineTo(0.704, -0.864).lineTo(0.568, -0.864).lineTo(0.568, -1).lineTo(-0.704, -1).lineTo(-0.704, 1).lineTo(0.704, 1).close().extrude(0.415) result = result.cut(cq.Workplane(cq.Plane...
11
25
1.08344
train_57d086c3c09193da
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, 0.999), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.188, 0.276).threePointArc((0.355, 0.207), (0.424, 0.04)).lineTo(0.424, -0.04).threePointArc((0.355, -0.207), (0.188, -0.276)).lineTo(-0.188, -0.276).threePointArc((-0.355, -0.207), (-...
8
68
0.666701
train_da69e0811f1e8c1b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0.076, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.387, 0.547).threePointArc((0.483, 0.507), (0.523, 0.411)).lineTo(0.601, 0.18).lineTo(0.495, -0.05).threePointArc((0.56, -0.159), (0.523, -0.281)).threePointArc((0.483, -0.377), (0.387, ...
5
37
1.087863
train_6271b9f8a5df06bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.383, -0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.625, 0.617).lineTo(-0.625, -0.43).lineTo(0.901, -0.43).lineTo(0.901, -0.617).lineTo(-0.901, -0.617).lineTo(-0.901, 0.617).lineTo(-0.625, 0.617).close().extrude(0.478) result = result....
3
22
0.375216
train_c26164a5ef4e343e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.031, 0, -0.221), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.592, 0.915).threePointArc((0.658, 0.878), (0.685, 0.79)).lineTo(0.685, 0.544).threePointArc((0.705, 0.483), (0.75, 0.458)).lineTo(0.922, 0.458).threePointArc((0.997, 0.415), (1.029, 0...
10
241
0.568972
train_de70a2f41e9f59da
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.053, -0.435), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.117, 0.349).threePointArc((0.161, 0.33), (0.181, 0.286)).lineTo(0.181, -0.283).threePointArc((0.161, -0.33), (0.114, -0.349)).lineTo(-0.104, -0.349).threePointArc((-0.158, -0.327), (-...
11
96
0.167097
train_67fc9670db218bd9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.304, -0.025), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.031, 0.703).threePointArc((0.318, 0.681), (0.52, 0.475)).threePointArc((0.582, 0.143), (0.489, -0.228)).threePointArc((0.264, -0.538), (-0.031, -0.703)).threePointArc((-0.318, -0.681...
14
42
0.545612
train_f64fbb544038f370
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.968, 0.735, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.015, 1.871).lineTo(1, 1.088).lineTo(0.47, 0.075).lineTo(-0.538, 0.065).lineTo(-1, 1.089).lineTo(-0.015, 1.871).close().extrude(1.471) result = result.cut(cq.Workplane(cq.Plane(origin=...
10
20
3.188795
train_b70cf89fe6cb035d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.234, -0.581, -0.771), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.229, 0.167).lineTo(0.229, -0.167).lineTo(-0.229, -0.167).lineTo(-0.229, 0.167).lineTo(-0.081, 0.167).lineTo(-0.081, -0.061).lineTo(0.081, -0.061).lineTo(0.081, 0.167).lineTo(0.22...
6
113
1.888892
train_9d0ca81931960507
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.301, -0.069, 0.035), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.329, 0.37).lineTo(0.329, -0.322).threePointArc((0, -0.65), (-0.329, -0.322)).lineTo(-0.329, 0.37).threePointArc((0, 0.698), (0.329, 0.37)).close().extrude(0.431) result = result.cu...
10
62
0.323303
train_7f35ed5355fd08fe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.153, 0.684, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.036, -0.203).threePointArc((-0.061, -0.304), (-0.145, -0.152)).lineTo(-0.189, -0.125).threePointArc((-0.355, -0.033), (-0.203, -0.007)).lineTo(-0.058, 0.14).lineTo(0.225, 0.208).threeP...
5
183
1.005456
train_da872efd08240eea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.911, -0.117).lineTo(0.987, -0.157).lineTo(0.966, -0.264).lineTo(0.881, -0.26).lineTo(0.84, -0.37).lineTo(0.904, -0.428).lineTo(0.851, -0.526).lineTo(0.772, -0.498).lineTo(0.702, -0.591).li...
3
211
0.541897
train_bf370e43374c93d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.504, 0.407).threePointArc((0.571, 0.393), (0.6, 0.358)).lineTo(0.6, 0.071).threePointArc((0.641, 0.021), (0.74, 0)).lineTo(0.904, 0).threePointArc((0.971, -0.015), (1, -0.049)).lineTo(1, -0...
6
43
0.413068
train_95f68f59d3e47ed4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-7.008, -0.126, -1.713), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(5.939, 2.061).threePointArc((7.394, 1.943), (8.008, 1.662)).lineTo(8.008, 0.167).threePointArc((7.751, 0.05), (7.141, 0)).lineTo(4.588, 0).threePointArc((3.239, -0.11), (2.669, -0....
10
11
0.386792
train_ba199933198e7ca8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.112, -0.055, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.9, 0.382).threePointArc((0.949, 0.37), (0.97, 0.343)).lineTo(0.97, 0.26).threePointArc((0.954, 0.238), (0.914, 0.229)).lineTo(-0.646, 0.229).threePointArc((-0.679, 0.221), (-0.693, 0.2...
9
148
0.3702
train_49230adc73ecc92a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.217), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.308, 0.209).lineTo(0.402, 0.115).lineTo(0.402, -0.209).lineTo(-0.261, -0.209).threePointArc((-0.361, -0.168), (-0.402, -0.069)).lineTo(-0.402, 0.209).lineTo(0.308, 0.209).close().extrude(0...
10
72
0.242865
train_07a86e30d8e4fcbc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.02, 0, -0.719), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.144, 1).lineTo(0.418, 0.911).lineTo(0.842, 0.545).lineTo(1.002, 0).lineTo(0.842, -0.545).lineTo(0.418, -0.911).lineTo(-0.144, -1).lineTo(-0.658, -0.761).lineTo(-0.962, -0.283).lineTo(...
3
21
2.357469
train_1380717f81396041
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.003, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.781, 0.731).lineTo(0.835, 0.653).lineTo(0.668, 0.24).threePointArc((0.776, 0.061), (0.602, -0.093)).lineTo(0.601, -0.241).threePointArc((0.689, -0.33), (0.531, -0.391)).lineTo(0.583, -0.49...
12
124
3.152447
train_8cd6f3db3ec565b6
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.866, 0.5).threePointArc((0.5, 0.866), (0.866, -0.5)).threePointArc((-0.5, -0.866), (-0.866, 0.5)).close().extrude(0.727, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.592, -0.431, -1.3), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(-...
7
19
4.496854
train_51de21044d13f1bc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.248), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.697, 0.33).threePointArc((0.91, 0.3), (1, 0.23)).lineTo(1, -0.176).threePointArc((0.861, -0.284), (0.533, -0.33)).lineTo(-0.66, -0.33).threePointArc((-0.899, -0.297), (-1, -0.218)).lin...
5
60
0.100399
train_db403d32ef6088f4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.395, -0.485, -0.098), normal=(0.559, 0.456, -0.692), xDir=(-0.632, 0.775, 0))).moveTo(-0.385, 0.183).lineTo(-0.33, 0.137).lineTo(-0.22, 0.32).threePointArc((0.055, 0.457), (0.33, 0.32)).threePointArc((0.275, 0), (0.055, -0.091)).lineTo(-0.275, ...
7
44
0.499723
train_45fb26367039c1ad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.703, 0.85).threePointArc((0.911, 0.738), (0.998, 0.473)).lineTo(0.998, -0.298).threePointArc((0.87, -0.686), (0.566, -0.85)).lineTo(-0.155, -0.85).threePointArc((-0.28, -0.783), (-0.3...
15
53
1.641247
train_aedc85a94edd6126
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.307, 0.069, -0.774), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.692, 0.059).lineTo(0.692, -0.059).lineTo(0.574, -0.059).lineTo(0.574, -0.02).lineTo(0.613, -0.02).lineTo(0.613, 0.02).lineTo(0.574, 0.02).lineTo(0.574, 0.059).lineTo(0.692, 0.059...
6
76
0.932318
train_226fa81a5e60d297
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.255), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.715, -0.269).lineTo(0.912, -0.41).lineTo(0.827, -0.563).lineTo(0.619, -0.449).lineTo(0.42, -0.637).lineTo(0.496, -0.868).lineTo(0.338, -0.941).lineTo(0.236, -0.727).lineTo(-0.035, -0.764)....
6
99
0.936901
train_12b93e8a16c5b4e6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.315, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.861, 0.684).lineTo(0.861, 0.632).lineTo(0.913, 0.632).lineTo(0.913, -0.588).lineTo(0.817, -0.588).lineTo(0.817, -0.684).lineTo(-0.812, -0.684).lineTo(-0.812, -0.583).lineTo(-0.913, -0....
7
32
0.89665
train_0a4d73f6df390421
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.074, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.687, 0.575).lineTo(1, -0.575).threePointArc((-0.064, -0.243), (0.687, 0.575)).close().moveTo(0.496, -0.357).lineTo(0.085, -0.467).lineTo(0.057, -0.034).lineTo(0.386, 0.055).threePointA...
6
101
0.488335
train_4904ff0ed5e16884
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.044, -0.068).threePointArc((-0.064, -0.03), (-0.007, 0.017)).lineTo(0.033, 0.021).lineTo(0.116, 0.01).threePointArc((0.292, 0.136), (0.375, 0.336)).threePointArc((0.347, 0.41), (0.35, 0.5...
3
73
0.114596
train_758fd59d945d363e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.144, -0.12, -0.428), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.855, 0.428).lineTo(0.855, -0.428).lineTo(-0.855, -0.428).lineTo(-0.855, -0.143).lineTo(0.571, -0.143).lineTo(0.571, 0.143).lineTo(-0.855, 0.143).lineTo(-0.855, 0.428).lineTo(0.855,...
15
366
0.39092
train_98432abacb14315d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.204, 1).threePointArc((0.318, 0.642), (0.365, 0.528)).lineTo(0.365, -1).lineTo(-0.242, -1).lineTo(-0.242, -0.565).lineTo(-0.365, -0.565).lineTo(-0.365, 0.568).lineTo(-0.245, 0.568).lineTo(...
8
104
0.16801
train_57310fe0c9605da7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.037), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.878, 0.645).lineTo(0.882, 0.575).threePointArc((0.734, 0.401), (0.909, 0.166)).lineTo(0.987, 0.099).threePointArc((1, 0.09), (0.988, 0.081)).lineTo(0.93, 0.014).threePointArc((0.921, 0.002...
7
92
2.014914
train_6ce10733697b18cd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.602, 1).lineTo(0.778, 0.823).lineTo(0.778, -0.847).threePointArc((0.734, -0.954), (0.626, -1)).lineTo(-0.703, -1).lineTo(-0.703, -0.924).lineTo(-0.778, -0.924).lineTo(-0.778, 0.867).lineTo...
14
252
0.750106
train_ce9f09accb010046
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.091, -0.055, -0.264), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.908, 0.227).lineTo(0.908, -0.168).threePointArc((0.806, -0.217), (0.561, -0.237)).lineTo(-0.549, -0.237).threePointArc((-0.802, -0.216), (-0.908, -0.165)).lineTo(-0.908, 0.225).th...
22
152
0.52856
train_43f899c3497999e9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.052, 0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.666, 0.272).threePointArc((0.833, 0.37), (0.763, 0.104)).lineTo(-0.152, -0.649).lineTo(-0.268, -0.717).threePointArc((-0.315, -0.726), (-0.351, -0.694)).lineTo(-0.402, -0.607).threePoi...
6
125
2.425686
train_c1150f5f5c0dc090
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.439, -0.019, -0.263), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.025, 0.025).lineTo(0.025, 0.009).lineTo(0.008, 0.009).lineTo(0.008, -0.025).lineTo(-0.008, -0.025).lineTo(-0.008, 0.009).lineTo(-0.025, 0.009).lineTo(-0.025, 0.025).lineTo(0.025, ...
11
14
0.890266
train_67678d5b58cc0112
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.131, 0.102, -0.283), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.561, 0.691).threePointArc((-0.463, 0.624), (-0.421, 0.462)).lineTo(-0.421, 0.199).threePointArc((-0.385, 0.059), (-0.3, 0)).lineTo(0.773, 0).threePointArc((0.822, -0.034), (0.842,...
13
153
0.531388
train_bc21a0a4da68e5eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.177, -0.155), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.901, 0.206).lineTo(1, 0.107).lineTo(1, -0.085).lineTo(0.88, -0.206).lineTo(-0.934, -0.206).lineTo(-0.934, -0.14).lineTo(-1, -0.14).lineTo(-1, 0.206).lineTo(0.901, 0.206).close().extrud...
7
38
0.698138
train_dd0eca6595a8634b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.27, -0.379, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.067, 0.839).lineTo(0.127, 0.655).lineTo(0.204, 0.471).threePointArc((0.112, 0.359), (-0.014, 0.287)).lineTo(0.119, 0.103).lineTo(0.067, -0.081).threePointArc((-0.068, -0.216), (-0.204,...
4
22
0.314634
train_71de70558c5f6d9a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.862), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.078).lineTo(1, 0.646).lineTo(0.356, 0.646).lineTo(0.356, 0).lineTo(0, 0).lineTo(0, 1.078).lineTo(1, 1.078).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) res...
18
30
1.054154
train_420059b035f48987
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0.279, -0.429), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.335, 0.72).lineTo(0.335, -0.72).lineTo(-0.335, -0.72).lineTo(-0.335, 0.72).lineTo(0.335, 0.72).close().extrude(0.858) result = result.cut(cq.Workplane(cq.Plane(origin=(0.001, 0.279...
4
66
0.462155
train_974116c06bdd69e4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.391, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.291, 0.609).threePointArc((0.431, 0.552), (0.488, 0.412)).lineTo(0.488, -0.609).lineTo(-0.37, -0.609).lineTo(-0.488, -0.491).lineTo(-0.488, 0.489).lineTo(-0.368, 0.489).lineTo(-0.368,...
6
134
0.479851
train_031ce49070db3cb8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.183, 0.077, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.114, 0.797).threePointArc((0.627, 0.509), (0.773, 0.2)).threePointArc((0.465, 0.052), (-0.114, 0.151)).threePointArc((-0.627, 0.439), (-0.773, 0.748)).threePointArc((-0.465, 0.896), (0...
15
59
0.569825
train_e704b24977ee1b78
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.05, 0.057, -0.264), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.828, 0.852).threePointArc((0.913, 0.816), (0.95, 0.73)).lineTo(0.95, 0.361).threePointArc((0.909, 0.264), (0.812, 0.223)).lineTo(-0.213, 0.223).threePointArc((-0.288, 0.191), (-0.32...
19
163
1.395443
train_521c9a5d1443ea2f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.958, 0.061).lineTo(0.958, -0.042).threePointArc((0.807, -0.06), (0.451, -0.068)).lineTo(-0.736, -0.068).threePointArc((-0.892, -0.064), (-0.958, -0.056)).lineTo(-0.958, 0.064).threePointAr...
16
83
0.045399
train_5b3fe5fa7e1d130b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.528, -1.03, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.484, 1.912).threePointArc((0.521, 1.71), (0.684, 1.584)).threePointArc((0.661, 1.404), (0.72, 1.233)).lineTo(0.532, 0.849).lineTo(0.813, 0.534).lineTo(0.736, 0.166).lineTo(0.268, 0.147...
4
12
1.556212
train_b4b1085ab5727757
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.81, 1).lineTo(0.81, -1).lineTo(0, -1).lineTo(0, -0.332).lineTo(-0.81, -0.332).lineTo(-0.81, 0.332).lineTo(0, 0.332).lineTo(0, 1).lineTo(0.81, 1).close().extrude(0.213) result = result.cut(...
34
1,311
0.351139
train_8664099af9b33b61
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.212, 0.309).lineTo(0.419, 0.249).threePointArc((0.42, 0.21), (0.507, 0.172)).lineTo(0.523, 0.136).threePointArc((0.689, 0.014), (0.539, -0.087)).lineTo(0.505, -0.209).lineTo(0.547, -0.24)...
1
28
1.040763
train_522a60f3fa3fff2d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1.798), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.328, 2.417).lineTo(0.328, 1.572).lineTo(1, 1.572).lineTo(1, 1.179).lineTo(0.241, 1.179).lineTo(0.241, 1.014).lineTo(0.141, 1.014).lineTo(0.141, 0).lineTo(0, 0).lineTo(0, 2.417).lineTo(0.3...
7
56
1.163209
train_31b3052265eb2b83
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.184, 0, -0.16), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.237, 0.319).lineTo(0.237, 0.237).lineTo(0.368, 0.237).lineTo(0.368, 0).lineTo(0, 0).lineTo(0, 0.319).lineTo(0.237, 0.319).close().extrude(1, both=True) result = result.cut(cq.Workplan...
6
24
0.170096
train_dcf409a1612fc251
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.352, -0.188, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.074, 0.786).lineTo(0, 0.718).lineTo(0, 0.579).lineTo(0.056, 0.527).lineTo(0.221, 0.527).lineTo(0.28, 0.472).lineTo(0.28, 0.062).lineTo(0.346, 0).lineTo(0.48, 0).lineTo(0.56, -0.076)....
13
278
1.333888
train_56dc5aa987297de4
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.227, 0.743).threePointArc((0.568, 0.529), (0.481, 0.448)).lineTo(0.757, 0.174).threePointArc((0.743, -0.227), (0.628, -0.193)).lineTo(0.529, -0.568).threePointArc((0.174, -0.757), (0.147, -0.641)).lineTo(-0.227, -0.743).threePointArc((-0.568, -0.529...
9
323
1.285449
train_14caecad6147d21e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.06, -0.121, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.36, 0.197).threePointArc((-0.425, 0.136), (-0.809, 0.218)).threePointArc((0.687, 0.852), (0.809, -0.19)).lineTo(0.807, -0.775).threePointArc((0.705, -0.852), (0.373, -0.787)).lin...
3
32
0.344471
train_924651f5fdc8c0e1
import cadquery as cq import math result = cq.Workplane('XY').box(2, 1.878, 1.769) result = result.edges().fillet(0.27) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.31).extrude(4, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0...
5
32
4.949524
train_ea78c3e34c076c54
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.114, 0.444, -0.567), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.783, 0.477).threePointArc((0.813, 0.465), (0.825, 0.436)).lineTo(0.825, -0.256).threePointArc((0.76, -0.412), (0.602, -0.477)).lineTo(0.07, -0.477).threePointArc((-0.016, -0.441),...
11
158
2.404289
train_5c64a64d34443026
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.842), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 0.412).workplane(offset=1.684).rect(1.939, 0.194).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.056, -0.35), normal=(0, 0, -1), xDir=(1, 0, 0))).spline([(-0.868, -0.762), (-...
3
17
0.747346
train_baed6164b66521da
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.211, 0.426, 0.469), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.162, 0.387).threePointArc((0.094, 0.42), (0.311, 0.283)).threePointArc((0.384, 0.11), (0.36, -0.075)).threePointArc((0.154, -0.326), (-0.157, -0.42)).threePointArc((-0.188, -0.305...
11
42
0.727322
train_6b0fcd50b0f216fa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0.024, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.762, -0.329).threePointArc((0.049, 0.958), (0.715, -0.415)).lineTo(0.714, -0.884).threePointArc((0.659, -0.958), (0.334, -0.884)).lineTo(0.345, -0.305).threePointArc((0.727, -0.062), ...
4
63
0.170298
train_3f680010766287de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.101, 0, -0.281), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.325, 1).lineTo(1.051, 0).lineTo(0.325, -1).lineTo(-0.85, -0.618).lineTo(-0.85, 0.618).lineTo(0.325, 1).close().extrude(0.561) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.101,...
4
14
1.188031
train_791707d27d0dca1f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.301), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.324, 0.777).threePointArc((0.708, 0.438), (1, 0.046)).threePointArc((0.519, -0.285), (0.434, -0.777)).lineTo(-1, -0.5).lineTo(-0.829, 0.478).lineTo(0.324, 0.777).close().extrude(0.602) res...
4
62
1.006154
train_9c9259ada30775d0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.45, -0.068, -0.074), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.284, 0.266).lineTo(0.284, -0.266).lineTo(0.142, -0.266).lineTo(0.142, -0.089).lineTo(-0.142, -0.089).lineTo(-0.142, -0.266).lineTo(-0.284, -0.266).lineTo(-0.284, 0.266).lineTo(-0.1...
8
181
0.605351
train_38d6bd160b913bdf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.691, -0.701), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.412, 0.935).threePointArc((-0.352, 0.916), (-0.327, 0.874)).lineTo(-0.327, -0.26).threePointArc((-0.25, -0.392), (-0.066, -0.448)).lineTo(0.869, -0.448).threePointArc((0.961, -0.476),...
20
26
1.329847
train_9da2d6ce1c5075b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.084, -0.265, -0.981), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.211, 0.018).threePointArc((0.215, 0.016), (0.216, 0.012)).lineTo(0.216, -0.008).threePointArc((0.213, -0.015), (0.206, -0.018)).lineTo(0.146, -0.018).threePointArc((0.144, -0.017...
2
50
0.080322
train_9692c552737643ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.099, -1, -0.026), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.072, 0.38).threePointArc((0.468, 0.191), (0.59, -0.051)).threePointArc((0.367, -0.206), (-0.072, -0.182)).threePointArc((-0.468, 0.007), (-0.59, 0.249)).threePointArc((-0.367, 0.404)...
11
142
0.825248
train_752df83484ddd78c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.128, 0.014, -0.492), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.871, -0.172).threePointArc((0.862, -0.216), (0.833, -0.252)).lineTo(0.642, -0.417).threePointArc((0.628, -0.435), (0.623, -0.457)).lineTo(0.623, -0.601).threePointArc((0.613, -0.62...
14
264
1.522743
train_876d089519a04086
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.036, -0.727), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.331, 0.963).lineTo(0.773, 0.771).lineTo(0.992, -0.193).lineTo(0.552, -0.963).lineTo(-0.331, -0.963).lineTo(-0.992, -0.385).lineTo(-0.992, 0.385).lineTo(-0.331, 0.963).close().extrude...
9
89
1.068916
train_d78b2ef317609240
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.189, 0, -0.61), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.574, 1).lineTo(1, 0).lineTo(0.574, -1).lineTo(-0.574, -1).lineTo(-1, 0).lineTo(-0.574, 1).lineTo(0.574, 1).close().extrude(1.22) result = result.cut(cq.Workplane(cq.Plane(origin=(0.173...
13
40
0.759879
train_caba2f9866b0435a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, -0.003, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.002, 0.185).lineTo(0.726, 0).lineTo(1.002, -0.185).lineTo(0.299, -0.185).lineTo(0.299, 0.185).lineTo(1.002, 0.185).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, ...
13
78
0.33069
train_fc8ccfa8f61f6e54
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.947, -0.792, 0.002), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.694, 0.696).threePointArc((0.877, 0.459), (0.981, 0.125)).threePointArc((0.805, -0.115), (0.492, -0.166)).threePointArc((0.22, -0.148), (-0.006, -0.162)).threePointArc((-0.239, -0...
14
379
5.315381
train_26494ec5bc91cd95
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.821).extrude(0.648) result = result.cut(cq.Workplane(cq.Plane(origin=(0.822, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.13, 0.444), (-0.48, 0.747), (-0.938, 0.813),...
8
65
1.241865
train_6948b0b814e632f2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.215, 0.268, -0.688), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.471, 0.066).threePointArc((0.471, 0.446), (0.33, -0.204)).lineTo(0.327, -0.397).threePointArc((0.241, -0.446), (0.104, -0.397)).lineTo(0.102, -0.144).lineTo(0.158, -0.095).threeP...
12
141
0.307252
train_78ad3a579dbed617
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.005, -0.523), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.013, 0.994).lineTo(0.706, 0.701).lineTo(0.994, -0.026).lineTo(0.695, -0.712).lineTo(0.016, -0.994).lineTo(-0.696, -0.71).lineTo(-0.994, 0.006).lineTo(-0.683, 0.723).lineTo(0.013, 0.99...
4
24
1.234177
train_ebcbec58670b02e2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.053, -0.819, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(1, 1.053).threePointArc((0, 0.053), (-1, 1.053)).threePointArc((0, 2.053), (1, 1.053)).close().extrude(1.637) result = result.cut(cq.Workplane(cq.Plane(origin=(0.194, 0.274, -1.3), norm...
7
91
4.946929
train_6de79de1ed1b561d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.539), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.691, 0.718).lineTo(-0.691, -0.409).lineTo(1, -0.409).lineTo(1, -0.718).lineTo(-1, -0.718).lineTo(-1, 0.718).lineTo(-0.691, 0.718).close().extrude(1.077) result = result.edges().chamfer(0....
4
54
1.020086
train_da2bfe16e90ddaa5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.287, -0.135), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.36, 0.549).threePointArc((0.704, 0.36), (0.848, -0.155)).lineTo(0.662, -0.464).threePointArc((0.648, -0.479), (0.629, -0.488)).lineTo(0.393, -0.548).threePointArc((0.38, -0.549), (0.3...
7
146
1.774557
train_7a2fb4136fedf3c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.188, -0.568), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.461).lineTo(1, -0.461).lineTo(-1, -0.461).lineTo(-1, 0.392).threePointArc((-0.972, 0.442), (-0.923, 0.461)).lineTo(1, 0.461).close().extrude(0.824) result = result.union(cq.Workplan...
20
133
1.305134
train_cd3f2dc69de2600e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.743, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.338, 0.152).lineTo(0.331, 0.113).lineTo(0.428, 0.071).lineTo(0.41, 0.018).lineTo(0.308, 0.045).lineTo(0.288, 0.009).lineTo(0.367, -0.062).lineTo(0.333, -0.106).lineTo(0.244, -0.048).lineTo...
18
107
1.208866
train_157546e117456089
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.06, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.255, 0.643).lineTo(0.594, 0.237).lineTo(0.488, -0.281).lineTo(0.017, -0.522).lineTo(-0.465, -0.303).lineTo(-0.594, 0.209).lineTo(-0.274, 0.63).lineTo(0.255, 0.643).close().extrude(2) result...
10
228
1.805045
train_fd62213b207b4cf1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.465, 0.399, -0.084), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.397, 0.648).threePointArc((0.462, 0.621), (0.489, 0.556)).lineTo(0.489, -0.509).threePointArc((0.462, -0.574), (0.397, -0.601)).lineTo(-0.397, -0.601).threePointArc((-0.462, -0.57...
30
343
0.604143
train_cdde754f5e44b754
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.179), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.592, 0.647).threePointArc((1, 0), (0.592, -0.647)).lineTo(-0.592, -0.647).threePointArc((-1, 0), (-0.592, 0.647)).lineTo(0.592, 0.647).close().extrude(0.358) result = result.cut(cq.Workpla...
6
22
0.755496
train_46c010393baf20a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.349, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(-0.284, -0.489).lineTo(-0.629, -0.489).lineTo(-0.629, 0.489).lineTo(-0.284, 0.489).lineTo(-0.284, 0.503).lineTo(-0.284, 0.516).lineTo(-0.285, 0.53).lineTo(-0.287, 0.543).lineTo(-0.289, 0.556...
2
155
1.067735
train_c8f851cd48164f69
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.969, 1).lineTo(0.692, -1).lineTo(-0.969, -1).lineTo(-0.415, 1).lineTo(0.969, 1).close().moveTo(0.415, 0.692).lineTo(0.138, -0.692).lineTo(-0.415, -0.692).lineTo(0.138, 0.692).lineTo(0.415,...
3
54
2.064089
train_afceadcaf26e0099
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.255, 0.97).threePointArc((0.38, 0.934), (0.499, 0.88)).threePointArc((0.603, 0.804), (0.69, 0.707)).threePointArc((0.755, 0.596), (0.8, 0.479)).threePointArc((0.826, 0.359), (0.838, 0.243))...
4
94
1.139988
train_d6978acc50bc787f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.006, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.112, 0.192).lineTo(0.216, -0.148).threePointArc((0.172, -0.2), (0.051, -0.222)).lineTo(-0.216, 0.128).threePointArc((-0.188, 0.222), (-0.112, 0.192)).close().extrude(2) result = result.cu...
4
25
0.156697
train_c7b12fcbcb58952d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.142, 0, -0.243), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.39, 0.485).lineTo(0.39, 0).lineTo(-0.39, 0).lineTo(-0.39, 0.485).lineTo(-0.229, 0.485).lineTo(-0.229, 0.16).lineTo(0.229, 0.16).lineTo(0.229, 0.485).lineTo(0.39, 0.485).close().extrud...
5
30
0.410024
train_8654e2f899f83675
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.558), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.735, -0.295).threePointArc((-0.692, -0.349), (-0.59, -0.372)).lineTo(0.685, -0.372).threePointArc((0.72, -0.364), (0.735, -0.346)).lineTo(0.735, -0.262).threePointArc((0.722, -0.246),...
4
119
1.056473
train_d99d6f01429b115d
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.909).extrude(0.919) result = result.cut(cq.Workplane(cq.Plane(origin=(0.909, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.267, 0.642), (-0.909, 0.909), (-1.551, 0.642), (...
6
52
1.834731
train_af149f27c7b57770
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.093, -0.082, -0.08), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.904, 0.218).lineTo(0.904, 0.174).threePointArc((-0.134, -0.218), (-0.904, 0.218)).close().extrude(0.154, taper=-0.859) result = result.union(cq.Workplane(cq.Plane(origin=(0.33, -...
7
103
0.074543
train_18b6e05e6c004060
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.245, 0.237).lineTo(0.328, 0.094).lineTo(-0.245, -0.237).lineTo(-0.328, -0.094).lineTo(-0.184, -0.011).lineTo(-0.042, 0.072).lineTo(0.102, 0.154).lineTo(0.245, 0.237).close().extrude(2) result ...
4
50
0.239626
train_36c960ee16f0f5dd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.967, 0.087).lineTo(0.967, 0.055).lineTo(-0.564, 0.055).lineTo(-0.564, -0.055).lineTo(0.967, -0.055).lineTo(0.967, -0.087).lineTo(-0.967, -0.087).lineTo(-0.967, 0.087).lineTo(0.967, 0.087)....
5
25
0.056717
train_d0c5568ae5ddca73
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.156), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.8, -0.2).lineTo(0.6, -0.4).lineTo(0.8, -0.8).threePointArc((0.4, -0.6), (0, -1)).threePointArc((-0.2, -0.8), (-0.8, -0.8)).threePointArc((-0.6, -0.4), (-1, 0)).threePointArc((-0.8, 0.2), (...
10
248
0.675465
train_ccdfa1418dea110a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.304), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.878, 0.746).lineTo(1, 0.625).lineTo(1, -0.746).lineTo(-0.845, -0.746).threePointArc((-0.954, -0.701), (-1, -0.592)).lineTo(-1, 0.746).lineTo(0.878, 0.746).close().extrude(0.162) result = r...
6
57
0.579908
train_ca474bc6747bdd38
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.363), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.766, 0.462).lineTo(1, 0.233).lineTo(1, -0.233).lineTo(0.766, -0.462).lineTo(-0.791, -0.462).lineTo(-1, -0.258).lineTo(-1, 0.216).lineTo(-0.75, 0.462).lineTo(0.766, 0.462).close().extrude(0...
9
42
0.51073
train_126cd583d29ed3b7
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.24, 0.972).threePointArc((0.384, 0.925), (0.519, 0.858)).threePointArc((0.642, 0.771), (0.75, 0.666)).threePointArc((0.842, 0.547), (0.915, 0.415)).threePointArc((0.967, 0.273), (0.997, 0.126)).lineTo(0.774, 0.126).lineTo(0.774, -0.126).lineTo(0.997...
5
75
0.606298
train_0fe94d8b935b31d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.03, -0.245), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.009, 1.226).lineTo(0.009, 0.801).lineTo(0.434, 0.801).lineTo(0.434, -0.801).lineTo(0.009, -1.226).lineTo(-0.087, -1.226).threePointArc((-0.333, -1.125), (-0.434, -0.878)).lineTo(-0.434,...
4
12
0.757469
train_07066bbe99dbf337
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.051), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.991, 0.105).lineTo(1, -0.102).lineTo(0.16, -0.105).lineTo(0.16, -0.044).lineTo(0.418, -0.038).threePointArc((0.56, 0.103), (0.777, 0.091)).lineTo(0.991, 0.105).close().revolve(angleDegree...
4
35
0.528892
train_3e04175ec60cfb4f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.399, 0, -0.006), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.564, 0.436).threePointArc((0.59, 0.425), (0.601, 0.399)).lineTo(0.601, -0.41).threePointArc((0.593, -0.428), (0.575, -0.436)).lineTo(-0.568, -0.436).threePointArc((-0.591, -0.426), (-0...
19
57
0.237481