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_55048d7f6ca7f99e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.076, -0.585, -0.199), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.519, 0.908).threePointArc((0, 1.076), (-0.519, 0.908)).lineTo(-0.208, 0.908).threePointArc((-0.367, 0.866), (-0.519, 0.8)).lineTo(-0.519, -0.924).lineTo(-0.43, -0.924).lineTo(-0....
16
92
1.667866
train_f4f0d9454ffa31ca
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(1.344, 2).extrude(0.395) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.257), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.872, 1.259).extrude(0.513)) result = result.edges().fillet(0...
9
56
0.616726
train_c7135f161e19777f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.351, -0.066, 1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.212, -0.368).threePointArc((0.368, 0.368), (-0.368, 0.212)).lineTo(0.212, -0.368).close().sweep(cq.Workplane('XZ').spline([(0.351, 0.058), (0.621, 0.193), (0.891, 0.193), (1.161, 0.058...
3
5
0.19525
train_ae44633f20e46762
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.336, -0.105, 0.524), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0).lineTo(0, -0.268).lineTo(-0.268, -0.268).lineTo(-0.268, 0.268).lineTo(0.268, 0.268).lineTo(0.268, 0).lineTo(0, 0).close().sweep(cq.Workplane('XZ').moveTo(0.221, 0.151).spline([...
8
43
0.516935
train_53f36a00c1ac4c60
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.543, -0.185, -0.196), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.635, 0.957).extrude(0.53) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.543, -0.479, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.044, 0.389).extrude(0.348)) result = ...
27
145
0.410036
train_b1ca9d3a46992a7c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.497), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.549).extrude(0.918) result = result.cut(cq.Workplane(cq.Plane(origin=(0.14, 0.019, -0.275), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.04).extrude(0.039)) result = result.cut(cq.Workplan...
12
39
2.767163
train_41f371129d64a6e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.134, -0.219, -0.449), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.732, 1.319).extrude(0.898) result = result.union(cq.Workplane(cq.Plane(origin=(0.853, -0.127, 0.044), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.294, 0.52).extrude(0.138)) result = ...
5
68
2.017655
train_ad685d6b3f631e27
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.278, 0.686, 0.216), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.069, 0.046).threePointArc((-0.023, 0), (-0.069, -0.046)).lineTo(-0.069, -0.138).threePointArc((0.069, 0), (-0.069, 0.138)).lineTo(-0.069, 0.046).close().transformed(offset=(-0.116...
4
25
0.458646
train_d84c08d1124ddd75
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.089, -0.427, -0.436), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.03, -0.275).lineTo(-0.03, 0.573).lineTo(-0.077, 0.573).lineTo(-0.077, -0.573).lineTo(0.077, -0.573).lineTo(0.077, -0.382).lineTo(-0.03, -0.275).close().extrude(0.033) result = r...
16
130
0.102794
train_de095c4f467427dc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.031, -0.013, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.938, 0.203).extrude(0.243) result = result.union(cq.Workplane(cq.Plane(origin=(0.253, -0.026, 0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.047).extrude(0.252)) result = resu...
6
47
0.187148
train_68fb062efc01b061
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.906), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.737, 2).extrude(1.811) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.169, -0.44, 0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.052, 1.18).extrude(0.55)) result = result.cut(cq.Work...
20
444
3.597321
train_51d3c76823fc4f62
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.318), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.369).extrude(0.572) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.548 + 0.1825, 0.1335, -1.618), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.035).extrude(2.6)) result = result.cut(...
30
11
1.568338
train_17f4677f7e3fb857
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.012, 0.203, -0.192), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.137, 0.167).threePointArc((0.069, 0.173), (0.003, 0.191)).threePointArc((-0.074, 0.184), (-0.115, 0.118)).lineTo(-0.137, -0.087).threePointArc((-0.115, -0.155), (-0.05, -0.184)).l...
4
82
0.133478
train_62a02eab78602177
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.321, -0.019), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.156, -0.023).lineTo(-0.097, -0.023).threePointArc((0.07, -0.064), (0.038, 0.105)).lineTo(0.156, 0.105).lineTo(0.156, -0.1).lineTo(-0.156, -0.105).lineTo(-0.156, -0.023).close().swee...
2
14
0.050265
train_93ea9704592f7994
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.346), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.219).extrude(0.692) result = result.cut(cq.Workplane(cq.Plane(origin=(0 + 0.195 * math.cos(3.304 + 2 * math.pi * 0 / 8), 0.346 + 0.195 * math.sin(3.304 + 2 * math.pi * 0 / 8), -1.646), no...
10
11
1.668143
train_7c7bc941f0607056
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.607, -0.013, 0.127), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.258, 0.562).lineTo(0.258, 0.044).lineTo(0.776, -0.473).lineTo(-0.258, -0.473).lineTo(-0.384, -0.348).lineTo(-0.776, 0.044).lineTo(-0.258, 0.562).close().extrude(1.324) result = r...
18
204
0.838562
train_271e9f03ff132b91
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.216, 0.188, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.086, 0.747).lineTo(-0.065, 0.71).lineTo(-0.042, 0.673).lineTo(-0.065, 0.636).lineTo(-0.82, -0.673).lineTo(-0.841, -0.71).lineTo(-0.863, -0.747).lineTo(-0.884, -0.784).lineTo(0.884, -0...
4
28
0.808854
train_79f752a5281529f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.31), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.709, -0.721).lineTo(0.742, -0.721).lineTo(0.742, 1).lineTo(0.709, 1).lineTo(0.709, 0.553).lineTo(-0.709, 0.553).lineTo(-0.709, -0.721).lineTo(-0.815, -0.851).lineTo(0, -1).lineTo(0.815, -0....
4
22
1.140227
train_5bcecda6642793ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.56, 0.399, -0.227), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.865, -0.2).threePointArc((0.865, 0.064), (0.601, 1.795)).lineTo(0.504, 1.662).lineTo(-0.768, -0.067).lineTo(-0.865, -0.2).close().extrude(1.21) result = result.edges().fillet(0.39...
11
49
1.670957
train_76b483c42101167e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.524, 0.183, -0.051), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.953, 0.908).extrude(0.091) result = result.union(cq.Workplane(cq.Plane(origin=(-0.449, 0.419, 0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.058).extrude(0.011)) result = resul...
25
127
0.119503
train_b0202cf6d0803c8a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.719, 0.035, -0.277), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.293, 0.09).threePointArc((-0.383, 0), (-0.293, -0.09)).lineTo(-0.248, -0.09).lineTo(-0.248, -0.081).lineTo(-0.225, -0.081).lineTo(-0.225, -0.09).lineTo(-0.18, -0.09).lineTo(-0.1...
5
82
0.445199
train_481f2541c265ba4f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.745, 0.119, -0.537), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.361, 0.335).lineTo(0.361, 1.056).lineTo(-0.361, 1.056).lineTo(-0.361, 0.335).lineTo(0.361, 0.335).close().revolve(angleDegrees=360, axisStart=(0.361, 0.335), axisEnd=(0.361, 1.056...
10
59
0.532711
train_346411a085bb4670
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 1.127, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.11, 1.127).lineTo(0.11, 1.127).lineTo(0.11, 0.437).lineTo(0.317, 0.437).lineTo(0.317, 0.127).lineTo(-0.317, 0.127).lineTo(-0.317, 0.437).lineTo(-0.11, 0.437).lineTo(-0.11, 1.127).close().r...
4
29
0.875578
train_3576a63a4a602983
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.006, -0.165), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.3, 0.029).lineTo(0.3, 0.029).lineTo(0.3, 0.994).lineTo(-0.3, 0.994).lineTo(-0.3, 0.029).close().revolve(angleDegrees=360, axisStart=(0, 0), axisEnd=(0.25, 0)) result = result.edges(...
13
77
2.829862
train_04c45b6af35d6e5b
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.744, 1.249).extrude(0.708) result = result.union(cq.Workplane(cq.Plane(origin=(-0.104, 0.048, -0.3), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.154).extrude(0.232)) result = result.union(result...
11
99
1.315699
train_3be39223d040221d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.834, 0.313, -0.668), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.095, -0.078).lineTo(-0.095, -0.046).lineTo(-0.161, -0.046).lineTo(-0.161, 0.078).lineTo(0.161, 0.078).lineTo(0.161, -0.078).lineTo(-0.095, -0.078).close().transformed(offset=(0.1...
2
8
0.061159
train_7315ece1b16f38f5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.303, -0.484, 0.002), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-1.002, 0.052).lineTo(-1.002, 0.626).lineTo(0.43, 0.626).threePointArc((0.834, 0.457), (1.002, 0.052)).lineTo(0.644, 0.052).lineTo(0.215, 0.052).lineTo(-1.002, 0.052).close().extrud...
9
122
0.407693
train_141c235823da699c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.014, -0.357, -0.074), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.452, 0.182).lineTo(0.369, 0.403).lineTo(0.164, 0.869).lineTo(-0.312, 0.911).lineTo(-0.481, -0.643).lineTo(0.305, -0.374).close().moveTo(-0.142, 0.608).lineTo(0.144, 0.606).lineTo(...
17
847
0.060741
train_dbb6dd4f5495eb50
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.353, -0.057, -0.16), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.502, 1.062).threePointArc((-0.502, 0.057), (0.502, -0.948)).lineTo(0.502, -0.446).threePointArc((0, 0.057), (0.502, 0.559)).lineTo(0.502, 1.062).close().extrude(0.707) result = re...
16
308
0.974419
train_cf5574ec77be7408
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.069, 0, -0.623), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.862, 0.434).extrude(0.534) result = result.union(cq.Workplane(cq.Plane(origin=(0.379, -0.054, -0.193), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.047).extrude(1.082)) result = result.u...
6
23
0.515423
train_07b1c07f96346dd3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.542), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.683).extrude(1.085) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.115, 0.325, -0.727), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.216).extrude(1.301)) result = result.cut(cq.Workp...
4
15
3.274089
train_dab4e261d286457d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.817, -0.422, -0.464), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.217, 0.639).lineTo(-0.217, 0.639).lineTo(-0.217, 0.378).lineTo(0.217, -0.23).lineTo(0.217, 0.639).close().extrude(0.548) result = result.edges().chamfer(0.058) result = result.un...
9
80
0.610686
train_c88e9ca0d0e6526b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.532, 0.27, -0.242), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.044, 0.49).threePointArc((0, -0.492), (0.044, 0.49)).threePointArc((0, 0.492), (-0.044, 0.49)).close().transformed(offset=(0.187, 0.153, 0.047), rotate=(0, 30, 0)).moveTo(-0.027,...
4
24
0.20945
train_ca5ee38ec1e6e943
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.141, 0.299, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.107, 1.402).extrude(0.295) result = result.union(cq.Workplane(cq.Plane(origin=(-0.045, 0.465, 0.161), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.63, 0.226).extrude(0.14)) result = re...
28
132
0.452946
train_5f043ee4d092838f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.567, -0.535), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 1.067).lineTo(1, 0.067).lineTo(-1, 0.067).lineTo(-1, 1.067).lineTo(0.2, 1.067).lineTo(0.2, 0.944).threePointArc((0.267, 0.927), (0.332, 0.904)).lineTo(0.288, 0.792).threePointArc((0....
11
177
2.407578
train_e666e138998eeb86
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.079, 0.299, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.245, -0.731).lineTo(0.245, 1.083).lineTo(-0.245, 0.942).lineTo(-0.245, -0.731).lineTo(0.245, -0.731).close().extrude(0.634) result = result.union(cq.Workplane(cq.Plane(origin=(0.902, -...
4
76
0.541028
train_0c5a3a464310dd5c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.607, -0.189, -0.451), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.024, 0.509).lineTo(0.408, 0.037).lineTo(0.549, -0.134).lineTo(0.456, -0.08).lineTo(-0.108, 0.253).lineTo(-0.549, 0.512).lineTo(-0.321, 0.511).lineTo(0.024, 0.509).close().workpla...
4
49
0.151988
train_4bea849309eb629d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.139, 0, -0.087), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.008, -1).lineTo(-0.008, 1).lineTo(0.008, 1).lineTo(0.008, -1).lineTo(-0.008, -1).close().extrude(0.044) result = result.edges().fillet(0.002) result = result.union(cq.Workplane(cq.Pl...
8
181
0.384857
train_f97a6ce02ae4c7d1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.253, 0.541).lineTo(0.253, 0.082).lineTo(-0.253, 0.082).lineTo(-0.253, 1).lineTo(0.253, 1).lineTo(0.253, 0.541).close().revolve(angleDegrees=360, axisStart=(0, 0), axisEnd=(0.242, 0)) result = r...
11
481
0.926646
train_a22d79434bc311b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.533).extrude(0.11) result = result.union(cq.Workplane(cq.Plane(origin=(-0.331, 0, 0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.135, 0.772).extrude(0.202)) result = result.union(cq.Wor...
4
28
0.01138
train_93f34d92962cb596
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.335, -0.144, -0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.601, -0.572).lineTo(0.613, -0.573).lineTo(0.621, 0.593).lineTo(-0.609, 0.581).close().moveTo(-0.072, -0.001).lineTo(-0.108, 0.086).lineTo(-0.196, 0.123).lineTo(-0.281, 0.089).lin...
12
137
0.454973
train_91fbf536fbe3d8b9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.381, 0.013), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.675).workplane(offset=0.251).circle(0.496).workplane(offset=0.261).circle(0.779).workplane(offset=0.251).circle(0.377).loft() result = result.edges().fillet(0.248) result = result.unio...
17
241
0.80184
train_58e24ff972ec42c6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.978, -0.51, 0.52), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.48, 1.601).lineTo(0.48, 0.065).lineTo(-0.451, 0.065).lineTo(-0.451, 1.56).threePointArc((-0.48, 1.63), (-0.41, 1.601)).lineTo(0.439, 1.601).lineTo(0.48, 1.601).close().extrude(0.907...
10
51
1.534851
train_5badaceac849b29c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.139, -0.034, -0.456), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.722, 1.119).extrude(0.796) result = result.union(cq.Workplane(cq.Plane(origin=(0.225, 0.022, 0.339), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.504).extrude(0.062)) result = result...
22
69
1.226158
train_4b3db03ceb8459a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.043, 0.232, -0.442), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.095, 0.055).lineTo(0.151, 0.034).lineTo(0.151, 0.007).lineTo(0.146, -0.055).lineTo(-0.1, -0.034).lineTo(-0.136, -0.03).lineTo(-0.151, 0.002).lineTo(-0.144, 0.013).lineTo(-0.136, -...
33
216
0.68295
train_1da4722c319d11a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.088, 0.707, 0.584), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.143, -0.236).threePointArc((-0.205, 0.174), (0.205, 0.236)).lineTo(0.182, 0.205).threePointArc((-0.173, 0.151), (-0.119, -0.205)).lineTo(-0.143, -0.236).close().sweep(cq.Workplane(...
4
26
0.230494
train_9d38754419865bcb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 1, -0.017), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 1.262).lineTo(0, 0.511).threePointArc((0.531, 0.731), (0.751, 1.262)).threePointArc((0.694, 1.55), (0.531, 1.793)).threePointArc((0.288, 1.956), (0, 2.013)).threePointArc((-0.531, 1.793)...
6
50
2.397065
train_21d846f37a78f2a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.123, 0, -0.34), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.754, 0.838).extrude(0.681) result = result.union(cq.Workplane(cq.Plane(origin=(0.865, 0.086, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.271, 0.499).extrude(0.365)) result = resul...
4
75
0.95244
train_8849d966fec6c9c3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.105, 0.043, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(1.014, 0.07).lineTo(-1.014, 0.07).lineTo(-0.958, 0.013).lineTo(0.958, 0.013).lineTo(1.014, 0.07).close().revolve(angleDegrees=180, axisStart=(0, 0), axisEnd=(0.028, 0)) result = result.e...
5
66
0.037481
train_3cdcb25528e98f42
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.422, 0.248, -0.02), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.092, 0.81).lineTo(0.092, -0.665).lineTo(-0.031, -0.665).lineTo(-0.092, -0.604).lineTo(0.092, 0.81).close().extrude(0.325) result = result.edges().fillet(0.022) result = result.cut(...
9
144
0.238901
train_9fdf7f5982752046
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.14).workplane(offset=0.755).circle(0.133).workplane(offset=0.676).circle(0.138).workplane(offset=0.568).circle(0.142).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0 + 0.057 * math....
12
40
0.096038
train_05c8e9ed9adbdfcd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.474, 0.29, -0.488), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.216).workplane(offset=0.169).circle(0.248).workplane(offset=0.119).circle(0.24).workplane(offset=0.145).circle(0.222).workplane(offset=0.167).circle(0.238).loft() result = result.e...
20
85
0.503462
train_afb6c79ee82b2fcc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.029, 0, -0.104), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.268, 0.193).lineTo(0.268, 0.193).lineTo(0.089, -0.193).lineTo(-0.089, -0.193).lineTo(-0.268, 0.193).close().sweep(cq.Workplane('XZ').spline([(-0.929, -0.379), (-0.283, -0.379), (0.14,...
11
50
0.203423
train_5cece5e233ac388d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.195, 0.004, -0.077), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.134, 0.748).lineTo(0.137, 0.727).lineTo(0.134, 0.131).lineTo(0.78, 0.159).lineTo(0.805, -0.165).lineTo(0.143, -0.166).lineTo(0.153, -0.757).lineTo(-0.135, -0.722).lineTo(-0.152, -...
9
77
0.107016
train_4f49e8c7d63179f2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.449, 0.537, 0.097), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.732, 0.485).lineTo(-0.73, 0.798).lineTo(-0.103, 0.798).lineTo(-0.103, 0.485).lineTo(0.734, 0.485).lineTo(0.734, 0.171).lineTo(-0.734, 0.171).lineTo(-0.732, 0.485).close().workplan...
11
71
0.735015
train_1d338e335424ebc6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.302), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.438, 2).extrude(0.604) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.278, 0.835, -0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.154, 0.348).extrude(0.034)) result = result.cut(cq....
7
45
1.548191
train_79f0ff996cd3df7f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.062, 0, -0.695), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.69, 2).extrude(1.391) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.738 + 0.2, 0.3245, -1.794), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.022, 0.022).lineTo(0.078, -0.034).lineT...
24
9
4.703368
train_bc0b57d55b15f99f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.055, 0, -0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.889, 1.399).extrude(0.631) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.7 + 0.378, 0.189, -1.247), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(-0.025, -0.069).lineTo(-0.061, -0.069...
23
16
1.668756
train_8f38a8eb3b363cde
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1.03, -0.957), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.159, 2.03).lineTo(-0.159, 1.929).threePointArc((-0.956, 0.986), (-0.159, 0.043)).threePointArc((0, 0.03), (0.159, 0.043)).threePointArc((0.956, 0.986), (0.159, 1.929)).lineTo(0.159, 2...
13
106
3.721846
train_39d3d5c388fcd7a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 0.001, -0.001), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.547).workplane(offset=0.907).circle(0.838).workplane(offset=1.093).circle(0.757).loft() result = result.edges().fillet(0.352) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.6...
7
21
3.694705
train_f53a84311e1d709f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.031, 1, 0.069), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.171).workplane(offset=0.377).circle(0.165).workplane(offset=0.356).circle(0.179).workplane(offset=0.353).circle(0.169).workplane(offset=0.434).circle(0.171).workplane(offset=0.48).circ...
4
14
0.148432
train_b0b918940b658b3c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.509, 0.013, -0.679), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.7, 0.481).extrude(0.436) result = result.union(cq.Workplane(cq.Plane(origin=(-0.484, 0.018, -0.735), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.609, 0.395).extrude(0.057)) result = r...
9
65
0.50526
train_51e491049b51240c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.122, -0.044, -0.031), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.085, 0.091).lineTo(0.084, 0.088).lineTo(0.086, 0.058).lineTo(0.018, 0.058).lineTo(0.018, -0.088).lineTo(-0.017, -0.092).lineTo(-0.016, 0.059).lineTo(-0.084, 0.057).close().moveT...
8
136
0.003864
train_42996e455bb0f2d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.593, -0.153), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.513, 0.619).lineTo(0.513, 1.132).lineTo(-0.59, 1.132).lineTo(-0.59, 0.106).lineTo(-0.039, 0.106).lineTo(-0.039, 0.053).lineTo(0.59, 0.053).lineTo(0.59, 0.619).lineTo(0.513, 0.619).cl...
4
21
2.36956
train_d81a499dc5c4d532
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.222, -0.106, -0.822), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.555, 0.725).extrude(1.268) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.222, 0.155, -0.261), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.849, 0.213).extrude(0.145)) result = ...
13
142
1.202866
train_5082bf8cc9d88bf2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.182, 0.359, -0.234), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.045, 1.282).extrude(0.355) result = result.union(cq.Workplane(cq.Plane(origin=(-0.13, 0.423, 0.118), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.47).extrude(0.047)) result = result....
7
61
0.488741
train_d6645c824397039d
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(0.843, 2).extrude(0.681) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.8 + 0.2, -0.442), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.12, -0.04).lineTo(0.12, 0.04).lineTo(-0.12, 0.04)...
5
70
1.104669
train_492f843a88d7a8d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.936, 0, 0.388), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.328, -0.328).lineTo(0.328, 0.328).lineTo(0.184, 0.184).lineTo(0.259, -0.168).lineTo(0.184, -0.184).lineTo(-0.168, -0.259).lineTo(0.168, 0.259).lineTo(-0.184, 0.184).lineTo(-0.328, 0.328...
5
58
0.344124
train_afed710a40092b86
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.583), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.854, 2).extrude(0.945) result = result.cut(cq.Workplane(cq.Plane(origin=(0.332, -0.155, -0.488), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.101).extrude(0.42)) result = result.cut(cq.Workpl...
24
149
1.201306
train_10cb31d2106abe03
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.793, -0.43, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.446, 0.685).threePointArc((-0.717, 0.43), (-0.446, 0.175)).lineTo(0.532, 0.234).threePointArc((0.717, 0.43), (0.532, 0.626)).lineTo(-0.446, 0.685).close().workplane(offset=0.289).move...
11
40
1.117695
train_17a074a13f2c5e37
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.22, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.441, 1.561).extrude(0.318) result = result.faces('>Z').shell(-0.022) result = result.union(cq.Workplane(cq.Plane(origin=(0.277, 0.772, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0....
3
16
0.098424
train_c2b2f8980c81382d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.906, -0.32, -0.016), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.094, 0.094).lineTo(0.094, -0.094).lineTo(-0.094, -0.094).lineTo(0.094, 0.094).close().sweep(cq.Workplane('YZ').spline([(-0.32, -0.016), (-0.19, -0.04), (-0.06, -0.051), (0.07, -0...
6
52
0.018603
train_164b79550676de7d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.024, -0.013, 0.289), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.321, 0.161).threePointArc((0.291, 0.352), (0.1, 0.321)).lineTo(0.208, 0.243).threePointArc((0.145, 0.265), (0.079, 0.277)).threePointArc((-0.116, 0.239), (-0.263, 0.107)).threePoi...
8
41
0.36055
train_aa499d87f90a39a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.722, 0.549, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.986, 1.135).lineTo(1, 1.11).lineTo(0.907, 1.056).lineTo(0.709, 0.942).lineTo(0.652, 0.909).lineTo(-0.986, -0.037).threePointArc((-0.993, -0.023), (-1, -0.011)).lineTo(0.693, 0.966).lin...
2
10
0.096464
train_3918d3c31bb2e798
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.797, 0.823).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.025, 0.143, -0.8), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.235).extrude(1.223)) result = result.cut(cq.Workplane(c...
7
58
0.913154
train_bd68e0d2be509d58
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.205, 0.079, -0.479), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.253, 0.395).lineTo(-0.304, 0.395).lineTo(-0.304, -0.111).lineTo(-0.253, -0.061).lineTo(-0.253, -0.111).lineTo(0.253, -0.111).lineTo(0.253, -0.061).lineTo(0.304, -0.111).lineTo(0....
25
136
0.902906
train_b1b9eb200da90548
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.062, 0.992, -0.127), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.76, 0.713).threePointArc((0, 1.063), (0.76, 0.713)).lineTo(0.76, -0.588).threePointArc((0, -0.938), (-0.76, -0.588)).lineTo(-0.76, 0.713).close().extrude(1.984) result = result.u...
8
20
4.779116
train_7345e4c5e4f313bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.11, 0, -0.299), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.095, 1.36).extrude(1.079) result = result.union(cq.Workplane(cq.Plane(origin=(0.368, 0.809, 0.398), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.095, 0.273).extrude(0.117)) result = result.u...
12
62
1.461799
train_f1a1f3b63ef93589
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.808, 0.855, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 0.808).lineTo(-1, 0.808).threePointArc((0, -0.192), (1, 0.808)).threePointArc((0.707, 1.515), (0, 1.808)).lineTo(0, 0.808).close().extrude(1.71) result = result.cut(cq.Workplane(cq.Pl...
17
62
2.522648
train_c2a94b8b5604b962
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.088, 0.441, 0.318), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.11, -0.063).threePointArc((-0.021, 0.002), (0.07, 0.063)).threePointArc((0.1, 0.003), (0.11, -0.063)).lineTo(-0.11, -0.063).close().sweep(cq.Workplane('YZ').spline([(0.441, 0.142),...
5
26
0.152824
train_f22028ee617706f3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.008, -0.179, 0.411), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.419, -0.726).lineTo(-0.419, 1.179).lineTo(0.419, 1.179).lineTo(0.419, -0.821).lineTo(-0.419, -0.821).lineTo(-0.419, -0.726).close().revolve(angleDegrees=90, axisStart=(-0.419, -0....
9
82
0.922013
train_ed199f17a4391df7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.353, -0.198, -0.322), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.647, 0.559).lineTo(0.647, -0.306).lineTo(-0.647, -0.306).lineTo(-0.647, 0.559).lineTo(0.647, 0.559).close().extrude(0.645) result = result.edges().fillet(0.031) result = result.u...
13
74
0.601458
train_8212bfd6f42ee95c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.075, 0.033, -0.59), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.678, 1.524).extrude(1.248) result = result.union(cq.Workplane(cq.Plane(origin=(0.4, -0.761, -0.363), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.081, 0.069).extrude(0.068)) result = re...
7
105
3.193416
train_081e957dd80b8ca7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.581, -0.473, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.238, -0.004).lineTo(-0.715, -0.004).lineTo(-0.715, 0.473).lineTo(-0.238, 0.473).lineTo(-0.238, 0.95).lineTo(0.238, 0.95).lineTo(0.238, 0.473).lineTo(0.715, 0.473).lineTo(0.715, -0.00...
4
31
0.73135
train_3475258041a4d3cf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.686), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.786).extrude(1.372) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.257, 0.316, 0.39), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.087, 0.796).extrude(0.304)) result = result.edges().f...
3
51
4.625041
train_2623a1cbee5bb616
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.065, 0, -0.536), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.295, 1.205).extrude(1.072) result = result.union(cq.Workplane(cq.Plane(origin=(-0.796, 0.136, 0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.23).extrude(0.184)) result = result.edge...
12
102
1.04614
train_5711cdd8d53ccf9b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.157, 0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1, 0.159).lineTo(1, 0.159).lineTo(1, 0.493).lineTo(-1, 0.493).lineTo(-1, 0.159).close().revolve(angleDegrees=360, axisStart=(-1, 0.159), axisEnd=(-0.833, 0.159)) result = result.edges()....
6
26
0.686027
train_6e7a28618a08f34e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.064, -0.004, 0.161), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.134, -1.11).lineTo(-0.134, -0.459).lineTo(0.134, 1.11).lineTo(0.134, -1.11).close().extrude(0.322) result = result.edges().chamfer(0.114) result = result.cut(cq.Workplane(cq.Plane...
12
49
0.068526
train_08b3ea6a8de68ef7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.951, -0.045, -0.286), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.636, -0.955).lineTo(-0.636, 1.045).lineTo(0.636, 1.045).lineTo(0.636, -0.166).lineTo(-0.333, -0.166).lineTo(-0.333, -0.955).lineTo(-0.636, -0.955).close().extrude(1.371) result ...
21
95
1.393547
train_537f03987b0ad483
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.351, -0.704, 0.037), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.455, 0.672).lineTo(-0.455, -0.173).lineTo(0.455, -0.173).lineTo(0.455, 0.867).lineTo(-0.455, 0.672).close().extrude(1.133) result = result.union(cq.Workplane(cq.Plane(origin=(-0....
11
58
0.821183
train_424d173a639b591c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.973), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.373).extrude(1.434) result = result.cut(cq.Workplane(cq.Plane(origin=(0.27, -0.129, -0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.42).extrude(0.767)) result = result.union(cq.Workp...
10
57
3.184451
train_3200238a023d22a2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0, 1).lineTo(-0.69, 1).lineTo(-0.69, 0.393).threePointArc((-0.36, 0.547), (0, 0.6)).threePointArc((0.36, 0.547), (0.69, 0.393)).lineTo(0.69, 1).lineTo(0, 1).close().revolve(angleDegrees=360, axis...
12
44
2.32452
train_64327ae05d10ad36
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.005, -0.617, -0.344), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.206, -0.164).lineTo(0.206, 0.275).lineTo(0, 0.275).lineTo(0, 0).lineTo(-0.206, 0).lineTo(-0.206, -0.275).lineTo(0.206, -0.275).lineTo(0.206, -0.164).close().sweep(cq.Workplane('...
41
310
0.728209
train_aa7c824b239c8390
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.116, 0.138, 0.209), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.176, 0.069).threePointArc((-0.005, 0.194), (-0.186, 0.069)).threePointArc((-0.192, 0.05), (-0.196, 0.03)).threePointArc((-0.105, 0), (-0.196, -0.03)).threePointArc((-0.192, -0.05)...
6
6
0.017501
train_0408372d7558f02e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.565, -0.373), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.38, 0.435).lineTo(0.167, 0.223).lineTo(0.143, 0.333).lineTo(-0.38, 0.223).lineTo(-0.107, -0.051).lineTo(-0.38, -0.324).lineTo(-0.356, -0.435).lineTo(0.167, -0.324).lineTo(0.279, -0.3...
11
105
0.53811
train_f690f7311be04cb0
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.97, 1.327).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(0.379, -0.197, 0.243), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.817, 0.343).extrude(0.776)) result = result.cut(cq.Workpl...
7
49
4.864414
train_7e48ee7c9d89eb2e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.742, -0.823, 0.175), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.134, 0.93).threePointArc((-0.283, 0.795), (-0.325, 0.6)).threePointArc((-0.283, 0.468), (-0.19, 0.366)).lineTo(-0.638, 0.108).threePointArc((-0.714, 0.219), (-0.773, 0.341)).thre...
3
54
1.862549
train_78aecb647e2aff4f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.166, 0.162, 0.212), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.264, -0.222).lineTo(0.296, -0.222).lineTo(0.296, 0.554).lineTo(0.264, 0.554).lineTo(0.264, 0.358).lineTo(-0.291, 0.456).lineTo(-0.296, 0.424).lineTo(0.264, 0.325).lineTo(0.264, 0.0...
22
171
0.106886
train_234ebbeb921ca632
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.214, 0.27, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.125, 0.364).threePointArc((0, 0.409), (-0.125, 0.364)).threePointArc((-0.195, 0.213), (-0.125, 0.063)).threePointArc((0, 0.018), (0.125, 0.063)).threePointArc((0.195, 0.213), (0.125, 0....
6
34
0.040969
train_bd32279fa6b8888e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.125, -0.211, 0.219), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.289, 0.016).lineTo(-0.289, 0.13).threePointArc((-0.214, 0.312), (-0.032, 0.387)).lineTo(0.032, 0.387).threePointArc((0.214, 0.312), (0.289, 0.13)).lineTo(0.289, 0.016).lineTo(-0....
10
95
0.078473