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_a126d7865dfc6f05
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.237, -0.621, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.872, -0.512).threePointArc((0, 0.986), (0.872, -0.512)).lineTo(-0.872, -0.512).close().extrude(1.243) result = result.edges().chamfer(0.584) result = result.cut(cq.Workplane(cq.Plane...
3
21
1.332371
train_51a906de3c0bf0ca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.349, 0.353, -0.122), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.878, 0.466).lineTo(-0.878, 0.8).lineTo(0.878, 0.8).lineTo(0.878, 0.131).lineTo(-0.878, 0.131).lineTo(-0.878, 0.466).close().revolve(angleDegrees=90, axisStart=(0, 0), axisEnd=(0....
10
88
0.642599
train_4b6763e9b94d1b8c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.568, 0, 0.455), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.455, 0.932).lineTo(-0.455, 1.023).lineTo(-0.545, 1.023).lineTo(-0.545, 0.114).lineTo(-0.455, 0.204).lineTo(-0.455, 0.114).lineTo(0.545, 0.114).lineTo(0.545, 1.023).lineTo(0.455, 1.023...
10
43
1.502892
train_0bd387eb8d578772
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.675, 0.018, -0.002), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.048, 0.837).threePointArc((-0.387, 0.699), (-0.606, 0.299)).threePointArc((-0.602, 0.126), (-0.55, -0.039)).threePointArc((-0.213, -0.347), (0.243, -0.337)).threePointArc((0.391, ...
13
68
1.593023
train_8b8410680c7fbeae
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.919, 0.624).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.223, 0.274, -0.054), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.018).extrude(0.08)) result = result.cut(cq.Workplane(...
11
63
1.060526
train_ed22dcb55f68e0f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.039, -1, 0.059), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.246, 0.039).lineTo(0.156, -0.17).lineTo(0.132, -0.187).lineTo(0.099, -0.187).lineTo(-0.228, -0.189).lineTo(-0.246, 0.003).lineTo(-0.118, 0.165).lineTo(-0.095, 0.178).lineTo(0.088, 0.1...
10
167
0.289881
train_eb47f48d6ac99272
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.598, 1.14).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.372, -0.734), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.088).extrude(1.468)) result = result.edges().chamfer(0.042)...
17
141
3.524692
train_d0d029ccbb0aa2d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.085, -0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, -0.502).lineTo(0.097, -0.169).lineTo(0.435, -0.251).lineTo(0.195, 0).lineTo(0.435, 0.251).lineTo(0.097, 0.169).lineTo(0, 0.502).lineTo(-0.097, 0.169).lineTo(-0.435, 0.251).lineTo(-0.1...
10
78
0.109551
train_8948800b5d2f7261
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.216, -0.19, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.784, 0.311).threePointArc((-0.663, 0.19), (-0.784, 0.069)).lineTo(-0.603, 0.069).lineTo(0.482, 0.069).lineTo(0.663, 0.069).threePointArc((0.784, 0.19), (0.663, 0.311)).lineTo(0.4...
2
10
0.047299
train_446fd4853735fd02
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.477), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.287, 0.298).extrude(0.311) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.179), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.077).extrude(0.17)) result = result.union(cq.Workpla...
15
172
0.049482
train_fb3e928040ee84aa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.28, 0.487, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.066).sweep(cq.Workplane('XY').spline([(-0.184, 0.413), (-0.093, 0.227), (0.005, 0.227), (0.096, 0.413), (0.096, 0.614), (0.005, 0.8), (-0.093, 0.8), (-0.184, 0.614)])) result = result....
7
33
0.024668
train_3eea9fd5dfe884d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.35, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.456, 0.153).lineTo(0.402, 0.253).lineTo(0.402, 0.603).lineTo(-0.081, 0.603).threePointArc((-0.081, 0.608), (-0.08, 0.614)).lineTo(-0.08, 0.656).lineTo(0.165, 0.656).lineTo(0.402, 0.656).l...
8
43
0.206968
train_2a372a623f8b10c8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, 0.228, -0.013), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.006, 0.024).threePointArc((0.004, 0.019), (0.004, 0.014)).threePointArc((0.004, 0.008), (0.008, 0.003)).threePointArc((0.015, 0.001), (0.022, 0.004)).lineTo(0.015, -0.002).lineTo(-...
23
346
0.134063
train_ba7a6c950bc94ab1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.533, 0.352, -0.002), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.461, -0.467).threePointArc((0.468, -0.263), (0.486, -0.059)).threePointArc((0.071, 0.467), (-0.455, 0.052)).threePointArc((-0.478, -0.207), (-0.486, -0.467)).lineTo(0.461, -0.467)...
5
9
0.500395
train_eeb4944b304fa866
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.057, 0.087, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.177, 0.168).extrude(0.091) result = result.faces('>Y').shell(-0.007) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.06, 0.077, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).rect...
11
149
0.012889
train_46c7557c13906ec6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.026, 0, -0.408), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.948, 1.993).extrude(0.054) result = result.union(cq.Workplane(cq.Plane(origin=(0.107, -0.114, -0.356), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.397, 1.367).extrude(0.061)) result = resu...
7
40
0.460923
train_07616f91df86bc05
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.442, 0.584, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.635, 0.832).lineTo(0.058, 0.255).lineTo(-0.613, -0.416).lineTo(-0.635, -0.402).lineTo(0.058, 0.291).lineTo(0.058, 1.584).lineTo(0.635, 1.584).lineTo(0.635, 0.832).close().extrude(1.091...
6
29
0.439148
train_f0847b0a75f8a5da
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.09, 0, -0.313), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.82, 1.551).extrude(0.627) result = result.cut(cq.Workplane(cq.Plane(origin=(0.121, -0.109, -0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.14, 1.862).extrude(0.023)) result = result.cu...
7
34
1.731259
train_7d2447352c052809
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.191, -0.014, -0.461), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.354, 0.355).lineTo(0.354, 0.021).lineTo(-0.354, 0.021).lineTo(-0.354, 0.355).lineTo(0.354, 0.355).close().extrude(0.247) result = result.edges().fillet(0.08) result = result.unio...
6
47
0.077556
train_d4eedc7046493f81
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.689, 0.31, -0.168), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.177, -0.511).lineTo(-0.232, -0.511).lineTo(-0.232, -0.956).lineTo(0.213, -0.956).lineTo(0.213, -0.511).lineTo(0.157, -0.511).lineTo(0.157, 0.825).lineTo(0.213, 0.825).lineTo(0.213...
31
157
0.521614
train_e40e1c560617067d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.819, -0.325, -0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.072, 0.042).lineTo(0.024, 0.042).lineTo(0, 0.083).lineTo(-0.072, -0.042).lineTo(0, -0.083).lineTo(-0.024, -0.042).lineTo(0.024, -0.042).lineTo(0.072, 0.042).close().sweep(cq.Workp...
15
133
0.361634
train_a32bae0f257f0517
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.326, -0.851, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-1, 0.626).lineTo(-0.4, 0.626).lineTo(-0.4, 1.576).lineTo(0.1, 1.576).lineTo(0.1, 0.626).lineTo(1, 0.626).lineTo(1, 0.126).lineTo(-1, 0.126).lineTo(-1, 0.626).close().extrude(0.652) res...
7
69
0.776172
train_7996f7294d4a3a07
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.847, 0.052), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(1.144, 1.42).lineTo(-1.144, 1.856).lineTo(-0.378, -0.343).lineTo(1.144, 1.42).close().extrude(1.849) result = result.edges().fillet(0.275) result = result.cut(cq.Workplane(cq.Plane(orig...
23
145
3.430357
train_69a205d509480881
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.418, -0.175, -0.722), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.164, 1.552).extrude(0.356) result = result.union(cq.Workplane(cq.Plane(origin=(-0.048, -0.098, -0.353), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.57, -0.363).lineTo(-0.57, -0.19...
6
46
1.998122
train_8bb1827ae76d68eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.224), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.304, -0.399).lineTo(-0.418, -0.285).lineTo(0.115, 0.247).lineTo(0.266, 0.399).lineTo(0.418, 0.247).threePointArc((0.348, 0.294), (0.266, 0.31)).lineTo(0.266, 0.171).lineTo(-0.304, -0.399)....
5
22
0.239971
train_cb664d9ad12afb04
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.068, 0.318), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.057).sweep(cq.Workplane('YZ').spline([(0.019, 0.245), (0.019, 0.258), (0.009, 0.27), (-0.008, 0.268), (-0.019, 0.254), (-0.019, 0.237), (-0.008, 0.223), (0.009, 0.22), (0.019, 0.233)]...
14
90
0.012766
train_b6da0aaa5e70fb38
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.327, -0.237, 0.508), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.493, 0.984).lineTo(-0.493, -0.011).lineTo(0.493, -0.011).lineTo(0.493, 0.984).lineTo(-0.493, 0.984).close().revolve(angleDegrees=180, axisStart=(-0.493, 0.984), axisEnd=(-0.493, ...
11
107
0.895299
train_f2ec0cabab7fdfe7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.52), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(1).workplane(offset=0.36).circle(0.881).workplane(offset=0.298).circle(0.762).workplane(offset=0.382).circle(0.643).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0 + 0.258 * math.c...
13
155
1.851623
train_74ea83d15df5f414
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.314, -0.05, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.333, 1.259).extrude(0.177) result = result.union(cq.Workplane(cq.Plane(origin=(0.448, -0.05, -0.173), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.216, 1).extrude(0.145)) result = resu...
27
133
0.609993
train_fde1c1fa20a16997
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.437, 0.374), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0).lineTo(-0.005, 0.005).lineTo(-0.227, -0.216).threePointArc((-0.222, -0.222), (-0.216, -0.227)).lineTo(-0.193, -0.204).lineTo(0, -0.011).lineTo(0.005, -0.005).lineTo(0.011, 0).lineTo...
3
88
0.007105
train_f932bda8d011c1b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.179, -0.015, -0.708), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.073, 0.066).lineTo(0.279, -0.139).lineTo(0.292, -0.147).lineTo(-0.292, 0.051).lineTo(-0.288, 0.051).lineTo(-0.235, 0.121).lineTo(-0.285, 0.147).lineTo(-0.231, 0.126).lineTo(-0....
6
38
0.022731
train_f6cbd246cfb0f8d1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.209, -0.164), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.63).sweep(cq.Workplane('XZ').spline([(-0.278, -0.377), (0.443, -0.349), (1.165, -0.574)])) result = result.edges().fillet(0.162) result = result.union(cq.Workplane(cq.Plane(origin=(-...
6
8
1.993507
train_1a25150713c9ca08
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.234, -0.446, 0.019), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.57, 0.425).lineTo(-0.57, 0.044).lineTo(0.57, 0.044).lineTo(0.57, 0.425).lineTo(-0.57, 0.425).close().extrude(0.847) result = result.edges().chamfer(0.102) result = result.faces('...
9
107
0.132847
train_a74a2cf52560e287
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.176, 0.018, -0.498), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.951, 0.667).extrude(1.27) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.557 + 0.1905, 0.3145, -0.931), normal=(0, 1, 0), xDir=(1, 0, 0))).circle(0.1).extrude(0.867)) result =...
20
110
0.385424
train_7f7e459128359761
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.341), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.713).extrude(0.639) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.8 + 0.2665, 0.128, -1.454), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(-0.01, 0.007).lineTo(-0.01, 0.027).lineTo(0....
14
8
2.191243
train_7d7eecd1df22523c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.978, 0.818, -0.278), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-1.278, 1.128).lineTo(0.59, 0.049).lineTo(1.278, 0.446).lineTo(1.278, 1.128).lineTo(-1.278, 1.128).close().extrude(1.635) result = result.edges().fillet(0.203) result = result.cut(c...
17
67
1.631104
train_dbb71d0ce2619099
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.837, -0.013, -0.041), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.008, -0.185).lineTo(0.008, 0.201).lineTo(0.163, 0.188).lineTo(0.163, 0.124).lineTo(0.101, 0.124).lineTo(0.101, -0.201).lineTo(-0.163, -0.201).lineTo(-0.163, 0.124).lineTo(-0.085...
4
32
0.143595
train_0e13d0c4893f8aba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.438, -0.037), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.291, 0.635).lineTo(-0.291, 0.009).lineTo(0.291, 0.009).lineTo(0.291, 0.635).lineTo(-0.291, 0.635).close().extrude(1.037) result = result.edges().fillet(0.244) result = result.union(c...
4
62
0.604043
train_f6e68d52662a63a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.78), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.906, 2).extrude(1.56) result = result.cut(cq.Workplane(cq.Plane(origin=(0 + 0.532 * math.cos(2.339 + 2 * math.pi * 0 / 4), 0 + 0.532 * math.sin(2.339 + 2 * math.pi * 0 / 4), -1.014), normal=(...
5
30
5.470745
train_202230f56cd2c6a9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.373, -0.461, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.125).lineTo(-0.668, 0.793).lineTo(-0.391, 1.069).lineTo(0, 1.461).lineTo(0.078, 1.383).lineTo(0, 1.069).lineTo(0.184, 1.047).lineTo(0.372, 1.024).lineTo(0.446, 1.015).lineTo(0.668, ...
8
32
1.182197
train_9f3f1f96a86f435c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.27, 0, -0.195), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.326, 1.352).extrude(1.195) result = result.union(cq.Workplane(cq.Plane(origin=(-0.349, -0.106, -0.447), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.324).extrude(0.276)) result = result.u...
6
27
2.584383
train_8deae943c5e981e7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.535, 0.139, 0.142), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.08, 0.19).threePointArc((0.007, 0.178), (0.088, 0.143)).lineTo(0.203, 0.37).threePointArc((0.363, 0.233), (0.465, 0.049)).lineTo(0.223, -0.029).threePointArc((0.238, -0.116), (0.2...
5
30
0.264818
train_ef5f294fa9d3c836
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.257, 0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.341, -0.256).lineTo(-0.341, -0.256).lineTo(-0.341, 0.34).lineTo(-0.002, 0.785).lineTo(0.341, 0.34).lineTo(0.341, -0.256).close().revolve(angleDegrees=270, axisStart=(0.341, -0.256), axi...
22
30
1.087037
train_eda4628e1868fba0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.425, -0.228, -0.605), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.246, -0.303).threePointArc((0.311, 0.144), (-0.111, 0.303)).threePointArc((-0.311, -0.223), (0.246, -0.303)).close().sweep(cq.Workplane('YZ').spline([(-0.228, -0.605), (-0.048, ...
3
15
0.258193
train_bad2745b2f77b897
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.279, -0.481), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.404, 1.29).lineTo(-0.404, -0.732).threePointArc((0.404, 0.279), (-0.404, 1.29)).close().extrude(0.962) result = result.cut(cq.Workplane(cq.Plane(origin=(0.157, 0.191, 0.067), normal=...
3
18
1.153415
train_8bbf3e73a3fc410d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.003, -0.218, -0.38), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.605, 0.568).extrude(0.224) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.039, -0.346, -0.298), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.026).extrude(0.03)) result = result....
26
103
0.366827
train_87633d948a53334a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.425, -0.097, -0.496), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.624, 0.338).extrude(0.486) result = result.union(cq.Workplane(cq.Plane(origin=(-0.365, -0.015, -0.056), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.043).extrude(0.779)) result = re...
16
117
0.555272
train_f0dc6118d87ecb2b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.026, 0, 0.111), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.111, -1).lineTo(-0.111, -1).lineTo(-0.111, 0.889).threePointArc((0, 1), (0.111, 0.889)).lineTo(0.111, -1).close().sweep(cq.Workplane('XZ').spline([(0.026, 0.111), (0.178, -0.049), (0.3...
7
38
0.217648
train_e18d6d371c71c93f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.084, 0.025, -0.334), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.295, 0.284).lineTo(0.295, 0.284).lineTo(0.295, 1.221).lineTo(-0.295, 0.284).close().revolve(angleDegrees=180, axisStart=(0, 0), axisEnd=(0.532, 0)) result = result.edges().fillet...
13
68
0.110756
train_046f72e9c70158cd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.094, 0.231, 0.022), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.16, 0.986).lineTo(0.16, 0.986).lineTo(-0.16, -0.769).lineTo(-0.16, 0.986).close().extrude(0.188) result = result.edges().fillet(0.023) result = result.union(cq.Workplane(cq.Plane(...
4
31
0.051159
train_f160386568185d94
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, 0.126, -0.014), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.111, -0.995).lineTo(-0.111, 1.005).lineTo(0.111, 1.005).lineTo(0.111, -0.995).lineTo(-0.111, -0.995).close().extrude(0.253) result = result.edges().chamfer(0.016) result = result...
10
114
0.111134
train_dbdd74d88256132b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.146, -0.542), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.226, 0.221).extrude(0.262) result = result.union(cq.Workplane(cq.Plane(origin=(0.006, -0.081, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.005).extrude(0.482)) result = result.union...
4
19
0.015291
train_2804a74ddfb4a03c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.057, 0.059, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.941).threePointArc((0.033, 0.945), (0.063, 0.959)).threePointArc((0.102, 0.999), (0.118, 1.052)).threePointArc((0, -0.941), (-0.118, 1.052)).threePointArc((-0.059, 1.057), (0, 1.059...
3
38
0.415611
train_595832d1c7f7a2ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.497, 0, -0.489), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.012, -0.126).threePointArc((-0.274, -0.035), (-0.455, 0.174)).threePointArc((-0.508, 0.446), (-0.417, 0.709)).threePointArc((-0.208, 0.891), (0.064, 0.943)).threePointArc((0.326, 0.8...
11
57
2.262495
train_a7c838a5dca48aaa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.536, -0.618, 0.069), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.488, 0.599).lineTo(-0.44, 0.536).lineTo(-0.407, 0.491).lineTo(-0.407, 0.329).lineTo(0.284, 0.329).lineTo(0.203, 0.221).lineTo(-0.203, 0.221).lineTo(-0.203, 0.058).lineTo(0.203, 0...
25
176
1.19457
train_4f72cc4b295d668b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.286, -0.136, 0.03), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.721, 0.732).extrude(0.14) result = result.union(cq.Workplane(cq.Plane(origin=(-0.419, 0.208, 0.094), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.129, -0.025).threePointArc((-0.087,...
29
195
0.349233
train_87320f3a453babc2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.06, -0.21), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.411, 0.141).lineTo(-0.375, 0.094).lineTo(-0.35, 0.061).lineTo(-0.259, -0.061).lineTo(-0.35, -0.061).lineTo(-0.198, -0.263).lineTo(0.106, -0.263).lineTo(0.106, -0.141).lineTo(0.167, -0....
22
113
0.629219
train_0124135754067331
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.072, 0.28, 1), normal=(0, 0, 1), xDir=(1, 0, 0))).lineTo(0, 0.389).lineTo(0.252, 0.26).lineTo(0, -0.389).lineTo(-0.108, -0.389).close().sweep(cq.Workplane('YZ').spline([(0.28, 0.402), (0.369, 0.591), (0.277, 0.779), (0.042, 0.885), (-0.233, 0.8...
7
73
0.225206
train_7c0525abbd7532ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.335, 0, -0.965), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.585).sweep(cq.Workplane('XZ').spline([(-0.335, -1.36), (0.181, -1.833), (0.697, -1.991), (1.213, -1.833), (1.729, -1.36)])) result = result.edges().fillet(0.046) result = result.cut(c...
29
5
2.094123
train_9c7a0835540f3a12
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.013, 0.041, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.003, -0.041).lineTo(-0.08, -0.084).lineTo(-0.16, -0.126).threePointArc((0.16, -0.136), (0.003, 0.143)).lineTo(0.003, 0.053).lineTo(0.003, -0.041).close().extrude(0.418) result = resul...
10
48
0.059521
train_15dce72bdedc70e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.023, -0.543, -0.39), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.088, 0.005).lineTo(-0.043, 0.005).lineTo(-0.442, 0.228).lineTo(0.442, 0.228).lineTo(0.442, 0.102).threePointArc((0.419, 0.047), (0.363, 0.024)).lineTo(0.145, 0.024).threePointArc(...
20
165
0.295346
train_bf6f0d06804022db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1, -0.079), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.53).sweep(cq.Workplane('YZ').spline([(-0.523, -0.506), (-0.1, -0.506), (0.204, -0.633), (0.507, -0.76), (0.81, -0.887)])) result = result.edges().chamfer(0.133) result = result.cut(cq.Wo...
5
12
1.29028
train_b6483d34c7170971
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.264), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.978).extrude(0.145) result = result.union(cq.Workplane(cq.Plane(origin=(-0.8, 0, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.636, 0.146).lineTo(-0.636, 0.384).lineTo(0.636, 0.384).l...
3
76
0.613717
train_429ed48ac3cec269
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.007, 0.418, 0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.924, 0.224).threePointArc((-0.017, 0.592), (0.924, 0.328)).lineTo(0.446, 0.301).lineTo(-0.446, 0.251).lineTo(-0.924, 0.224).close().revolve(angleDegrees=270, axisStart=(0, 0), axis...
8
54
0.960177
train_2263fcbc1f75196e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.024, -0.341, -0.012), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.039, 0.012).threePointArc((-0.056, 0.017), (-0.066, 0.003)).lineTo(-0.051, 0.003).lineTo(-0.051, 0.009).lineTo(0.066, 0.009).lineTo(0.066, 0.012).lineTo(-0.039, 0.012).close()....
10
100
0.010809
train_ab8b84e683fbd0d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.07, -0.697, 0.057), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.071, 0.12).threePointArc((-0.008, 0.163), (-0.086, 0.12)).lineTo(-0.086, 0.019).threePointArc((-0.008, -0.024), (0.071, 0.019)).threePointArc((0.086, 0.07), (0.071, 0.12)).close()....
9
57
0.019601
train_80fa837bb4adeaf7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.017, 0, -0.337), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.382, 0.999).extrude(0.58) result = result.union(cq.Workplane(cq.Plane(origin=(-0.831, -0.128, -0.118), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.169).extrude(0.293)) result = result.un...
14
118
0.674008
train_43e86b932f78986c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.318, 0.208, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-1, 0.596).lineTo(-1, 0.04).lineTo(0.67, 0.04).lineTo(1, 0.596).lineTo(-1, 0.596).close().extrude(0.393) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.076, -0.016, 0.257), normal=...
9
39
0.375235
train_125f21a66d6702f6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.017, -1.122, -0.672), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.151, 0.253).threePointArc((0.562, 0.172), (0.647, 0.582)).lineTo(0.871, 1.122).lineTo(0.647, 1.662).threePointArc((0.512, 2.1), (0.107, 1.885)).threePointArc((-0.298, 2.1), (-0.43...
19
205
1.785668
train_aa373ae681b6a86c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.224, 2).extrude(0.39) result = result.union(cq.Workplane(cq.Plane(origin=(-0.09 + 0.03, 0, 0.128), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.01, 0.012).lineTo(-0.007, 0.012).lineTo(-0.007...
8
81
0.173994
train_bead8f1466e3844b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.572, -0.879, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(1, 1.629).lineTo(0.875, 1.535).lineTo(-0.875, 1.535).lineTo(-0.875, 0.222).lineTo(-1, 0.129).lineTo(1, 0.129).lineTo(1, 1.629).close().extrude(1.143) result = result.faces('>X').shell(-...
2
17
0.491091
train_6b168d86ebbe07f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.428, 0.938).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.438, 0.206, -0.193), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.58, 0.221).extrude(0.355)) result = result.cut(cq.Workp...
6
32
2.143438
train_da6e2e38c81e3749
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.971, 0, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(1.143).workplane(offset=0.97).circle(0.688).workplane(offset=0.973).circle(0.234).loft() result = result.edges().fillet(0.248) result = result.cut(cq.Workplane(cq.Plane(origin=(0.005, 0.041,...
3
10
2.870739
train_129b8689f3d9e7ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.045, 0, 1), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.929, -0.813).threePointArc((0.866, -0.844), (0.802, -0.872)).threePointArc((0.323, -0.966), (-0.156, -0.883)).threePointArc((-0.929, -0.118), (-0.873, 0.966)).threePointArc((0.309, 0.362),...
21
119
4.243247
train_97bff8776dff5b98
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.142, 0.033, -0.38), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.385, 0.939).extrude(1.38) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.142, -0.344, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.197, 0.193).extrude(0.823)) result = re...
19
263
1.51505
train_bb2e2382d3eea648
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.462), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 0.707).extrude(0.925) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.034, -0.049, -0.044), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.347).extrude(0.104)) result = result.cut(cq.Work...
3
27
1.229613
train_f4502caf1d1808d1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.106, -0.166, -0.415), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.144, -0.834).lineTo(0.287, -0.834).lineTo(0.287, 0.549).lineTo(0.114, 1.19).lineTo(-0.287, 1.083).lineTo(-0.144, 0.549).lineTo(-0.144, -0.834).close().extrude(0.829) result = re...
15
70
0.498863
train_b500ba5fec97311c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.714, -0.686, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.174, 0.286).lineTo(-0.203, 0.286).lineTo(-0.211, 0.258).lineTo(-0.183, 0.258).lineTo(-0.288, -0.068).lineTo(-0.297, -0.095).lineTo(-0.035, -0.286).lineTo(-0.012, -0.269).lineTo(0.01...
1
18
0.093397
train_e6cde8310f565edb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.681, -0.225, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-1, -0.393).lineTo(1, 0.538).lineTo(-0.16, 0.538).threePointArc((-0.43, 0.466), (-0.627, 0.266)).lineTo(-1, -0.393).close().extrude(1.361) result = result.union(cq.Workplane(cq.Plane(or...
21
58
0.737279
train_d1d7420f45b1a74f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.008, 0.094, 0.508), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.456, 0.663).extrude(0.344) result = result.cut(cq.Workplane(cq.Plane(origin=(0.19, 0.237, 0.542), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.097, 0.105).extrude(0.146)) result = result...
17
82
0.301592
train_b0972c67fc4e3d0c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.252, -0.2, -0.421), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.21, 0.162).extrude(0.024) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.267, -0.204, -0.41), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.023).extrude(0.004)) result = result.c...
15
199
0.082137
train_f9d9c919836daede
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.015, -0.671, -0.074), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.1, 0.013).threePointArc((-0.003, -0.086), (-0.1, 0.018)).threePointArc((-0.091, 0.055), (-0.07, 0.086)).threePointArc((0, 0.057), (0.07, 0.086)).threePointArc((0.092, 0.053), (0...
4
41
0.0357
train_e3836186f413cf19
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.427, -0.384, -0.574), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.545, 0.698).lineTo(-0.545, -0.072).lineTo(0.353, -0.072).lineTo(0.353, 0.698).lineTo(0.545, 0.698).lineTo(-0.545, 0.698).close().extrude(1.349) result = result.edges().chamfer(0....
13
97
0.358912
train_2995cf517eb2ada9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.502, 0.434, -0.502), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.502, 0.661).lineTo(0.502, 0.206).lineTo(-0.502, 0.206).lineTo(-0.502, 0.661).lineTo(0.502, 0.661).close().revolve(angleDegrees=180, axisStart=(0.502, 0.661), axisEnd=(0.502, 0.298)...
6
35
0.657475
train_e7303ee5b3495fb8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, 1), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.828).workplane(offset=0.442).circle(0.799).workplane(offset=0.522).circle(0.897).workplane(offset=0.438).circle(0.85).workplane(offset=0.598).circle(0.799).loft() result = result.edges()....
2
5
3.838106
train_536f9ece9066d043
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.743, -0.644), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1, 0.977).lineTo(-0.997, 0.089).lineTo(1, 0.089).lineTo(1, 0.977).lineTo(-1, 0.977).close().extrude(1.287) result = result.edges().chamfer(0.119) result = result.union(cq.Workplane(cq....
8
61
1.468006
train_4bd89781fe051c42
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.158, -0.765, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.335, 0.705).lineTo(0.335, 0.705).threePointArc((-0.037, 0.407), (-0.335, 0.033)).lineTo(-0.335, 0.705).close().extrude(0.322) result = result.edges().fillet(0.146) result = resul...
16
182
0.105515
train_8e0084a9f6e04a09
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.173, 0.022), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.027).lineTo(0.276, 0.303).lineTo(-0.138, 0.303).lineTo(-0.138, 0.165).lineTo(-0.276, 0.165).lineTo(-0.276, 0.027).lineTo(0, 0.027).close().extrude(0.908) result = result.edges().cha...
8
104
0.139763
train_064ad1a47081d51c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.197), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.14).extrude(0.393) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.115), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.19).moveTo(0.075, -0.029).lineTo(0.075, -0.025).lineTo(0.076...
16
89
0.415059
train_e32eb0c195570e93
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.005, -0.151, -0.054), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.2, 1.005).lineTo(0.2, -0.995).lineTo(0, -0.995).lineTo(0, -0.278).threePointArc((-0.2, 0.005), (0, 0.288)).lineTo(0, 1.005).lineTo(0.2, 1.005).close().extrude(0.302) result = res...
14
206
0.142113
train_f1e0abd49e6388ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.475, 0, -0.038), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.525, 0).lineTo(-0.525, -0.252).lineTo(0.525, -0.147).lineTo(0.525, 0).lineTo(0.525, 0.147).lineTo(-0.525, 0.252).lineTo(-0.525, 0).close().sweep(cq.Workplane('XZ').spline([(-0.475, ...
8
18
0.255284
train_c0cb3b0b00b5863b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.851, 0, -0.104), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.748).workplane(offset=0.876).circle(0.855).workplane(offset=0.728).circle(0.771).loft() result = result.edges().fillet(0.129) result = result.union(cq.Workplane(cq.Plane(origin=(0.058...
5
20
3.402925
train_921172f83590f879
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0, 0.203), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.143, 0).threePointArc((-0.143, 0.008), (-0.141, 0.015)).lineTo(-0.019, 0.015).lineTo(-0.019, 0.139).lineTo(-0.004, 0.139).lineTo(-0.004, 0.147).threePointArc((0.078, 0.108), (0.115, 0.02...
1
27
0.037066
train_7f537ed756f18e3b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.36, -0.359, -0.013), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.039, -0.741).lineTo(-0.741, 0.039).lineTo(-0.039, 0.741).lineTo(0.741, -0.039).lineTo(0.039, -0.741).close().revolve(angleDegrees=270, axisStart=(0.039, -0.741), axisEnd=(-0.741, ...
8
41
1.992905
train_e0a952af3f0b77e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.274, -0.059), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.208, 1).lineTo(-0.208, 1).lineTo(-0.208, 0.095).threePointArc((-0.166, 0.092), (-0.125, 0.083)).lineTo(-0.125, -0.667).lineTo(-0.208, -0.667).lineTo(-0.208, -1).lineTo(-0.125, -1).li...
2
14
0.498871
train_c58b774357ff2985
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.08, 0.444, 0.034), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.928, 1.113).extrude(0.33) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.258, 0.851, 0.154), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.157).extrude(0.155)) result = result.uni...
24
245
0.76932
train_432a616e21fffdd7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.161, -0.256, 0.182), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.818, 0.312).lineTo(-0.818, 0.011).lineTo(0.818, 0.011).lineTo(0.818, 0.312).lineTo(-0.818, 0.312).close().extrude(0.56) result = result.cut(cq.Workplane(cq.Plane(origin=(0.038, 0...
23
196
0.379867
train_a2dda00d06a9d7bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.017, -0.575, -0.51), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.01, 0.054).lineTo(-0.01, -0.025).lineTo(-0.021, -0.025).lineTo(-0.021, -0.034).lineTo(-0.019, -0.034).lineTo(-0.019, -0.054).lineTo(-0.01, -0.054).lineTo(-0.01, -0.034).lineTo(0....
2
41
0.040851
train_b1bf83a4c61a4f86
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.006, 0.639), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, -0.725).lineTo(-0.359, -0.725).lineTo(-0.359, 0.331).lineTo(0, 0.331).lineTo(0, 0.725).lineTo(0.359, 0.725).lineTo(0.359, -0.725).lineTo(0, -0.725).close().workplane(offset=0.346).mo...
28
88
0.284063
train_d4aed91cc3056c3f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.622, -0.284, -0.091), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.505, -0.378).lineTo(0.505, -0.2).lineTo(0.399, -0.131).lineTo(0.284, -0.156).lineTo(-0.259, -0.272).lineTo(0, 0.128).lineTo(0.284, 0.412).lineTo(0.505, 0.633).lineTo(-0.505, 0.63...
17
116
0.423096