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_0383bb352a53ba4a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.29, -0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(3.382, 3.42).lineTo(3.382, 1.678).lineTo(0.873, 1.678).lineTo(0.873, -3.42).lineTo(-0.873, -3.42).lineTo(-0.873, 1.678).lineTo(-3.382, 1.678).lineTo(-3.382, 3.42).lineTo(3.382, 3.42).clo...
47
54
0.976682
train_ad3370c3ab8be6a4
import cadquery as cq import math result = cq.Workplane('XY').circle(0.34).extrude(0.266, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.705).extrude(1, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0...
12
49
1.988957
train_3226bdb00d6c381e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.049, 0.031, -0.417), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.866, 0.329).lineTo(0.896, 0.16).lineTo(0.665, 0.119).lineTo(0.739, -0.298).lineTo(0.571, -0.329).lineTo(0.496, 0.089).lineTo(0.265, 0.047).lineTo(0.235, 0.216).lineTo(0.866, 0.329...
8
186
1.252168
train_287682509517757a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.82), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.786, -0.086).lineTo(0.992, -0.131).lineTo(0.978, -0.209).lineTo(0.771, -0.176).lineTo(0.747, -0.258).lineTo(0.937, -0.348).lineTo(0.907, -0.421).lineTo(0.713, -0.343).lineTo(0.67, -0.419).l...
5
172
0.593952
train_20cea3343c3a1648
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.366, 0, -0.54), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.273, 1.08).lineTo(0.273, 0.273).lineTo(0.731, 0.273).lineTo(0.731, 0).lineTo(0, 0).lineTo(0, 1.08).lineTo(0.273, 1.08).close().extrude(1, both=True) result = result.cut(cq.Workplane(c...
6
40
0.495987
train_be9adc0877f79e11
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.634), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.267) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.254), normal=(0.515, 0, 0.857), xDir=(0.857, 0, -0.515))).circle(0.461).extrude(3.001)) result = result.cut(cq.W...
8
34
2.517296
train_70b9d990cf95b4fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.504, -0.376, -0.282), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.274, 0.244).lineTo(0.27, 0.099).lineTo(0.29, 0.086).lineTo(0.313, -0.025).lineTo(0.364, -0.086).threePointArc((0.343, -0.246), (0.17, -0.352)).threePointArc((0.033, -0.295), (-0....
10
110
1.388118
train_695cd7fe84741915
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.419), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.101, 0.995).threePointArc((0.264, 0.892), (0.332, 0.649)).lineTo(0.332, 0.224).threePointArc((0.377, 0.067), (0.482, 0)).lineTo(0.753, 0).threePointArc((0.925, -0.108), (0.997, -0.365...
2
26
1.904021
train_d3e3862155e4d8f2
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.138).lineTo(0.821, 0).lineTo(1, -0.138).lineTo(0.13, -0.138).lineTo(0.13, 0.138).lineTo(1, 0.138).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.549, 0, 0), normal=(0,...
7
78
0.39471
train_813b2afc4837bbf0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.967).lineTo(0, 0).lineTo(0.967, 0).lineTo(0.967, -0.484).lineTo(0.484, -0.484).lineTo(0.484, -0.967).lineTo(-0.967, -0.967).lineTo(-0.967, 0.484).lineTo(-0.484, 0.484).lineTo(-0.484, 0....
12
72
1.018665
train_ec15a3c0af47e752
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.214), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.602).lineTo(1, -0.611).lineTo(-1, -0.611).lineTo(-1, 0.599).lineTo(-0.98, 0.611).lineTo(0.983, 0.611).threePointArc((0.989, 0.608), (1, 0.602)).close().extrude(0.107) result = result.un...
14
106
1.023379
train_8cc0e3b7d5901fd9
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.467, 0.322).lineTo(0.467, -0.322).lineTo(-0.467, -0.322).lineTo(-0.467, -0.107).lineTo(0.311, -0.107).lineTo(0.311, 0.107).lineTo(-0.467, 0.107).lineTo(-0.467, 0.322).lineTo(0.467, 0.322).close().extrude(1, both=True) result = result.cut(cq.Workplan...
3
34
0.486294
train_e4ccbc2c7fef993e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.17), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.694, 1).lineTo(0.829, 0.866).lineTo(0.829, -0.85).threePointArc((0.785, -0.956), (0.68, -1)).lineTo(-0.653, -1).lineTo(-0.829, -0.825).lineTo(-0.829, 0.792).threePointArc((-0.768, 0.939), (...
9
47
0.973087
train_a365a4bb1e643891
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.1, 0.14, 0.467), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.832, 0.391).threePointArc((0.36, -0.391), (-0.832, 0.167)).lineTo(0.832, 0.391).close().extrude(2.414, both=True) result = result.intersect(cq.Workplane(cq.Plane(origin=(0.1, 0.14, 0.4...
16
124
1.342045
train_c7948e8b28e455a3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.169), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.749, 0.232).threePointArc((1, 0), (0.749, -0.232)).lineTo(0, -0.232).lineTo(-0.749, -0.232).threePointArc((-1, 0), (-0.749, 0.232)).lineTo(0, 0.232).lineTo(0.749, 0.232).close().extrude(0....
2
18
0.268823
train_0472de9916b6aa91
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.374, 2).extrude(0.238) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.043, 1, -0.06), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.046, 0.879).lineTo(0.215, 0.868).threePointArc((0.204...
5
40
0.164266
train_42c5882f7c8e7976
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.033, -0.426, 0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.135, 0.335).lineTo(-0.135, -0.191).lineTo(0.294, -0.191).lineTo(0.294, -0.335).lineTo(-0.294, -0.335).lineTo(-0.294, 0.335).lineTo(-0.135, 0.335).close().extrude(4.987, both=True...
6
182
0.380405
train_961df3cf9daa2b76
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.329), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.163, 0.929).lineTo(0.669, 0.579).threePointArc((0.708, 0.191), (1, -0.068)).threePointArc((0.826, -0.457), (0.534, -0.766)).threePointArc((0.229, -0.878), (-0.092, -0.929)).threePointArc(...
9
30
1.520906
train_b6531cfb4dbcab71
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.303), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.008, 1).threePointArc((0.299, 0.878), (0.42, 0.589)).lineTo(0.42, -0.801).threePointArc((0.362, -0.941), (0.221, -1)).lineTo(-0.008, -1).threePointArc((-0.299, -0.878), (-0.42, -0.589)).li...
10
33
0.600313
train_69e6d14829546536
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.092), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.125).lineTo(0.785, 0).lineTo(1, -0.125).lineTo(0.12, -0.125).lineTo(0.12, 0.125).lineTo(1, 0.125).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = res...
10
57
0.508182
train_08e437fc7ea5e71d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.188, -0.135), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.196, 0.812).threePointArc((0.287, 0.774), (0.325, 0.684)).lineTo(0.325, 0.594).threePointArc((0.357, 0.519), (0.431, 0.488)).lineTo(0.54, 0.488).threePointArc((0.618, 0.455), (0.651, ...
11
183
0.360722
train_43b33da369931026
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.058, -0.142, 0.082), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.622, 0.389).threePointArc((0.822, 0.808), (-0.247, -0.332)).lineTo(-0.634, -0.777).threePointArc((-0.728, -0.808), (-0.822, -0.585)).lineTo(-0.342, -0.028).lineTo(-0.223, -0.003)...
5
67
1.709999
train_553febe863757e67
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.862, -0.591, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.267, 1.829).threePointArc((0.634, 1.824), (0.898, 1.57)).lineTo(-0.066, -0.126).threePointArc((-0.282, -0.098), (-0.399, 0.086)).lineTo(-0.573, 0.385).lineTo(-0.481, 0.829).lineTo(-0....
21
31
2.122097
train_25529b56d0fcc284
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.205, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.098, 0.348).threePointArc((0.104, 0.278), (0.146, 0.253)).lineTo(0.219, 0.179).lineTo(0.099, 0.111).lineTo(0.094, 0.038).threePointArc((0.04, 0.054), (0.007, 0.043)).threePointArc((-0.016,...
3
16
0.162742
train_bfb219b00166ad5a
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.021, 0.171).threePointArc((0.053, 0.154), (0.066, 0.113)).lineTo(0.066, 0.048).threePointArc((0.076, 0.014), (0.102, 0)).lineTo(0.16, 0).threePointArc((0.186, -0.014), (0.197, -0.048)).lineTo(...
3
18
0.175528
train_05e38fbcbbc3dd57
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.251, 0.646, 0.578), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.066, 0.331).threePointArc((0.331, 0.066), (0.264, -0.264)).threePointArc((-0.066, -0.331), (-0.331, -0.066)).threePointArc((-0.264, 0.264), (0.066, 0.331)).close().sweep(cq.Workplan...
4
22
0.776217
train_b0f0dd2951a496d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.01, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.15).lineTo(0.872, 0).lineTo(1, -0.15).lineTo(0.168, -0.15).lineTo(0.168, 0.15).lineTo(1, 0.15).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.c...
8
41
0.539282
train_309f2508ff74a4c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.065, 0.042, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.153, 0.433).lineTo(-0.1, 0.388).lineTo(-0.1, 0.307).lineTo(-0.046, 0.26).lineTo(0.041, 0.26).lineTo(0.1, 0.209).lineTo(0.1, 0.137).lineTo(0.158, 0.087).lineTo(0.222, 0.087).lineTo(0.3,...
8
166
0.761692
train_fa487c26097aede0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.014, 0, 0.015), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).threePointArc((0.063, 0.966), (1, -0.001)).threePointArc((0.967, -0.064), (-0.017, -1)).lineTo(-0.967, -0.064).lineTo(-1, -0.001).threePointArc((-0.967, 0.062), (0, 1)).close().mov...
12
333
0.137357
train_4156e6cb97880e6c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.956), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.788, 1).lineTo(0.788, -0.836).lineTo(0.623, -1).lineTo(-0.788, -1).lineTo(-0.788, 1).lineTo(0.788, 1).close().extrude(0.363) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.59...
5
18
2.129187
train_7981a31552a5573d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.105, 1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.185, 0.479).threePointArc((0.391, 0.239), (0.368, -0.142)).threePointArc((0.13, -0.439), (-0.185, -0.479)).threePointArc((-0.391, -0.239), (-0.368, 0.142)).threePointArc((-0.13, 0.439), (0....
4
27
0.559817
train_b019dd3604a4130f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.324), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.676) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.324), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.83).extrude(2.024, both=True)) result = result.union(cq.Workpla...
10
67
0.992164
train_8f787dc9278b6b37
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.245, 0.964, -0.009), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.622, 1.162).lineTo(0.6, 0.851).threePointArc((0.326, 0.71), (0.072, 0.604)).threePointArc((-0.271, 0.275), (-0.681, 0.355)).lineTo(-0.954, 1.565).lineTo(-0.205, 2.195).threePointA...
5
20
3.100732
train_a0c368d57d3b9f59
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.506, -0.37, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.011).threePointArc((0.715, 0.715), (1.011, 0)).lineTo(0.559, 0).threePointArc((0.396, 0.396), (0, 0.559)).lineTo(0, 1.011).close().extrude(2) result = result.union(cq.Workplane(cq....
5
19
1.333274
train_e13ef49fd6fd03ad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.023, 0, -0.143), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.511, 0.883).lineTo(1.022, 0).lineTo(0.511, -0.883).lineTo(-0.511, -0.883).lineTo(-1.022, 0).lineTo(-0.511, 0.883).lineTo(0.511, 0.883).close().extrude(0.285) result = result.cut(cq.Wo...
7
42
0.566737
train_e2bc49b2b82073b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.018, -0.263), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.82, -0.198).lineTo(0.963, -0.273).lineTo(0.931, -0.366).lineTo(0.779, -0.322).lineTo(0.682, -0.496).lineTo(0.785, -0.62).lineTo(0.719, -0.695).lineTo(0.596, -0.596).lineTo(0.44, -0.719...
10
144
1.039415
train_2f74e5f1ca0d92bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1, 0.92).lineTo(1, 0.779).lineTo(-0.12, -0.92).close().moveTo(0.173, 0.361).lineTo(0.056, 0.133).lineTo(-0.136, 0.207).lineTo(-0.173, 0.454).lineTo(0.022, 0.551).close().moveTo(-0.144, -0.3...
2
77
0.077175
train_77584b0847afd7f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.213, 0.852).lineTo(0.43, 0.712).threePointArc((0.473, 0.7), (0.513, 0.682)).lineTo(0.787, 0.535).threePointArc((0.81, 0.231), (0.955, 0.299)).lineTo(0.978, -0.004).threePointArc((0.771, -...
7
99
0.71644
train_224c6f255cbe5ab1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.004, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.476, 1).lineTo(0.919, 0.833).lineTo(0.997, 0.778).lineTo(0.222, -0.733).lineTo(-0.695, -1).threePointArc((-0.806, -0.946), (-0.997, 0.301)).lineTo(-0.815, 0.354).lineTo(-0.807, 0.508).lin...
1
27
0.830293
train_e94038b22437bbfa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.158, -0.251), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.01, 0.205).lineTo(0.124, 0.096).lineTo(0.076, 0.037).lineTo(0.001, 0.098).lineTo(-0.065, 0.017).lineTo(-0.124, 0.065).lineTo(-0.01, 0.205).close().extrude(2) result = result.union(c...
8
213
0.098875
train_d3cce1713ffc99e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.508, -0.518, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.138).threePointArc((0.807, 0.807), (1.138, 0)).lineTo(0.764, 0).threePointArc((0.541, 0.541), (0, 0.764)).lineTo(0, 1.138).close().extrude(2) result = result.union(cq.Workplane(cq...
8
71
1.108392
train_57fba59bdf42535f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.161), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.331, 1).threePointArc((0.401, 0.971), (0.43, 0.901)).lineTo(0.43, -0.9).lineTo(0.33, -0.9).lineTo(0.33, -1).lineTo(-0.27, -1).lineTo(-0.43, -0.84).lineTo(-0.43, 0.823).lineTo(-0.253, 0.823...
10
76
0.503076
train_00167b0410034b78
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.081, -0.021, -0.109), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.492, 0.808).threePointArc((0.532, 0.783), (0.549, 0.723)).lineTo(0.549, 0.478).threePointArc((0.591, 0.331), (0.69, 0.27)).lineTo(0.824, 0.27).threePointArc((0.888, 0.23), (0.915...
7
175
0.107297
train_366908ccd8d5ab47
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.121, 0.124), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.218, 0.107).lineTo(1.218, 0).lineTo(0, 0).lineTo(0, 0.107).lineTo(1.218, 0.107).close().extrude(0.57, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0.218, 0.121, 0.12...
9
43
0.31893
train_2a1c142d1817e8a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.082, -0.018, -0.366), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.865, 0.246).lineTo(0.985, 0.126).lineTo(0.985, -0.075).threePointArc((0.936, -0.195), (0.814, -0.246)).lineTo(-0.985, -0.246).lineTo(-0.985, 0.09).lineTo(-0.829, 0.246).lineTo(0.8...
15
82
0.148361
train_101a81f15e1e8fcb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.335, 1).lineTo(0.549, 0.782).lineTo(0.549, -0.782).threePointArc((0.486, -0.929), (0.335, -1)).lineTo(-0.404, -1).threePointArc((-0.506, -0.95), (-0.549, -0.847)).lineTo(-0.549, 0.903).thr...
9
50
0.527815
train_a09e92e775b013e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.038, -0.99), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.014, 1.037).threePointArc((0.188, 0.974), (0.35, 0.837)).threePointArc((0.461, 0.669), (0.535, 0.508)).threePointArc((0.603, 0.37), (0.688, 0.249)).threePointArc((0.792, 0.12), (...
11
133
2.602873
train_1d06a616ecf0d196
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.084, 0, -0.604), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.915, 0.825).lineTo(0.915, -0.825).lineTo(-0.915, -0.825).lineTo(-0.915, 0.825).lineTo(-0.558, 0.825).lineTo(-0.558, -0.567).lineTo(0.558, -0.567).lineTo(0.558, 0.825).lineTo(0.915, 0....
8
59
1.078925
train_91787d8fae1299d0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.026, -0.656), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.755, 0.378).lineTo(1, 0.135).lineTo(1, -0.115).lineTo(0.736, -0.378).lineTo(-0.869, -0.378).threePointArc((-0.961, -0.34), (-1, -0.248)).lineTo(-1, 0.109).threePointArc((-0.919, 0.3),...
16
148
0.817021
train_84944f6e7c93ad83
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.021, 0.373, -0.318), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.24, 0.368).threePointArc((0.349, 0.37), (0.356, 0.22)).threePointArc((0.396, 0.193), (0.399, 0.076)).lineTo(-0.004, -0.171).lineTo(-0.17, -0.35).threePointArc((-0.257, -0.37), (-0....
12
190
1.1942
train_a9b66e61b37eb89e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.517), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.188, 0.668).threePointArc((-0.056, 0.65), (0, 0.607)).lineTo(0, 0.101).threePointArc((0.094, 0.03), (0.316, 0)).lineTo(0.755, 0).threePointArc((0.958, -0.027), (1.043, -0.092)).lineTo...
6
136
1.329014
train_65ff90bd4c390ecd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.098, -0.001, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.748, -0.093).lineTo(0.891, -0.131).lineTo(0.882, -0.184).lineTo(0.736, -0.162).lineTo(0.71, -0.252).lineTo(0.842, -0.319).lineTo(0.823, -0.37).lineTo(0.683, -0.316).lineTo(0.64, -...
7
191
0.327825
train_5d2fd24029ed38e9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.715, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.362, 0.732).lineTo(0.471, 0.499).threePointArc((0.468, 0.382), (0.51, 0.187)).lineTo(0.244, -0.004).threePointArc((0.092, 0.188), (0.007, 0.29)).threePointArc((-0.072, 0.357), (-0.179, 0....
2
45
1.715016
train_a71e489c769958b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.055, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.387).extrude(0.898, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0.055, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.136).extrude(1, both=True)) result = result.cut(...
7
27
0.690858
train_32b97e7aa717be10
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.075, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.524, 1).lineTo(0.729, 0.789).lineTo(0.729, -0.866).lineTo(0.604, -1).lineTo(-0.45, -1).threePointArc((-0.646, -0.91), (-0.729, -0.716)).lineTo(-0.729, 0.85).lineTo(-0.588, 1).lineTo(0.5...
11
48
0.202139
train_0b91b64f826c293e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.15, 0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.178).lineTo(1, -0.178).lineTo(-1, -0.178).lineTo(-1, 0.178).lineTo(-0.451, 0.178).lineTo(-0.451, -0.085).lineTo(0.451, -0.085).lineTo(0.451, 0.178).lineTo(1, 0.178).close().extrude(0....
5
34
0.264873
train_13ec948983dc15a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.007, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.823, 0.371).threePointArc((0.941, 0.352), (1, 0.307)).lineTo(1, 0.239).threePointArc((0.949, 0.201), (0.848, 0.185)).lineTo(0.659, 0.185).threePointArc((0.546, 0.168), (0.498, 0.125)).line...
5
110
0.261709
train_310c7bba566188d7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.056, -0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.536, 0.312).threePointArc((0.945, 0), (0.536, -0.312)).lineTo(-0.536, -0.312).threePointArc((-0.945, 0), (-0.536, 0.312)).lineTo(0.536, 0.312).close().extrude(0.227, taper=-13.431) res...
5
39
0.315057
train_e2feb217cb36b201
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.027, -0.027, -0.49), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.503, 0.822).threePointArc((0.79, 0.822), (0.933, 0.374)).lineTo(0.072, -0.672).threePointArc((-0.072, -0.822), (-0.359, -0.672)).lineTo(-0.79, -0.672).threePointArc((-0.933, -0.672...
7
90
0.626475
train_99e694b4165991af
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.615, -0.57, 0.461), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.378, 1.175).lineTo(0.273, 0.823).lineTo(0.512, 0.651).threePointArc((0.538, 0.506), (0.524, 0.351)).lineTo(0.377, 0.177).lineTo(0.162, 0.018).lineTo(0.034, 0.064).threePointArc((-0...
29
40
2.050361
train_2b47c8ea8178acd0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.623, -0.523, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.243).threePointArc((0.879, 0.879), (1.243, 0)).lineTo(0.754, 0).threePointArc((0.533, 0.533), (0, 0.754)).lineTo(0, 1.243).close().extrude(2) result = result.union(cq.Workplane(cq...
7
35
1.311685
train_416fe7ba1ff64a59
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.062, 0.503, 0.125), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.198, 0.456).threePointArc((0.493, 0.056), (0.296, -0.399)).threePointArc((-0.198, -0.456), (-0.493, -0.056)).threePointArc((-0.296, 0.399), (0.198, 0.456)).close().sweep(cq.Workplan...
2
16
0.470808
train_fa0e082ae1def41f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.099), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.476, 0.198).lineTo(0.476, 0.098).lineTo(1, 0.098).lineTo(1, 0).lineTo(0.376, 0).lineTo(0.376, 0.198).lineTo(0.476, 0.198).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
5
23
0.269628
train_d6cfabcc58504fb2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.083, -0.066, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.423, 0.873).lineTo(0.813, -0.184).lineTo(-0.104, -0.768).lineTo(-0.813, -0.138).lineTo(-0.572, 0.701).lineTo(0.423, 0.873).close().extrude(2) result = result.union(cq.Workplane(cq.Pla...
4
24
3.217821
train_d92a5fddb2a0b933
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.34, -0.188, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.68).threePointArc((0.481, 0.481), (0.68, 0)).lineTo(0.226, 0).threePointArc((0.16, 0.16), (0, 0.226)).lineTo(0, 0.68).close().extrude(2) result = result.union(cq.Workplane(cq.Plane...
2
9
0.758249
train_983bf21f10756554
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.843, 0.999, 0.46), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.217, 1.424).threePointArc((0.349, 1.318), (0.405, 1.159)).threePointArc((0.374, 0.998), (0.295, 0.879)).threePointArc((0.228, 0.804), (0.207, 0.727)).threePointArc((0.209, 0.603), (...
5
116
2.199157
train_490235476526d614
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.239, 0.972).threePointArc((0.383, 0.926), (0.518, 0.858)).threePointArc((0.641, 0.772), (0.75, 0.667)).threePointArc((0.841, 0.548), (0.914, 0.416)).threePointArc((0.967, 0.275), (0.997, 0...
11
158
0.614901
train_54a89ebfda7be7d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.152, 0.168, 0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.268, 0.452).threePointArc((0.404, 0.793), (0.654, 0.116)).threePointArc((0.652, 0.045), (0.729, -0.093)).threePointArc((0.59, -0.793), (-0.139, -0.678)).threePointArc((-0.184, -0.6...
9
88
0.770392
train_0e09898d7c2606ff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.16, 0.005, 0.304), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.379, 0.993).threePointArc((0.443, 0.734), (1.056, 0.094)).threePointArc((1.013, -0.536), (0.419, -0.943)).threePointArc((-0.289, -0.993), (-0.999, -0.785)).threePointArc((-1.056, -...
17
82
0.512739
train_cb5a0e15ab8e9128
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.592, 2).lineTo(0.592, 1.477).lineTo(0.305, 1.477).lineTo(0.305, 1.076).lineTo(0.804, 1.076).lineTo(0.804, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.592, 2).close().revolve(angleDegrees=360, axisS...
2
8
2.56568
train_c12b0e813de55701
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.112), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.367, 2).extrude(0.224) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.184, 0, -0.048), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.59, 0.54).lineTo(0.59, -0.54).lineTo(-0.954, -0.54)....
16
70
0.096711
train_9da689ace3259165
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.971), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.747, 1.942).lineTo(0.747, 1.469).lineTo(0.583, 1.469).lineTo(0.583, 1.176).lineTo(0.613, 1.176).lineTo(0.613, 0.789).lineTo(1, 0.789).lineTo(1, 0).lineTo(0, 0).lineTo(0, 1.942).lineTo(0.7...
6
56
2.52316
train_ad65a2362a424172
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.297, -0.002, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.128, 0.689).lineTo(0.03, 0.597).lineTo(0.26, 0.465).lineTo(0.489, 0.332).lineTo(0.681, 0.222).threePointArc((0.698, 0.203), (0.677, 0.19)).lineTo(0.411, 0.119).threePointArc((0.382, ...
9
173
1.105791
train_6046ab33e74e9b29
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.274, -0.114, -0.066), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.878, 0.204).lineTo(0.878, 0.095).lineTo(-0.31, 0.095).lineTo(-0.31, -0.095).lineTo(0.878, -0.095).lineTo(0.878, -0.204).lineTo(-0.878, -0.204).lineTo(-0.878, 0.204).lineTo(0.878, ...
19
229
0.204457
train_be9e45537dbb25dd
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.544, 0.24).threePointArc((1, 0), (0.544, -0.24)).lineTo(-0.544, -0.24).threePointArc((-1, 0), (-0.544, 0.24)).lineTo(0.544, 0.24).close().extrude(0.17, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0.23, -0.192, 0), normal=(0, 1, 0), ...
4
15
0.325152
train_79da6e8b76f35f0b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.213, 0.411, -0.192), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.445, 0.038).threePointArc((-0.191, 0.077), (-0.191, 0.038)).lineTo(0.318, -0.038).threePointArc((0.572, -0.077), (0.191, -0.057)).lineTo(-0.572, 0.019).close().moveTo(0.415, -0.0...
6
80
0.87686
train_f33a9b4e32e35735
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.161), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.726, 0.588).lineTo(0.726, 0.509).lineTo(0.805, 0.509).lineTo(0.805, -0.461).lineTo(0.68, -0.461).lineTo(0.68, -0.588).lineTo(-0.709, -0.588).lineTo(-0.709, -0.492).lineTo(-0.805, -0.492).l...
7
26
0.416738
train_c6d39d1e85e54b5d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.052, 0, -0.169), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.228, 1).lineTo(0.64, 0.802).lineTo(1.026, 0).lineTo(0.64, -0.802).lineTo(-0.228, -1).lineTo(-0.923, -0.445).lineTo(-0.923, 0.445).lineTo(-0.228, 1).close().extrude(0.337) result = re...
6
32
0.908422
train_7f69a682354e0a73
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.338, 0, -0.169), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.462, 0.514).lineTo(0.462, 0.287).lineTo(0.661, 0.287).lineTo(0.661, 0).lineTo(0.319, 0).lineTo(0.319, 0.514).lineTo(0.462, 0.514).close().revolve(angleDegrees=360, axisStart=(0, 0, 0...
4
46
0.506018
train_201f9eff717affa3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.352, 0.206, -0.249), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.022, 0.766).lineTo(1.022, -0.766).lineTo(-1.022, -0.766).lineTo(-1.022, 0.256).lineTo(-0.511, 0.256).lineTo(-0.511, 0.766).lineTo(1.022, 0.766).close().extrude(1.632, both=True).in...
13
186
0.609614
train_9710f27f1c2c6132
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.573, -0.212), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.177, 0.422).lineTo(0.428, 0.134).lineTo(0.359, -0.241).lineTo(0.024, -0.422).lineTo(-0.327, -0.272).lineTo(-0.428, 0.097).lineTo(-0.204, 0.405).lineTo(0.177, 0.422).close().moveTo(-0....
12
464
0.621833
train_3393e64ec704a5f3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.157), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.318, 2).extrude(0.314) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.139, -0.053), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.574, 0.785).lineTo(-0.431, 0.354).lineTo(-0.574, -0....
14
52
0.429153
train_ef19ed825cbd2e4d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.643), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.899, 0.858).threePointArc((0.97, 0.828), (1, 0.757)).lineTo(1, 0.472).threePointArc((0.979, 0.423), (0.93, 0.402)).lineTo(-0.405, 0.402).threePointArc((-0.503, 0.36), (-0.544, 0.262)).line...
7
59
1.977973
train_9c11168e431299d1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.303, -0.093, -0.29), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.697, 0.642).lineTo(0.697, 0.383).lineTo(0.156, 0.383).lineTo(0.156, -0.642).lineTo(-0.156, -0.642).lineTo(-0.156, 0.383).lineTo(-0.697, 0.383).lineTo(-0.697, 0.642).lineTo(0.697, 0...
13
35
0.484143
train_7f9f60a625305983
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.031, 0, -0.267), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.177, 1).lineTo(0.778, 0.652).lineTo(1.015, 0).lineTo(0.778, -0.652).lineTo(0.177, -1).lineTo(-0.507, -0.879).lineTo(-0.954, -0.347).lineTo(-0.954, 0.347).lineTo(-0.507, 0.879).lineTo(...
5
59
3.938325
train_6f7b1a396559bc72
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.162), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.332, 1).threePointArc((0.462, 0.946), (0.516, 0.816)).lineTo(0.516, -0.929).lineTo(0.445, -1).lineTo(-0.421, -1).threePointArc((-0.488, -0.972), (-0.516, -0.905)).lineTo(-0.516, 1).lineTo(...
5
41
0.499612
train_1050a5d6f5b484bb
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.433, 0.75).threePointArc((0.433, 0.75), (0.866, 0)).threePointArc((0.433, -0.75), (-0.433, -0.75)).threePointArc((-0.866, 0), (-0.433, 0.75)).close().moveTo(0.236, 0.269).threePointArc((0.394, 0.111), (0.236, -0.047)).lineTo(-0.169, -0.047).threePo...
7
46
3.000783
train_d48cc82ffcee1b99
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.091, -0.005, 0.631), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.218, 0.994).lineTo(0.339, 0.806).lineTo(0.597, 0.257).threePointArc((0.667, 0.105), (0.789, -0.06)).lineTo(0.888, -0.884).threePointArc((0.421, -0.994), (0.031, -0.726)).threePo...
7
58
2.099504
train_7c033d5b2c4d7a25
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.056, 0.154, -0.068), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.138, 0.28).threePointArc((0.192, 0.258), (0.215, 0.203)).lineTo(0.215, -0.085).threePointArc((0.192, -0.139), (0.138, -0.162)).lineTo(0.083, -0.182).threePointArc((0.054, -0.18),...
6
86
0.283894
train_14482a77b4ac6ee4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.312, 1).threePointArc((0.376, 0.973), (0.402, 0.908)).lineTo(0.402, -0.933).threePointArc((0.382, -0.981), (0.336, -1)).lineTo(-0.402, -1).lineTo(-0.402, 0.933).threePointArc((-0.382, 0.98...
8
73
0.910486
train_3538088f432dc0b1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.599, 0.319, -0.214), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.099, 0.912).threePointArc((0.403, 0.786), (0.529, 0.481)).lineTo(0.529, -0.251).threePointArc((0.403, -0.555), (0.099, -0.681)).lineTo(-0.099, -0.681).threePointArc((-0.403, -0.55...
11
436
1.206408
train_2c308cf6ccd8dc01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.09, -0.119, 0.108), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.127, 1.065).threePointArc((1.344, 0.194), (0.495, -1.041)).lineTo(0.174, -1.065).threePointArc((-1.344, -0.033), (0.127, 1.065)).close().extrude(1.816, both=True).intersect(cq.Workp...
24
69
0.893146
train_1ce23e2a5a807ef0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.305, -0.027, 0.276), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.275, 0.391).threePointArc((-0.33, 0.186), (-0.143, 0.034)).lineTo(0.023, 0.061).threePointArc((0.249, 0.101), (0.323, 0.342)).threePointArc((1.051, 0.408), (0.863, -0.099)).three...
3
56
0.565731
train_968d5724b68db0e2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0.407, -0.347), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.55, 0.694).lineTo(0.55, 0.142).lineTo(0.593, 0.142).lineTo(0.593, 0).lineTo(0.135, 0).lineTo(0.135, 0.694).lineTo(0.55, 0.694).close().revolve(angleDegrees=360, axisStart=(0, 0, ...
6
56
0.776045
train_de0a19ad87487ac0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.848, 0.203).lineTo(0.848, 0.053).lineTo(1, 0.053).lineTo(1, -0.057).threePointArc((0.956, -0.161), (0.852, -0.203)).lineTo(-0.803, -0.203).threePointArc((-0.94, -0.145), (-1, -0.006)).line...
7
91
0.06721
train_46919a0ef66a82f3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.202, 0.164, -0.171), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.286, 0.832).threePointArc((0.426, 0.806), (0.485, 0.746)).lineTo(0.485, -0.755).threePointArc((0.432, -0.809), (0.305, -0.832)).lineTo(-0.1, -0.832).threePointArc((-0.371, -0.783),...
19
114
0.47775
train_389edc62db31c495
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.146).lineTo(0.813, 0).lineTo(1, -0.146).lineTo(0.271, -0.146).lineTo(0.271, 0.146).lineTo(1, 0.146).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.3, -0.458, 0), norm...
13
59
0.347128
train_12c35f758f83cfef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.064, -0.18, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.343, 0.239).threePointArc((0.377, 0.136), (0.479, 0.068)).lineTo(0.513, -0.068).threePointArc((-0.033, -0.239), (0.343, 0.239)).close().extrude(1.091).union(cq.Workplane(cq.Plane(o...
13
200
1.085268
train_d4c8ba0d980f5c13
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.155), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.789, -0.095).lineTo(0.991, -0.14).lineTo(0.981, -0.197).lineTo(0.777, -0.166).lineTo(0.752, -0.257).lineTo(0.94, -0.342).lineTo(0.918, -0.397).lineTo(0.726, -0.323).lineTo(0.683, -0.408).l...
7
167
0.459169
train_2c8675df620aaf31
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.055, -0.02), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.976, 0.083).lineTo(1, -0.084).lineTo(-0.11, -0.104).lineTo(-0.976, -0.083).lineTo(-1, 0.084).lineTo(0.11, 0.104).lineTo(0.976, 0.083).close().extrude(0.206) result = result.union(cq.Wo...
9
130
0.07234