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_b2fdfe0239c407d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.412, -0.269, -0.337), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.177, 0.961).extrude(0.791) result = result.union(cq.Workplane(cq.Plane(origin=(0.324, -0.158, -0.401), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.141, -0.121).threePointArc((0.136,...
11
57
1.123605
train_3b9a74fcb888d70f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.08, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.935, 0.828).extrude(1.262) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.249, -0.094, -0.654), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.158).extrude(0.568)) result = result.cut(cq.W...
9
56
0.951436
train_54a716c0dd4d4969
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.266, 0, -0.787), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.468, 0.742).extrude(1.574) result = result.cut(cq.Workplane(cq.Plane(origin=(0.222, -0.052, -0.333), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.317, 0.891).extrude(0.506)) result = result...
6
62
0.608982
train_305f8465287ed4ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.038, -0.11, -0.172), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.018, 0.078).lineTo(-0.018, -0.068).lineTo(0.018, -0.068).lineTo(-0.018, 0.078).close().extrude(0.058) result = result.edges().fillet(0.003) result = result.union(cq.Workplane(cq...
13
186
0.055358
train_3a59a1286ab87d87
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.229, 0, 0.232), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, -0.211).lineTo(0, -0.074).lineTo(0.594, -0.074).lineTo(0.594, 0.211).lineTo(-0.594, 0.211).lineTo(-0.594, -0.211).lineTo(0, -0.211).close().workplane(offset=0.099).moveTo(0, -0.261)....
10
44
0.127559
train_6c38c81643645eb1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.013, -1, -0.177), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.21, 0.398).threePointArc((-0.45, 0), (-0.21, -0.398)).threePointArc((0.45, 0), (-0.21, 0.398)).close().sweep(cq.Workplane('YZ').spline([(-0.382, -0.681), (-0.059, -0.681), (0.263, -...
18
34
0.79599
train_1903c31fe6156490
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.261, -0.497), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.421, 0.739).threePointArc((0.495, 0.708), (0.526, 0.634)).lineTo(0.526, 0.457).lineTo(0.431, 0.362).lineTo(0.431, 0.064).lineTo(0.526, -0.031).lineTo(0.526, -0.208).threePointArc((0.49...
12
140
0.951296
train_62e9cdb02f16467f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.672, -0.456, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.182, 0.358).threePointArc((-0.238, 0.195), (-0.182, 0.031)).lineTo(0.238, 0.031).lineTo(0.238, 0.358).lineTo(-0.182, 0.358).close().revolve(angleDegrees=270, axisStart=(-0.182, 0.031)...
15
256
0.050246
train_50789e1d9cb9c9cf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.806, 0, -0.056), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.437, -0.565).threePointArc((0.024, -0.999), (-0.431, -0.61)).lineTo(-0.53, 0.343).threePointArc((-0.54, 0.399), (-0.543, 0.456)).threePointArc((0.031, 0.999), (0.543, 0.396)).lineTo(...
3
13
2.794559
train_948abe3c35f558b1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.276, -0.092), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.509, 0.724).lineTo(-0.509, 0.724).lineTo(-0.509, 0.128).lineTo(-0.495, 0.071).threePointArc((-0.469, 0.035), (-0.425, 0.028)).lineTo(-0.239, 0.073).lineTo(0.239, 0.073).lineTo(0.425,...
19
79
0.263554
train_cf49e37e2225030a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.718, -0.536, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-1, 0.351).lineTo(-1, 0.102).lineTo(1, 0.102).lineTo(1, 1.334).lineTo(0.752, 1.334).lineTo(0.752, 0.351).lineTo(-1, 0.351).close().extrude(1.073) result = result.edges().chamfer(0.122) ...
4
46
0.627814
train_680148201bddf91f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.048, -0.555), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.474, 0.223).extrude(1.097) result = result.union(cq.Workplane(cq.Plane(origin=(-0.006, 0.004, 0.492), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.034).extrude(0.508)) result = result.uni...
19
71
0.15328
train_f5a21fb6873f7670
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.712, -0.636, -0.503), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.503, 0.369).lineTo(0.503, 0.903).lineTo(-0.503, 0.903).lineTo(-0.503, 0.369).lineTo(0.503, 0.369).close().revolve(angleDegrees=180, axisStart=(0.503, 0.369), axisEnd=(0.503, 0.44...
4
21
0.820927
train_d9b1c216e308e6c8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1, -0.236), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.22, -0.199).lineTo(-0.22, 0.199).lineTo(-0.199, 0.199).lineTo(-0.199, 0.22).lineTo(0.199, 0.22).lineTo(0.199, 0.199).lineTo(0.22, 0.199).lineTo(0.22, -0.199).lineTo(0.199, -0.199).lineT...
2
18
0.166793
train_f0f08b7c1b407e16
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.766), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.01, 0.045).lineTo(-0.01, 0.025).lineTo(-0.01, -0.041).lineTo(-0.006, -0.045).lineTo(0.01, -0.03).lineTo(0.01, 0.045).close().sweep(cq.Workplane('XZ').spline([(-0.858, -0.779), (-0.286, -0....
8
46
0.023533
train_822b28697b8db839
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.148, 0.035, 0.568), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.377, -0.968).threePointArc((0.487, 0), (-0.377, 0.968)).threePointArc((-0.487, 0), (-0.377, -0.968)).close().extrude(0.869) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.09...
19
180
1.198068
train_f5e89bc93ce64201
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.473, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.003, -0.173).threePointArc((-0.004, -0.323), (-0.022, -0.473)).lineTo(-0.003, -0.473).threePointArc((0.016, -0.323), (0.022, -0.173)).lineTo(0.022, 0.527).lineTo(0.003, 0.527).lineTo(0.003,...
5
16
0.05941
train_91e27dd3009b1fe3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.055, -0.522, -0.529), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.956, 0.956).extrude(1.238) result = result.faces('>Z').shell(-0.073) result = result.union(cq.Workplane(cq.Plane(origin=(0.067, -0.438, -0.709), normal=(0, 0, 1), xDir=(1, 0, 0)))....
5
34
0.912255
train_a6429c41d3e3deaf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.518, 0, 0.012), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.506, 0.695).lineTo(-0.506, -0.695).lineTo(0.506, -0.695).lineTo(0.506, 0.695).lineTo(-0.506, 0.695).close().revolve(angleDegrees=270, axisStart=(-0.506, 0.695), axisEnd=(-0.506, 0)) r...
6
29
2.734422
train_34104966bab54a67
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.437, -0.253, -0.508), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.387).transformed(offset=(0.093, 0, 0.089), rotate=(0, 90, 0)).circle(0.257).transformed(offset=(0.186, 0, 0.083), rotate=(0, 60, 0)).circle(0.415).transformed(offset=(0.247, -0.0...
3
16
1.280264
train_e34b459e7544e5e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.041, 0.319), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.536, 0.016).lineTo(-0.536, -0.07).lineTo(0.536, -0.07).lineTo(0.536, 0.016).lineTo(0.482, 0.07).lineTo(0.429, 0.016).lineTo(0.321, 0.016).lineTo(0.268, 0.07).lineTo(0.214, 0.016).line...
4
48
0.065249
train_0e929a8a2f0a55fa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.241, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.045, -0.213).lineTo(-0.342, 0.366).lineTo(0.342, 0.23).lineTo(0.045, -0.213).close().extrude(2) result = result.edges().chamfer(0.118) result = result.cut(cq.Workplane(cq.Plane(origin=(0.2...
15
130
0.426989
train_50eb7086f8ebe176
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.868, 0.416, -0.074), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.172, -0.172).lineTo(0.087, -0.087).lineTo(0.122, -0.08).lineTo(0, 0).lineTo(0.172, 0.172).lineTo(-0.172, 0.172).lineTo(-0.087, 0.087).lineTo(-0.122, 0.08).lineTo(-0.172, 0.111).l...
8
139
0.314794
train_002927a13a66aae7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.218, 0.431, -0.068), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.584).workplane(offset=0.211).circle(0.556).workplane(offset=0.207).circle(0.595).workplane(offset=0.238).circle(0.599).workplane(offset=0.21).circle(0.606).loft() result = result....
15
48
0.904684
train_577685c5baa5644e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.072, 0.813, -0.173), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.827, -0.444).lineTo(-0.7, -0.444).lineTo(-0.7, 0.469).lineTo(0.528, 0.469).lineTo(0.528, -0.216).lineTo(0.528, 0.009).lineTo(0.827, 0.009).lineTo(0.827, 0.147).lineTo(0.646, 0.14...
3
68
0.602139
train_d48ff64ee91ea393
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.073, 0.083, -0.446), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.853, 1.104).extrude(0.892) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.515 + 0.1105, 0.3515, -1.651), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.06).extrude(2.409)) result...
31
76
1.735433
train_3f3dccf242101738
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.82, -0.38, -0.306), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.694, -0.278).lineTo(0.694, 1.037).lineTo(-0.694, 1.037).lineTo(-0.694, -0.278).lineTo(0.694, -0.278).close().workplane(offset=0.677).moveTo(0.538, -0.129).lineTo(0.538, 0.889).line...
11
56
0.959814
train_f9d180e07d2da04b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.083, 0.546, 0.1), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.567, -0.065).lineTo(0.567, 1.083).lineTo(-0.567, 1.083).lineTo(-0.567, -0.065).lineTo(0.567, -0.065).close().extrude(1.318) result = result.edges().chamfer(0.264) result = result.uni...
10
60
1.362065
train_46f18d08d42a905c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.674, -0.257, -0.014), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.874, 0.055).lineTo(-0.874, 0.492).lineTo(-0.349, 0.492).threePointArc((-0.218, 0.36), (-0.087, 0.492)).lineTo(0.24, 0.492).threePointArc((0.437, 0.295), (0.634, 0.492)).lineTo(0...
6
31
0.796362
train_337d886c3a2cf882
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.723), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.948, 1.164).extrude(1.499) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.78 + 0.26, -0.465 + 0.093, -0.948), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.066).extrude(1.948)) result = ...
29
133
2.091541
train_343e205aa76b6bd8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.347, 0.225, 0.316), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.816, 0.329).lineTo(0.816, 0.329).lineTo(0.035, -0.329).lineTo(0, -0.299).lineTo(-0.746, 0.329).lineTo(-0.816, 0.329).close().extrude(0.466) result = result.edges().chamfer(0.121)...
11
90
0.334813
train_28a7684ad1e2ee9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.004, -0.004, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.136, 0.009).lineTo(-0.559, 0.009).lineTo(-0.559, 1.004).lineTo(0.559, 1.004).lineTo(0.559, 0.009).lineTo(0.136, 0.009).close().revolve(angleDegrees=270, axisStart=(0, 0), axisEnd=(0.3...
9
33
1.807887
train_1376435b59773479
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.988), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.503, 2).extrude(1.975) result = result.cut(cq.Workplane(cq.Plane(origin=(0.006, 0.152, -1.323), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.147).extrude(2.37)) result = result.cut(cq.Workpla...
7
40
4.78622
train_3158af24b075c740
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.526), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.387).extrude(1.052) result = result.cut(cq.Workplane(cq.Plane(origin=(0.284, -0.258, -0.534), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.173).extrude(0.327)) result = result.cut(cq.Workp...
17
159
1.576428
train_66f8111fa16edaa0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, 0.414, 0.165), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.638, -0.263).lineTo(0.638, 0.263).lineTo(-0.638, -0.263).lineTo(0.638, -0.263).close().sweep(cq.Workplane('YZ').spline([(-0.122, -0.165), (0.397, -0.165), (0.579, -0.309), (0.761, -...
4
27
0.52567
train_ee0b6caf70747ff9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.255, 0.238, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(1, 0.312).lineTo(1, 0.476).lineTo(-1, 0.476).lineTo(-1, 0.034).lineTo(1, 0.034).lineTo(1, 0.312).close().extrude(0.536) result = result.edges().chamfer(0.07) result = result.faces('>Z')....
7
62
0.141955
train_58cd3e6924648d29
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.011, -0.077, -0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.289, 0.36).extrude(0.142) result = result.union(cq.Workplane(cq.Plane(origin=(0.026, -0.059, 0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.26, 0.324).extrude(0.017)) result = res...
14
106
0.069752
train_7a0129613f5bf757
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, 1), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.519, -0.544).threePointArc((0, 0.544), (0.519, -0.544)).lineTo(0.42, -0.544).lineTo(0.148, -0.544).lineTo(-0.148, -0.544).lineTo(-0.42, -0.544).lineTo(-0.519, -0.544).close().workplane(o...
10
91
2.102885
train_0f637c0c7f40875f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.455), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.586, 2).extrude(0.91) result = result.cut(cq.Workplane(cq.Plane(origin=(0.566, -0.14, -0.15), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.068).extrude(0.093)) result = result.cut(cq.Workplan...
13
122
2.682456
train_600d6ec7e9033c54
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.917, 0.574, -0.002), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.707, 1.281).threePointArc((-0.808, 1.136), (-0.891, 0.978)).threePointArc((-0.987, 0.627), (-0.983, 0.262)).threePointArc((-0.687, 0.128), (-0.367, 0.072)).threePointArc((-0.303,...
4
28
1.820801
train_070373b2a0a3090b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.905), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.731, 2).extrude(1.321) result = result.faces('>Y').shell(-0.112) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.006, -0.228, 0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.214).ex...
6
26
1.558357
train_7a14621ca28fa2b9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.482, 0, 0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.035, 1.865).extrude(0.154) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.304, 0, 0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.085).extrude(0.185)) result = result.cut(cq.Wo...
25
454
0.436247
train_88fddf65ea6b5c32
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 1, -0.001), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.306).workplane(offset=0.568).circle(0.521).workplane(offset=0.731).circle(0.376).workplane(offset=0.701).circle(0.502).loft()
1
3
1.220986
train_794dd8590a7e4d64
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.16, -0.141, 0.171), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.342, 0.338).lineTo(-0.342, -0.31).lineTo(-0.736, -0.049).lineTo(-0.829, -0.111).lineTo(-0.436, -0.373).lineTo(-0.238, -0.373).lineTo(-0.238, 0.213).lineTo(0.641, -0.373).lineTo(0.8...
2
17
0.135317
train_00bb7fc6b427f0c7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.1, -0.088, 0.241), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.759, 0.113).lineTo(0.572, 0.113).lineTo(0.572, 0.186).lineTo(-0.759, 0.186).lineTo(-0.759, 0.013).lineTo(0.759, 0.022).lineTo(0.759, 0.113).close().extrude(0.176) result = result.ed...
12
86
0.029818
train_a484451fbecca706
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.299, 0, 1), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.242).workplane(offset=0.56).circle(0.284).workplane(offset=0.456).circle(0.311).workplane(offset=0.482).circle(0.223).workplane(offset=0.503).circle(0.259).loft() result = result.edges().f...
14
88
0.481185
train_7aa13ed19b6307ff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.966), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.4).extrude(1.933) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.218, -0.094, -1.295), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.127).extrude(2.32)) result = result.cut(cq.Workpla...
3
11
5.220931
train_273e0573d838ff1d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.039, -0.671, 0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.101, 0.309).lineTo(-0.101, 0.329).lineTo(0.101, 0.329).lineTo(0.101, 0.026).lineTo(0.081, 0.026).lineTo(0.081, 0.309).lineTo(-0.101, 0.309).close().revolve(angleDegrees=360, axisS...
15
158
0.080081
train_e2e6001f33597370
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.059, -0.774, -0.923), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.359, 0.896).lineTo(-0.359, 0.574).lineTo(0.841, 0.574).lineTo(0.841, 0.091).lineTo(-0.841, 0.091).lineTo(-0.841, 1.774).lineTo(-0.359, 1.774).lineTo(-0.359, 0.896).close().extrud...
20
68
1.75743
train_8f4837db3490d9fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.669, -0.065, -0.201), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.663, 0.728).extrude(0.369) result = result.faces('<Z').shell(-0.02) result = result.union(cq.Workplane(cq.Plane(origin=(0.823, -0.092, 0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).rec...
6
87
0.356308
train_97d78260c459c6bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.016, -0.888, -0.981), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.848, 0.154).lineTo(-1.016, 0.322).lineTo(-1.016, 1.454).lineTo(-0.848, 1.621).lineTo(0.282, 1.621).lineTo(0.45, 1.454).lineTo(1.016, 0.888).lineTo(0.45, 0.322).lineTo(0.45, 0.154...
7
76
4.593795
train_3e1472245ee6e63a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.274, -0.22), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.666).workplane(offset=0.204).circle(0.526).workplane(offset=0.191).circle(0.473).workplane(offset=0.224).circle(0.561).workplane(offset=0.213).circle(0.586).workplane(offset=0.252).cir...
9
38
1.035653
train_942b7c01be7a5058
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.103, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.354).extrude(0.621) result = result.union(cq.Workplane(cq.Plane(origin=(0.496, -0.671, 0.06), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.434, 0.217).extrude(0.188)) result = result.uni...
4
55
1.718024
train_24f766a588f6c949
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.076, -0.355, -0.301), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.699, 0.19).lineTo(0.699, 0.015).lineTo(-0.699, 0.015).lineTo(-0.699, 0.19).lineTo(0.699, 0.19).close().extrude(0.827) result = result.edges().chamfer(0.069) result = result.union...
13
151
0.210592
train_1b2a569beb60209e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.5, 0, 0.441), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.5, 0).lineTo(-0.5, -0.059).lineTo(0.5, -0.059).lineTo(0.5, 0.059).lineTo(-0.5, 0.059).lineTo(-0.5, 0).close().revolve(angleDegrees=180, axisStart=(-0.5, 0), axisEnd=(-0.5, -0.059)) resu...
8
48
0.188475
train_6fae87e366c513f8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.284, 0.188, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.118, -0.003).lineTo(0.084, 0.083).lineTo(-0.001, 0.118).lineTo(-0.081, 0.085).lineTo(-0.116, -0.004).lineTo(-0.079, -0.085).lineTo(-0.002, -0.119).lineTo(0.079, -0.082).close().mo...
17
165
0.084603
train_47c720ce40add931
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.083, 0.079, -0.692), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.215).sweep(cq.Workplane('YZ').spline([(0.079, -0.692), (0.295, -0.341), (0.284, 0.09), (0.051, 0.426), (-0.309, 0.531), (-0.651, 0.361), (-0.834, -0.013), (-0.787, -0.44)])) resul...
7
27
0.253348
train_0bad82363e586f3a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.044, -0.501), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.535, 0.314).extrude(0.598) result = result.cut(cq.Workplane(cq.Plane(origin=(0.155, -0.044, -0.224), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.237, 0.135).extrude(0.043)) result = resul...
12
47
0.117221
train_1d59dea8257e74a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.135, 0.011, -0.66), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.861, -0.012).lineTo(0.41, 0.725).lineTo(-0.418, 0.738).lineTo(-0.865, -0.002).lineTo(-0.417, -0.732).lineTo(0.436, -0.759).close().moveTo(-0.346, 0.122).lineTo(-0.138, 0.124).lineT...
8
182
1.269465
train_3a50f687dd266df4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.285, 0.953, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.967, 0.848).threePointArc((-0.926, 0.994), (-0.813, 1.095)).threePointArc((0, 1.286), (0.813, 1.095)).threePointArc((0.926, 0.994), (0.967, 0.848)).lineTo(0.967, 0.457).lineTo(0.967, ...
15
60
3.582264
train_429816781e250f24
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.443), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(1).workplane(offset=0.2).circle(0.851).workplane(offset=0.245).circle(0.702).workplane(offset=0.185).circle(0.554).workplane(offset=0.255).circle(0.405).loft() result = result.faces('>Z').sh...
2
5
0.273696
train_6eee389d7b34cccf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.612), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.611, 2).extrude(1.224) result = result.cut(cq.Workplane(cq.Plane(origin=(0.672, -0.111, -0.118), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.281, 0.278).extrude(0.117)) result = result.edges()...
8
85
3.654518
train_82a56c2299354f6e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.026, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.954, 0.869).extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(-0.219, -0.434, 0.324), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.141, 0.053).extrude(0.205)) result = result.cut(c...
12
51
1.407381
train_5c0afc6beec6870c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.189, 0.105, -0.872), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.811, 0.327).lineTo(0.265, 0.564).lineTo(-0.389, 0.762).lineTo(-1.073, -0.329).lineTo(-0.73, -0.318).lineTo(-0.784, -0.583).lineTo(-0.469, -0.446).close().moveTo(-0.277, -0.276).lin...
15
125
1.106832
train_6eab81974099bf66
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.242).workplane(offset=0.373).circle(0.229).workplane(offset=0.335).circle(0.141).workplane(offset=0.284).circle(0.114).workplane(offset=0.357).circle(0.312).workplane(offset=0.35).circle(0.101...
11
52
0.216713
train_a7ef9c0383b344cc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.347, 0.974, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 0.901).lineTo(-0.865, 0.901).lineTo(-0.865, 0.793).threePointArc((-0.833, 0.716), (-0.757, 0.685)).lineTo(-0.574, 0.649).threePointArc((-0.512, 0.612), (-0.487, 0.543)).lineTo(-0.487,...
12
43
2.541764
train_40cdc3fa0862834b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.25, 0.158, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.275, 0).threePointArc((-0.351, 0.379), (-0.566, 0.701)).lineTo(0.566, 0).lineTo(-0.566, -0.701).threePointArc((-0.351, -0.379), (-0.275, 0)).close().sweep(cq.Workplane('XY').spline([(-0...
1
6
0.717343
train_c25f7d7268bc2bc0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.642, -0.366, 0.442), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.429, 0.766).lineTo(0.429, -0.153).lineTo(-0.429, -0.153).lineTo(-0.429, 0.766).lineTo(0.429, 0.766).close().extrude(1.066) result = result.union(cq.Workplane(cq.Plane(origin=(-0.0...
16
99
0.532117
train_74a6b21b0fe6535d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.013, -0.013, -0.995), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.013).lineTo(-0.005, 0.013).lineTo(-0.005, -0.012).lineTo(0.005, -0.012).lineTo(0.005, 0.013).lineTo(0, 0.013).close().revolve(angleDegrees=180, axisStart=(0, 0.013), axisEnd=(...
6
33
0.000037
train_bed969f450ec09ad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.015, 1, 0.025), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.192, 0.111).threePointArc((-0.166, 0.015), (-0.096, -0.055)).lineTo(0, -0.111).lineTo(0.096, -0.055).threePointArc((0.166, 0.015), (0.192, 0.111)).lineTo(-0.192, 0.111).close().sweep(...
12
45
0.184688
train_b85ba3dd77eed0f0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.505, 0.949, -0.268), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.732, 0.827).lineTo(-0.732, 0.095).threePointArc((-0.028, 0.081), (0.676, 0.041)).lineTo(0.732, 0.771).lineTo(-0.732, 0.827).close().extrude(1.791) result = result.edges().chamfer...
7
68
0.274995
train_7cf06377b1f4dc1c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.797), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.074).extrude(1.262) result = result.union(cq.Workplane(cq.Plane(origin=(-0.332, -0.078, 0.437), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.936, 0.5).extrude(0.36)) result = result.cut(cq.W...
6
73
0.638121
train_54239d14af1f3898
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.16, 0.154, -0.258), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.83, -0.76).lineTo(0.843, -0.788).lineTo(0.828, 0.758).lineTo(-0.84, 0.783).close().moveTo(0.11, 0.216).lineTo(0.075, 0.291).lineTo(0, 0.325).lineTo(-0.078, 0.295).lineTo(-0.108, 0...
9
88
0.508368
train_ecd5548289dfb75c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.081, 0, -0.57), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.66, 0.836).extrude(0.996) result = result.union(cq.Workplane(cq.Plane(origin=(-0.12, -0.107, 0.418), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.458, 0.393).extrude(0.153)) result = result...
6
31
1.383051
train_79788230009f6f99
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.385, 0.103, -0.323), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.232, -0.806).lineTo(-0.232, 0.897).lineTo(-0.1, 0.897).lineTo(-0.1, -0.376).lineTo(0.232, -0.376).lineTo(0.232, -0.806).lineTo(-0.232, -0.806).close().extrude(0.646) result = resu...
9
176
0.308811
train_cb3f782ff5b70ce3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.065, 0.23, -0.041), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.804, 0.127).lineTo(0.804, 0.004).lineTo(-0.804, 0.004).lineTo(-0.804, 0.127).lineTo(0.804, 0.127).close().extrude(0.46) result = result.edges().chamfer(0.041) result = result.union...
17
101
0.065829
train_76b53c024bba533f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.196, 0.166, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.438, 1.438).extrude(1.438) result = result.union(cq.Workplane(cq.Plane(origin=(-0.697, 0.428, -0.021), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.435, 0.232).extrude(0.279)) result = resu...
18
104
3.113819
train_9d6515dc065322df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1.196, 0.53), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.867, 1.725).lineTo(1, 1.725).lineTo(1, 0.659).lineTo(-1, 0.659).lineTo(-1, 1.725).lineTo(0.867, 1.725).close().revolve(angleDegrees=90, axisStart=(0.867, 1.725), axisEnd=(1, 1.725)) res...
9
48
1.565419
train_41fa8fc65996194c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.343, -0.214, 0.089), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.467, -0.533).lineTo(-0.467, 1.343).lineTo(0.467, 1.343).lineTo(0.467, -0.533).lineTo(-0.467, -0.533).close().extrude(0.945) result = result.edges().fillet(0.149) result = result....
5
56
1.599533
train_7c187b6f6bffbb2b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.282, -0.735), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.255).workplane(offset=0.169).circle(0.251).workplane(offset=0.215).circle(0.211).workplane(offset=0.181).circle(0.238).loft() result = result.edges().fillet(0.061) result = result.uni...
4
11
0.086061
train_d39090af6ac66860
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.469, 0.269, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.357, -0.731).lineTo(-0.357, -0.731).lineTo(-0.357, 1.269).lineTo(0.357, 1.269).lineTo(0.357, -0.731).close().extrude(0.938) result = result.edges().fillet(0.109) result = result.cut(cq...
19
171
0.82648
train_ba3801cc80e0c541
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.012, 0, 0.085), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.203, 0.283).threePointArc((-0.267, 0.311), (-0.331, 0.283)).threePointArc((-0.299, 0.188), (-0.395, 0.156)).lineTo(-0.423, 0.156).threePointArc((-0.405, 0.139), (-0.395, 0.117)).line...
5
42
0.084922
train_9edc7673e2a6596e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.144, 0, 0.772), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.343, -0.18).threePointArc((0.157, -0.506), (-0.169, -0.692)).lineTo(-0.343, -0.692).lineTo(-0.343, 0.692).lineTo(-0.169, 0.692).threePointArc((0.157, 0.506), (0.343, 0.18)).lineTo(0.34...
6
64
1.218161
train_ef9783826bc14cd2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.054, -0.169, 0.046), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.311).workplane(offset=0.036).circle(0.265).workplane(offset=0.028).circle(0.218).workplane(offset=0.037).circle(0.171).workplane(offset=0.034).circle(0.125).loft() result = resul...
18
171
0.174449
train_cf81a1bf9e6c84d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.218, -0.193, 0.001), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.648, -0.415).threePointArc((0.253, -0.702), (-0.235, -0.675)).threePointArc((-0.681, 0.046), (-0.143, 0.702)).threePointArc((0.3, 0.681), (0.648, 0.41)).threePointArc((0.681, -0.0...
5
20
1.241242
train_94c00a3892505ea5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.261, 0.524, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.331, 1.16).lineTo(0.331, -0.637).lineTo(-0.331, -0.637).lineTo(-0.331, 0.605).threePointArc((-0.299, 0.464), (-0.211, 0.351)).lineTo(-0.205, 0.344).lineTo(-0.204, 0.345).threePointArc(...
18
82
1.627652
train_55b4c4e2f9bb54d6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.023, 0.147, -0.762), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.12, -0.018).threePointArc((-0.127, 0.022), (-0.121, 0.062)).threePointArc((-0.09, 0.113), (-0.039, 0.144)).threePointArc((0.001, 0.15), (0.041, 0.143)).threePointArc((0.091, 0.11...
4
61
0.046421
train_a7a6ce1fbd028b43
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.787).extrude(0.304) result = result.union(cq.Workplane(cq.Plane(origin=(0.466, -0.075, 0.125), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.124, 0.089).extrude(0.052)) result = result.cut(cq...
11
33
0.896762
train_8422df1fc8feaa84
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.133, 0.215, -0.532), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.208, 1.568).extrude(0.993) result = result.faces('>X').shell(-0.113) result = result.cut(cq.Workplane(cq.Plane(origin=(0.133, -0.314, -0.313), normal=(0, 0, 1), xDir=(1, 0, 0))).rect...
7
68
0.824871
train_5e3d8fb589180471
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.073, -0.104), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.61, 0.378).lineTo(-0.61, 0.026).lineTo(-0.305, -0.151).threePointArc((0, -0.232), (0.305, -0.151)).lineTo(0.61, 0.026).lineTo(0.61, 0.378).lineTo(-0.61, 0.378).close().extrude(2) res...
12
70
0.983196
train_3e2763e7ce77cf43
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.129, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.688, 0.761).extrude(0.583) result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.129, -0.569), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.177, 0.294).extrude(1.569)) result = result.unio...
9
30
0.361266
train_480e839e904cd7d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.605, -0.412, -0.322), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.79, 0.961).extrude(0.397) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.775, -0.274, -0.282), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.474, 0.493).extrude(0.231)) result = ...
23
109
0.418935
train_4e077ef34e264fc8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.384), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.086, 2).extrude(0.954) result = result.union(cq.Workplane(cq.Plane(origin=(0.016, 0.202, 0.561), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.257).extrude(0.208)) result = result.union(cq.Wor...
11
37
1.513001
train_ee226e7f0a4d62b1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.545).workplane(offset=0.338).circle(0.759).workplane(offset=0.341).circle(0.656).workplane(offset=0.442).circle(0.585).workplane(offset=0.465).circle(0.794).workplane(offset=0.414).circle(0.55...
6
46
2.833612
train_81c4e2a3b95aa2c6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.717), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(1.01, -0.992).lineTo(1.01, 0.992).lineTo(-1.01, 0.992).lineTo(-1.01, -0.989).lineTo(1.01, -0.992).close().workplane(offset=0.388).moveTo(0.903, -0.887).lineTo(0.903, 0.887).lineTo(-0.903, 0....
11
71
3.12884
train_5b7e983fdf6ba1d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.414, 0.992, -0.555), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.165, 0.866).lineTo(-0.385, 0.75).lineTo(-0.445, 0.192).lineTo(0.068, -0.038).lineTo(0.445, 0.378).lineTo(0.165, 0.866).close().extrude(1.198) result = result.union(cq.Workplane(cq...
5
28
0.748451
train_4179bde8aba225f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.231), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.944).extrude(0.462) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.263, -0.136, -0.088), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.231, 2.333).extrude(0.033)) result = result.cut(cq...
6
21
1.767195
train_1ef9ec1311de39e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.3, 0.939), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.396, 0.352).lineTo(-0.396, 0.198).lineTo(-0.499, 0.198).lineTo(-0.499, -0.482).lineTo(-0.396, -0.482).lineTo(-0.396, -0.396).lineTo(0.499, -0.396).lineTo(0.499, 0.352).lineTo(0.405, 0.3...
4
28
0.699149
train_864d20e5d24c931a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.441, -0.165, -0.272), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.118, 0.752).extrude(0.401) result = result.union(cq.Workplane(cq.Plane(origin=(-0.006, -0.128, 0.155), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.359, 0.423).lineTo(0.189, 0.52).l...
14
770
0.569607
train_88870e5eb58042af
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.851, -0.03, 0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.161).transformed(offset=(0.27, -0.169, 0.172), rotate=(0, 60, 0)).circle(0.162).transformed(offset=(0.539, 0.169, 0.457), rotate=(0, 0, 0)).circle(0.245).transformed(offset=(0.809,...
8
25
0.104679