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_22e4ce3a36ee2e2b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.675, 0.199, -0.46), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.071, 1.278).lineTo(0.324, 0.978).threePointArc((0.314, 0.881), (0.272, 0.791)).lineTo(0.532, 0.649).lineTo(0.511, 0.253).lineTo(0.168, 0.255).threePointArc((0.054, 0.127), (-0.116,...
3
48
0.586901
train_f766d02d0f96a680
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.336), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.672).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.672).lineTo(-0.899, 0.672).lineTo(-0.899, 0.1).lineTo(0.899, 0.1).lineTo(0.899, 0.672).lineTo(1, 0.672).close().extrude(0.22, both=True) re...
8
57
0.169054
train_63ec53882f208ca1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.013, 0.023, -0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.011, 0.56).threePointArc((0.98, -0.112), (-0.063, -0.56)).lineTo(-0.891, -0.56).threePointArc((-0.98, -0.5), (-0.891, -0.243)).lineTo(0.021, -0.247).threePointArc((0.2, -0.466), (0...
4
25
0.163533
train_16b260c9d4bb4f28
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.01, 0, -0.01), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.761, 0.66).lineTo(0.917, 0.39).lineTo(0.106, -0.078).lineTo(-0.008, -0.504).lineTo(-0.143, -0.582).lineTo(-0.278, -0.66).lineTo(-0.704, -0.546).threePointArc((-0.917, -0.489), (-0.86, -0...
1
22
0.845727
train_5263e452d6802c55
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.006, 0.095, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.111, 0.092).lineTo(0.081, -0.087).lineTo(0.024, -0.092).lineTo(-0.111, 0.047).lineTo(0.111, 0.092).close().extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.006, 0.17, -...
10
67
0.052906
train_6e85847601adfb04
import cadquery as cq import math result = cq.Workplane('XY').box(1.527, 2, 2) result = result.edges().fillet(0.28) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.088).extrude(3.055, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(...
11
71
5.259639
train_0b1c3e371811d776
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.307, 0, -0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.587, 0.684).threePointArc((0.661, 0.653), (0.692, 0.579)).lineTo(0.692, -0.603).threePointArc((0.668, -0.66), (0.611, -0.684)).lineTo(-0.563, -0.684).threePointArc((-0.654, -0.646), (...
8
48
0.156126
train_fc6b53a9a096db88
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.016, -0.027, -0.013), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.419, 0.233).threePointArc((0.48, 0.145), (0.61, 0.182)).lineTo(0.648, 0.051).lineTo(0.737, 0.112).lineTo(0.779, 0.089).threePointArc((0.816, -0.042), (0.904, 0.019)).lineTo(0.94...
7
155
0.579572
train_6d5ae3635b590396
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.759, 0.029, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.073, 1.03).lineTo(0.533, 0.544).lineTo(0.212, -0.045).lineTo(-0.448, 0.078).lineTo(-0.533, 0.744).lineTo(0.073, 1.03).close().extrude(1.517) result = result.faces('<Z').shell(-0.064) r...
19
74
0.608705
train_9866366489f1aa16
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.504), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.698, 0.441).threePointArc((0.804, 0.397), (0.848, 0.29)).lineTo(0.848, -0.089).threePointArc((0.745, -0.337), (0.497, -0.441)).lineTo(-0.502, -0.441).threePointArc((-0.747, -0.339), (-0.84...
6
21
0.579395
train_d9d7d20e1aeb7c79
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.221, 0.177).lineTo(0.221, -0.177).lineTo(-0.221, -0.177).lineTo(-0.221, 0.177).lineTo(-0.156, 0.177).lineTo(-0.156, -0.111).lineTo(0.156, -0.111).lineTo(0.156, 0.177).lineTo(0.221, 0.177).clos...
8
29
0.05389
train_25aa5d406c76fcde
import cadquery as cq import math result = cq.Workplane('XY').circle(1).extrude(0.929, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.26).extrude(1.873, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0...
8
38
4.333247
train_4195c26052253b40
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.031, 0, -0.179), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.177, 1).lineTo(0.775, 0.652).lineTo(1.007, 0).lineTo(0.775, -0.652).lineTo(0.177, -1).lineTo(-0.506, -0.872).lineTo(-0.945, -0.347).lineTo(-0.945, 0.347).lineTo(-0.506, 0.872).lineTo(...
6
52
0.672316
train_dd9f4aec90328e9d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.005, -0.316), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.164, 0.435).threePointArc((-0.049, 0.419), (0, 0.381)).lineTo(0, 0.197).threePointArc((0.046, 0.16), (0.155, 0.145)).lineTo(0.582, 0.145).threePointArc((0.787, 0.116), (0.873, 0.048))...
10
66
1.045525
train_8c432d9765279e7c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.29, 0, -0.174), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.591, 1).lineTo(0.591, -0.908).threePointArc((0.567, -0.967), (0.508, -1)).lineTo(-0.436, -1).threePointArc((-0.546, -0.946), (-0.591, -0.835)).lineTo(-0.591, 0.843).lineTo(-0.443, 1).l...
8
93
0.596532
train_5bb63832e2cf929b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.408, 0.174, -0.395), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.058, 0.513).threePointArc((0.335, 0.398), (0.45, 0.121)).lineTo(0.45, -0.115).threePointArc((0.335, -0.392), (0.058, -0.507)).threePointArc((0.041, -0.521), (0.019, -0.522)).lineT...
8
50
2.1233
train_7cd1372a324616cc
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.325, 0.504).threePointArc((0.451, 0.451), (0.504, 0.325)).lineTo(0.504, -0.274).threePointArc((0.436, -0.436), (0.274, -0.504)).lineTo(-0.16, -0.504).threePointArc((-0.402, -0.402), (-0.504, -...
9
108
1.146895
train_5623e90a64c9a099
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.018, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.274).extrude(1.368) result = result.union(cq.Workplane(cq.Plane(origin=(-0.018, 0, -0.044), normal=(0.246, 0, 0.969), xDir=(0.969, 0, -0.246))).circle(0.289).extrude(0.99)) result = resul...
13
58
0.323047
train_5387a67f7d8ca8fa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.123, 0.543, -0.549), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.456).threePointArc((0.322, 0.322), (0.456, 0)).threePointArc((0.322, -0.322), (0, -0.456)).threePointArc((-0.322, -0.322), (-0.456, 0)).threePointArc((-0.322, 0.322), (0, 0.456)...
19
195
1.570885
train_b8c1352b5d98d373
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0.002, -0.244), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.905, -0.155).lineTo(0.98, -0.196).lineTo(0.965, -0.259).lineTo(0.884, -0.248).lineTo(0.831, -0.394).lineTo(0.891, -0.453).lineTo(0.86, -0.511).lineTo(0.786, -0.478).lineTo(0.693, ...
8
144
1.166916
train_9d61c132d9b08e02
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.271, 0, -0.464), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.093, 0.927).lineTo(0.093, 0.093).lineTo(0.542, 0.093).lineTo(0.542, 0).lineTo(0, 0).lineTo(0, 0.927).lineTo(0.093, 0.927).close().extrude(1, both=True) result = result.cut(cq.Workpla...
14
49
0.260367
train_a6c8e6f5531ad8e3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.124, -0.332, -0.699), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.494, 0.555).threePointArc((0.496, 0.447), (0.523, 0.309)).lineTo(0.437, 0.093).threePointArc((0.349, -0.021), (0.199, 0.008)).lineTo(-0.002, 0.052).threePointArc((-0.043, 0.108), ...
9
190
0.426235
train_91e452474e8f119f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.057, -0.063, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.479).extrude(0.82, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0.057, -0.063, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.228).extrude(1.063, both=True)) result ...
9
58
0.881884
train_b81ce700ba33d50a
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(1, 0.831).lineTo(1, -0.831).lineTo(-1, -0.831).lineTo(-1, 0.831).lineTo(1, 0.831).close().extrude(0.357) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.006), normal=(0, 0, 1), xD...
5
29
0.734452
train_e2f67f0aa1385fcc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.269), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.432, 1.269).lineTo(0.432, 0.449).lineTo(0.891, 0.449).lineTo(0.891, 0).lineTo(0.22, 0).lineTo(0.22, 1.269).lineTo(0.432, 1.269).close().revolve(angleDegrees=360, axisStart=(0, 0, 0),...
8
26
1.471407
train_6f3a793679fab3df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.015, 0.073, -0.07), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.547, 0.71).lineTo(0.763, 0.124).threePointArc((0.961, -0.405), (0.52, -0.71)).lineTo(-0.821, -0.105).threePointArc((-0.961, 0.476), (-0.547, 0.71)).close().extrude(0.346, taper=3.7...
20
180
1.169779
train_a3b2d9bea7b3dd0f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.199), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.864, 0.679).threePointArc((0.96, 0.64), (1, 0.545)).lineTo(1, -0.597).lineTo(0.918, -0.679).lineTo(-0.84, -0.679).lineTo(-1, -0.52).lineTo(-1, 0.679).lineTo(0.864, 0.679).close().extrude(0...
16
153
0.305936
train_20be7f9e8ff20548
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, 0, -0.584), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.74, 0.354).lineTo(0.74, 0).lineTo(0.494, 0).lineTo(0.494, -0.354).lineTo(0.247, -0.354).lineTo(0.247, 0).lineTo(0, 0).lineTo(0, -0.354).lineTo(-0.247, -0.354).lineTo(-0.247, 0).lineTo(...
10
67
0.68062
train_c9df927ce0065128
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.195, -0.67, -1.502), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.54, 0.324).lineTo(0.54, -0.324).lineTo(-0.54, -0.324).lineTo(-0.54, -0.108).lineTo(0.324, -0.108).lineTo(0.324, 0.108).lineTo(-0.54, 0.108).lineTo(-0.54, 0.324).lineTo(0.54, 0.324)...
11
15
0.661178
train_cf0753bab4ed5cd0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.153, 0.251, -0.345), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.602, 0.748).threePointArc((0.704, 0.704), (0.748, 0.602)).lineTo(0.748, -0.426).threePointArc((0.652, -0.652), (0.426, -0.748)).lineTo(-0.666, -0.748).threePointArc((-0.724, -0.724...
13
82
0.840424
train_70210bbe53a98c2c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.234, -0.019, -0.244), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.404, 0.346).lineTo(0.404, 0.208).lineTo(-0.269, 0.208).lineTo(-0.269, 0.069).lineTo(0.404, 0.069).lineTo(0.404, -0.346).lineTo(-0.404, -0.346).lineTo(-0.404, -0.208).lineTo(0.269,...
8
175
1.265427
train_d313c49ef8d2f661
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.563), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.016, 1.125).lineTo(1.016, 0.439).lineTo(0.795, 0.439).lineTo(0.795, 0).lineTo(0.441, 0).lineTo(0.441, 1.125).lineTo(1.016, 1.125).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), ax...
8
136
0.820028
train_6332c03d1fbcc9c8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.273, 0.253, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.662, 0.611).threePointArc((1, 0.273), (0.662, -0.065)).lineTo(-0.662, -0.065).threePointArc((-1, 0.273), (-0.662, 0.611)).lineTo(0.662, 0.611).close().extrude(0.507) result = result.cu...
15
97
0.522207
train_3202c35cef2d84b1
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.003, 0.111).lineTo(0.058, 0.095).lineTo(0.097, 0.055).lineTo(0.111, -0.003).lineTo(0.096, -0.056).lineTo(0.057, -0.095).lineTo(-0.002, -0.111).lineTo(-0.053, -0.097).lineTo(-0.096, -0.055).lin...
3
82
0.073065
train_31f5c2d186b55ccf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.361, 0.064, -0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.457, 0.182).threePointArc((0.639, 0), (0.457, -0.182)).lineTo(0, -0.182).lineTo(-0.457, -0.182).threePointArc((-0.639, 0), (-0.457, 0.182)).lineTo(0, 0.182).lineTo(0.457, 0.182).c...
5
55
0.084715
train_ddc98a6dd2fa108f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.276, -0.292), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.842, 0.703).lineTo(0.842, -0.724).lineTo(-0.8, -0.724).lineTo(-0.842, -0.682).lineTo(-0.842, 0.724).lineTo(0.82, 0.724).lineTo(0.82, 0.703).lineTo(0.842, 0.703).close().extrude(0.584) ...
5
35
0.844727
train_8b0b6a24ee6f42c8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.38, -0.316, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.264, 0.196).lineTo(0.264, -0.258).lineTo(-0.264, -0.258).lineTo(-0.264, 0.196).threePointArc((-0.211, 0.258), (-0.159, 0.196)).threePointArc((-0.106, 0.134), (-0.053, 0.196)).threeP...
13
141
0.549771
train_18b0fc85a681704c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.376, -0.293, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.753).threePointArc((0.532, 0.532), (0.753, 0)).lineTo(0.188, 0).threePointArc((0.134, 0.134), (0, 0.188)).lineTo(0, 0.753).close().extrude(2) result = result.union(cq.Workplane(cq...
5
32
0.919392
train_d15d796591fc1c05
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.03, -0.129, -0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.799, 0.116).lineTo(-0.65, -0.001).threePointArc((-0.638, -0.007), (-0.625, -0.009)).lineTo(-0.5, -0.009).threePointArc((-0.487, -0.006), (-0.489, 0.005)).lineTo(-0.64, 0.242).thr...
4
42
0.167623
train_182e9bba1a6b4189
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.544, -0.449, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.087).threePointArc((0.769, 0.769), (1.087, 0)).lineTo(0.616, 0).threePointArc((0.435, 0.435), (0, 0.616)).lineTo(0, 1.087).close().extrude(2) result = result.union(cq.Workplane(cq...
4
30
1.408655
train_402f8d80ec5870a9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.591), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.187, 0.937).threePointArc((0.29, 0.896), (0.333, 0.8)).lineTo(0.333, 0.444).threePointArc((0.375, 0.352), (0.474, 0.312)).lineTo(0.871, 0.312).threePointArc((0.962, 0.276), (1, 0.191)).lin...
5
144
1.559426
train_a2f8e1d6d070f52c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.2, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.158, 1).threePointArc((-0.047, 0.953), (0, 0.842)).lineTo(0, 0.673).threePointArc((0.022, 0.622), (0.073, 0.6)).lineTo(0.262, 0.6).threePointArc((0.359, 0.559), (0.4, 0.462)).lineTo(0.4, -0...
5
66
0.532761
train_9c7873d77476b139
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0.001, -0.227), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.076, 0.42).lineTo(-0.06, 0.335).lineTo(0.041, 0.347).lineTo(0.066, 0.271).lineTo(0.106, 0.212).lineTo(0.442, 0.148).lineTo(0.218, -0.111).lineTo(0.153, -0.447).lineTo(0.074, -0.4...
3
71
0.600742
train_7cb345c03bb85310
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.134), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.307, 0.942).lineTo(0.805, 0.584).lineTo(1, 0).lineTo(0.805, -0.584).lineTo(0.307, -0.942).lineTo(-0.307, -0.942).lineTo(-0.805, -0.584).lineTo(-1, 0).lineTo(-0.805, 0.584).lineTo(-0.307, 0...
4
29
0.439769
train_f0001f399efbf3b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.009, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.37).lineTo(0.871, 0).lineTo(1, -0.37).lineTo(0.539, -0.37).lineTo(0.539, 0.37).lineTo(1, 0.37).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result....
15
94
0.625667
train_a611602d33ff4f63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.68, 0.522, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.778, 1.68).threePointArc((0.859, 1.646), (0.893, 1.565)).lineTo(0.893, -0.075).threePointArc((0.859, -0.157), (0.778, -0.19)).lineTo(-0.778, -0.19).threePointArc((-0.859, -0.157), (-0.8...
2
21
1.472188
train_aae82df5d6c23fe6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.013, -0.461), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.986).lineTo(0.493, 0.854).lineTo(0.854, 0.493).lineTo(0.986, 0).lineTo(0.854, -0.493).lineTo(0.493, -0.854).lineTo(0, -0.986).lineTo(-0.493, -0.854).lineTo(-0.854, -0.493).lineTo(-...
7
60
2.589413
train_4cdb9c2f9added45
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.274), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.767, 0.548).lineTo(0.767, 0.438).lineTo(1, 0.438).lineTo(1, 0).lineTo(0.34, 0).lineTo(0.34, 0.548).lineTo(0.767, 0.548).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, ...
8
28
1.349434
train_c0fa7d99d5d155e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.238, 0.972).threePointArc((0.381, 0.926), (0.516, 0.859)).threePointArc((0.639, 0.773), (0.748, 0.669)).threePointArc((0.84, 0.549), (0.913, 0.418)).threePointArc((0.965, 0.277), (0.996, 0...
9
120
0.620901
train_d714a00c2a7791a1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.079, 0.003), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.335, 0.07).lineTo(0.111, 0.014).lineTo(1.003, 0.014).lineTo(1.003, -0.014).lineTo(0.111, -0.014).lineTo(-0.335, -0.07).lineTo(-0.448, -0.07).lineTo(-0.672, -0.056).lineTo(-1.003, -0.0...
1
20
0.016879
train_cd6f6272019e75b5
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.923, 0.229).workplane(offset=2).rect(0.961, 0.171).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.129).extrude(0.687, both=Tr...
5
21
0.298045
train_1bbfd6955a8f9747
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.196, 0.302, 0.288), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.43, 0.606).threePointArc((-0.353, 0.581), (-0.32, 0.522)).lineTo(-0.32, 0.44).threePointArc((-0.29, 0.386), (-0.22, 0.364)).lineTo(0.147, 0.364).threePointArc((0.268, 0.325), (0.32...
15
169
0.343597
train_223ab93699aef6e1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.563, -0.033), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.755, 0.437).lineTo(0.804, 0.388).lineTo(0.804, -0.316).threePointArc((0.768, -0.402), (0.682, -0.437)).lineTo(-0.759, -0.437).threePointArc((-0.79, -0.424), (-0.804, -0.392)).lineTo(-0...
12
190
0.533648
train_a49f12247d88ac6b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.065, -0.085, 0.009), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.496, 0.765).lineTo(0.89, 0.695).threePointArc((0.771, 0.529), (0.934, 0.313)).lineTo(0.908, 0.266).lineTo(0.719, 0.146).lineTo(0.728, 0.093).lineTo(0.858, -0.049).lineTo(0.872, -0...
14
53
1.201282
train_25fed16403992c87
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.237, 0, -0.123), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.727, 0.439).lineTo(0.727, -0.439).lineTo(-0.727, -0.439).lineTo(-0.727, 0.439).lineTo(0.727, 0.439).close().extrude(0.2) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.851, -0.3...
6
111
0.311026
train_8c99ee06c622f8d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.004, 0, -0.049), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.218, 0.373).lineTo(-0.125, 0.33).lineTo(-0.102, 0.217).lineTo(0.152, 0.199).lineTo(0.244, 0.155).lineTo(0.267, 0.042).lineTo(0.521, 0.024).lineTo(0.613, -0.02).lineTo(0.636, -0.133)....
3
99
0.174163
train_cd5077f77011188c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.536, 0.968).threePointArc((-0.423, 0.922), (-0.375, 0.814)).lineTo(-0.375, -0.196).threePointArc((-0.32, -0.321), (-0.189, -0.373)).lineTo(0.909, -0.373).threePointArc((0.973, -0.399), (1...
14
507
0.298182
train_34b7dfba1d112ccd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.5), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.775, 0.645).threePointArc((0.927, 0.592), (1, 0.467)).lineTo(1, -0.529).threePointArc((0.949, -0.61), (0.848, -0.645)).lineTo(0.698, -0.645).threePointArc((0.627, -0.621), (0.597, -0.563)).l...
5
120
1.525692
train_df650620a0a0adab
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.651, 0.747).threePointArc((0.889, 0.644), (1, 0.402)).lineTo(1, -0.644).threePointArc((0.961, -0.716), (0.889, -0.747)).lineTo(0.677, -0.747).threePointArc((0.551, -0.694), (0.498, -0.567)...
11
40
0.254321
train_02ea619118ba21a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.003, -0.022), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.984, 0.07).lineTo(1, 0.045).lineTo(0.8, 0.024).lineTo(-0.077, -0.023).lineTo(-0.596, -0.14).lineTo(-1, -0.132).lineTo(-0.479, -0.011).lineTo(-0.822, 0.055).lineTo(-0.843, 0.08).lineTo...
17
19
0.027955
train_35b728b733fb1870
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.063, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.165, 0.502).threePointArc((0.347, 0.517), (0.496, 0.412)).threePointArc((0.834, 0.073), (0.496, -0.265)).lineTo(0.165, -0.327).lineTo(-0.165, -0.401).lineTo(-0.496, -0.265).threePointArc((...
4
109
1.914987
train_5c733187403da3a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.649, -0.127, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.139, 1.126).threePointArc((0.333, 1.022), (0.477, 0.781)).threePointArc((0.548, 0.441), (0.536, 0.053)).threePointArc((0.442, -0.324), (0.281, -0.632)).threePointArc((0.077, -0.824), ...
15
26
2.217102
train_2a8c80dd2d88e8f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.04, 0.263, -0.672), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.321, 0.631).lineTo(-0.225, 0.026).lineTo(0.714, 0.274).threePointArc((0.996, 0.033), (0.885, -0.5)).lineTo(-0.522, -0.871).lineTo(-0.728, -0.799).lineTo(-0.804, -0.631).lineTo(-0....
3
22
1.879755
train_955f4aefbd847e30
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.443, 0.61, 0.044), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.357, 0.341).threePointArc((0.357, 0.132), (0.148, -0.155)).threePointArc((-0.148, -0.351), (-0.357, -0.341)).threePointArc((-0.357, -0.132), (-0.148, 0.155)).threePointArc((0.148, ...
19
300
1.380533
train_ea7056b1caa47042
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.098, -0.155, -0.4), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.469, -0.236).threePointArc((-0.629, -0.186), (-0.482, -0.051)).threePointArc((-0.479, 0.092), (-0.363, 0.081)).lineTo(-0.23, 0.212).threePointArc((-0.224, 0.413), (-0.017, 0.387))...
10
55
1.620727
train_b2a1c41ad722f953
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, 0, -0.871), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.734) result = result.cut(cq.Workplane(cq.Plane(origin=(1.004, 0, -0.871), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.159, 0.541), (-0.584, 0.91), (-1.142, 0....
8
78
1.932937
train_482a958e0ff97c8f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.49), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.328).lineTo(1, -0.328).lineTo(-1, -0.328).lineTo(-1, 0.328).lineTo(-0.671, 0.328).lineTo(-0.671, -0.247).lineTo(0.671, -0.247).lineTo(0.671, 0.328).lineTo(1, 0.328).close().extrude(0.979...
10
118
0.280029
train_3ef0e08283d340e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.611, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.207, 0.366).lineTo(0.183, 0.183).lineTo(0.176, 0).threePointArc((0.26, -0.076), (0.294, -0.183)).lineTo(0.207, -0.366).threePointArc((-0.294, 0), (0.207, 0.366)).close().revolve(angleDegre...
7
48
0.891358
train_63b27380855fbc3a
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.388, 0.642).lineTo(0.388, 0.385).lineTo(0.776, 0.385).lineTo(0.776, -0.385).lineTo(-0.388, -0.385).lineTo(-0.388, -0.642).lineTo(-0.776, -0.642).lineTo(-0.776, 0.128).lineTo(-0.388, 0.128).lineTo(-0.388, 0.385).lineTo(0, 0.385).lineTo(0, 0.642).line...
5
56
2.999437
train_18628199fc239f73
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.247, -0.266), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.906, 0.753).lineTo(0.906, 0.678).lineTo(0.983, 0.678).lineTo(0.983, -0.698).threePointArc((0.967, -0.737), (0.928, -0.753)).lineTo(-0.841, -0.753).lineTo(-0.983, -0.613).lineTo(-0.983,...
8
45
0.846712
train_9ed500089c2fd81f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.26, -0.412, -0.858), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.165, 0.205).threePointArc((0.205, 0.211), (0.243, 0.188)).threePointArc((0.386, 0.04), (0.325, -0.209)).threePointArc((0.027, -0.211), (-0.025, 0.118)).lineTo(0.006, 0.15).threePo...
11
68
0.79481
train_01ccce4b8998a019
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.073), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.809, 2).extrude(0.182) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.073), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.752, 0.837).lineTo(0.752, -0.837).lineTo(-0.752, -0.837)....
12
65
0.152523
train_d1086b8516a9e9be
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.099, 0.082), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.525, 0.183).lineTo(0.865, 0.11).lineTo(1.008, -0.006).lineTo(0.864, -0.111).lineTo(0.498, -0.186).lineTo(0.014, -0.214).lineTo(-0.52, -0.183).lineTo(-0.86, -0.112).lineTo(-1.008, 0.004)...
18
302
0.268207
train_35db44feb59052e9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.195, -0.05, -0.061), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.369, 0.282).threePointArc((0.431, 0.26), (0.457, 0.209)).lineTo(0.457, -0.062).threePointArc((0.446, -0.084), (0.418, -0.094)).lineTo(0.302, -0.094).threePointArc((0.251, -0.112),...
12
102
0.505383
train_63ac7e6dd269585e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, 0.018, 0.007), normal=(-0.028, 0.592, -0.805), xDir=(-0.999, -0.046, 0))).moveTo(0.407, 0.494).threePointArc((0.56, 0.34), (0.424, 0.206)).lineTo(0.148, 0.192).threePointArc((0.122, 0.183), (0.13, 0.159)).lineTo(0.538, -0.339).threePointArc...
3
29
0.830072
train_d0ec613191417383
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.224, 0.321, 0.016), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.733, 0.242).lineTo(0.716, 0.091).lineTo(0.687, -0.075).lineTo(0.4, -0.143).threePointArc((0.402, -0.361), (0.327, -0.597)).lineTo(0.136, -0.453).threePointArc((0.078, -0.682), (-0....
32
74
0.273702
train_561bbdc07be26a9c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.411, -0.604, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.263, 1.244).lineTo(0, 1.042).lineTo(0.263, 1.191).lineTo(0.526, 1.107).threePointArc((1, 0.633), (0.526, 0.159)).lineTo(0.175, 0.035).threePointArc((0.003, 0.094), (-0.175, 0.062)).l...
18
644
1.118008
train_1096dd6e4ea4d8f1
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.81, 0.408).lineTo(0.81, 0.218).lineTo(1, 0.218).lineTo(1, -0.408).lineTo(-0.728, -0.408).lineTo(-1, -0.136).lineTo(-1, 0.284).lineTo(-0.875, 0.408).lineTo(0.81, 0.408).close().extrude(0.19...
14
101
0.251946
train_9bd3489563a635b1
import cadquery as cq import math result = cq.Workplane('XY').circle(0.1).extrude(0.258, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.254).extrude(1, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0,...
7
47
0.154401
train_0b93afc63f9c341a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.929, 0.171).lineTo(0.929, 0.1).lineTo(1, 0.1).lineTo(1, -0.062).lineTo(0.891, -0.062).lineTo(0.891, -0.171).lineTo(-0.912, -0.171).lineTo(-0.912, -0.083).lineTo(-1, -0.083).lineTo(-1, 0.096)...
11
98
0.229057
train_44e5a3b68f150a72
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.5, 0.856).lineTo(0.5, 0.514).lineTo(1, 0.514).lineTo(1, -0.514).lineTo(0.5, -0.514).lineTo(0.5, -0.856).lineTo(-0.5, -0.856).lineTo(-0.5, -0.514).lineTo(-1, -0.514).lineTo(-1, 0.171).lineTo(-0.5, 0.171).lineTo(-0.5, 0.514).lineTo(0, 0.514).lineTo(0,...
13
16
1.740585
train_9163d9b2468652df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.384, 0.242, -0.097), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.512, 0.489).lineTo(0.512, -0.489).lineTo(-0.512, -0.489).lineTo(-0.512, 0.489).lineTo(-0.433, 0.489).lineTo(-0.433, -0.226).lineTo(-0.355, -0.226).lineTo(-0.355, 0.489).lineTo(-0....
8
125
0.852752
train_d5c65226818ae7ee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.034, 0, -0.024), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.085, 1).lineTo(0.209, 0.875).lineTo(0.209, -0.891).threePointArc((0.177, -0.967), (0.101, -1)).lineTo(-0.086, -1).threePointArc((-0.173, -0.963), (-0.209, -0.876)).lineTo(-0.209, 0.901...
7
62
0.085966
train_c96ea8af5521c3d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.728), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.598, 0.97).lineTo(-0.598, -0.631).lineTo(1, -0.631).lineTo(1, -0.97).lineTo(-1, -0.97).lineTo(-1, 0.97).lineTo(-0.598, 0.97).close().extrude(1.456) result = result.edges().fillet(0.048) r...
7
62
1.24419
train_2c0e2e32b115a3a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.336, 0, -0.118), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.389, 0.656).lineTo(0.664, 0.381).lineTo(0.664, -0.44).lineTo(0.448, -0.656).lineTo(-0.454, -0.656).lineTo(-0.664, -0.445).lineTo(-0.664, 0.456).lineTo(-0.465, 0.656).lineTo(0.389, 0.65...
5
39
0.434851
train_857e61d9559d9ee4
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.22).lineTo(0.667, 0).lineTo(1, -0.22).lineTo(0.156, -0.22).lineTo(0.156, 0.22).lineTo(1, 0.22).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.387, -0.387, 0), normal=...
11
50
0.519206
train_bae869db28fb7aee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.142, -0.044, -0.035), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.165, 0.138).lineTo(0.165, 0.083).lineTo(-0.111, 0.083).lineTo(-0.111, 0.028).lineTo(0.165, 0.028).lineTo(0.165, -0.138).lineTo(-0.165, -0.138).lineTo(-0.165, -0.083).lineTo(0.111...
15
276
0.482861
train_c93d76619786d0ca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.04, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.309, 0.876).lineTo(0.282, 0.677).lineTo(0.805, 0.44).lineTo(0.867, -0.146).lineTo(0.633, -0.684).lineTo(0.07, -0.795).lineTo(-0.522, -0.746).lineTo(-0.867, -0.214).lineTo(-0.809, 0.438).li...
28
504
2.725587
train_0852acbf927c256f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.122), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.931, 0.448).threePointArc((0.975, 0.43), (1, 0.387)).lineTo(1, -0.42).threePointArc((0.984, -0.44), (0.965, -0.448)).lineTo(-0.955, -0.448).threePointArc((-0.981, -0.437), (-1, -0.41)).lin...
17
48
0.098347
train_de8c3529bcab9870
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.441), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.769).lineTo(1, 0.113).lineTo(0.325, 0.113).lineTo(0.325, 0).lineTo(0, 0).lineTo(0, 0.769).lineTo(1, 0.769).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) res...
6
29
1.301315
train_353378328afd0a04
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1.337), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.306, 2.775).lineTo(0.306, 2.12).lineTo(0.631, 2.12).lineTo(0.631, 1.586).lineTo(1, 1.586).lineTo(1, 1.087).lineTo(0.332, 1.087).lineTo(0.332, 0).lineTo(0, 0).lineTo(0, 2.775).lineTo(0.306...
4
44
0.825072
train_703512c0cafbbd9d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.146, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.848, -0.103).threePointArc((0.825, 0.734), (-0.532, -0.734)).lineTo(-0.848, -0.103).close().moveTo(0.848, 0.2).lineTo(-0.435, -0.441).threePointArc((0.728, 0.441), (0.848, 0.2)).close().e...
10
165
1.268607
train_ee6df037ca73955c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.072, 0.03, -0.053), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.998, 0.854).lineTo(0.998, -1.029).lineTo(-0.998, -1.029).lineTo(-0.998, 0.854).threePointArc((-0.831, 0.68), (-0.666, 0.854)).threePointArc((-0.499, 1.029), (-0.333, 0.854)).threePo...
14
244
0.008425
train_4eb3f8b2fdee92e7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.117, -0.389, 0.062), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.229, 0.243).lineTo(0.229, 0.135).lineTo(0.054, 0.135).lineTo(0.054, -0.135).lineTo(0.229, -0.135).lineTo(0.229, -0.243).lineTo(-0.229, -0.243).lineTo(-0.229, -0.135).lineTo(-0.054,...
10
143
0.379547
train_46c124bcb83db393
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.18, 0.17, -0.196), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.106, 0.829).threePointArc((0.265, 0.763), (0.331, 0.604)).lineTo(0.331, -0.67).threePointArc((0.285, -0.782), (0.173, -0.829)).lineTo(-0.086, -0.829).threePointArc((-0.259, -0.757), ...
9
69
0.368672
train_08523502189b46ef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.931, 2).lineTo(0.931, 0.732).lineTo(0.586, 0.732).lineTo(0.586, 0).lineTo(0.503, 0).lineTo(0.503, 2).lineTo(0.931, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))...
2
9
2.597504
train_9b0a20b1e36201bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.189), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.378) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.189), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.902).extrude(1.128, both=True)) result = result.union(cq.Workpl...
18
121
0.497286
train_8ed736d8d0107c64
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.084, -0.529), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.305, 1.053).threePointArc((0.44, 1.004), (0.498, 0.889)).lineTo(0.498, 0.376).threePointArc((0.555, 0.26), (0.692, 0.211)).lineTo(0.829, 0.211).threePointArc((0.944, 0.169), (1, 0.07))...
19
254
2.60099
train_6839bf627593ed29
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.076, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.283).lineTo(1, -0.283).lineTo(-1, -0.283).lineTo(-1, 0.081).lineTo(-0.793, 0.283).lineTo(1, 0.283).close().extrude(0.052) result = result.union(cq.Workplane(cq.Plane(origin=(0, -0....
18
150
0.436743
train_fd5577d399a01de0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.286, 0.251, -0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.711, 0).threePointArc((0, -0.711), (-0.711, 0)).threePointArc((0, 0.711), (0.711, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.286, 0.251, -0.2), normal=(0, -1, 0), xDir=(1, 0...
6
34
0.555434