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_e6fa61fc5348c6e4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.229, 0, -0.49), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.035, 1.837).extrude(0.077) result = result.union(cq.Workplane(cq.Plane(origin=(0.437, 0.28, -0.414), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.153).extrude(0.016)) result = result.union...
16
213
1.011829
train_ce73617477397e65
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.048, 0.037, -0.241), normal=(1, 0, 0), xDir=(0, 0, 1))).lineTo(0.326, -0.346).lineTo(0.326, 0.044).lineTo(0.326, 0.05).lineTo(0.326, 0.446).lineTo(0.037, 0.446).lineTo(0.026, 0.446).close().sweep(cq.Workplane('XY').spline([(-0.56, -0.447), (-0.3...
4
23
0.168159
train_639692f448401d54
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.217, -0.032, -0.772), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.592, -0.189).lineTo(0.592, 0.189).lineTo(-0.202, 0.189).lineTo(-0.202, -0.153).lineTo(-0.468, -0.153).lineTo(-0.468, 0.189).lineTo(-0.592, 0.189).lineTo(-0.592, -0.189).lineTo(0....
8
15
0.032704
train_df5abbc5f0287b72
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.086, -0.043, 0.215), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.57, 0.214).lineTo(-0.57, -0.214).lineTo(-0.143, -0.214).lineTo(-0.143, -0.285).lineTo(-0.57, -0.285).lineTo(-0.57, -0.427).lineTo(0.427, -0.427).threePointArc((0.528, -0.386), (0....
3
26
1.289638
train_7e0ac5a928d0bce3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.474), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.994, 1.645).extrude(1.474) result = result.union(cq.Workplane(cq.Plane(origin=(-0.032, 0.188, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.532, 0.942).extrude(0.546)) result = result.cut(c...
8
105
4.069649
train_f659cb7cb76e92d6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.026, -0.034, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.17, 0.397).lineTo(0.028, 0.539).lineTo(-0.114, 0.397).lineTo(-0.48, 0.397).lineTo(-0.48, 0.206).lineTo(0.147, -0.421).lineTo(0.338, -0.421).lineTo(0.338, -0.055).lineTo(0.48, 0.087).l...
22
125
0.410752
train_c1dfc8c625d32ca2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.192, 0, -0.497), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.615, 1.343).extrude(1.221) result = result.union(cq.Workplane(cq.Plane(origin=(0.801, -0.106, -0.224), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.199).extrude(0.198)) result = result.u...
4
64
2.721162
train_0c294f5d52172e0e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.293, -1, 0.074), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.415, 0.761).lineTo(-0.562, 0.761).lineTo(-0.562, -0.236).lineTo(0.562, -0.236).lineTo(0.562, 0.761).lineTo(0.415, 0.761).close().extrude(2) result = result.edges().chamfer(0.11) resul...
10
57
2.07613
train_87a7f7db8e578eeb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.002, 0.169), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.38, 1.022).lineTo(0.514, 0.59).threePointArc((0.337, 0.335), (0.09, 0.147)).threePointArc((-0.204, 0.044), (-0.514, 0.038)).lineTo(-0.38, 1.022).close().revolve(angleDegrees=270, axis...
9
57
0.593872
train_1fadec72861343f5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.061, 0.123, 0.111), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.389, 0.118).threePointArc((0.388, 0.12), (0.387, 0.121)).lineTo(0.325, 0.215).threePointArc((-0.39, 0), (0.325, -0.215)).lineTo(0.387, -0.121).threePointArc((0.388, -0.12), (0.389, ...
14
68
0.241358
train_bbc451ff0552ffe8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.014, -0.372, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.923, 1.137).threePointArc((0.263, 0.278), (-0.738, 0.692)).lineTo(-0.923, 0.585).threePointArc((-0.028, 0.035), (0.923, 0.484)).lineTo(0.923, 1.137).close().extrude(2) result = resul...
15
48
0.714361
train_68bae8953f3abc54
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.003, -0.036), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.813, -0.055).lineTo(-1, -0.055).lineTo(-1, 0.023).lineTo(-0.844, 0.023).lineTo(-0.844, 0.055).lineTo(-0.812, 0.055).lineTo(-0.813, 0.023).lineTo(1, 0.023).lineTo(1, -0.055).lineTo(-0...
23
85
0.014365
train_2a2b9dad65662825
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.261, -0.377, 0.68), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.736, -0.428).lineTo(-0.736, -0.428).lineTo(-0.736, 1.191).lineTo(0, 1.191).lineTo(0, 0.272).lineTo(0.736, 0.272).lineTo(0.736, -0.428).close().revolve(angleDegrees=90, axisStart=(0....
10
93
1.197238
train_622695647cf79d1d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.729, -0.079, -0.022), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.271, -0.462).threePointArc((-0.019, 0.011), (0.271, 0.462)).lineTo(-0.271, -0.462).close().transformed(offset=(0.283, 0.121, 0.051), rotate=(0, 20, 0)).moveTo(-0.092, -0.156).th...
1
4
0.002785
train_11023d7e1b671fad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.589), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.618).workplane(offset=0.641).circle(0.629).workplane(offset=0.538).circle(1).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.217, 0.575, -0.03), normal=(0, 0, 1), xDir=(1, 0, 0...
11
71
1.003143
train_2770bd0803cbe6fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.461, 0.461), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.539, 0.461).threePointArc((-1, 0), (-0.539, -0.461)).lineTo(1, -0.461).lineTo(1, 0.461).lineTo(-0.539, 0.461).close().revolve(angleDegrees=180, axisStart=(-0.539, -0.461), axisEnd=(1...
17
90
1.428696
train_f14064441e2bfb85
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.386, 0.197, -0.171), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.212, 0.897).lineTo(0.212, 0.897).lineTo(0.212, -0.614).lineTo(-0.212, -0.614).lineTo(-0.212, 0.897).close().extrude(0.394) result = result.edges().fillet(0.053) result = result.u...
10
114
0.252138
train_4e23e80f5cf59c37
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.058), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.705, 0.978).extrude(1.058) result = result.cut(cq.Workplane(cq.Plane(origin=(0.048, 0.299, 0.546), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.998, 0.401).extrude(0.195)) result = result.edges...
11
144
2.930709
train_6e49c0189997cd11
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0.284, 0.366), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.493, 0.453).extrude(0.07) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.003 + 0.013 * math.cos(0.934 + 2 * math.pi * 0 / 7), 0.319 + 0.013 * math.sin(0.934 + 2 * math.pi * 0 /...
25
148
1.07752
train_9508764742eaaf4d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.229), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.457, 1).lineTo(0.457, -1).lineTo(-0.457, -1).lineTo(-0.457, 1).lineTo(0.457, 1).close().extrude(0.459) result = result.edges().chamfer(0.095) result = result.cut(cq.Workplane(cq.Plane(orig...
7
52
0.771388
train_86c08b0ff2e35b96
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.219, -0.277), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.018, 0.932).extrude(1.277) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.1, 0.359, -0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.18).extrude(0.429)) result = result.cut(cq....
12
70
0.87626
train_cc9327b9bfee07bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.688, -0.549, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-1, 0.411).threePointArc((0, 1.412), (1, 0.411)).lineTo(0.724, 0.411).threePointArc((0, -0.313), (-0.724, 0.411)).lineTo(-1, 0.411).close().extrude(1.376) result = result.union(cq.Workp...
16
108
2.116346
train_efc0bfc1f052fa59
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.23, 0.301, -0.068), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.687, 0.021).lineTo(0.47, 0.489).lineTo(0.017, 0.699).lineTo(-0.495, 0.471).lineTo(-0.695, 0.001).lineTo(-0.47, -0.472).lineTo(-0.01, -0.674).lineTo(0.475, -0.456).close().moveTo(-0....
18
132
0.13465
train_e01af31cc1748b83
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.741, -0.072), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.192, -0.087).threePointArc((0.565, 1.043), (-0.565, 1.417)).lineTo(0.192, -0.087).close().extrude(2) result = result.edges().fillet(0.141) result = result.cut(cq.Workplane(cq.Plane(or...
5
23
2.057347
train_0ec2fe1250dec782
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.069), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-1, -0.098).lineTo(-1, -0.151).lineTo(1, -0.151).lineTo(1, -0.098).lineTo(-0.105, -0.098).lineTo(0.105, -0.098).lineTo(0.105, 0.098).lineTo(1, 0.098).lineTo(1, 0.151).lineTo(-1, 0.151).lineT...
7
95
0.051387
train_bfb1990c3b896bae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.219, 0.998, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.154, -0.379).lineTo(0.054, -0.379).lineTo(-0.057, 0.022).lineTo(-0.154, 0.379).lineTo(-0.054, 0.379).lineTo(0.154, -0.379).close().sweep(cq.Workplane('XY').spline([(0.219, 0.569), (0.45...
1
7
0.069751
train_274865fa4d22275b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.06, 0, -0.811), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.489, 2).extrude(1.621) result = result.union(cq.Workplane(cq.Plane(origin=(0.743, -0.722, 0.53), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.121, 0.157).extrude(0.114)) result = result.edg...
21
122
4.694738
train_bf8a6af392156a72
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.546, 0.253, 0.315), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.03, -0.342).threePointArc((0.312, -0.398), (0.37, -0.117)).threePointArc((0.67, -0.024), (0.523, 0.253)).threePointArc((0.67, 0.53), (0.37, 0.623)).threePointArc((0.277, 0.922), (0...
11
104
1.025439
train_9da05da6a3fc7e23
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0, -0.439), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.871).workplane(offset=0.031).circle(0.884).workplane(offset=0.032).circle(0.991).workplane(offset=0.025).circle(0.984).workplane(offset=0.026).circle(0.945).workplane(offset=0.03).ci...
12
68
1.24718
train_619048944e3c0b40
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.065, 0, 0.071), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.145, 0.189).lineTo(0.145, 0.009).lineTo(-0.145, 0.009).lineTo(-0.145, 0.189).close().extrude(0.228) result = result.edges().fillet(0.033) result = result.union(cq.Workplane(cq.Plane(o...
13
324
0.498307
train_73a34a55b93e039c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.244, -0.844), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.776, 0.884).lineTo(-0.776, -0.395).lineTo(0.776, -0.395).lineTo(0.776, 0.884).lineTo(-0.776, 0.884).close().extrude(1.478) result = result.edges().chamfer(0.633) result = result.unio...
17
236
0.744339
train_1387fb513e4c40c7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.753, 0.688, -0.75), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.098, -0.099).lineTo(0.093, -0.103).lineTo(-0.001, -0.009).lineTo(-0.094, -0.102).lineTo(-0.098, -0.097).lineTo(-0.001, 0).lineTo(-0.005, 0.004).lineTo(-0.009, 0).lineTo(-0.102, 0....
1
48
0.00614
train_3d2f69900f61edc9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.083, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.461, -0.236).lineTo(-0.421, -0.376).threePointArc((-0.406, -0.405), (-0.38, -0.425)).lineTo(-0.159, -0.534).threePointArc((-0.142, -0.541), (-0.124, -0.543)).lineTo(0, -0.543).lineTo(0.12...
9
114
1.578453
train_5dca83384d1ece09
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.16, -0.226, -0.066), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.631, 0.037).lineTo(-0.512, -0.037).lineTo(0.512, -0.037).lineTo(0.631, 0.037).lineTo(-0.631, 0.037).close().transformed(offset=(0.037, 0, 0.036), rotate=(0, 0, 0)).moveTo(-0.575,...
4
105
0.029504
train_610e3368a1a065ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.571, 1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.426, -0.188).lineTo(0.789, 0.188).lineTo(-0.789, 0.188).lineTo(0.426, -0.188).close().sweep(cq.Workplane('XY').spline([(0.571, 0.045), (0.872, 0.083), (1.174, 0.467), (1.476, 0.85), (1.777,...
2
10
0.006685
train_ddc4a80d3e970f0a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.178, 0, -0.876), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.405, 0.372).extrude(0.416) result = result.union(cq.Workplane(cq.Plane(origin=(-0.083, 0.028, -0.765), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.073).extrude(0.069)) result = result.un...
20
304
0.25648
train_f12bb7230e30d724
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.195, 0.531, 0.316), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.113).sweep(cq.Workplane('YZ').spline([(0.531, 0.316), (0.587, 0.199), (0.643, 0.37), (0.699, 0.379), (0.755, 0.199), (0.811, 0.37), (0.866, 0.316)])) result = result.edges().fille...
12
142
0.314344
train_3de4df9385f6dfe0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.1, -0.014, 0.014), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.082, 0.903).lineTo(-0.082, 0.412).lineTo(0.082, 0.412).lineTo(0.082, 0.903).lineTo(-0.082, 0.903).close().revolve(angleDegrees=270, axisStart=(0, 0), axisEnd=(0.173, 0)) result = re...
7
37
0.232124
train_fbe85d92f9a4ce00
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.693, -0.923).lineTo(-0.693, 0.923).lineTo(0.461, 0.923).threePointArc((0.693, 0), (0.461, -0.923)).lineTo(-0.693, -0.923).close().workplane(offset=0.699).moveTo(-0.591, -0.787).lineTo(-0.591,...
14
161
2.368865
train_f7cc83a408123d13
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.025, 0.002, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.969, 0.028).lineTo(0.664, 0.685).lineTo(0.014, 0.986).lineTo(-0.696, 0.659).lineTo(-0.975, -0.008).lineTo(-0.705, -0.678).lineTo(-0.024, -0.94).lineTo(0.699, -0.673).close().moveTo...
16
191
0.611783
train_a37f5a0e20d2179e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.474, -0.283), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.972, 0.474).lineTo(0.972, 0.474).lineTo(0.972, -0.244).lineTo(0.826, -0.244).threePointArc((0.578, -0.193), (0.33, -0.244)).lineTo(0.175, -0.244).threePointArc((-0.073, -0.193), (-0....
9
62
2.692217
train_71b909cfc07049b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.048), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.306, 2).extrude(0.077) result = result.union(cq.Workplane(cq.Plane(origin=(-0.523 + 0.174, -0.8 + 0.2665, 0.029), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.039, 0).lineTo(-0.002, 0).lineTo...
10
78
0.202602
train_c4c6633a11564de5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.013, -0.138, 0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.01, -0.337).threePointArc((-0.106, 0.031), (-0.01, 0.399)).lineTo(0.106, 0.399).threePointArc((-0.007, 0.031), (0.106, -0.337)).lineTo(-0.01, -0.337).close().revolve(angleDegrees=...
1
5
0.132902
train_d8e0575564db9a73
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, -0.007, -0.374), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.049, 0.025).lineTo(-0.053, 0.025).threePointArc((-0.045, -0.003), (-0.023, -0.023)).threePointArc((-0.021, -0.024), (-0.018, -0.025)).lineTo(0.002, -0.025).lineTo(0.022, -0.025).li...
2
17
0.006966
train_28c4c685525f7c62
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.621, -0.535, -0.356), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.045, 0.076).extrude(0.022) result = result.union(cq.Workplane(cq.Plane(origin=(-0.636, -0.533, -0.332), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.026, 0.038).threePointArc((0.03...
34
369
0.203266
train_d239afe84e0e8a93
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.002, -0.173), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.999, -0.867).lineTo(1.001, -0.897).lineTo(0.998, 0.901).lineTo(-0.99, 0.898).close().center(0, 0.248).circle(0.167).center(-0.282, -0.425).rect(0.392, 0.277).center(0.564, 0).ci...
15
121
0.796153
train_11866bdd54c4ac3c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1, 0.123), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.309, 0.255).lineTo(0.309, -0.255).lineTo(0.244, -0.213).lineTo(0.173, 0.12).lineTo(0.158, 0.19).lineTo(0, -0.054).lineTo(-0.173, 0.12).lineTo(-0.309, 0.255).lineTo(0.309, 0.255).close().s...
1
10
0.215875
train_a95a1e1f29b36967
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.286, 0, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.428, 1.462).extrude(0.368) result = result.faces('>Z').shell(-0.025) result = result.union(cq.Workplane(cq.Plane(origin=(-0.625, 0.012, -0.103), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0...
8
43
0.125505
train_e00f19965aed1496
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.628, 0.021, 0.069), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.351).workplane(offset=0.147).circle(0.336).workplane(offset=0.108).circle(0.355).workplane(offset=0.121).circle(0.372).workplane(offset=0.148).circle(0.359).workplane(offset=0.112...
7
38
0.144725
train_44fb8441fc5d136a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.136, 1).lineTo(0.136, 0.909).threePointArc((0.2, 0.883), (0.226, 0.819)).lineTo(0.226, 0.976).threePointArc((0.293, 0.909), (0.317, 0.819)).lineTo(0.317, 0.457).threePointArc((0.293, 0.366), (0...
10
65
0.577182
train_e17f9d7c8b027c24
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.249, -0.089, -0.179), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.134, -0.201).lineTo(-0.401, -0.201).lineTo(-0.401, 0.067).lineTo(-0.134, 0.067).lineTo(-0.134, 0.334).lineTo(0.401, 0.334).lineTo(0.401, 0.067).lineTo(0.134, 0.067).lineTo(0.134,...
28
190
0.625146
train_795d84088066f325
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.455, -0.074, 0.524), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.476, 0.132).lineTo(0.476, 0.015).lineTo(-0.476, 0.015).threePointArc((-0.429, 0.074), (-0.476, 0.132)).lineTo(0.462, 0.132).lineTo(0.476, 0.132).close().revolve(angleDegrees=90, ...
6
29
0.061343
train_872ec18c804d2431
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.049, 0.07, -0.733), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.042, 0.13).lineTo(0.236, 0.13).lineTo(0.269, 0.109).lineTo(0.232, 0.071).lineTo(0.082, 0.039).threePointArc((0.026, 0.05), (-0.012, 0.01)).lineTo(-0.042, 0.01).threePointArc((-0.1...
14
241
0.005177
train_2ede0a8f1b6a1833
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 1, 0.001), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.266).workplane(offset=1.027).circle(0.297).workplane(offset=0.973).circle(0.295).loft() result = result.edges().chamfer(0.235) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.144, 0.3...
9
26
0.344572
train_1f1c59460120e3d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.984, 1.933).extrude(1.712) result = result.union(cq.Workplane(cq.Plane(origin=(0.036, 0.43, 0.696), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.25).extrude(0.304)) result = result.cut(cq.Workpla...
4
34
6.542824
train_e3d2da10c0cce7cc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.583, 0.12, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.834, 0.33).extrude(0.068) result = result.union(cq.Workplane(cq.Plane(origin=(0.587, 0.125, -0.065), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.136).extrude(0.015)) result = result.c...
28
172
0.087708
train_d91f338f1b45fa7b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.085, -0.149, 0.144), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.86, 0.017).threePointArc((0.82, 0.114), (0.722, 0.154)).lineTo(-0.722, 0.154).threePointArc((-0.82, 0.114), (-0.86, 0.017)).lineTo(0.86, 0.017).close().extrude(0.298) result = res...
13
62
0.063965
train_5aeaa14dcc49e828
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.183, -0.141, -0.048), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.817, 0.096).lineTo(-0.817, -0.096).lineTo(0.817, -0.096).lineTo(0.817, 0.096).lineTo(-0.817, 0.096).close().sweep(cq.Workplane('YZ').spline([(-0.141, -0.048), (-0.027, 0.011), ...
6
41
0.088143
train_1c04fe26dc430351
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.79), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(1).workplane(offset=0.403).circle(0.597).workplane(offset=0.323).circle(0.731).workplane(offset=0.43).circle(0.664).workplane(offset=0.425).circle(0.47).loft() result = result.cut(cq.Workplan...
5
18
1.426319
train_2b77d8ad916bc5fe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.207, -0.21, -0.469), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.608, 0.603).lineTo(-0.608, 0.051).lineTo(0.332, 0.051).threePointArc((0.608, 0.327), (0.332, 0.603)).lineTo(-0.608, 0.603).close().extrude(0.713) result = result.edges().chamfer(...
23
180
0.310081
train_41dd21bccf3cc945
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.022, -0.146, 0.533), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.374, 0.507).lineTo(-0.374, 0.414).lineTo(-0.467, 0.414).lineTo(-0.467, 0.32).lineTo(-0.374, 0.227).lineTo(0.374, 0.227).lineTo(0.467, 0.32).lineTo(0.467, 0.507).lineTo(-0.374, 0....
14
122
1.263859
train_a43b58b16b918f77
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.084, 0.852, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.815, 0.974).threePointArc((-0.852, 1.064), (-0.762, 1.027)).lineTo(0.758, 1.027).threePointArc((0.855, 1.067), (0.815, 0.97)).lineTo(0.815, -0.799).lineTo(0.815, -0.858).lineTo(0.755,...
7
15
4.638674
train_0b75f662da0f4551
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.746, 0.459, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.412, 1.099).lineTo(-0.412, 1.452).lineTo(-1, 1.452).lineTo(-1, 0.04).lineTo(-0.412, 0.04).lineTo(-0.412, 0.393).lineTo(1, 0.393).lineTo(1, 1.099).lineTo(-0.412, 1.099).close().workpla...
10
63
0.525456
train_45674f7f93c2e1f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.785, -0.093, -0.357), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.431, 0.091).extrude(0.1) result = result.union(cq.Workplane(cq.Plane(origin=(0.78, -0.089, -0.463), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.077, 0.028).extrude(0.117)) result = re...
9
60
0.275228
train_0da088f44caedfd4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.752), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.003).extrude(1.503) result = result.cut(cq.Workplane(cq.Plane(origin=(0.194, 0.129, -0.057), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.163).extrude(0.829)) result = result.cut(cq.Workpl...
7
31
2.555204
train_40bcdaf4231de731
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.625, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.978, -0.052).lineTo(0.978, 0.052).lineTo(-0.877, 0.052).lineTo(-0.877, 0.05).threePointArc((-0.948, 0.021), (-0.978, -0.052)).lineTo(-0.932, -0.052).threePointArc((-0.916, -0.013), (-0...
2
59
0.235668
train_8656224c1251eeb1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.39, -0.005, -0.734), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.063, 0.285).threePointArc((-0.119, 0.285), (-0.266, 0.178)).lineTo(-0.266, -0.168).threePointArc((-0.119, -0.275), (0.063, -0.275)).threePointArc((0.21, -0.168), (0.266, 0.005)).t...
10
68
0.241825
train_14c00156579f2ced
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.009, -0.307, -0.726), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.274, 0.283).lineTo(0.274, 0.009).threePointArc((0, -0.265), (-0.274, 0.009)).lineTo(-0.274, 0.283).lineTo(0.274, 0.283).close().extrude(0.613) result = result.union(cq.Workplane(...
5
21
0.179048
train_0a8753ee39a93a1d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.127, 0.145), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.302, -0.057).threePointArc((0, -0.359), (0.302, -0.057)).lineTo(0.289, 0.029).lineTo(0.242, 0.359).lineTo(-0.246, 0.359).lineTo(-0.291, 0.023).lineTo(-0.302, -0.057).close().sweep(cq.W...
3
21
0.468294
train_ee8d9987f0cfcf29
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.367, 0.239, -0.482), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.525, 0.547).threePointArc((0, 0.036), (0.525, 0.547)).lineTo(-0.525, 0.547).close().extrude(0.477) result = result.edges().chamfer(0.072) result = result.union(cq.Workplane(cq.Pl...
15
93
0.259418
train_5b00ec2dd73aa675
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.593, 0.152, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.231, 0.369).lineTo(0.231, 0.369).lineTo(0.231, 0.04).lineTo(-0.231, 0.04).lineTo(-0.231, 0.369).close().revolve(angleDegrees=90, axisStart=(-0.231, 0.369), axisEnd=(0, 0.369)) result ...
4
30
0.021341
train_9050d94d9c272baa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.113, -0.043, 0.528), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.223, 0.545).threePointArc((0.572, 0.24), (0.579, -0.223)).threePointArc((0.296, -0.515), (-0.109, -0.545)).threePointArc((-0.111, -0.544), (-0.113, -0.544)).threePointArc((-0.579,...
15
102
0.508254
train_bfdbc49ef8eb93c0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.106, -0.413, -0.061), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0, 0.477).lineTo(-0.371, 0.106).lineTo(-0.371, -0.266).lineTo(0, -0.266).lineTo(0.186, -0.08).lineTo(0.371, -0.266).lineTo(0.371, 0.477).lineTo(0, 0.477).close().extrude(1.056) res...
17
128
0.539134
train_c5cf28f7ad6ae247
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.277, -0.4), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.308).lineTo(0.234, 0.708).threePointArc((0, -0.154), (-0.234, 0.708)).lineTo(0, 0.308).close().extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(-0.94, 0.122, -0.326), ...
2
12
1.235698
train_e272bd324e0afbbc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.202, 0.108, -0.054), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.369, 0.244).threePointArc((-0.12, -0.244), (0.369, 0.005)).lineTo(-0.369, 0.244).close().sweep(cq.Workplane('XZ').spline([(0.202, -0.694), (0.365, -0.449), (0.307, -0.175), (0.053...
17
73
0.258818
train_e2ff6e158c1a0c91
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, -1.019, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.441, 1.262).lineTo(-0.442, 1.872).lineTo(-0.776, 1.702).lineTo(-0.346, 0.856).lineTo(0.011, 0.152).lineTo(0.776, 0.505).lineTo(0.441, 1.262).close().extrude(1.826) result = result.ed...
17
53
1.524639
train_4d4f1e9c6a2d1467
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.649), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.398).extrude(1.298) result = result.cut(cq.Workplane(cq.Plane(origin=(0.146, -0.098, 0.162), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.423, 1.678).extrude(0.225)) result = result.cut(cq.W...
8
180
3.07163
train_d1df92cb7d1ca1df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.696, -0.478, -0.129), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.546, 0.857).lineTo(-0.546, 0.393).lineTo(-0.871, 0.393).lineTo(-0.871, -0.071).lineTo(0.871, -0.071).lineTo(0.871, 0.857).lineTo(-0.546, 0.857).close().extrude(0.956) result = r...
11
117
0.558452
train_cd5821bf72e93561
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.043, 0.179, -0.352), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.242, 0.415).lineTo(0, -0.415).lineTo(0.242, 0.415).lineTo(-0.242, 0.415).close().sweep(cq.Workplane('XY').spline([(0.158, 0.179), (0.292, 0.295), (0.425, 0.295), (0.559, 0.179)]...
9
54
0.49766
train_9dbb30999bab10c3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.17, -0.827, 0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.125, 0.326).lineTo(0.125, 0.76).lineTo(0.125, 0.326).lineTo(-0.125, 0.326).close().revolve(angleDegrees=360, axisStart=(-0.125, 0.326), axisEnd=(0.125, 0.76)) result = result.edges...
7
73
0.347828
train_e3784a170a985693
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.546, 0.163, -0.03), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.415).workplane(offset=0.219).circle(0.46).workplane(offset=0.224).circle(0.394).workplane(offset=0.163).circle(0.365).loft() result = result.edges().chamfer(0.254) result = result...
9
53
0.951662
train_5ee981268785b4a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.245, -0.101, 0.799), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.201, 0.546).lineTo(-0.201, 0.194).lineTo(-0.122, 0.243).threePointArc((0.132, 0.101), (-0.122, -0.04)).lineTo(-0.201, 0.009).lineTo(-0.201, -0.344).lineTo(0.201, -0.344).lineTo(0...
7
163
0.242898
train_d621a0abb82979c8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.42, 0.928, 0.049), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.207, -0.129).lineTo(-0.207, -0.06).lineTo(0.022, -0.06).lineTo(0.022, 0.003).threePointArc((0.028, 0.04), (0.044, 0.073)).threePointArc((0.089, 0.114), (0.148, 0.129)).lineTo(0.16, ...
5
86
0.098513
train_e0e0c4a1edf47ba1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.119, 0, 1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.308).sweep(cq.Workplane('XZ').spline([(-0.119, -0.27), (-0.046, 0.249), (-0.217, 0.695), (-0.525, 0.787)])) result = result.cut(cq.Workplane(cq.Plane(origin=(0.128, 0.109, 0.263), normal=(...
4
17
0.147152
train_e996e400387d9d15
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.343, -0.624), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.486, -0.238).threePointArc((0, 1.343), (0.486, -0.238)).lineTo(0.486, -0.488).lineTo(0.486, -0.548).threePointArc((0, -0.658), (-0.486, -0.548)).lineTo(-0.486, -0.488).lineTo(-0.486,...
8
42
2.585039
train_766dab4b19c23fcc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.272, 1, -0.06), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.182).workplane(offset=0.595).circle(0.312).workplane(offset=0.802).circle(0.319).workplane(offset=0.558).circle(0.172).loft() result = result.edges().chamfer(0.166) result = result.cut...
20
89
0.680041
train_0fbe59f59596cd9c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.527, 0.037, 0.076), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.158, 0.074).lineTo(0.266, 0.074).lineTo(0.266, 0.005).lineTo(-0.266, 0.005).lineTo(-0.266, 0.074).lineTo(-0.158, 0.074).close().extrude(0.387) result = result.edges().fillet(0.027...
10
115
0.302612
train_8c8ef3a1bcacb5f3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.014, 1, 0.038), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.559).workplane(offset=0.41).circle(0.494).workplane(offset=0.573).circle(0.589).workplane(offset=0.447).circle(0.543).workplane(offset=0.571).circle(0.376).loft() result = result.edge...
15
92
0.771409
train_a7f33ba541f8716f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.936), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.656, 2).extrude(1.428) result = result.union(cq.Workplane(cq.Plane(origin=(-0.03, -0.14, 0.48), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.711, 0.472).extrude(0.456)) result = result.cut(cq.W...
10
52
3.35463
train_b1f7b4b412615fd4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.342, 0.355), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.452, 0.836).lineTo(-0.452, 0.052).lineTo(-0.333, -0.067).lineTo(0.452, -0.067).lineTo(0.452, 0.653).lineTo(0.268, 0.836).lineTo(-0.452, 0.836).close().revolve(angleDegrees=360, axisSta...
4
14
2.15835
train_6a23712389df6a2e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.213, 0.193, 1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.76, 0.378).lineTo(-0.76, -0.436).lineTo(0.324, -0.436).threePointArc((0.76, 0), (0.324, 0.436)).lineTo(-0.76, 0.436).lineTo(-0.76, 0.378).close().sweep(cq.Workplane('XZ').spline([(-0....
14
21
2.345561
train_e509f4839260cf65
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.076, -0.244, -0.499), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.087, 0.864).extrude(1.236) result = result.faces('>X').shell(-0.103) result = result.union(cq.Workplane(cq.Plane(origin=(-0.052, -0.061, -0.468), normal=(0, 0, 1), xDir=(1, 0, 0)))....
17
85
0.816773
train_96d7ef277ac44319
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.016, 0, -0.332), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.143, 0.113).lineTo(-0.143, 0.113).lineTo(-0.208, 0).lineTo(-0.143, -0.113).lineTo(0.143, -0.113).lineTo(0.208, 0).lineTo(0.143, 0.113).close().sweep(cq.Workplane('XZ').spline([(-0.967,...
5
22
0.21113
train_491ee098d5f5dc34
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.694, -0.056, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.336).sweep(cq.Workplane('XY').spline([(0.694, 0.661), (0.4, 0.931), (-0.083, 0.982), (-0.478, 0.784), (-0.562, 0.451)])) result = result.edges().fillet(0.038) result = result.cut(cq.W...
11
9
0.576208
train_e32231063893ccf9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.163, 0, 0.213), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.837, 0.989).threePointArc((-0.363, -0.307), (0.837, -0.989)).lineTo(0.837, 0.989).lineTo(-0.837, 0.989).close().extrude(0.732) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.28...
12
48
1.460272
train_0a0c19d755bf45cf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.451, 0.011, -0.042), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.531, -0.005).lineTo(0.401, 0.373).lineTo(-0.014, 0.539).lineTo(-0.374, 0.392).lineTo(-0.549, -0.004).lineTo(-0.384, -0.393).lineTo(0.006, -0.561).lineTo(0.391, -0.394).close().mov...
11
169
0.246572
train_b133f1fb7303b05c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.236, 0.12, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.019, -0.142).threePointArc((-0.008, -0.131), (-0.019, -0.104)).lineTo(-0.019, 0.155).threePointArc((-0.008, 0.182), (0.019, 0.194)).lineTo(0.019, 0.169).lineTo(0.019, 0.155).lineTo(0.01...
9
112
0.008318
train_ddbb029a0e58f43f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.088, -0.059, -0.169), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.088, 0.053).lineTo(1.028, 0.168).lineTo(-0.147, 0.657).lineTo(-0.912, -0.388).lineTo(-0.484, -0.539).lineTo(0.744, -0.155).close().center(-0.445, 0).rect(0.759, 0.317).center(0.8...
11
54
0.297037
train_2ed5735ee738c720
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.324, -0.909, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(1, 0.041).lineTo(1, 0.721).lineTo(-0.931, 0.721).threePointArc((-1, 0.381), (-0.931, 0.041)).lineTo(0.679, 0.041).lineTo(1, 0.041).close().extrude(1.818) result = result.edges().fillet(...
10
76
2.173077
train_69b6017eb4385322
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.231, 0.264, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.946, 0.444).extrude(0.781) result = result.union(cq.Workplane(cq.Plane(origin=(-0.471, 0.17, -0.279), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.034).extrude(1.279)) result = result.un...
8
44
0.441573