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_12e71a7659b9d64c
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.227, 0.268).workplane(offset=2).rect(1.067, 0.16).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.536, -0.008, -0.007), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-1.744, 1.958).thre...
7
132
0.147353
train_2767cb3d26612435
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.416, 0.418, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.403, 0.935).threePointArc((0.438, 0.808), (0.455, 0.677)).lineTo(0.564, 0.419).threePointArc((0.503, 0.297), (0.512, 0.161)).lineTo(0.403, -0.097).threePointArc((-0.08, -0.581), (-0.56...
18
589
1.470931
train_6fc5ff00fc6c7f9c
import cadquery as cq import math result = cq.Workplane('XY').box(2, 1.864, 1.755) result = result.edges().fillet(0.405) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.249).extrude(4, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=...
11
96
4.307406
train_823214b543dfaff7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.033, 0.052), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.196, 0.46).threePointArc((0.234, 0.444), (0.25, 0.407)).lineTo(0.25, -0.108).threePointArc((0.234, -0.146), (0.196, -0.162)).lineTo(-0.196, -0.162).threePointArc((-0.234, -0.146), (-0....
6
32
0.759285
train_27a03b1cd2a920a1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.045, 0.24, -0.955), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.4, 0.628).lineTo(-0.4, -0.306).lineTo(0.722, -0.306).lineTo(0.722, -0.628).lineTo(-0.722, -0.628).lineTo(-0.722, 0.628).lineTo(-0.4, 0.628).close().extrude(0.912, taper=4.171) res...
19
195
1.326748
train_5fffe973c88275e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.022, -0.091, -0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.911, 0.54).lineTo(0.911, 0.324).lineTo(-0.547, 0.324).lineTo(-0.547, 0.108).lineTo(0.911, 0.108).lineTo(0.911, -0.54).lineTo(-0.911, -0.54).lineTo(-0.911, -0.324).lineTo(0.547, -0.3...
13
163
0.830612
train_df000bb5477c86af
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.58), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.157).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.157).lineTo(-0.877, 1.157).lineTo(-0.877, 0.114).lineTo(0.877, 0.114).lineTo(0.877, 1.157).lineTo(1, 1.157).close().extrude(0.513, both=True...
6
22
0.53989
train_d28d8759486f8f06
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0.001, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.767, -0.11).lineTo(0.986, -0.168).lineTo(0.967, -0.254).lineTo(0.746, -0.209).lineTo(0.709, -0.313).lineTo(0.904, -0.429).lineTo(0.862, -0.506).lineTo(0.662, -0.403).lineTo(0.598,...
5
200
0.77193
train_e5efa8819d30138a
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.884).lineTo(1, 0).lineTo(0.498, 0).lineTo(0.498, -0.884).lineTo(0, -0.884).lineTo(0, 0).lineTo(-1, 0).lineTo(-1, 0.884).lineTo(0, 0.884).lineTo(0, 0.444).lineTo(0.498, 0.444).lineTo(0.498, 0.884).lineTo(1, 0.884).close().extrude(0.376, both=True)...
6
60
1.180652
train_370f85f3d39fb9c7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.104, 0.038, -0.512), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.228, 0.906).threePointArc((0.215, 0.836), (0.255, 0.777)).lineTo(0.176, 0.648).threePointArc((0.16, 0.582), (0.186, 0.519)).lineTo(0.284, 0.39).lineTo(0.228, 0.261).threePointArc(...
5
148
0.462174
train_ad5228ce0d9f60df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.008, 0.026, 0.038), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.008, 0.852).lineTo(1.008, 0.427).lineTo(0.605, 0.427).lineTo(0.605, -0.427).lineTo(0.202, -0.427).lineTo(0.202, -0.852).lineTo(-1.008, -0.852).lineTo(-1.008, -0.427).lineTo(-0.605, ...
22
241
1.059692
train_b67bc449ade0a3e1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.149), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.91, 0.344).lineTo(1, 0.264).lineTo(1, -0.258).lineTo(0.904, -0.344).lineTo(-0.829, -0.344).lineTo(-1, -0.182).lineTo(-1, 0.244).threePointArc((-0.962, 0.316), (-0.889, 0.344)).lineTo(0.91,...
11
48
0.305556
train_5b2a03bab29680c7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.388), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.462, 1).threePointArc((0.559, 0.958), (0.6, 0.861)).lineTo(0.6, 0.695).threePointArc((0.628, 0.628), (0.695, 0.6)).lineTo(0.928, 0.6).threePointArc((0.978, 0.579), (1, 0.529)).lineTo(1, 0....
12
30
1.492008
train_0705dd4df30f69b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.042, -0.081), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.097).lineTo(1, -0.097).lineTo(-1, -0.097).lineTo(-1, 0.097).lineTo(-0.6, 0.097).lineTo(-0.6, -0.066).lineTo(0.6, -0.066).lineTo(0.6, 0.097).lineTo(1, 0.097).close().extrude(0.193) r...
12
210
0.098578
train_c1842e2875bf4c4a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.999).extrude(0.494) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.895).extrude(1.484, both=True)) result = result.union(cq.Wo...
10
42
0.512201
train_f7f3c6565125c96f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.236), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.31, 0.555).lineTo(0.173, 1).lineTo(0.395, 0.379).lineTo(0.573, 0.361).lineTo(0.729, 0.305).lineTo(0.75, 0.308).lineTo(0.77, 0.307).lineTo(0.79, 0.302).lineTo(0.808, 0.292).lineTo(0.8...
19
334
0.63079
train_127a50c8fcc542e3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.692, 2).extrude(0.263) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.607, 0.755).lineTo(0.607, -0.755).lineTo(-0.607, -0.755)....
6
26
0.40613
train_14fe3175acf32eee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.154, -0.185, -0.814), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.145, 0.017).threePointArc((0.158, 0.014), (0.162, 0)).threePointArc((0.159, -0.013), (0.145, -0.017)).threePointArc((0.132, -0.014), (0.128, 0)).threePointArc((0.131, 0.013), (0....
3
27
0.076589
train_1ceaf72b4bb8e903
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.254, 0.908).threePointArc((0.779, 0.707), (1, 0.231)).lineTo(1, -0.499).threePointArc((0.866, -0.786), (0.55, -0.908)).lineTo(-0.309, -0.908).threePointArc((-0.795, -0.721), (-1, -0.28)).li...
5
23
0.639234
train_2cd055e82baca106
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, -0.199, -0.332), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.5, 0.728).lineTo(0.5, -0.647).threePointArc((-0.5, 0.041), (0.5, 0.728)).close().extrude(0.812) result = result.union(cq.Workplane(cq.Plane(origin=(-0.147, 0.098, 0.617), normal=(0, ...
7
204
1.404392
train_322d6c7c943984db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.234, -0.001, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.214, 0.158).lineTo(0.362, 0.052).lineTo(0.351, 0.019).lineTo(0.366, -0.019).lineTo(0.143, -0.22).lineTo(-0.023, 0.047).lineTo(-0.007, 0.068).lineTo(-0.009, 0.096).lineTo(0.145, 0.165)...
18
722
0.422744
train_b81dd85590cec0a5
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.754, 0.803).threePointArc((0.926, 0.715), (0.999, 0.507)).lineTo(0.999, -0.398).threePointArc((0.899, -0.683), (0.664, -0.803)).lineTo(-0.848, -0.803).threePointArc((-0.954, -0.749), (-0.999, -0.621)).lineTo(-0.999, -0.316).threePointArc((-0.921, -0...
28
137
1.223987
train_7e71602de2fc0749
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.099, 0.017, -0.267), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.849, 0.75).threePointArc((0.885, 0.735), (0.9, 0.699)).lineTo(0.9, 0.531).threePointArc((0.876, 0.474), (0.819, 0.45)).lineTo(-0.554, 0.45).threePointArc((-0.587, 0.436), (-0.6, 0....
9
152
1.050021
train_cf726ebb4d3c61f6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.201, -0.008, -0.113), normal=(-0.363, -0.366, 0.857), xDir=(0.709, -0.705, 0))).moveTo(0.706, 0.338).lineTo(0.706, -0.405).lineTo(-0.706, -0.405).lineTo(-0.706, 0.338).threePointArc((-0.617, 0.271), (-0.529, 0.338)).threePointArc((-0.441, 0.405...
12
150
0.480062
train_906a2054dd3616a6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, -0.011, -0.316), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.309, 0.936).threePointArc((0.633, 0.358), (0.999, -0.194)).threePointArc((0.583, -0.507), (0.289, -0.936)).threePointArc((-0.149, -0.741), (-0.625, -0.79)).threePointArc((-0.912, ...
10
102
0.488508
train_0757b82be9d2cb21
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.439, -0.022, 0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.01, 0.057).lineTo(0.045, 0.037).lineTo(0.058, 0).lineTo(0.045, -0.037).lineTo(0.01, -0.057).lineTo(-0.03, -0.05).lineTo(-0.054, -0.02).lineTo(-0.054, 0.02).lineTo(-0.03, 0.05).lineT...
10
147
0.866292
train_c50960e35a15e551
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.294), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.729, 0.587).lineTo(0.729, 0.452).lineTo(1, 0.452).lineTo(1, 0).lineTo(0.334, 0).lineTo(0.334, 0.587).lineTo(0.729, 0.587).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
6
122
0.25181
train_2d65f93594b9a947
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.051, 0, -0.253), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.567, 0.05).lineTo(0.595, -0.056).lineTo(0.948, -0.077).lineTo(0.869, -0.212).lineTo(0.624, -0.162).lineTo(0.545, -0.297).lineTo(0.819, -0.453).lineTo(0.74, -0.587).lineTo(0.467, -0.43...
7
106
1.16399
train_c26472bf94178165
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.333), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.926, 0.952).threePointArc((0.973, 0.933), (1, 0.885)).lineTo(1, -0.896).threePointArc((0.976, -0.936), (0.936, -0.952)).lineTo(-0.965, -0.952).lineTo(-1, -0.925).lineTo(-1, 0.952).lineTo(0...
18
186
0.919093
train_bfcab35d6e86a60b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.215), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.498, 0.43).lineTo(0.498, 0.142).lineTo(1, 0.142).lineTo(1, 0).lineTo(0.064, 0).lineTo(0.064, 0.43).lineTo(0.498, 0.43).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1...
4
52
0.623422
train_efb1740c2bd64cbf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.489, 0.184, -1.61), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.092, 0.017).threePointArc((0.108, 0.011), (0.111, -0.006)).threePointArc((0.097, -0.017), (0.083, -0.011)).threePointArc((0.08, 0.006), (0.092, 0.017)).close().sweep(cq.Workplane(c...
9
6
0.240012
train_61f22df028237a3f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.309, -0.196, -0.517), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.263, 0.558).lineTo(0.359, 0.454).threePointArc((0.498, 0.473), (0.654, 0.046)).lineTo(0.683, -0.052).lineTo(0.438, -0.286).threePointArc((0.341, -0.558), (0.172, -0.418)).lineTo(...
9
96
0.868612
train_1afd5aff24fd094e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.244), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.524, 0.325).threePointArc((-0.39, 0.312), (-0.333, 0.279)).lineTo(-0.333, 0.207).threePointArc((-0.279, 0.176), (-0.151, 0.163)).lineTo(0.111, 0.163).threePointArc((0.267, 0.147), (0....
11
19
0.416974
train_5d5d10abaf9244f5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.054, 0.044, 0.063), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.305, 1.021).threePointArc((0.221, 1.029), (0.611, 0.871)).threePointArc((1.05, -0.141), (0.141, -1.018)).threePointArc((-0.255, -1.029), (-0.623, -0.884)).threePointArc((-0.798, -0...
21
33
1.043062
train_4d56d36e5d27f2f0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.412), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.881, 0.47).lineTo(0.881, -0.107).threePointArc((0.775, -0.364), (0.519, -0.47)).lineTo(-0.575, -0.47).lineTo(-0.881, -0.164).lineTo(-0.881, 0.19).threePointArc((-0.8, 0.388), (-0.601, 0.47...
13
212
0.939604
train_3ffabbea685c22e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.099), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.533, 0.96).lineTo(0.828, 0.838).lineTo(0.979, 0.639).threePointArc((0.91, -0.061), (0.308, -0.723)).lineTo(-0.09, -0.911).lineTo(-0.474, -0.96).lineTo(-0.786, -0.862).lineTo(-0.979, -0.632...
10
340
0.445421
train_d604b53f3238df23
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.244), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.542, 0.487).lineTo(0.542, 0).lineTo(-0.542, 0).lineTo(-0.542, 0.487).lineTo(-0.454, 0.487).lineTo(-0.454, 0.087).lineTo(0.454, 0.087).lineTo(0.454, 0.487).lineTo(0.542, 0.487).close().ext...
6
41
0.290611
train_3fbeb093e98fb7df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.503), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.005).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.005).lineTo(-0.526, 1.005).lineTo(-0.526, 0.474).lineTo(0.526, 0.474).lineTo(0.526, 1.005).lineTo(1, 1.005).close().extrude(0.322, both=Tru...
2
14
0.992257
train_896dd216269ab14d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.635, 0.978, -1.126), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.182, 0.316).threePointArc((0.182, 0.316), (0.365, 0)).threePointArc((0.182, -0.316), (-0.182, -0.316)).threePointArc((-0.365, 0), (-0.182, 0.316)).close().transformed(offset=(0.2...
4
20
0.412346
train_526f20e0829109ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.714, 0.277, -0.22), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.268, 0.441).lineTo(0.268, 0.268).lineTo(1.427, 0.268).lineTo(1.427, 0).lineTo(0, 0).lineTo(0, 0.441).lineTo(0.268, 0.441).close().extrude(0.722, both=True) result = result.union(c...
7
76
0.751925
train_b3c503365305548a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.053, -0.138, -0.284), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.836, 0.854).threePointArc((0.836, 0.452), (0.366, -0.854)).threePointArc((-0.697, -0.386), (-0.836, 0.854)).close().moveTo(-0.544, 0.621).threePointArc((0.437, 0.437), (0.26, -0...
12
126
0.717104
train_d7f549f26ab26fa4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.457), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.611, 1).threePointArc((0.685, 0.968), (0.716, 0.893)).lineTo(0.716, -0.912).threePointArc((0.691, -0.974), (0.629, -1)).lineTo(-0.555, -1).threePointArc((-0.669, -0.951), (-0.716, -0.836))...
16
72
2.011292
train_dc70cec197cf9b42
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.006, 0.265, 0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.126, 0.731).lineTo(0.223, 0.625).lineTo(0.223, 0.432).lineTo(0.395, 0.244).lineTo(0.562, 0.244).lineTo(0.669, 0.127).lineTo(0.669, -0.15).lineTo(0.584, -0.244).l...
10
216
0.461343
train_93317357168eb18f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.31, 2).extrude(0.175) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.052, -0.794).lineTo(-0.052, -0.794).lineTo(0.052, -0.54).cl...
10
70
0.091823
train_dfa9e53d7495875f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.451, -0.5, -0.563), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.24, 0.787).lineTo(0.378, 0.724).lineTo(0.435, 0.617).threePointArc((0.372, 0.531), (0.437, 0.471)).lineTo(0.367, 0.316).threePointArc((0.357, 0.223), (0.248, 0.21)).threePointArc((...
3
31
0.727873
train_5fd88e8cec483c65
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.257, 0, -0.125), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.742).extrude(0.847) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.257, 0, -0.125), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.478).extrude(2.54, both=True)) result = result.un...
11
58
0.862059
train_feb01ae284d021f3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.033, -0.188), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.172, 0.834).threePointArc((-0.051, 0.779), (0, 0.644)).lineTo(0, 0.451).threePointArc((0.046, 0.331), (0.153, 0.28)).lineTo(0.394, 0.28).threePointArc((0.467, 0.245), (0.498, 0.163))....
7
70
0.247587
train_6dc72d1965f19374
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.679), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.906).lineTo(1, -0.906).lineTo(-1, -0.906).lineTo(-1, 0.906).lineTo(-0.662, 0.906).lineTo(-0.662, -0.568).lineTo(0.662, -0.568).lineTo(0.662, 0.906).lineTo(1, 0.906).close().extrude(1.35...
20
11
2.267877
train_3b47f4adcddec3c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.111), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.264).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.264).lineTo(-0.418, 0.264).lineTo(-0.418, 0.109).lineTo(0.418, 0.109).lineTo(0.418, 0.264).lineTo(1, 0.264).close().extrude(0.191, both=Tru...
7
74
0.193429
train_a3e2dba1364b3be9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.292), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.874, 0.832).lineTo(1, 0.71).lineTo(1, -0.763).threePointArc((0.978, -0.813), (0.926, -0.832)).lineTo(-0.935, -0.832).threePointArc((-0.98, -0.816), (-1, -0.771)).lineTo(-1, 0.706).threePoi...
15
126
0.665758
train_78817ad835d33ced
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.331, -0.048, 0.047), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.476, -0.507).threePointArc((-0.275, 0.667), (0.466, -0.667)).lineTo(-0.476, -0.507).close().moveTo(0.476, 0.371).lineTo(0.331, -0.476).threePointArc((-0.139, 0.476), (0.476, 0.37...
8
59
0.623101
train_b02520205edcc365
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.966), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(1.511) result = result.cut(cq.Workplane(cq.Plane(origin=(1.001, 0, -0.966), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.087, 0.407), (-0.33, 0.743), (-0.69, 0.9...
4
65
4.858601
train_a9f3a2bca10bf08f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.049), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.318, 1.321).lineTo(1.318, 0.733).lineTo(0.37, 0.733).lineTo(0.37, -0.733).lineTo(1.318, -0.733).lineTo(1.318, -1.321).lineTo(-1.318, -1.321).lineTo(-1.318, -0.733).lineTo(-0.37, -0.733).lin...
8
148
0.48271
train_ae1b909e482368b8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.421, 0.133, 0.493), normal=(0.222, -0.972, 0.078), xDir=(0.975, 0.223, 0))).moveTo(0.355, 0.35).lineTo(0.355, -0.35).lineTo(0.213, -0.35).lineTo(0.213, 0).lineTo(0.071, 0).lineTo(0.071, -0.35).lineTo(-0.355, -0.35).lineTo(-0.355, 0).lineTo(-0.0...
10
240
0.846812
train_11c59f121c445003
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.024, 0.001, 0.194), normal=(-0.233, 0.031, -0.972), xDir=(0, 1, 0.032))).moveTo(-0.357, 0.203).lineTo(0.123, 0.06).lineTo(0.345, 0.073).lineTo(0.796, 0.036).lineTo(1, -0.006).lineTo(0.932, -0.073).threePointArc((0.845, -0.107), (0.736, -0.137))....
1
24
0.173447
train_955c501c48d3da21
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.019, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.035, 0.196).lineTo(0.108, 0.166).threePointArc((0.133, 0.137), (0.162, 0.112)).lineTo(0.195, 0.038).threePointArc((0.194, 0.006), (0.196, -0.025)).lineTo(0.158, -0.121).threePointArc((0.141...
7
140
0.256513
train_b7395bdd5efdbda8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.003, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.561).lineTo(1, -0.392).threePointArc((0.858, -0.537), (0.547, -0.597)).lineTo(-0.601, -0.597).threePointArc((-0.874, -0.545), (-1, -0.417)).lineTo(-1, 0.557).threePointArc((-0.966, 0.585...
16
68
0.972653
train_d38f35656a057a3a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.078, -0.136, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.617, 0.065).lineTo(0.617, -0.044).threePointArc((0.551, -0.062), (0.394, -0.07)).lineTo(-0.484, -0.07).threePointArc((-0.577, -0.065), (-0.617, -0.054)).lineTo(-0.617, 0.065).thre...
12
204
0.044336
train_d3ee90aa6dc69a85
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.733), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.465).lineTo(1, 0.602).lineTo(0.905, 0.602).lineTo(0.905, 0).lineTo(0.571, 0).lineTo(0.571, 1.465).lineTo(1, 1.465).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,...
6
41
2.590522
train_7c4fda16c97c62eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.385, 0.381, 0.008), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-1.013, 1.355).lineTo(1.013, 0.747).lineTo(-0.603, -0.595).lineTo(-1.013, 1.355).close().extrude(0.762) result = result.edges().chamfer(0.028) result = result.cut(cq.Workplane(cq.Pla...
6
73
1.389755
train_82b8e7af70ccb352
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.577, -0.12, -0.351), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.505, 0.092).threePointArc((0, -0.413), (-0.505, 0.092)).threePointArc((0, 0.597), (0.505, 0.092)).close().revolve(angleDegrees=90, axisStart=(-0.649, -0.506), axisEnd=(-0.649, 0.50...
5
25
0.474728
train_317f54fe1d7dac5f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.076), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.747, 1).lineTo(0.747, -0.498).lineTo(0.249, -0.498).lineTo(0.249, -1).lineTo(-0.249, -1).lineTo(-0.249, -0.498).lineTo(-0.747, -0.498).lineTo(-0.747, 0).lineTo(0.249, 0).lineTo(0.249, 1).l...
36
280
0.284065
train_0d7f76cd44c03c44
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.348, 0.234), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.749, 0.618).threePointArc((-0.385, 0.703), (0.205, 0.457)).threePointArc((0.675, 0.023), (0.749, -0.344)).threePointArc((0.385, -0.429), (-0.205, -0.182)).threePointArc((-0.675, 0.252...
20
304
1.308253
train_a41f14309915a515
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.266), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.999).extrude(0.532) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.266), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.551).extrude(1.595, both=True)) result = result.union(cq.Wo...
15
33
1.450552
train_b36f28722e49d89d
import cadquery as cq import math result = cq.Workplane('XY').box(1.823, 0.909, 2) result = result.edges().fillet(0.144) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.352).extrude(3.647, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
5
36
1.885567
train_bc36de6f2e105065
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.453, -0.821, -0.223), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.598, 0.691).lineTo(0.515, 0.491).lineTo(0.648, 0.371).lineTo(0.45, 0.173).lineTo(0.33, 0.306).lineTo(0.13, 0.223).lineTo(0.14, 0.044).lineTo(-0.14, 0.044).lineTo(-0.13, 0.223).li...
11
256
0.93782
train_d6bba0e08313a91a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 0.217, 0.002), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.25, 0.176).lineTo(0.25, -0.176).threePointArc((0.035, -0.392), (-0.18, -0.176)).lineTo(-0.203, -0.089).threePointArc((-0.25, -0.056), (-0.244, 0)).lineTo(-0.204, 0.089).lineTo(-0.18, 0....
2
10
0.444736
train_e62544a887eb121b
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.907, 0.961).lineTo(1, 0.875).lineTo(1, -0.961).lineTo(-0.899, -0.961).threePointArc((-0.965, -0.933), (-1, -0.867)).lineTo(-1, 0.917).lineTo(-0.949, 0.961).lineTo(0.907, 0.961).close().ext...
9
99
1.208623
train_51433afdde377246
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.055, -0.017), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.55, 0.573).lineTo(0.55, 0).lineTo(-0.55, 0).lineTo(-0.55, 0.573).lineTo(-0.518, 0.573).lineTo(-0.518, 0.032).lineTo(0.518, 0.032).lineTo(0.518, 0.573).lineTo(0.55, 0.573).close().ext...
7
96
0.220282
train_25e8afab7a31f82b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.927, 0.817, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.142, 1.927).lineTo(0.813, 1.414).lineTo(0.963, 0.611).lineTo(0.411, -0.073).lineTo(-0.358, 0.244).lineTo(-0.963, 0.781).lineTo(-0.569, 1.507).lineTo(0.142, 1.927).close().extrude(1.634...
19
407
3.704756
train_ecb91edfc866fcb7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.653).extrude(0.758) result = result.cut(cq.Workplane(cq.Plane(origin=(0.653, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.088, 0.326), (-0.327, 0.565), (-0.653, 0.653), (...
11
132
0.694694
train_e1d77505374676fb
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.832, -0.119).lineTo(0.971, -0.16).lineTo(0.964, -0.198).lineTo(0.822, -0.175).lineTo(0.789, -0.289).lineTo(0.916, -0.358).lineTo(0.901, -0.395).lineTo(0.768, -0.342).lineTo(0.712, -0.447).line...
6
192
1.35889
train_47ae289c1c16d89f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.333, 0, 0.295), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.324, 0.493).threePointArc((0.406, 0.338), (0.431, 0.164)).lineTo(0.281, -0.164).lineTo(0.324, -0.493).threePointArc((-0.431, 0), (0.324, 0.493)).close().sweep(cq.Workplane(cq.Plane(or...
1
6
1.324322
train_df539e642ca29f5a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.066, 0.047, -0.256), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.274, 0.883).threePointArc((-0.212, 0.852), (-0.187, 0.78)).lineTo(-0.187, 0.528).threePointArc((-0.165, 0.467), (-0.113, 0.441)).lineTo(0.423, 0.441).threePointArc((0.519, 0.393),...
3
39
0.899397
train_9b7d9d0712529ef8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.215, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.564, 0.842).lineTo(0.774, 0.691).lineTo(1, 0.265).lineTo(-0.759, -0.842).lineTo(-0.985, -0.416).lineTo(-1, -0.142).lineTo(-0.692, -0.232).lineTo(-0.707, 0.043).lineTo(-0.609, 0.104).lineTo(...
5
112
0.427309
train_5eaf611a83d13e45
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.005, -0.847, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.423, 0.767).threePointArc((0.786, 0.558), (0.814, 0.307)).threePointArc((0.695, 0.116), (0.465, 0.052)).threePointArc((0.216, 0.023), (0.001, -0.04)).lineTo(-0.429, 0.103).lineTo(-0....
10
383
2.329331
train_a6d8ef393bc2d107
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.632, -0.279, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.262).threePointArc((0.892, 0.892), (1.262, 0)).lineTo(0.335, 0).threePointArc((0.237, 0.237), (0, 0.335)).lineTo(0, 1.262).close().extrude(2) result = result.union(cq.Workplane(cq...
8
95
1.778578
train_7fc962b0e273d466
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.049, -0.297), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.572).lineTo(1, -0.584).lineTo(-1, -0.584).lineTo(-1, 0.584).lineTo(0.979, 0.584).threePointArc((0.989, 0.581), (1, 0.572)).close().extrude(0.098) result = result.union(cq.Workplane(...
20
124
0.354743
train_9bcf672fb9ac6c58
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.317), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.478, 0.873).lineTo(1, 0).lineTo(0.52, -0.86).lineTo(-0.498, -0.873).lineTo(-1, -0.001).lineTo(-0.499, 0.861).lineTo(0.478, 0.873).close().extrude(0.634) result = result.edges(cq.selectors....
4
15
1.643367
train_4ed55595a6781828
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.509, 0.519, -0.455), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.166, 0.462).threePointArc((0.013, 0.477), (0.183, 0.418)).threePointArc((0.406, 0.135), (0.391, -0.224)).threePointArc((0.24, -0.408), (0.011, -0.477)).threePointArc((-0.268, -0.0...
9
78
1.613474
train_f112f302e039d00f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.433), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.523).lineTo(1, -0.472).lineTo(0.949, -0.472).lineTo(0.949, -0.523).lineTo(-0.949, -0.523).threePointArc((-0.985, -0.507), (-1, -0.471)).lineTo(-1, 0.465).threePointArc((-0.983, 0.506), ...
11
49
0.397304
train_6873ed3e6d68b1d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.534, 0, -0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.328, 1).lineTo(0.328, 0.692).lineTo(0.461, 0.692).lineTo(0.461, -0.72).threePointArc((0.43, -0.795), (0.356, -1)).lineTo(-0.242, -1).lineTo(-0.461, -0.606).lineTo(-0.461, 0.63).threePo...
15
72
0.6197
train_9eb611a8d9078bab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.119, 0).threePointArc((0.087, -0.032), (0.055, 0)).threePointArc((0.087, 0.032), (0.119, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.001, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))...
7
91
0.030736
train_d00b4c6c782a1ed0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0.01, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.069, -0.302).threePointArc((-0.108, -0.231), (-0.224, -0.251)).threePointArc((-0.259, -0.252), (-0.329, -0.178)).threePointArc((-0.354, 0.587), (0.112, 0.99)).threePointArc((0.174, 0.9...
16
376
0.060918
train_1ecc51526f61915c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.995, -1.069, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.865, 2.022).lineTo(0.865, 0.116).lineTo(-0.865, 0.116).lineTo(-0.865, 0.594).lineTo(-0.435, 0.594).lineTo(-0.435, 1.067).lineTo(0, 1.067).lineTo(0, 1.545).lineTo(0.435, 1.545).lineTo(...
4
72
3.503808
train_25c86f8f2fb60b70
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.308, 0.943).threePointArc((0.452, 0.621), (0.585, 0.805)).lineTo(0.805, 0.585).threePointArc((0.731, 0.237), (0.943, 0.308)).lineTo(1, 0).threePointArc((0.731, -0.237), (0.943...
6
54
0.849227
train_8d84122ce0a7b83f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.055, 0.829, 0.49), normal=(0.276, 0.61, 0.743), xDir=(-0.911, 0.413, 0))).moveTo(-0.031, -0.059).threePointArc((-0.072, -0.057), (-0.061, -0.014)).lineTo(-0.076, 0.018).threePointArc((-0.11, 0.043), (-0.07, 0.058)).lineTo(-0.02, 0.116).lineTo(-0...
6
67
0.513741
train_54c516049d290c1e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.681, 0, 0.024), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.07, 0.36).lineTo(0.347, 0.119).lineTo(0.277, -0.241).lineTo(-0.07, -0.36).lineTo(-0.347, -0.119).lineTo(-0.277, 0.241).lineTo(0.07, 0.36).close().sweep(cq.Workplane(cq.Plane(origin=(0...
7
18
0.548207
train_393561ad4ee8b4f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.099), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.722, 0.692).lineTo(1, 0.418).lineTo(1, -0.392).lineTo(0.695, -0.692).lineTo(-0.789, -0.692).lineTo(-1, -0.485).lineTo(-1, 0.543).lineTo(-0.842, 0.692).lineTo(0.722, 0.692).close().extrude(...
6
38
0.457441
train_ba219000fb3f42e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.344), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.688).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.688).lineTo(-0.736, 0.688).lineTo(-0.736, 0.259).lineTo(0.736, 0.259).lineTo(0.736, 0.688).lineTo(1, 0.688).close().extrude(0.258, both=Tru...
5
41
0.353259
train_3a379edd16aa7fb7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.474), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.448, 0.981).lineTo(0.448, -0.982).threePointArc((0.445, -0.989), (0.438, -1)).lineTo(-0.437, -1).lineTo(-0.448, -0.981).lineTo(-0.448, 0.986).lineTo(-0.442, 1).lineTo(0.437, 1).lineTo(0.44...
13
124
0.945172
train_1612cb21bf2cf7a5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.059, -0.293), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.474, 0.218).lineTo(0.474, -0.021).threePointArc((0.417, -0.16), (0.279, -0.218)).lineTo(-0.317, -0.218).lineTo(-0.474, -0.059).lineTo(-0.474, 0.218).lineTo(0.474, 0.218).close().extru...
8
61
0.42562
train_faf1d48264d04937
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.382, -1, 0.255), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.274, 0.504).threePointArc((-0.111, 0.549), (0.117, 0.443)).threePointArc((0.276, 0.25), (0.274, 0.081)).threePointArc((0.111, 0.036), (-0.117, 0.141)).threePointArc((-0.276, 0.335), ...
19
28
0.846021
train_252346257b2e004c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.235, 0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.229).lineTo(1, 0.137).lineTo(-0.664, 0.137).lineTo(-0.664, 0.046).lineTo(1, 0.046).lineTo(1, -0.229).lineTo(-1, -0.229).lineTo(-1, -0.137).lineTo(0.664, -0.137).lineTo(0.664, -0.046)...
12
155
0.282076
train_41628a6820212f54
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0, 0.207), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.276, 0.141).lineTo(1.276, 0).lineTo(0, 0).lineTo(0, 0.141).lineTo(1.276, 0.141).close().extrude(0.703, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0.276, 0, 0.207), nor...
11
54
0.25221
train_a833dea9dd6e925d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.567, -0.352, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.132).threePointArc((0.803, 0.803), (1.132, 0)).lineTo(0.395, 0).threePointArc((0.279, 0.279), (0, 0.395)).lineTo(0, 1.132).close().extrude(2) result = result.union(cq.Workplane(cq...
7
65
1.268848
train_e98dd33a6fafc863
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.089, 0.105).threePointArc((0.098, 0.102), (0.102, 0.094)).lineTo(0.102, -0.082).threePointArc((0.094, -0.098), (0.074, -0.105)).lineTo(-0.057, -0.105).threePointArc((-0.089, -0.094), (-0.102, ...
15
75
0.045519
train_7584a5ad4599fe5f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.072, -0.068, -0.648), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.064, 0.009).threePointArc((0.078, 0.014), (0.089, 0.005)).threePointArc((0.087, -0.009), (0.073, -0.014)).threePointArc((0.062, -0.005), (0.064, 0.009)).close().sweep(cq.Workpla...
3
42
0.018451
train_3d7ba51d3879ea63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.28, -0.151), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.575, 0.243).lineTo(0.662, 0.144).lineTo(0.719, 0.085).lineTo(0.719, 0).lineTo(0.619, 0).lineTo(0.619, 0.073).lineTo(0.547, 0.144).lineTo(0, 0.143).lineTo(0, 0.243).lineTo(0.575, 0.243)...
6
52
0.238914
train_5566a4e1f5ef2573
import cadquery as cq import math result = cq.Workplane('XY').box(2, 1.701, 1.539) result = result.edges().fillet(0.218) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.42).extrude(3.972, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), norm...
9
63
2.770516