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_b323ffc96f86034f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.183) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.653).extrude(0.55, both=True)) result = result.union(cq.Workpla...
12
28
0.452547
train_d03772ef2dd2c152
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.6, 0.788).lineTo(-0.6, 0.473).lineTo(1, 0.473).lineTo(1, -0.158).lineTo(0.6, -0.158).lineTo(0.6, -0.788).lineTo(0.2, -0.788).lineTo(0.2, -0.158).lineTo(-0.2, -0.158).lineTo(-0.2, -0.473).lineTo(-0.6, -0.473).lineTo(-0.6, -0.158).lineTo(-1, -0.158)....
19
21
2.143819
train_e16948b7281cfd25
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.163), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.672, 0.325).lineTo(0.912, 0.278).lineTo(1, 0.113).lineTo(1, 0).lineTo(0.862, 0).lineTo(0.862, 0.098).lineTo(0.767, 0.278).lineTo(0, 0.195).lineTo(0, 0.325).lineTo(0.672, 0.325).close().re...
5
101
0.342644
train_16250b5a7b5f204c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.06, 0.001, 0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.795, -0.398).threePointArc((-0.061, 0.999), (0.728, -0.239)).lineTo(0.795, -0.882).threePointArc((0.794, -0.999), (0.741, -0.895)).lineTo(0.511, -0.262).threePointArc((0.683, 0.196)...
6
31
0.151539
train_d82e00e01c306189
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.362, 2).extrude(0.274) result = result.cut(cq.Workplane(cq.Plane(origin=(0.132, -0.222, -0.049), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.143, 0.256).lineTo(0.326, 0.212).lineTo(0.556, ...
24
58
0.161809
train_259516a85a41b89e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.379, -0.215, 0.539), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.023, 0.392).threePointArc((0.21, 0.37), (0.387, 0.274)).threePointArc((0.46, 0.13), (0.41, -0.023)).threePointArc((0.251, -0.146), (0.023, -0.204)).threePointArc((-0.21, -0.182),...
20
461
0.629253
train_052479eb1255dc95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.146), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.752, -0.13).lineTo(0.98, -0.204).lineTo(0.952, -0.306).lineTo(0.722, -0.248).lineTo(0.67, -0.368).lineTo(0.861, -0.51).lineTo(0.801, -0.6).lineTo(0.603, -0.47).lineTo(0.514, -0.565).li...
2
193
0.17911
train_a7b4c552c6d870b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.087, 0.001), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.304, 0.984).threePointArc((0.522, 0.988), (0.721, 0.902)).threePointArc((0.833, 0.722), (0.86, 0.508)).threePointArc((0.878, 0.317), (0.934, 0.135)).threePointArc((0.987, -0.07), (0.95...
22
643
3.233195
train_05ab3fd6c96628d0
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.192, 0.304).workplane(offset=2).rect(0.097, 0.396).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.01, 0, -0.054), normal=(0, 0, -1), xDir=(1, 0, 0))).spline([(0.173, 0.042), (0.157,...
4
56
0.085751
train_048a393096c9c708
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.004, -0.021, 0.116), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.625, 0.972).threePointArc((0.666, 0.238), (0.743, 0.18)).threePointArc((0.758, 0.152), (0.849, -0.913)).lineTo(0.813, -0.924).lineTo(-0.54, -1.014).lineTo(-0.584, -1.005).lineTo(-...
22
568
0.748236
train_e93d90dfe9d793db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.228, 0, -0.27), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.614, 0.604).lineTo(0.772, 0.446).lineTo(0.772, -0.604).lineTo(-0.66, -0.604).threePointArc((-0.739, -0.572), (-0.772, -0.492)).lineTo(-0.772, 0.604).lineTo(0.614, 0.604).close().extrude...
9
46
0.561115
train_629401d4f4fc8303
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.576, -1), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.019, 0.4).lineTo(0.11, 0.212).lineTo(0.337, 0.216).lineTo(0.238, 0.011).lineTo(0.356, -0.184).lineTo(0.128, -0.201).lineTo(0.019, -0.4).lineTo(-0.11, -0.212).lineTo(-0.185, -0.235).lineT...
8
196
1.066626
train_b29a1fae510a7015
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.223, 0.063, -0.019), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.033, 1.877).lineTo(0.333, 1.586).threePointArc((0.559, 1.415), (0.55, 1.132)).lineTo(0.435, 0.722).threePointArc((0.231, 0.615), (0.024, 0.569)).lineTo(-0.129, 0.76).threePointAr...
15
59
3.470671
train_bcaa7cd998312d74
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.837, 0, -1.825), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.235).extrude(1.296) result = result.union(cq.Workplane(cq.Plane(origin=(-0.837, 0, -0.918), normal=(0.487, 0, 0.874), xDir=(0.874, 0, -0.487))).circle(0.588).extrude(1.93)) result = r...
5
51
0.806203
train_da46054a2ca3139d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.211, 0.963, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.108, 1.782).threePointArc((0.481, 1.67), (0.78, 1.449)).threePointArc((0.961, 1.155), (0.995, 0.832)).threePointArc((0.878, 0.528), (0.628, 0.291)).threePointArc((0.281, 0.156), (-0.10...
3
16
1.099499
train_fcb25b417c6190b8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.111, 0.152, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.128).threePointArc((0.054, 0.107), (0.076, 0.054)).threePointArc((0.054, 0), (0, -0.022)).threePointArc((-0.054, 0), (-0.076, 0.054)).threePointArc((-0.054, 0.107), (0, 0.128))....
11
322
0.081449
train_432bbbe1e2617239
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.764, -0.168, -0.585), normal=(-0.45, 0.211, 0.868), xDir=(-0.425, -0.905, 0))).moveTo(-0.183, 0.724).lineTo(-0.183, -0.191).lineTo(0.61, -0.191).lineTo(0.61, -0.325).lineTo(0.34, -0.325).lineTo(0.274, -0.365).lineTo(-0.227, -0.325).lineTo(-0.483...
4
31
0.921702
train_35637ab1d3cc2936
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.641, 2).extrude(0.223) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.112), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.023, -0.704).lineTo(-0.023, 0.704).lineTo(0.023, 0.704).cl...
3
10
0.271443
train_c517b3516dd4f970
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.077, 0.382).threePointArc((0.598, 0.522), (0.981, 0.14)).threePointArc((0.841, -0.382), (0.32, -0.522)).threePointArc((-0.063, -0.14), (0.077, 0.382)).close().moveTo(0.201, 0.197).threePoi...
3
82
0.42888
train_e98c903567cd41db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.108), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.968).lineTo(1, -0.968).lineTo(-1, -0.968).lineTo(-1, 0.968).lineTo(1, 0.968).close().extrude(0.216) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.595, -0.563, -0.108), normal=(0,...
4
91
0.637071
train_5f435db98a623697
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.471, -0.041).lineTo(0.458, -0.114).threePointArc((0.458, -0.122), (0.461, -0.13)).lineTo(0.485, -0.176).threePointArc((0.429, -0.2), (0.395, -0.332)).threePointArc((0.334, -0.334), (0.258, -0.447)).threePointArc((0.2, -0.429), (0.09, -0.508)).threeP...
4
61
0.620319
train_ea9d80829e4af760
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.199, 0, 0.005), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.176, 0.736).lineTo(0.266, 0.477).lineTo(0.485, 0.262).lineTo(0.8, -0.646).lineTo(0.541, -0.736).lineTo(0.046, 0.691).lineTo(0.176, 0.736).close().revolve(angleDegrees=360, axisStart=(0...
18
208
1.094127
train_0c89b9f318e9bd77
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.466, -0.17, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.933).threePointArc((0.659, 0.659), (0.933, 0)).lineTo(0.386, 0).threePointArc((0.273, 0.273), (0, 0.386)).lineTo(0, 0.933).close().extrude(2) result = result.union(cq.Workplane(cq....
6
21
1.448058
train_a7ed66c796def1af
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.143, 0.929).lineTo(-0.143, 0.31).lineTo(1, 0.31).lineTo(1, -0.31).lineTo(0.143, -0.31).lineTo(0.143, -0.929).lineTo(-1, -0.929).lineTo(-1, 0.31).lineTo(-0.714, 0.31).lineTo(-0.714, -0.31).lineTo(-0.429, -0.31).lineTo(-0.429, 0.929).lineTo(-0.143, 0...
20
28
1.630382
train_17c8e3330e379d0e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.06, -0.198), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(3.414, 0.336).lineTo(3.414, 0.214).threePointArc((3.329, 0.193), (3.131, 0.184)).lineTo(1.279, 0.184).threePointArc((1.077, 0.175), (1, 0.154)).lineTo(1, -0.346).threePointArc((0.858, -0...
10
23
1.059596
train_a2f17e69a90ce2a3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.018, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.104, 0.111).lineTo(0.104, -0.111).lineTo(0, -0.111).lineTo(0, 0).lineTo(-0.104, 0).lineTo(-0.104, 0.111).lineTo(0.104, 0.111).close().extrude(2) result = result.cut(cq.Workplane(cq.Plane(o...
22
263
0.056555
train_d1609150d609f0fd
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.361, 0.301).workplane(offset=2).rect(0.84, 0.186).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.151, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).polarArray(0.187, 0, 360, 16).circle(...
2
38
0.280356
train_9bc0c32916c8efcb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.687, 1).lineTo(0.777, 0.911).lineTo(0.777, -0.929).lineTo(0.706, -1).lineTo(-0.695, -1).lineTo(-0.777, -0.919).lineTo(-0.777, 0.956).lineTo(-0.733, 1).lineTo(0.687, 1).close().extrude(0.35...
4
46
0.919778
train_8dfa0ce0a2d3403d
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(0.525, 0.873).threePointArc((0.859, 0.791), (1, 0.597)).lineTo(1, -0.185).threePointArc((0.946, -0.26), (0.818, -0.291)).lineTo(0.234, -0.291).threePointArc((0.07, -0.332), (0, -0.427)).line...
5
34
0.503692
train_8f0beaba586a73fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.075, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.549, 0.932).threePointArc((0.685, 0.787), (0.664, 0.589)).lineTo(0.728, 0.246).threePointArc((0.663, 0.055), (0.794, -0.097)).lineTo(0.64, -0.44).lineTo(0.549, -0.783).threePointArc((-0.7...
10
448
2.273289
train_e7aab9d11d0cf457
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1.298, 0.085).lineTo(0.612, -0.085).lineTo(-0.612, -0.085).lineTo(-1.298, 0.085).lineTo(1.298, 0.085).close().extrude(0.171, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.021, 0.145), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.00...
5
35
0.090298
train_4dde0d25b259dcad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.186, 0.188, -0.274), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.64, 0).threePointArc((0, -0.64), (-0.64, 0)).threePointArc((0, 0.64), (0.64, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.186, 0.188, -0.274), normal=(0, -1, 0), xDir=(1, 0, 0...
16
134
1.00529
train_b6962816de7d15e6
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.597, 0.597).lineTo(0.597, 0.199).lineTo(1, 0.199).lineTo(1, -0.597).lineTo(0.597, -0.597).lineTo(0.597, -0.199).lineTo(-0.199, -0.199).lineTo(-0.199, -0.597).lineTo(-1, -0.597).lineTo(-1, ...
19
45
0.258613
train_b53aabf1dec73117
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.197, 0).threePointArc((0, -0.197), (-0.197, 0)).threePointArc((0, 0.197), (0.197, 0)).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.053, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.359, 0.129).threePointAr...
3
18
0.205269
train_4f19ad2e6d2480fe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.236, 0.451, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.542, -0.086).lineTo(0.522, -0.17).lineTo(0.489, -0.25).lineTo(0.444, -0.323).lineTo(0.388, -0.389).lineTo(0.323, -0.445).lineTo(0.249, -0.49).lineTo(0.17, -0.523).lineTo(0.086, -0.543)...
13
834
0.58549
train_ba426d1d2eacbcf1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.143, 0.091, -0.458), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.542, 0.442).lineTo(0.542, -0.156).lineTo(-0.542, -0.156).lineTo(-0.542, 0.442).lineTo(-0.325, 0.442).lineTo(-0.325, 0.008).lineTo(-0.108, 0.008).lineTo(-0.108, 0.442).lineTo(0.108...
19
283
0.121049
train_bb34fe2ee9393318
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.943, 0.386).lineTo(0.943, 0.331).lineTo(1, 0.331).lineTo(1, -0.386).lineTo(-0.918, -0.386).threePointArc((-0.976, -0.362), (-1, -0.305)).lineTo(-1, 0.386).lineTo(0.943, 0.386).close().extr...
7
36
0.434861
train_8741726ff2817ddd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.445, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.005, 1).threePointArc((0.141, 0.934), (0.199, 0.801)).lineTo(0.199, 0.445).threePointArc((0.272, 0.272), (0.445, 0.199)).lineTo(0.774, 0.199).threePointArc((0.926, 0.133), (1, -0.022))...
26
54
0.142325
train_45752e00e72bde7b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.103, -0.002, 0.476), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.224, 0.294).lineTo(-0.165, 0.273).threePointArc((-0.169, 0.232), (-0.186, 0.194)).threePointArc((-0.171, 0.152), (-0.198, 0.116)).lineTo(-0.143, 0.038).threePointArc((-0.129, -0....
11
296
0.950178
train_df72ef9f81c9bd3e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.034, 0.012, 0.02), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.613, 0.063).lineTo(-0.613, -0.047).lineTo(0.966, -0.047).lineTo(0.966, -0.063).lineTo(-0.966, -0.063).lineTo(-0.966, 0.063).lineTo(-0.613, 0.063).close().extrude(0.19) result = res...
5
56
0.058255
train_137892e159039e7e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.127), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.267, 0.433).lineTo(0.442, 0.207).lineTo(0.633, 0.209).lineTo(0.804, -0.048).lineTo(1, -0.287).lineTo(0.802, -0.433).lineTo(0.198, 0.382).lineTo(0.267, 0.433).close().revolve(angleDegrees=3...
3
96
0.760075
train_7a5ad9846f7fa819
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.419, 0.75).threePointArc((0.476, 0.726), (0.5, 0.669)).lineTo(0.5, 0.345).threePointArc((0.528, 0.278), (0.595, 0.25)).lineTo(0.893, 0.25).threePointArc((0.968, 0.218), (1, 0.143)).lineTo(1...
5
169
1.363237
train_e07723d47fc93135
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.111, 0.312, -0.451), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.888, 0.644).lineTo(0.888, 0.215).lineTo(0.888, -0.644).lineTo(-0.888, -0.644).lineTo(-0.888, 0.215).lineTo(-0.888, 0.644).lineTo(-0.667, 0.215).lineTo(-0.667, 0.644).lineTo(-0.445,...
13
243
0.716549
train_23374c8990809e63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.121), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.393, 0.536).lineTo(0.393, 0).lineTo(-0.393, 0).lineTo(-0.393, 0.536).lineTo(-0.35, 0.536).lineTo(-0.35, 0.043).lineTo(0.35, 0.043).lineTo(0.35, 0.536).lineTo(0.393, 0.536).close().extrude...
7
46
0.145506
train_9cb0db3be4f97d55
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.39), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.841) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.39), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.7).extrude(2.528, both=True)) result = result.union(cq.Workplane(...
28
147
1.644018
train_6d5d5687f71e3388
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.184, -0.032, 0.29), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.492, 0.142).lineTo(0.5, -0.131).lineTo(0.138, -0.142).lineTo(0.135, -0.07).lineTo(0.424, -0.061).lineTo(0.418, 0.14).lineTo(0.492, 0.142).close().revolve(angleDegrees=360, axisStar...
10
92
0.321188
train_87565d03baa2ee11
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.166, 0.171, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.578, 0.824).threePointArc((0.607, 0.812), (0.62, 0.782)).lineTo(0.62, -0.641).threePointArc((0.565, -0.771), (0.437, -0.824)).lineTo(-0.286, -0.824).threePointArc((-0.521, -0.725)...
7
111
0.96265
train_46498035d2088f5d
import cadquery as cq import math result = cq.Workplane('XY').circle(1).extrude(0.643, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.69).extrude(0.473, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.177, 0.618, 0.215), normal=(1, 0,...
8
64
2.273005
train_a18b43db83fdb43b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.469), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.937).lineTo(1, 0.34).lineTo(0.517, 0.34).lineTo(0.517, 0).lineTo(0, 0).lineTo(0, 0.937).lineTo(1, 0.937).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) resul...
3
10
1.701201
train_fc3b8639effb05c7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.027, -0.007, -0.527), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.64, 0.701).threePointArc((0.939, 0.641), (0.913, 0.208)).lineTo(0.155, -0.137).threePointArc((0.491, -0.331), (0.164, -0.701)).lineTo(-0.7, -0.65).threePointArc((-0.939, -0.289),...
18
372
1.363233
train_cccedf816d58a975
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.419).lineTo(1, -0.419).lineTo(-1, -0.419).lineTo(-1, 0.419).lineTo(-0.343, 0.419).lineTo(-0.343, -0.122).lineTo(0.343, -0.122).lineTo(0.343, 0.419).lineTo(1, 0.419).close().extrude(0.629, both=True) result = result.cut(cq.Workplane(cq.Plane(origi...
6
118
1.457007
train_02a0dfe72d4423b8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.003, -0.001, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.834, -0.118).lineTo(0.987, -0.164).lineTo(0.972, -0.237).lineTo(0.816, -0.209).lineTo(0.778, -0.32).lineTo(0.916, -0.404).lineTo(0.884, -0.471).lineTo(0.738, -0.406).lineTo(0.675,...
7
161
0.701253
train_03605c96e088e0a1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.185, -0.125), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.294, 1.63).extrude(0.249) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.185, -0.125), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.4, 0.568).lineTo(0.4, -0.568).lineTo(-0.4, -0....
8
18
0.34361
train_3f5535217baf8ed6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.069, 0.057, 0.122), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.016, 0.092).lineTo(0.071, 0.06).lineTo(0.093, 0).lineTo(0.071, -0.06).lineTo(0.016, -0.092).lineTo(-0.046, -0.081).lineTo(-0.088, -0.032).lineTo(-0.088, 0.032).lineTo(-0.046, 0.081)...
4
54
0.523358
train_45cf0ca306112990
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.858, -0.14).lineTo(0.974, -0.185).lineTo(0.964, -0.23).lineTo(0.844, -0.209).lineTo(0.803, -0.343).lineTo(0.901, -0.414).lineTo(0.881, -0.455).lineTo(0.774, -0.406).lineTo(0.697, -0.526).l...
4
162
1.278054
train_89c00dc607a93534
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.24, 0.414, 0.013), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.463, 0.562).lineTo(0.463, 0.344).lineTo(0.109, 0.344).lineTo(0.109, -0.562).lineTo(-0.109, -0.562).lineTo(-0.109, 0.344).lineTo(-0.463, 0.344).lineTo(-0.463, 0.562).lineTo(0.463, 0.5...
10
100
0.540572
train_8e7c840ad500f6af
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.377, 0.291, 0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.221, -0.827).threePointArc((0.428, -0.742), (0.827, -0.221)).threePointArc((0.742, 0.428), (0.221, 0.827)).threePointArc((-0.428, 0.742), (-0.827, 0.221)).threePointArc((-0.742, -...
7
61
0.20039
train_aaaa1cd62c686b68
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.214), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.141, 0.996).threePointArc((0.269, 0.962), (0.323, 0.884)).lineTo(0.323, 0.725).threePointArc((0.384, 0.635), (0.529, 0.598)).lineTo(0.82, 0.598).threePointArc((0.923, 0.571), (0.967, 0...
6
111
1.255485
train_b841b9b49b8daaa9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.447), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.712, 1).lineTo(0.828, 0.883).lineTo(0.828, -0.801).threePointArc((0.77, -0.941), (0.629, -1)).lineTo(-0.671, -1).threePointArc((-0.782, -0.953), (-0.828, -0.842)).lineTo(-0.828, 1).lineTo(...
9
57
1.579134
train_af3c332d7d4bd701
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.402), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.999).extrude(0.804) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.402), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.639).extrude(2.414, both=True)) result = result.union(cq.Wo...
13
56
2.129935
train_46178795d71bba82
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.579, -0.265, -0.125), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.229, 0.272).threePointArc((0.278, 0.252), (0.298, 0.203)).lineTo(0.298, -0.134).threePointArc((0.278, -0.182), (0.229, -0.203)).lineTo(-0.229, -0.203).threePointArc((-0.278, -0.1...
10
58
0.678188
train_eb08ab3d6a9ff1bc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.014, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.005, 0.302).lineTo(0.757, 0).lineTo(1.005, -0.302).lineTo(0.144, -0.302).lineTo(0.144, 0.302).lineTo(1.005, 0.302).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))...
10
52
0.718326
train_a9717b73a72a837f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.213), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.832, 2).extrude(0.27) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.213), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.373, 0.157).lineTo(0.373, -0.157).lineTo(-0.373, -0.157).c...
15
83
0.078189
train_d1d19374e60ec01a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.65, 0, -0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.699, 1.843).extrude(0.37) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.65, 0, -0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.151, 0.108).lineTo(0.151, -0.108).lineTo(-0.15...
10
79
0.660282
train_bfecec38114b6d66
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.467, -0.419, -0.825), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.935).threePointArc((0.661, 0.661), (0.935, 0)).lineTo(0.587, 0).threePointArc((0.415, 0.415), (0, 0.587)).lineTo(0, 0.935).close().extrude(1.825) result = result.union(cq.Work...
4
53
0.990171
train_a1fd03ceb5ff24c2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.063, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.621).lineTo(1, -0.536).threePointArc((0.967, -0.596), (0.906, -0.621)).lineTo(-0.91, -0.621).threePointArc((-0.968, -0.597), (-1, -0.54)).lineTo(-1, 0.497).lineTo(-0.867, 0.621).li...
12
100
0.419618
train_3bd23a69cb7228ca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.182, 0.018, -0.273), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.813, 0.406).lineTo(0.813, -0.406).lineTo(-0.813, -0.406).lineTo(-0.813, -0.135).lineTo(0.542, -0.135).lineTo(0.542, 0.135).lineTo(-0.813, 0.135).lineTo(-0.813, 0.406).lineTo(0.813,...
6
34
0.928289
train_db5d74a3461b2e8d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.002, 0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.676, 0.412).threePointArc((0.904, 0.359), (1, 0.234)).lineTo(1, 0.004).threePointArc((0.923, -0.095), (0.742, -0.137)).lineTo(0.096, -0.137).threePointArc((0.029, -0.153), (0, -0.19))....
5
71
1.644956
train_9227e37fffa40c66
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.5, 0.251).lineTo(0.5, -0.126).lineTo(1, -0.126).lineTo(1, -0.251).lineTo(-0.5, -0.251).lineTo(-0.5, 0).lineTo(-1, 0).lineTo(-1, 0.251).lineTo(0.5, 0.251).close().extrude(0.365, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.694, -0....
9
74
0.42418
train_ac7ec7df3746d1d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.416, -0.044, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.584).extrude(0.526, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0.416, -0.044, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.286).extrude(0.669, both=True)) result...
11
22
0.253265
train_225424927ba5420f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, -0.609, 0.551), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.072, 0.443).threePointArc((-0.019, 0.434), (0.027, 0.396)).threePointArc((0.058, 0.349), (0.084, 0.317)).threePointArc((0.123, 0.307), (0.18, 0.306)).threePointArc((0.245, 0.291)...
7
190
0.382669
train_bf3c1d27ba754a92
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.115, -0.216, -0.84), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.149, 0.295).threePointArc((0.205, 0.14), (0.316, 0.018)).lineTo(0.156, -0.267).threePointArc((-0.006, -0.302), (-0.17, -0.271)).threePointArc((-0.17, -0.094), (-0.316, 0.006)).thre...
6
69
1.396813
train_67df832f524e26c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.226, -0.049, -0.378), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.501, 0.359).lineTo(0.713, 0.18).lineTo(0.774, 0.126).lineTo(0.774, 0).lineTo(0.657, 0).lineTo(0.657, 0.108).lineTo(0.58, 0.18).lineTo(0, 0.242).lineTo(0, 0.359).lineTo(0.501, 0....
6
89
0.590352
train_c27208c589e7d7f5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.011, -0.009, -0.056), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.538, 0.189).lineTo(0.538, 0.151).threePointArc((0.565, 0.136), (0.631, 0.129)).lineTo(0.786, 0.129).threePointArc((0.864, 0.121), (0.897, 0.103)).lineTo(0.897, 0.065).threePointA...
10
79
0.151521
train_a8e4cd1170c3ee84
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.229, 0, -0.691), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.272, 0.034).threePointArc((0.272, -0.034), (0.205, -0.034)).threePointArc((0.205, 0.034), (0.272, 0.034)).close().sweep(cq.Workplane(cq.Plane(origin=(0.229, 0, -0.691), normal=(0, 0, ...
6
102
0.424023
train_4b5d4fbe7292cf70
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.752, 0, 1.54), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.059, 0.247).lineTo(0.024, 0.149).lineTo(0.133, 0.216).lineTo(0.122, 0.089).lineTo(0.247, 0.059).lineTo(0.149, -0.024).lineTo(0.216, -0.133).lineTo(0.089, -0.122).lineTo(0.059, -0.247).l...
3
72
0.26704
train_00dd1a703d82dab9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.083, -0.278), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.552).lineTo(1, -0.552).lineTo(-0.826, -0.552).threePointArc((-0.943, -0.501), (-1, -0.382)).lineTo(-1, 0.373).lineTo(-0.818, 0.552).lineTo(1, 0.552).close().extrude(0.503) result = ...
21
528
0.973821
train_2b8d248eef495695
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.281, 0.211, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.097, -0.054).lineTo(0.086, -0.091).lineTo(0.093, -0.129).lineTo(0.087, -0.137).lineTo(0.078, -0.132).lineTo(0.071, -0.101).lineTo(0.072, -0.067).lineTo(0.084, -0.043).lineTo(0.073, -0...
10
870
0.261416
train_6477db025d4b6808
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.451, 0.251, 0.534), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.39, -0.138).lineTo(0.332, -0.263).lineTo(0.241, -0.362).lineTo(0.127, -0.425).lineTo(0, -0.447).lineTo(-0.127, -0.425).lineTo(-0.241, -0.362).lineTo(-0.332, -0.263).lineTo(-0.39, -0...
7
175
0.505725
train_59d44f02152b3bc8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.151), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.749, 0.301).lineTo(0.92, 0.18).lineTo(1, 0.106).lineTo(1, 0).lineTo(0.848, 0).lineTo(0.848, 0.09).lineTo(0.749, 0.18).lineTo(0, 0.149).lineTo(0, 0.301).lineTo(0.749, 0.301).close().revolv...
3
13
0.430249
train_1173f4a543a5eb86
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.188), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.69, 0.498).threePointArc((0.901, 0.407), (1, 0.192)).lineTo(1, -0.344).threePointArc((0.946, -0.452), (0.838, -0.498)).lineTo(0.653, -0.498).threePointArc((0.544, -0.452), (0.498, -0....
6
49
0.317671
train_3b5d446dbcaa8f01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.607, 0.286, -0.514), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.196, 0.363).threePointArc((1.572, 0), (1.196, -0.363)).lineTo(0, -0.363).lineTo(-1.196, -0.363).threePointArc((-1.572, 0), (-1.196, 0.363)).lineTo(0, 0.363).lineTo(1.196, 0.363).cl...
17
238
0.709972
train_cb14a744ef533a2b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.013, 0, -0.362), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.849, 1).lineTo(-0.849, -0.597).lineTo(1.247, -0.597).lineTo(1.247, -1).lineTo(-1.247, -1).lineTo(-1.247, 1).lineTo(-0.849, 1).close().extrude(0.723) result = result.union(cq.Workplane...
10
51
0.253116
train_175d76ad4acb9cb1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.348, 1, -0.041), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.042, 0.907).lineTo(0.368, 0.751).lineTo(0.517, 0.423).lineTo(0.421, 0.075).lineTo(0.123, -0.129).lineTo(-0.236, -0.095).lineTo(-0.489, 0.163).lineTo(-0.517, 0.523).lineTo(-0.308, 0.81...
8
67
1.113975
train_3932ade15ebd28d6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.145, 0.035, -0.219), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.855, 0.145).lineTo(0.855, -0.145).lineTo(-0.855, -0.145).lineTo(-0.855, 0.145).lineTo(-0.451, 0.145).lineTo(-0.451, -0.079).lineTo(0.451, -0.079).lineTo(0.451, 0.145).lineTo(0.855,...
8
94
0.358134
train_f99f459a0a0a9559
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.164), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.739, 0.328).lineTo(0.913, 0.238).lineTo(1, 0.115).lineTo(1, 0).lineTo(0.768, 0).lineTo(0.768, 0.099).lineTo(0.668, 0.238).lineTo(0, 0.101).lineTo(0, 0.328).lineTo(0.739, 0.328).close().re...
4
21
0.469114
train_1e7d3d965b91ef15
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.343, -0.043, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.273, 0.271).lineTo(0.391, -0.046).threePointArc((0.392, -0.061), (0.377, -0.066)).lineTo(0.144, -0.066).threePointArc((0.139, -0.068), (0.141, -0.072)).lineTo(0.223, -0.153).threePoin...
5
98
0.452857
train_dd8088df378afe04
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.054, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.805, 0.216).threePointArc((0.936, 0.16), (1, 0.026)).lineTo(1, -0.004).threePointArc((0.929, -0.154), (0.782, -0.216)).lineTo(-0.782, -0.216).threePointArc((-0.929, -0.154), (-1, -0.0...
9
40
0.176206
train_93b342a95f19af2a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.079, 0.614, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.771).threePointArc((0.545, 0.545), (0.771, 0)).threePointArc((0.545, -0.545), (0, -0.771)).threePointArc((-0.545, -0.545), (-0.771, 0)).threePointArc((-0.545, 0.545), (0, 0.771)...
5
36
0.394215
train_405ab50eb0122b28
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.626, 0.127, -0.769), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.098, 0.197).lineTo(0.098, 0.098).lineTo(0.197, 0.098).lineTo(0.197, 0).lineTo(0.098, 0).lineTo(0.098, -0.098).lineTo(0.197, -0.098).lineTo(0.197, -0.197).lineTo(0, -0.197).lineTo(...
5
58
0.569664
train_b711284f8c5da646
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.685, -0.004), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.653, -0.165).lineTo(0.446, -0.249).lineTo(0.372, -0.367).lineTo(0.187, -0.524).lineTo(-0.021, -0.36).lineTo(-0.151, -0.354).lineTo(-0.143, -0.394).lineTo(-0.15, -0.434).lineTo(-0.171,...
6
194
0.966997
train_7dd390aab826ef06
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.24, -0.355), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.9, 0.255).threePointArc((0.97, 0.226), (1, 0.158)).lineTo(1, -0.053).threePointArc((0.939, -0.196), (0.796, -0.255)).lineTo(-0.88, -0.255).threePointArc((-0.963, -0.221), (-1, -0.136))....
5
18
0.842787
train_60259e2497b928f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.878), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.636, -0.204).threePointArc((0.65, -0.248), (0.508, -0.252)).lineTo(-0.345, -0.277).threePointArc((-0.487, -0.282), (-0.501, -0.237)).lineTo(-0.636, 0.204).threePointArc((-0.65, 0.248), (-0...
4
93
2.245067
train_431d9c8bb9363db3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.019, 0, -0.209), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.595, 0.418).lineTo(0.912, 0.346).lineTo(1, 0.147).lineTo(1, 0).lineTo(0.905, 0).lineTo(0.905, 0.125).lineTo(0.809, 0.346).lineTo(0, 0.332).lineTo(0, 0.418).lineTo(0.595, 0.418).close...
3
14
0.314234
train_c21df5dfa12f2040
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.442, 0.062, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.416, 1.115).threePointArc((-0.235, 1.034), (-0.105, 0.918)).threePointArc((-0.026, 0.834), (0.044, 0.824)).threePointArc((0.156, 0.874), (0.327, 0.931)).threePointArc((0.531, 0.93), (...
7
918
1.556975
train_e36e92a61ab956dd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.18), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.95, 0.36).lineTo(0.921, 0.209).lineTo(1, 0.126).lineTo(1, 0).lineTo(0.826, 0).lineTo(0.826, 0.108).lineTo(0.726, 0.209).lineTo(0, 0.186).lineTo(0, 0.36).lineTo(0.95, 0.36).close().revolve(...
6
47
0.577232
train_08d2d781a8d6d9d0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.894, 0.513).threePointArc((0.969, 0.496), (1, 0.454)).lineTo(1, 0.296).threePointArc((0.982, 0.272), (0.94, 0.263)).lineTo(0.38, 0.263).threePointArc((0.271, 0.237), (0.225, 0.176)).lineTo...
9
176
0.934467
train_603cfc92a3c357fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.295, -0.164, -0.284), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.677, 0.442).lineTo(0.677, 0).lineTo(-0.677, 0).lineTo(-0.677, 0.442).lineTo(-0.442, 0.442).lineTo(-0.442, 0.237).lineTo(0.442, 0.237).lineTo(0.442, 0.442).lineTo(0.677, 0.442).cl...
9
107
0.147269
train_5f3e39d32f438433
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.752), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.503).lineTo(1, 0.881).lineTo(0.555, 0.881).lineTo(0.555, 0).lineTo(0, 0).lineTo(0, 1.503).lineTo(1, 1.503).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) res...
5
80
1.704947
train_474892fb79c2f968
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.333), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.665).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.665).lineTo(-0.863, 0.665).lineTo(-0.863, 0.137).lineTo(0.863, 0.137).lineTo(0.863, 0.665).lineTo(1, 0.665).close().extrude(0.27, both=True...
4
30
0.219224