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_8d72f17df98abe06
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.089, 0, 0.073), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.476, 0.891).lineTo(-0.476, -0.546).lineTo(0.476, -0.546).lineTo(0.476, 0.891).lineTo(-0.476, 0.891).close().extrude(0.85) result = result.edges().chamfer(0.193) result = result.cut(cq...
22
177
0.803693
train_404ab52fd33fc89e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.237, -0.411), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.803, 1.527).extrude(0.823) result = result.union(cq.Workplane(cq.Plane(origin=(0.299, 0.75, -0.196), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.25).extrude(0.249)) result = result.cut(...
9
30
1.958946
train_a61cca4a2ec1eda6
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.348, 1.582).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.207, -0.175, 0.546), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.124).extrude(0.466)) result = result.cut(cq.Workplane...
10
114
3.948071
train_bae6a360f6e9845c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.934), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.726).extrude(1.867) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.47, -0.039, -1.251), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.274, 0.435).extrude(2.241)) result = result.cut(cq....
9
54
5.508132
train_a2eeb010f4fcdf6c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.58, -0.185, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.231, 1.426).lineTo(0, 1.426).lineTo(0, 1.028).threePointArc((-0.042, 0.895), (-0.154, 0.811)).lineTo(-0.154, 1.426).lineTo(-0.154, 1.58).lineTo(-0.231, 1.58).lineTo(-0.231, 1.426).line...
9
250
0.261812
train_135d445052ace474
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.506, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.058, 1.007).threePointArc((-0.309, 0.834), (-0.334, 0.529)).threePointArc((-0.309, 0.476), (-0.276, 0.428)).threePointArc((0, 0.298), (0.276, 0.428)).threePointArc((0.309, 0.476), (0.334,...
7
62
0.738329
train_d8c692c90eb3f3d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.397, 0, 0.5), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.5, 0.897).lineTo(-0.5, 0.221).lineTo(-0.183, -0.095).threePointArc((-0.163, -0.103), (-0.142, -0.095)).lineTo(0.175, 0.221).lineTo(0.492, 0.539).threePointArc((0.5, 0.56), (0.492, 0.58)...
8
27
1.587875
train_e727ff61985174b9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.131, 0.031, -0.291), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.057, 0.543).lineTo(-1.131, 0.127).lineTo(-0.776, 0.05).lineTo(-0.655, -0.437).lineTo(-0.335, -0.345).lineTo(-0.057, -0.604).lineTo(0.869, -0.134).lineTo(0.703, -0.173).close().cen...
10
93
0.390471
train_084addda19b899ac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.013, -0.011, -0.219), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.013, -0.025).lineTo(0.512, 0.851).lineTo(-0.531, 0.883).lineTo(-0.987, -0.004).lineTo(-0.509, -0.861).lineTo(0.503, -0.844).close().circle(0.235).extrude(0.434) result = result.c...
11
60
0.802955
train_04f4e1dc7ee122dc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.121, 0.306, -0.314), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.757, 0.747).extrude(0.818) result = result.union(cq.Workplane(cq.Plane(origin=(-0.866, 0.2, 0.007), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.134).extrude(0.172)) result = result.e...
16
94
1.017285
train_16c6adb287234e82
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.935, 0, -0.462), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.065, -0.049).lineTo(-0.054, -0.049).lineTo(-0.059, -0.058).lineTo(-0.065, -0.049).lineTo(0, 0.058).lineTo(0.065, -0.049).close().sweep(cq.Workplane('XZ').spline([(-0.935, -0.462), (0...
2
17
0.016768
train_5c8125938fbb7fcf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.572, 0, -0.018), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.437).sweep(cq.Workplane('XZ').spline([(-0.572, -0.018), (-0.407, -0.183), (-0.241, -0.218), (-0.075, 0.3), (0.091, -0.062), (0.257, -0.302), (0.423, 0.243), (0.588, 0.066), (0.754, -...
2
5
1.563753
train_91245478869e7a72
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.579, -0.182), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.652).sweep(cq.Workplane('YZ').spline([(-1.042, -1.197), (-0.716, -1.191), (-0.391, -1.151), (-0.065, -0.999), (0.261, -0.848), (0.586, -0.807), (0.912, -0.801)])) result = result.edge...
4
14
2.194644
train_00c41c485e655154
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.126, -0.119, -0.448), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.045, -0.184).lineTo(-0.256, -0.184).lineTo(0.111, 0.184).lineTo(0.217, 0.078).lineTo(0.256, 0.039).threePointArc((0.218, -0.053), (0.256, -0.145)).lineTo(0.124, -0.014).lineTo(...
3
69
0.330052
train_3bb7eca21b7ba5a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.21), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.345, 0.336).lineTo(0.345, 0.336).lineTo(0.345, -0.336).lineTo(0, -0.336).lineTo(0, 0).lineTo(-0.345, 0).lineTo(-0.345, 0.336).close().workplane(offset=0.122).moveTo(-0.44, 0.428).lineTo(0....
6
28
0.544867
train_9a97bf85f3a07879
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.446), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.582).extrude(0.891) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.392, -0.393, 0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.197).extrude(0.204)) result = result.cut(cq.Workp...
22
92
1.966154
train_82b021ea5e063a6f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.064, -0.788), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.618, 0.253).extrude(0.764) result = result.union(cq.Workplane(cq.Plane(origin=(-0.165, -0.011, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.018).extrude(1.126)) result = result.u...
7
53
0.121089
train_23c172338c9a97f5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.071, 0.005, -0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.51, 1.062).extrude(1.13) result = result.union(cq.Workplane(cq.Plane(origin=(0.251, 0.256, 0.46), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.075).extrude(0.346)) result = result.uni...
5
28
0.834723
train_a0af4be7cd6ee803
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.847, -0.405, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-1.319, 1.534).threePointArc((-0.975, 1.292), (-0.843, 0.893)).lineTo(-0.843, 0.16).lineTo(0.843, 0.16).lineTo(0.843, 0.893).threePointArc((0.975, 1.292), (1.319, 1.534)).lineTo(1.245, ...
4
125
1.794817
train_7a506605073149c7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.023, -0.302, -0.974), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.233, 1.302).lineTo(0.233, 0.76).lineTo(-0.835, 0.76).lineTo(-0.835, -0.232).lineTo(0.835, -0.232).lineTo(0.789, -0.232).lineTo(0.789, 1.302).lineTo(0.233, 1.302).close().extrude(1...
10
118
1.121298
train_d0a0807ea524f9fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.144, -0.928, -0.163), normal=(-1, 0, 0), xDir=(0, 0, 1))).lineTo(-0.636, 1.036).lineTo(0.636, 1.036).close().revolve(angleDegrees=360, axisStart=(0.636, 1.036), axisEnd=(-0.636, 1.036)) result = result.edges().fillet(0.197) result = result.unio...
9
55
0.590255
train_a7e22df6debce2a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.103, 0.63, -0.217), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.612, 0.263).lineTo(-0.43, -0.69).lineTo(-0.294, -1.344).lineTo(-0.026, -1.63).lineTo(0.406, -0.885).close().moveTo(0.191, 0.2).lineTo(0.155, 0.184).lineTo(-0.124, 0.37).lineTo(-0.3...
12
67
0.221061
train_657e4c0c70e310c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.077, 0.823, 0.969), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.059, 0.124).threePointArc((-0.02, 0.163), (0.033, 0.177)).threePointArc((0.087, 0.163), (0.126, 0.124)).lineTo(0.233, -0.062).lineTo(0.033, -0.177).lineTo(-0.233, -0.177).lineTo(-0...
2
16
0.177628
train_7e2d3820f9272cb8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.015, 0.013, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.978, 0.025).lineTo(0.742, 0.729).lineTo(0.02, 0.987).lineTo(-0.726, 0.72).lineTo(-1.007, 0.006).lineTo(-0.736, -0.693).lineTo(-0.004, -1.013).lineTo(0.698, -0.683).close().moveTo(-...
15
96
0.617244
train_f753be56a2052ada
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.037, 0.189, 0.173), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.688, -0.017).lineTo(0.607, -0.017).lineTo(0.607, 0.34).lineTo(0.688, 0.34).lineTo(0.688, -0.26).lineTo(0.607, -0.269).lineTo(0.607, -0.187).lineTo(-0.688, -0.34).lineTo(-0.688, -0....
9
18
0.601688
train_7a1515819321200f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.159, -0.813, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.407, -0.565).lineTo(0.407, 1.159).lineTo(0.378, 1.159).lineTo(0.378, -0.536).lineTo(-0.378, -0.536).lineTo(-0.378, 1.159).lineTo(-0.407, 1.159).lineTo(-0.407, -0.565).lineTo(0.407, -0...
2
13
0.227835
train_408fd28e3b84e7c0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 0, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.194).workplane(offset=0.727).circle(0.246).workplane(offset=0.701).circle(0.251).workplane(offset=0.571).circle(0.18).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0.447, -0.197, -0...
3
7
0.332412
train_8acf02cb55aa309b
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.87).workplane(offset=0.5).circle(0.799).workplane(offset=0.446).circle(0.795).workplane(offset=0.421).circle(0.85).workplane(offset=0.46).circle(1.101).loft() result = result.edges().chamfer(0...
3
7
3.02867
train_e8a9715a3254adbc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.241, 0.903, 0.017), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.039, -0.837).threePointArc((0.488, 0.175), (1.142, 1.072)).lineTo(-1.142, 1.117).lineTo(0.039, -0.837).close().extrude(1.806) result = result.edges().chamfer(0.241) result = result...
12
49
2.969138
train_fbf5ccca8340f161
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.254), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.36).extrude(0.507) result = result.cut(cq.Workplane(cq.Plane(origin=(0.366, -0.052, 0.188), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.257, 0.077).extrude(0.067)) result = result.cut(cq.Wo...
6
26
1.332379
train_90913a5af3c09014
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.154, -1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.816, 0.128).lineTo(-0.816, -0.069).lineTo(0.697, -0.069).lineTo(0.697, -0.304).threePointArc((0.757, -0.364), (0.816, -0.304)).lineTo(0.816, -0.069).lineTo(0.816, 0.128).lineTo(0.816, 0....
3
78
0.462892
train_1dc79bb4585e8529
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.766, -0.665), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.015, 0.101).lineTo(-0.044, 0.101).lineTo(-0.102, 0).lineTo(-0.044, -0.101).lineTo(0.015, -0.101).lineTo(0.102, -0.05).lineTo(0.102, 0.05).lineTo(0.015, 0.101).close().sweep(cq.Workplan...
4
19
0.083792
train_38e56fbfa9d74174
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.246, -0.603, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.585, 1.815).lineTo(-1, 1.815).lineTo(-1, 0.565).lineTo(1, 0.565).lineTo(1, 1.815).lineTo(-0.585, 1.815).close().revolve(angleDegrees=90, axisStart=(-0.585, 1.815), axisEnd=(-1, 1.815...
26
38
1.995134
train_4d00d790ac183d68
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, 0, 0.064), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.27, -0.264).lineTo(-0.27, -0.201).lineTo(-0.319, -0.201).lineTo(-0.319, 0.264).lineTo(0.319, 0.264).lineTo(0.319, -0.264).lineTo(-0.05, -0.264).lineTo(-0.05, -0.201).lineTo(-0.151, -0....
20
53
0.101055
train_2a6c52b721c35692
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.063, -0.196), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.643, 0.835).threePointArc((-0.246, 0.96), (0.164, 0.899)).lineTo(0.643, -0.4).threePointArc((0.387, -0.7), (0.029, -0.866)).lineTo(-0.643, 0.835).close().extrude(2) result = result....
16
147
2.217487
train_46117e9ff0efaed1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.005, -0.008, -0.458), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.364, 0.294).extrude(0.503) result = result.union(cq.Workplane(cq.Plane(origin=(-0.005, -0.008, 0.037), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.094, 0.113).lineTo(-0.094, 0.06...
15
88
0.08315
train_0b9f4dcea85a6bc1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.84, -1.109, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(1.068, 1.976).lineTo(1.068, 0.241).lineTo(-1.068, 0.241).lineTo(-1.068, 1.976).lineTo(1.068, 1.977).close().workplane(offset=0.551).moveTo(0.944, 1.875).lineTo(0.944, 0.342).lineTo(-0.94...
24
126
1.763257
train_02a7f550945f916d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.074), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.106, -0.885).lineTo(0.106, -0.885).lineTo(0.106, 0.885).lineTo(-0.022, 0.885).lineTo(-0.063, 0.035).lineTo(-0.064, 0.018).lineTo(-0.088, -0.483).lineTo(-0.106, -0.885).close().workplane(o...
2
11
0.054318
train_a93a7ea118095ddd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.976, -0.273, 0.304), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.024, 0.064).lineTo(0.024, -0.064).lineTo(-0.024, -0.064).lineTo(-0.024, 0.064).lineTo(0.024, 0.064).close().transformed(offset=(0.29, 0.082, 0.012), rotate=(0, 0, 60)).moveTo(0.02...
4
67
0.160917
train_02966a8eeac3f74e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.961, 0.244, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.037, 0.036).lineTo(-0.037, 0.039).lineTo(-0.054, 0.039).lineTo(-0.054, -0.003).lineTo(-0.051, -0.003).lineTo(-0.051, -0.036).lineTo(-0.054, -0.036).lineTo(-0.054, -0.039).lineTo(0.045...
1
18
0.01562
train_57d44940daec4d80
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.678, 0.324), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.651, 0.299).lineTo(0.469, 0.299).lineTo(0.469, 0.322).lineTo(-0.651, 0.322).lineTo(-0.651, 0.23).lineTo(0.651, -0.322).lineTo(0.651, 0.299).close().sweep(cq.Workplane('YZ').spline([(-...
1
8
0.171865
train_2e74b3a509d44145
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.207, 0, -0.061), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.585, 1.555).extrude(0.1) result = result.union(cq.Workplane(cq.Plane(origin=(-0.128, 0.078, 0.038), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.7).extrude(0.008)) result = result.union(...
19
178
0.222512
train_61d717e753ee664a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.725, -0.271, -0.169), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.275, 0.287).lineTo(-0.275, 0.52).lineTo(0.275, 0.52).lineTo(0.275, 0.021).lineTo(-0.275, 0.021).lineTo(-0.275, 0.287).close().extrude(0.446) result = result.edges().chamfer(0.19...
16
251
0.149985
train_4381df5ed7af5615
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.324, 0.029), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.241, 0.048).lineTo(0.241, 0.064).lineTo(-0.241, 0.064).lineTo(-0.241, -0.064).lineTo(0.241, -0.064).lineTo(0.241, 0.016).lineTo(0.016, 0.002).threePointArc((-0.097, 0.016), (-0.193, -...
7
55
0.023981
train_4b742c69fbf66826
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.51, 0.506, -0.136), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.109, 0.49).lineTo(0, 0.49).lineTo(0, 0).lineTo(0.079, -0.353).lineTo(0.109, -0.49).lineTo(0, -0.49).lineTo(0, -0.353).lineTo(-0.109, -0.353).lineTo(-0.109, 0.49).close().sweep(cq.W...
7
53
0.18895
train_442c8ac80713ebec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 0, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.128).workplane(offset=0.413).circle(0.062).workplane(offset=0.405).circle(0.079).workplane(offset=0.395).circle(0.136).workplane(offset=0.439).circle(0.14).workplane(offset=0.348).circle(0.107...
3
10
0.06875
train_17d293a624d3125a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.552, 0.643, 0.043), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.975, 0.939).lineTo(0, 0.046).lineTo(-0.975, 0.939).lineTo(0.975, 0.939).close().extrude(0.908) result = result.edges().fillet(0.095) result = result.faces('>Z').shell(-0.089) resul...
29
351
0.845348
train_497bf127b9bb86e1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.809, -0.021), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.686, 1.431).lineTo(-0.881, 0.526).lineTo(-0.195, -0.096).lineTo(0.686, 0.187).lineTo(0.881, 1.092).lineTo(0.195, 1.714).lineTo(-0.686, 1.431).close().extrude(2) result = result.edge...
20
113
1.328166
train_988678561bde3f6c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.129, -0.218, -0.624), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.742, 1.246).extrude(0.684) result = result.faces('>Z').shell(-0.035) result = result.union(cq.Workplane(cq.Plane(origin=(-0.858, -0.099, -0.293), normal=(0, 0, 1), xDir=(1, 0, 0)))....
6
128
0.500635
train_d136c1a6c454047b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.373, -0.644), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.462, -0.627).lineTo(-0.462, 0.911).threePointArc((0, 1.373), (0.462, 0.911)).lineTo(0.462, -0.627).lineTo(-0.462, -0.627).close().extrude(1.288) result = result.edges().fillet(0.083)...
18
156
1.127123
train_d389907ceee91468
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.423, -0.318, -0.071), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.099, -0.192).lineTo(0.071, -0.124).lineTo(-0.071, -0.124).lineTo(-0.099, -0.192).lineTo(-0.239, -0.052).lineTo(-0.239, 0.146).lineTo(-0.099, 0.286).lineTo(-0.071, 0.217).lineTo(0...
21
423
0.298339
train_f362faa2b5b25584
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.087, -0.482, -0.914), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.657, 0.852).threePointArc((0.657, 1.175), (-0.085, 0.043)).lineTo(-0.657, 0.852).close().extrude(1.827) result = result.edges().chamfer(0.162) result = result.cut(cq.Workplane(c...
15
49
1.649282
train_203729fb8825439a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.193, 0.418), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.058).lineTo(-0.302, 0.058).lineTo(-0.151, 0.319).lineTo(0, 0.58).lineTo(0.151, 0.319).lineTo(0.302, 0.058).lineTo(0, 0.058).close().extrude(0.582) result = result.edges().chamfer(0.0...
18
88
0.076937
train_cc1e731b45a1e029
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.004, 0, 0.574), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.416, -0.248).lineTo(-0.004, -0.248).lineTo(-0.004, -0.252).lineTo(0.416, -0.252).lineTo(0.416, -0.248).lineTo(0.407, -0.248).lineTo(0.407, 0.295).lineTo(0.425, 0.295).lineTo(0.425, -0...
2
37
0.140567
train_e628a13a4c223644
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.115, -0.33, -0.482), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.104, 0.444).lineTo(-0.311, 0.444).lineTo(-0.311, 0.237).lineTo(0.518, 0.237).lineTo(0.518, 0.029).lineTo(-0.518, 0.029).lineTo(-0.518, 0.858).lineTo(-0.311, 0.858).lineTo(-0.311,...
8
118
0.118059
train_ef8ea93f2bce1025
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.117, -0.063, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.161, -0.213).lineTo(0.162, -0.201).lineTo(0.162, 0.202).lineTo(-0.161, 0.209).close().moveTo(-0.058, -0.067).lineTo(-0.03, -0.068).lineTo(-0.03, -0.061).lineTo(-0.051, -0.06).lin...
8
171
0.090995
train_1d6bb08136a1e042
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.033, 0, -0.463), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.77).workplane(offset=0.063).circle(0.835).workplane(offset=0.072).circle(0.967).workplane(offset=0.062).circle(0.838).workplane(offset=0.063).circle(0.827).loft() result = result.edg...
15
93
0.439555
train_8d2f76abda2adeab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.039, -0.042, -0.368), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.366, 1.917).extrude(0.859) result = result.cut(cq.Workplane(cq.Plane(origin=(0.03, 0.516, 0.45), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.149, 0.119).extrude(0.041)) result = resu...
23
58
2.136223
train_f6ef6dfeede6fee7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.142, -0.35, 0.394), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.369, 0.65).lineTo(-0.434, 0.65).lineTo(-0.455, 0.588).lineTo(-0.682, -0.115).lineTo(-0.703, -0.177).lineTo(-0.65, -0.215).lineTo(-0.053, -0.65).lineTo(0, -0.611).lineTo(0.053, -0....
14
101
0.547177
train_955c9aa65b13c0e1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.466, -0.834, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.8, 0.833).lineTo(0.8, 0.233).threePointArc((0, -0.167), (-0.8, 0.233)).lineTo(-0.8, 0.833).lineTo(-0.8, 1.434).threePointArc((0, 1.834), (0.8, 1.434)).lineTo(0.8, 0.833).close().extru...
4
35
2.133085
train_f317aa5544e7b81b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.157, -0.787, 1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.495, 1.329).lineTo(0.495, 1.329).lineTo(0.495, -0.226).lineTo(0, 0.23).lineTo(-0.495, -0.226).lineTo(-0.495, 1.329).close().revolve(angleDegrees=90, axisStart=(-0.495, 1.329), axisEn...
11
77
1.331482
train_6947e3b16e728476
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.047), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.14, 0.871).threePointArc((-0.14, 0), (0.14, -0.871)).lineTo(0.14, 0.871).close().sweep(cq.Workplane('XY').spline([(-0.28, -0.128), (-0.187, -0.124), (-0.093, -0.098), (0, 0), (0.093, 0.098...
5
18
0.156461
train_097753a988477497
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.23, 0.621, -0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.914, 0.757).extrude(0.385) result = result.union(cq.Workplane(cq.Plane(origin=(0.617, 0.621, 0.272), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.154, 0.567).lineTo(0, 0.567).lineTo(0...
25
206
0.930524
train_41d9fd8fade1ce15
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.167, -1.049, 3.646), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-2.804, -4.143).lineTo(2.746, -4.085).lineTo(2.804, 4.143).lineTo(-2.685, 4.143).lineTo(-2.804, -4.143).close().sweep(cq.Workplane('XY').spline([(-3.138, -1.049), (-1.907, -0.271), (...
18
64
1.535437
train_e7c7989b73a1e19e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.017, 0.024, 0.358), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.572).workplane(offset=0.182).circle(0.68).workplane(offset=0.198).circle(0.729).workplane(offset=0.152).circle(0.462).workplane(offset=0.184).circle(0.648).loft() result = result....
14
104
0.59882
train_5900a77dcf21f380
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.76, 0, 0.185), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.111, 0.416).threePointArc((0.176, 0.386), (0.24, 0.354)).lineTo(-0.152, -0.416).threePointArc((-0.196, -0.394), (-0.24, -0.374)).lineTo(0.111, 0.416).close().sweep(cq.Workplane('XZ').s...
1
6
0.011942
train_96fd1e44212cd095
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.033), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-1, -0.049).lineTo(0.951, 0.049).threePointArc((1, 0), (0.951, -0.049)).lineTo(-1, -0.049).close().extrude(0.065) result = result.cut(cq.Workplane(cq.Plane(origin=(0.231, -0.006, -0.003), no...
3
10
0.0064
train_122435e8ebf77638
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.41, -0.034, -0.716), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.284, 0.36).lineTo(-0.284, -0.291).lineTo(0.284, -0.291).lineTo(0.284, 0.36).lineTo(-0.284, 0.36).close().extrude(0.819) result = result.edges().chamfer(0.171) result = result.uni...
4
32
0.219836
train_0931de915703143b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.017).extrude(0.088) result = result.union(cq.Workplane(cq.Plane(origin=(-0.606, 0.354, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.296, -0.218).lineTo(0.296, 0.669).lineTo(-0.098, 0.6...
3
76
0.215005
train_91ce712557830a04
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.727), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.558, 2).extrude(1.455) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.341, 0.14, -0.278), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.406, 2.4).extrude(0.346)) result = result.cut(cq.Wor...
7
80
3.580705
train_5b63496e90a93e35
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, -0.295, -0.494), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.63, 0.63).extrude(1.129) result = result.faces('<X').shell(-0.062) result = result.union(cq.Workplane(cq.Plane(origin=(0.031, -0.236, -0.635), normal=(0, 0, 1), xDir=(1, 0, 0))).ci...
7
44
0.34202
train_f3152f6615fc511e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.416, 0.319, 0.83), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.16).workplane(offset=0.184).circle(0.156).workplane(offset=0.223).circle(0.171).workplane(offset=0.231).circle(0.129).loft() result = result.edges().chamfer(0.072) result = result....
3
15
0.050503
train_a5d1f88d5f0c19dc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.706, 0.889, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.17, 0.294).lineTo(-0.17, 0.294).lineTo(-0.304, 0.062).lineTo(-0.339, 0).lineTo(-0.17, -0.294).lineTo(0.17, -0.294).lineTo(0.339, 0).lineTo(0.17, 0.294).close().sweep(cq.Workplane('XY')....
6
12
0.012279
train_c562cf9014acf7cf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 0.986).extrude(0.561) result = result.union(cq.Workplane(cq.Plane(origin=(-0.8 + 0.2, -0.394 + 0.079, -0.356), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.061).extrude(0.151)) result = resu...
24
60
0.880514
train_0d8970dbc26f5eab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.144, -0.245, 0.005), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.069, 0.755).lineTo(0.123, 0.755).lineTo(0.123, -0.105).lineTo(0.261, -0.726).lineTo(-0.261, -0.726).lineTo(-0.261, 0.755).lineTo(-0.069, 0.755).close().extrude(0.397) result = re...
13
84
0.266119
train_c5887be994a178e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.645, -0.017, -0.604), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.396, 0.164).lineTo(-0.079, -0.257).lineTo(-0.079, -0.13).lineTo(0.238, -0.13).lineTo(0.238, -0.257).lineTo(0.396, -0.046).lineTo(0.3, -0.046).lineTo(0.396, 0.08).lineTo(-0.238, ...
11
83
0.392625
train_2a63ee750d950c9a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.014, -0.581, 0.224), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.352, 0.206).lineTo(-0.349, 0.202).lineTo(0.118, 0.202).lineTo(0.352, 0.37).lineTo(0.349, 0.375).lineTo(0.115, 0.206).lineTo(-0.352, 0.206).close().revolve(angleDegrees=360, axisS...
4
70
0.230283
train_fd08bc233d066882
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.283, 0.095, -0.103), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.434, 0.942).extrude(0.094) result = result.union(cq.Workplane(cq.Plane(origin=(-0.431, 0.225, -0.01), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.814, 0.27).extrude(0.032)) result = r...
19
194
0.170418
train_c61fdca38e3eeb2a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.285, 0, 0.231), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.332).workplane(offset=0.084).circle(0.304).workplane(offset=0.09).circle(0.277).workplane(offset=0.102).circle(0.249).workplane(offset=0.103).circle(0.222).workplane(offset=0.093).circ...
7
45
0.267095
train_bdd15aec94f223b7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1.035, -0.11), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.52, 1.19).lineTo(0.442, 0.875).lineTo(0.52, 0.369).lineTo(-0.52, -0.034).lineTo(-0.52, 1.19).close().revolve(angleDegrees=360, axisStart=(-0.52, 1.19), axisEnd=(0.442, 0.875)) result...
11
38
2.079209
train_57ecee76bf39edb7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.586, 0.024, -0.081), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.827, 0.988).extrude(0.646) result = result.faces('>Z').shell(-0.028) result = result.union(cq.Workplane(cq.Plane(origin=(0.697, 0.25, -0.254), normal=(0, 0, 1), xDir=(1, 0, 0))).circ...
9
154
0.284218
train_e4e2c4e9563c77df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.482, -0.519, -0.237), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.518, 0.091).threePointArc((-0.063, -0.248), (-0.518, 0.248)).lineTo(0.518, 0.248).lineTo(0.518, 0.091).close().transformed(offset=(0.275, 0.279, 0.013), rotate=(0, 0, 0)).moveTo(...
1
5
0.071821
train_a42c7b0fddf6a1bd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.053, 0, 0.228), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.267, 0.27).lineTo(-0.071, 0.27).lineTo(-0.071, 0.338).threePointArc((0.267, 0), (-0.071, -0.338)).lineTo(-0.071, -0.27).lineTo(-0.267, -0.27).lineTo(-0.267, 0.27).close().sweep(cq.Work...
5
36
0.305013
train_79507c17ac406db9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.157, -1, -0.062), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.033, 0.058).lineTo(-0.039, 0.061).lineTo(0.043, 0.062).lineTo(0.114, 0.099).lineTo(-0.114, 0.099).lineTo(0.001, -0.099).lineTo(0.001, -0.006).lineTo(0.036, 0.058).lineTo(-0.033, 0....
8
49
0.173578
train_7564d82629d27b0a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.181, 0.13, -0.888), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.155, 0.201).lineTo(0, 0.021).lineTo(0.155, 0.201).lineTo(-0.155, 0.201).close().extrude(0.428) result = result.edges().fillet(0.036) result = result.union(cq.Workplane(cq.Plane(or...
10
139
0.020529
train_14dd75557bf56ecb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.094, -0.145, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.294, -0.148).lineTo(0.294, 0.439).lineTo(-0.029, 0.439).lineTo(-0.029, 0.175).lineTo(-0.294, 0.175).lineTo(-0.294, -0.148).lineTo(0.294, -0.148).close().extrude(0.809) result = resul...
12
92
0.284016
train_e2ce9b8712ce6371
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.928, -0.062, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.43).sweep(cq.Workplane('XY').spline([(-0.351, -0.062), (-0.603, -0.04), (-0.859, -0.06), (-0.969, -0.11)])) result = result.edges().chamfer(0.194) result = result.union(cq.Workplane(...
10
41
0.469705
train_0dc5be23dccc5f8b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.042), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.95, 2).extrude(0.1) result = result.union(cq.Workplane(cq.Plane(origin=(-0.78 + 0.195, 0, 0.058), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.076, -0.078).lineTo(-0.076, 0.078).lineTo(-0.04...
14
224
0.369614
train_86e39f1394b1d2c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.523, -0.243, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.514, 0.159).lineTo(-0.342, -0.068).lineTo(-0.171, -0.296).lineTo(-0.171, -0.159).lineTo(-0.239, -0.068).lineTo(-0.342, 0.068).lineTo(0.342, 0.068).lineTo(0.342, -0.068).lineTo(0.514,...
1
15
0.235682
train_72ecf7ae5422a444
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.186, -0.848), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.708, 1.629).extrude(1.696) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.12, -0.572, -0.404), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2.05, 0.505).extrude(0.559)) result = result...
23
155
1.989558
train_da70b0cb3692f9f8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.18, 0.806, -0.001), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.839).workplane(offset=0.381).circle(0.816).workplane(offset=0.344).circle(0.842).workplane(offset=0.447).circle(0.807).workplane(offset=0.44).circle(0.841).loft() result = result....
13
36
2.435334
train_e4635082e4bb2c3d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.288), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 0.33).extrude(0.423) result = result.cut(cq.Workplane(cq.Plane(origin=(0.206, 0.025, 0.072), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.107).extrude(0.064)) result = result.cut(cq.Workplan...
10
26
0.252936
train_d7ce68fa241dfaaa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.097, -0.028, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.102, 0.12).threePointArc((-0.085, 0.122), (-0.068, 0.12)).lineTo(0.102, 1.028).lineTo(0.102, -0.972).lineTo(-0.068, -0.064).lineTo(-0.085, 0.028).lineTo(-0.102, 0.12).close().extrude...
3
17
0.030703
train_804d9fe2651b4170
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.364, 0.716, 0.237), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.177).workplane(offset=0.239).circle(0.264).workplane(offset=0.245).circle(0.159).workplane(offset=0.246).circle(0.247).workplane(offset=0.341).circle(0.166).loft() result = result....
10
43
0.494681
train_7b6e2641c9f21d5b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, -0.125, -0.232), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.327, -0.145).lineTo(-0.327, -0.145).lineTo(-0.327, 0.189).lineTo(0.151, 0.189).lineTo(0.151, -0.145).lineTo(0.327, -0.145).close().extrude(0.763) result = result.union(cq.Workplane(c...
19
220
0.279937
train_1a982a2e8f909ff4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.703, 0.899, 0.419), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.927, -0.529).lineTo(0.927, 0.529).lineTo(-0.927, 0.529).lineTo(-0.901, -0.529).lineTo(0.927, -0.529).close().sweep(cq.Workplane('YZ').spline([(0.212, -0.189), (0.533, 0.015), (0.85...
7
15
0.346542
train_da59361dd518134d
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.507, 1.249).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(0.016, 0.508, -0.292), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.123).extrude(0.739)) result = result.cut(cq.Workplane(...
5
22
3.316359
train_b31cb0fce713da87
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.505, 0, 0.655), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.104).sweep(cq.Workplane('XZ').spline([(-0.279, 0.106), (-0.024, 0.014), (0.253, 0.087), (0.335, 0.378), (0.174, 0.624), (-0.151, 0.591), (-0.28, 0.414)])) result = result.union(cq.Wor...
3
7
0.063
train_4fe746eb3e878b83
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.102), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.712, 0).lineTo(0.618, 0).lineTo(0.618, -0.094).lineTo(-0.806, -0.094).lineTo(-0.806, 0.094).lineTo(0.806, 0.094).lineTo(0.806, 0).lineTo(0.712, 0).close().workplane(offset=0.03).moveTo(0.7...
3
37
0.052958
train_e899ba074cdbb5d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.065, 0.067, 0.488), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.47, 0.941).threePointArc((-0.007, 0.818), (0.337, 0.483)).threePointArc((0.47, 0), (0.337, -0.483)).threePointArc((-0.007, -0.818), (-0.47, -0.941)).lineTo(-0.47, 0.941).close().e...
6
40
1.334454