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_50f035f913ee9052
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.155, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.139, 0.458).lineTo(0.062, 0.4).lineTo(0.226, 0.329).lineTo(0.245, 0.151).lineTo(0.243, -0.061).lineTo(0.04, -0.148).lineTo(-0.148, -0.063).lineTo(-0.234, 0.097).lineTo(-0.245, 0.276).lin...
11
192
0.386959
train_0a75396970d27826
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.386, 0, -0.245), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.493, -0.058).lineTo(0.608, -0.086).lineTo(0.601, -0.129).lineTo(0.485, -0.111).lineTo(0.468, -0.166).lineTo(0.574, -0.218).lineTo(0.557, -0.26).lineTo(0.447, -0.216).lineTo(0.419, -0.2...
3
157
0.38351
train_6c1d44d84573c00c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.318, 0.807, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.122).threePointArc((0.098, 0.098), (0.122, 0)).threePointArc((0.098, -0.098), (0, -0.122)).threePointArc((-0.098, -0.098), (-0.122, 0)).threePointArc((-0.098, 0.098), (0, 0.122)...
4
32
0.083207
train_92157e382d08f35a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.328), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.949, 0.656).lineTo(0.918, 0.623).lineTo(1, 0.23).lineTo(1, 0).lineTo(0.746, 0).lineTo(0.746, 0.196).lineTo(0.647, 0.623).lineTo(0, 0.402).lineTo(0, 0.656).lineTo(0.949, 0.656).close().rev...
6
18
0.984431
train_1d3c608e0495d9a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.612), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.95, 0.267).lineTo(0.92, 0.217).lineTo(1, 0.094).lineTo(1, 0).lineTo(0.861, 0).lineTo(0.861, 0.08).lineTo(0.761, 0.217).lineTo(0, 0.128).lineTo(0, 0.267).lineTo(0.95, 0.267).close().revolv...
7
59
1.056215
train_edd6b26aa97aca93
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.408, 0.283), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.273, 0.272).threePointArc((0.32, 0.252), (0.34, 0.205)).lineTo(0.34, -0.205).threePointArc((0.32, -0.252), (0.273, -0.272)).lineTo(-0.273, -0.272).threePointArc((-0.32, -0.252), (-0.34...
5
142
0.57346
train_0ddb72e381f469cd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.416), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.67, 0.723).threePointArc((0.898, 0.627), (1, 0.398)).lineTo(1, -0.504).threePointArc((0.929, -0.658), (0.778, -0.723)).lineTo(-0.402, -0.723).threePointArc((-0.822, -0.55), (-1, -0.13)).li...
15
252
1.54271
train_730b70fcf366f560
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.306, 0.293, 0.003), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.254, 0.146).threePointArc((0, -0.108), (-0.254, 0.146)).threePointArc((0, 0.401), (0.254, 0.146)).close().revolve(angleDegrees=270, axisStart=(-0.087, -0.293), axisEnd=(0.087, -0....
5
35
0.596354
train_0769f4db160551f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.181, -0.33), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.66).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.66).lineTo(-0.721, 0.66).lineTo(-0.721, 0.279).lineTo(0.721, 0.279).lineTo(0.721, 0.66).lineTo(1, 0.66).close().extrude(0.219, both=True...
3
28
0.398452
train_318f679b0b116080
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.164), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.447, 0.642).threePointArc((0.744, 0.386), (0.595, 0.257)).lineTo(0.893, 0).threePointArc((0.744, -0.386), (0.595, -0.257)).lineTo(0.447, -0.642).threePointArc((0, -0.77), (0, -0.642)).line...
2
15
0.703963
train_dfe5558e189420e1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.099, -0.815), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.561, 0.566).threePointArc((0.699, 0.407), (0.791, 0.431)).threePointArc((0.838, 0.248), (0.986, 0.238)).threePointArc((0.943, 0.032), (1, -0.002)).threePointArc((0.899, -0.174), (0.92...
6
134
1.134305
train_bd11ca400a5e6040
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.073, -0.256), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.978, -0.076).lineTo(0.947, -0.136).lineTo(0.902, -0.191).lineTo(0.844, -0.238).lineTo(0.78, -0.275).lineTo(0.704, -0.301).lineTo(0.622, -0.315).lineTo(0.54, -0.315).lineTo(0.458, -0.3...
10
416
0.642384
train_97ccedaee240c5a9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.279, 0.282, 0.032), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.107, 0.792).threePointArc((-0.032, 0.757), (0, 0.674)).lineTo(0, 0.558).threePointArc((0.023, 0.5), (0.076, 0.475)).lineTo(0.488, 0.475).threePointArc((0.553, 0.445), (0.58, 0.374...
10
69
0.137975
train_a79d32308eded8e6
import cadquery as cq import math result = cq.Workplane('XY').circle(0.813).extrude(1, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.354).extrude(1.533, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(...
4
7
2.889834
train_53def8b7320a4f8e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0.001, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.179, 0.901).lineTo(0.424, 0.814).threePointArc((0.411, 0.709), (0.602, 0.504)).lineTo(0.49, -0.107).lineTo(0.574, -0.464).threePointArc((0.763, -0.506), (0.845, -0.705)).threePointArc...
14
198
2.977429
train_477c6f5af0aeb22e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.656, 0, -0.575), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.195, 1.15).lineTo(0.195, 0.195).lineTo(1.656, 0.195).lineTo(1.656, 0).lineTo(0, 0).lineTo(0, 1.15).lineTo(0.195, 1.15).close().extrude(0.949, both=True) result = result.union(cq.Work...
5
126
0.793992
train_f117e7865c43de66
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.399, 0, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.534, -0.085).lineTo(0.59, -0.109).lineTo(0.585, -0.134).lineTo(0.527, -0.125).lineTo(0.5, -0.207).lineTo(0.549, -0.243).lineTo(0.538, -0.265).lineTo(0.484, -0.243).lineTo(0.439, -0.316...
6
178
0.499936
train_3f6372ad2e2db52d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.291, 0.328, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.017, 0.056).lineTo(-0.017, 0.028).lineTo(0.052, 0.028).lineTo(0.052, -0.056).lineTo(0.017, -0.056).lineTo(0.017, -0.028).lineTo(-0.017, -0.028).lineTo(-0.017, -0.056).lineTo(-0.052, -0...
3
53
0.211947
train_695452ed74bb5977
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.514), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.536) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.514), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.578).extrude(1.603, both=True)) result = result.union(cq.Workpl...
15
84
1.82315
train_8cf827ffe38c2422
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.062, -0.319), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.633, 0.439).threePointArc((-0.533, 0.422), (-0.491, 0.384)).lineTo(-0.491, -0.132).threePointArc((-0.407, -0.209), (-0.207, -0.242)).lineTo(0.899, -0.242).threePointArc((0.97, -0.253)...
4
32
0.473234
train_098429bda146645f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.329), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.833, 0.681).lineTo(1, 0.518).lineTo(1, -0.348).threePointArc((0.9, -0.585), (0.667, -0.681)).lineTo(-0.705, -0.681).threePointArc((-0.912, -0.595), (-1, -0.386)).lineTo(-1, 0.429).threePoi...
5
40
1.126728
train_3afafdb515bc5a40
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.227, 0.032, 0.011), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.436, 0.447).threePointArc((0.826, 0), (0.436, -0.447)).lineTo(-0.436, -0.447).threePointArc((-0.826, 0), (-0.436, 0.447)).lineTo(0.436, 0.447).close().extrude(0.366, taper=9.285) r...
9
111
0.472871
train_d9ec6ae814828847
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.014, 0.043, -0.956), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.215, 0.043).threePointArc((0.247, 0.032), (0.258, 0)).threePointArc((0.247, -0.032), (0.215, -0.043)).threePointArc((0.183, -0.032), (0.172, 0)).threePointArc((0.183, 0.032), (0....
4
85
0.138238
train_84376cf955afc503
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, 0.066, 0.006), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.138, 0.863).threePointArc((0.604, 0.694), (0.998, 0.05)).lineTo(0.253, 0.078).threePointArc((0.17, 0.045), (0.228, -0.095)).lineTo(0.963, -0.124).threePointArc((0.981, -0.13), (0.9...
6
34
2.580168
train_301f796fc210e22d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.032, -0.195), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.822).lineTo(1, -0.822).lineTo(-1, -0.822).lineTo(-1, -0.274).lineTo(0.597, -0.274).lineTo(0.597, 0.274).lineTo(-1, 0.274).lineTo(-1, 0.822).lineTo(1, 0.822).close().extrude(0.358) r...
18
109
0.640686
train_82c6e7ce4b1763a3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.197, 0).lineTo(0.197, -0.062).threePointArc((0.189, -0.093), (0.164, -0.115)).lineTo(0.049, -0.172).threePointArc((0, -0.185), (-0.049, -0.172)).lineTo(-0.169, -0.112).threePointArc((-0.19, -0...
2
28
0.216221
train_a887f425212f395b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.373, 0.001, -0.135), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.571, -0.07).lineTo(0.624, -0.094).lineTo(0.61, -0.159).lineTo(0.554, -0.155).lineTo(0.53, -0.222).lineTo(0.575, -0.259).lineTo(0.545, -0.318).lineTo(0.492, -0.299).lineTo(0.451, -...
11
300
0.334948
train_479fa8aabb796c9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.034, 0.151, 0.109), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.326, 0.315).threePointArc((-0.146, 0.318), (0.073, 0.257)).threePointArc((0.273, 0.148), (0.4, 0.019)).threePointArc((0.419, -0.094), (0.326, -0.161)).threePointArc((0.146, -0.165)...
5
48
0.500938
train_d2cf0654faaf18d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.3, 0, -0.077), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.7, 0.228).lineTo(0.7, -0.254).lineTo(-0.656, -0.254).lineTo(-0.656, -0.21).lineTo(-0.7, -0.21).lineTo(-0.7, 0.197).lineTo(-0.643, 0.254).lineTo(0.674, 0.254).lineTo(0.7, 0.228).close().e...
13
125
0.114755
train_5e4d70ddbd9e4825
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.116, 0, -0.243), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.765, 0.442).threePointArc((0.442, 0.765), (0.765, -0.442)).threePointArc((-0.442, -0.765), (-0.765, 0.442)).close().extrude(0.042) result = result.cut(cq.Workplane(cq.Plane(origin=(-...
6
147
0.115553
train_7bfaf1f5ac8a6d1b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.056, 0.027, 0.119), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.555, 0.345).lineTo(0.943, 0.034).lineTo(0.321, -0.345).lineTo(0.223, 0.142).lineTo(0.555, 0.345).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result =...
20
127
1.084829
train_e1677ead17e67c3a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.627, -0.004, -0.28), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.214, 0.734).lineTo(0.373, 0.595).lineTo(0.103, 0.286).lineTo(0.263, 0.146).lineTo(0.106, -0.033).lineTo(-0.373, 0.386).lineTo(-0.217, 0.565).lineTo(-0.057, 0.425).lineTo(0.214, 0.7...
10
132
0.473939
train_628ef6dfedfe3e9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.428), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.028, 1).threePointArc((0.185, 0.934), (0.25, 0.778)).lineTo(0.25, -0.889).threePointArc((0.218, -0.967), (0.14, -1)).lineTo(-0.118, -1).threePointArc((-0.211, -0.96), (-0.25, -0.867)).line...
9
28
0.34652
train_526f86b1f8d2fd0a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.597), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.735, 0.712).lineTo(0.735, 0.447).lineTo(1, 0.447).lineTo(1, -0.319).lineTo(0.607, -0.319).lineTo(0.607, -0.712).lineTo(-0.667, -0.712).lineTo(-0.667, -0.379).lineTo(-1, -0.379).lineTo(-1, ...
13
113
0.670383
train_ddeebff2b08c9195
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.167).lineTo(1, -0.167).lineTo(-1, -0.167).lineTo(-1, 0.167).lineTo(-0.667, 0.167).lineTo(-0.333, 0.167).lineTo(0, 0.167).lineTo(0.333, 0.167).lineTo(0.667, 0.167).lineTo(1, 0.167).close(...
2
96
0.227189
train_b4131b694b88c013
import cadquery as cq import math result = cq.Workplane('XY').box(1.538, 0.769, 2) result = result.edges().fillet(0.135) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.168).extrude(3.077, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
5
32
1.973109
train_0a8a8200804cd21a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.11, -0.607, 0.488), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.512, 0.11).threePointArc((0, -0.402), (-0.512, 0.11)).threePointArc((0, 0.622), (0.512, 0.11)).close().extrude(1.214) result = result.union(result.mirror(mirrorPlane='XY', basePoin...
4
4
1.987484
train_94556afef349e745
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.832, 0.193).lineTo(1, 0.025).lineTo(1, -0.059).lineTo(0.866, -0.193).lineTo(-0.866, -0.193).lineTo(-1, -0.059).lineTo(-1, 0.057).lineTo(-0.864, 0.193).lineTo(0.832, 0.193).close().extrude(...
9
48
0.07078
train_933964b19fbec450
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.043, 0.01, -0.198), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.39, 0.676).threePointArc((0.667, 0.179), (0.676, -0.39)).threePointArc((0.179, -0.667), (-0.39, -0.676)).threePointArc((-0.667, -0.179), (-0.676, 0.39)).threePointArc((-0.179, 0.66...
2
18
1.764913
train_d1b66298120ae732
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.582, 0.18, -0.809), normal=(-0.019, -0.216, 0.976), xDir=(0, -0.976, -0.216))).moveTo(0.126, 0.4).threePointArc((0.202, 0.39), (0.264, 0.342)).threePointArc((0.3, 0.268), (0.32, 0.19)).threePointArc((0.338, 0.115), (0.356, 0.037)).threePointArc(...
2
33
0.686939
train_92d1e1b24d564c7f
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.303).lineTo(0.853, 0).lineTo(1, -0.303).lineTo(0.254, -0.303).lineTo(0.254, 0.303).lineTo(1, 0.303).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.55, 0, 0), normal=(0...
8
81
1.096379
train_50f8725d502585b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.379), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.202, 1).threePointArc((0.24, 0.652), (0.305, 0.333)).lineTo(0.296, -0.333).threePointArc((0.239, -0.657), (0.202, -1)).threePointArc((-0.305, 0), (0.202, 1)).close().extrude(0.758) result ...
5
65
0.579749
train_f6c598c4e2fa6a8d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.404), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.72).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.72).lineTo(-0.672, 0.72).lineTo(-0.672, 0.448).lineTo(0.672, 0.448).lineTo(0.672, 0.72).lineTo(1, 0.72).close().extrude(0.398, both=True) re...
5
50
0.808592
train_08273b8e1e01a32a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.147, -0.029, 0), normal=(0.334, -0.348, 0.876), xDir=(0.721, 0.692, 0))).moveTo(0.339, 0.448).threePointArc((0.382, 0.429), (0.4, 0.387)).lineTo(0.4, 0.265).threePointArc((0.387, 0.234), (0.356, 0.221)).lineTo(-0.125, 0.221).threePointArc((-0.15...
3
66
0.654133
train_98fa8821278019f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.912), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.624, 0.935).threePointArc((0.935, 0.935), (0.935, 0.624)).lineTo(-0.624, -0.935).threePointArc((-0.935, -0.935), (-0.935, -0.624)).lineTo(0.624, 0.935).close().extrude(1.823) final_result ...
1
6
2.044726
train_20fbce96c53f0c60
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.265, -0.363, -0.165), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.254, 0.39).lineTo(0.254, -0.39).lineTo(0.109, -0.39).lineTo(0.109, -0.098).lineTo(-0.109, -0.098).lineTo(-0.109, -0.39).lineTo(-0.254, -0.39).lineTo(-0.254, 0.39).lineTo(-0.109, 0...
10
205
0.536345
train_3859aa527ab3d3bf
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.363, 0.332).lineTo(-0.363, -0.184).lineTo(0.727, -0.184).lineTo(0.727, -0.332).lineTo(-0.727, -0.332).lineTo(-0.727, 0.332).lineTo(-0.363, 0.332).close().extrude(1, taper=-9.195, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.615, ...
6
53
1.51464
train_d303caf383963577
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.319, -0.482, 0.394), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.49, 0.518).lineTo(0.581, 0.311).lineTo(0.607, 0.104).lineTo(0.445, -0.104).threePointArc((0.522, -0.203), (0.586, -0.311)).lineTo(0.49, -0.518).lineTo(0.191, -0.518).lineTo(0.191,...
9
73
0.523188
train_0b2e076db4072984
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.866, 0.751, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.153, 1.751).lineTo(0.998, 0.957).lineTo(0.222, -0.249).lineTo(-0.998, 0.583).lineTo(-0.153, 1.751).close().extrude(1.731) result = result.cut(cq.Workplane(cq.Plane(origin=(0.061, 0.33...
5
11
3.546077
train_58c2c91c51e98c2f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.014, 1).lineTo(0.526, 0.851).lineTo(0.879, 0.477).lineTo(1, 0.019).lineTo(0.86, -0.511).lineTo(0.489, -0.873).lineTo(-0.011, -1).lineTo(-0.474, -0.881).lineTo(-0.865, -0.502).lineTo(-1,...
4
36
1.138217
train_0138079c09bbd395
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.886, 0.083, 0.33), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.669, 0.083).threePointArc((0, -0.586), (-0.669, 0.083)).threePointArc((0, 0.752), (0.669, 0.083)).close().revolve(angleDegrees=90, axisStart=(-1.103, -0.408), axisEnd=(-1.103, 0.408)...
19
508
2.082066
train_8e231daf6b1b9d49
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.13), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.711, 0.26).lineTo(0.912, 0.189).lineTo(1, 0.091).lineTo(1, 0).lineTo(0.842, 0).lineTo(0.842, 0.078).lineTo(0.747, 0.189).lineTo(0, 0.111).lineTo(0, 0.26).lineTo(0.711, 0.26).close().revolv...
9
44
0.334386
train_b874046d13bd1f97
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.569), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.182, 1.137).lineTo(0.182, 0.333).lineTo(1, 0.333).lineTo(1, 0).lineTo(0.08, 0).lineTo(0.08, 1.137).lineTo(0.182, 1.137).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, ...
4
37
0.972677
train_e893b17b435f1d00
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.516, -0.294, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.03).threePointArc((0.731, 0.731), (1.03, 0)).lineTo(0.526, 0).threePointArc((0.372, 0.372), (0, 0.526)).lineTo(0, 1.03).close().extrude(2) result = result.union(cq.Workplane(cq.Pl...
9
60
1.348949
train_2127d8d2f0e9a952
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.594, 0, -0.514), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.647, 1.028).lineTo(0.647, 0.647).lineTo(1.187, 0.647).lineTo(1.187, 0).lineTo(0, 0).lineTo(0, 1.028).lineTo(0.647, 1.028).close().extrude(1, both=True) final_result = result
1
8
2.028992
train_3bdf992d54289a0f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.308), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.908, 0.679).lineTo(0.908, 0).lineTo(-0.908, 0).lineTo(-0.908, 0.679).lineTo(-0.712, 0.679).lineTo(-0.712, 0.196).lineTo(0.712, 0.196).lineTo(0.712, 0.679).lineTo(0.908, 0.679).close().ext...
5
33
0.293686
train_c8453778f19272c2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.097, -0.69, -0.641), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.474, 0.309).lineTo(0.609, 0.018).threePointArc((0.568, -0.046), (0.607, -0.109)).lineTo(0.505, -0.309).lineTo(0.248, -0.259).threePointArc((0.219, -0.181), (0.13, -0.174)).lineTo(...
10
104
0.520452
train_baddeebf7dd884a1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.072, 0, -0.229), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.747, 0.865).threePointArc((0.974, 0.749), (1.07, 0.473)).lineTo(1.07, -0.257).threePointArc((0.921, -0.685), (0.568, -0.865)).lineTo(-0.198, -0.865).threePointArc((-0.31, -0.808), (-0...
4
65
1.009494
train_93969e3273c6ddae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.014, -0.065, -0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.127, 0.136).lineTo(0.405, 0.103).threePointArc((0.569, 0.106), (0.523, 0.07)).lineTo(0.585, 0.026).threePointArc((0.541, 0.004), (0.622, -0.01)).lineTo(0.684, -0.103).lineTo(0.74,...
3
52
0.441738
train_ff4ea40fb4ba9de1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.006, -0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.101, 0.581).lineTo(0.603, 0.409).threePointArc((0.862, 0.235), (1.01, 0.023)).threePointArc((0.616, -0.148), (0.684, -0.429)).threePointArc((0.27, -0.51), (-0.15, -0.581)).threePointA...
11
57
1.328877
train_ad046ab7eff6c6c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.032, 0.847, -0.007), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.057, 0.149).threePointArc((-0.029, 0.136), (-0.006, 0.121)).threePointArc((0.012, 0.109), (0.03, 0.103)).threePointArc((0.053, 0.101), (0.081, 0.098)).threePointArc((0.11, 0.087),...
11
247
0.052666
train_9e94c00fdbd30608
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.129, -0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.139, 0.563).threePointArc((-0.042, 0.516), (0, 0.405)).lineTo(0, 0.185).threePointArc((0.049, 0.055), (0.163, 0)).lineTo(0.894, 0).threePointArc((0.963, -0.033), (1, -0.11)).lineTo(1,...
5
32
1.006869
train_c4fa4d4046c6031b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.369, -0.309, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.739).threePointArc((0.523, 0.523), (0.739, 0)).lineTo(0.308, 0).threePointArc((0.218, 0.218), (0, 0.308)).lineTo(0, 0.739).close().extrude(2) result = result.union(cq.Workplane(cq...
4
26
0.592222
train_67d0b33537f2a10f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.313, 0.512, -0.301), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.169, 0.271).lineTo(0.19, 0.044).lineTo(0.221, -0.005).threePointArc((0.237, -0.03), (0.244, -0.058)).lineTo(0.26, -0.112).threePointArc((0.269, -0.14), (0.271, -0.169)).lineTo(0.0...
10
35
0.586735
train_80ea4acc9e54a9e1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.51), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.109, 0.282).threePointArc((0.313, 0.108), (0.334, -0.129)).threePointArc((0.16, -0.29), (-0.109, -0.282)).threePointArc((-0.313, -0.108), (-0.334, 0.129)).threePointArc((-0.16, 0.29), (0.10...
11
101
0.3999
train_5f08b82da1d92a08
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.075, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.192, 0.518).lineTo(0.192, 0.283).lineTo(0.401, 0.283).lineTo(0.401, -0.132).lineTo(0.192, -0.132).lineTo(0.192, -0.368).lineTo(-0.192, -0.368).lineTo(-0.192, -0.132).lineTo(-0.401, -0.132)...
9
26
0.996225
train_d7f2b537edd10203
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.455, 0.396).workplane(offset=2).rect(0.907, 0.414).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -1.177), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.566, 0.714).threePointArc((...
3
46
0.921725
train_f903a9394e15e988
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.131, 0.1, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.781, -0.508).lineTo(0.697, -0.659).threePointArc((-0.781, 0.659), (0.781, -0.508)).close().extrude(0.086, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0.001, 0.001, -0.017...
7
28
0.196123
train_613b238255c568b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.7, 0.002), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.281, 1.605).threePointArc((-0.14, 1.591), (-0.014, 1.547)).threePointArc((0.098, 1.487), (0.201, 1.436)).threePointArc((0.321, 1.406), (0.477, 1.385)).threePointArc((0.664, 1.34), (0.83...
7
86
2.917468
train_766e8a5f60043d06
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.025, 0.932).lineTo(0.399, 0.769).threePointArc((0.591, 0.689), (0.798, 0.662)).threePointArc((0, -0.938), (-0.798, 0.662)).lineTo(-0.399, 0.766).lineTo(-0.025, 0.932).threePointArc((0, 0.938...
3
43
0.563702
train_44e9a20f1ec70ffd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.024, 0.111, -0.436), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.33, 0).threePointArc((0.661, 0.221), (0.33, -0.221)).lineTo(-0.33, -0.221).threePointArc((-0.661, 0.221), (-0.33, 0)).lineTo(0.33, 0).close().extrude(0.32) result = result.cut(cq.W...
9
47
0.29458
train_ccf6ac7bcb016bb7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.236, -0.041), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.353, 0.128).lineTo(0.353, -0.108).lineTo(0.331, -0.128).lineTo(-0.341, -0.128).lineTo(-0.353, -0.116).lineTo(-0.353, 0.118).lineTo(-0.341, 0.118).lineTo(-0.341, 0.128).lineTo(0.353, 0....
8
59
0.59784
train_e0f2ed3e53c96afe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.404).extrude(0.203) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.669, -0.371).lineTo(0.669, -0.371).lineTo(-0.669, -0.565)...
11
37
0.391741
train_6e8d4e7021589262
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.261, -0.672), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.346, 0.709).lineTo(0.346, -0.268).threePointArc((-0.346, 0.22), (0.346, 0.709)).close().extrude(0.703) result = result.faces('>Z').shell(-0.042) result = result.cut(cq.Workplane(cq.Pla...
6
36
0.374998
train_c8fe8299009f5848
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.332), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.829, 0.985).threePointArc((0.944, 0.937), (1, 0.825)).lineTo(1, -0.82).lineTo(0.827, -0.985).lineTo(-0.923, -0.985).lineTo(-1, -0.916).lineTo(-1, 0.985).lineTo(0.829, 0.985).close().extrud...
7
46
1.318976
train_3790c93d558f7450
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.416, 0.288, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.502, 0.311).threePointArc((0.538, 0.296), (0.553, 0.261)).lineTo(0.553, 0.172).threePointArc((0.538, 0.138), (0.504, 0.123)).lineTo(0.185, 0.123).threePointArc((0.162, 0.114), (0.153, ...
9
150
1.068967
train_a63ba40aeda689fa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.474, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.325, 1.051, 1.697) result = result.edges().fillet(0.198) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.474, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.221).extrude(2.651, both=Tr...
17
143
0.835287
train_1e1c73dfc64d423c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.163), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.325) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.163), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.557).extrude(0.971, both=True)) result = result.union(cq.Workpl...
9
23
0.701316
train_1ac6b0a91372c845
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.495, -0.973), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.154, 0.026).threePointArc((0.171, 0.017), (0.18, 0)).threePointArc((0.171, -0.017), (0.154, -0.026)).threePointArc((0.137, -0.017), (0.128, 0)).threePointArc((0.137, 0.017), (0.154, ...
3
29
0.06205
train_f7dc2fe3536a39a9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.194, 0.265, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.771, 0.101).lineTo(0.787, 0.046).lineTo(0.798, -0.009).lineTo(0.804, -0.064).lineTo(0.805, -0.12).lineTo(0.801, -0.176).lineTo(0.792, -0.23).lineTo(0.778, -0.285).lineTo(0.76, -0.339).l...
3
169
0.824312
train_312a4353c0e9ded7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.072, -0.53, -0.302), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.227, 0.519).threePointArc((0.294, 0.462), (0.32, 0.369)).threePointArc((0.315, 0.277), (0.31, 0.205)).threePointArc((0.327, 0.148), (0.355, 0.09)).threePointArc((0.366, 0.024), (0...
5
82
0.756163
train_744d9480ba337c96
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.25), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.349, 1).threePointArc((0.708, 0.843), (0.852, 0.489)).lineTo(0.852, -0.71).lineTo(0.57, -0.71).lineTo(0.57, -1).lineTo(-0.685, -1).threePointArc((-0.805, -0.942), (-0.852, -0.824)).lineTo(-...
6
33
0.336529
train_da7ab2de827e63cb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.157, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.768).extrude(0.878) result = result.union(cq.Workplane(cq.Plane(origin=(-0.157, 0, -0.384), normal=(0.224, 0, 0.975), xDir=(0.975, 0, -0.224))).circle(0.845).extrude(1.382)) result = ...
9
71
2.172381
train_d524b48f20b1cf17
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.458, 0.063, -0.837), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.15, 0.274).lineTo(0.542, -0.234).threePointArc((-0.035, -0.274), (0.15, 0.274)).close().extrude(1.674).union(cq.Workplane(cq.Plane(origin=(-0.458, 0.063, -0.837), normal=(0, 0, 1)...
7
56
0.878139
train_b294a30120391001
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.619), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.798).lineTo(1, -0.798).lineTo(-1, -0.798).lineTo(-1, 0.798).lineTo(-0.372, 0.798).lineTo(-0.372, -0.17).lineTo(0.372, -0.17).lineTo(0.372, 0.798).lineTo(1, 0.798).close().extrude(1.237)...
23
174
2.796541
train_e553874017f30a67
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.085, 0.107, -0.271), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.862, 0.171).lineTo(0.9, 0.044).lineTo(0.168, -0.171).lineTo(0.151, -0.113).lineTo(0.323, -0.063).lineTo(0.377, 0.028).lineTo(0.862, 0.171).close().revolve(angleDegrees=360, axisS...
13
170
0.365156
train_b754f38929d9cafd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.276, 0, -0.165), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.153, 0.367).threePointArc((0.299, 0.304), (0.364, 0.16)).threePointArc((0.332, -0.028), (0.211, -0.207)).threePointArc((0.033, -0.331), (-0.153, -0.367)).threePointArc((-0.299, -0.304...
7
47
0.395456
train_49d290bdb1730ef1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.039, -0.721, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.567, 1.224).threePointArc((0.714, 1.164), (0.775, 1.016)).lineTo(0.775, -0.012).threePointArc((0.714, -0.16), (0.567, -0.22)).lineTo(-0.567, -0.22).threePointArc((-0.714, -0.16), (-0...
10
106
1.161722
train_403b942b8e94c7ac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.05, 0, -0.726), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.228, 1).lineTo(0.637, 0.797).lineTo(1.016, 0).lineTo(0.637, -0.797).lineTo(-0.228, -1).lineTo(-0.916, -0.444).lineTo(-0.916, 0.444).lineTo(-0.228, 1).close().extrude(1.452) result = r...
9
50
0.803235
train_07ababd173abc6b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.316) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.731).extrude(0.949, both=True)) result = result.union(cq.Workpl...
9
36
0.640412
train_aec31342176e24b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.259, -0.243), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.73).lineTo(1, -0.73).lineTo(-1, -0.73).lineTo(-1, 0.73).lineTo(-0.489, 0.73).lineTo(-0.489, -0.219).lineTo(0.489, -0.219).lineTo(0.489, 0.73).lineTo(1, 0.73).close().extrude(0.214,...
10
76
1.109379
train_aa53a5430ab268db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.278), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.634, 1).lineTo(0.818, 0.815).lineTo(0.818, -0.895).lineTo(0.714, -1).lineTo(-0.627, -1).lineTo(-0.818, -0.808).lineTo(-0.818, 0.86).lineTo(-0.68, 1).lineTo(0.634, 1).close().extrude(0.075)...
11
44
0.325877
train_0863fc73ff8b96fe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.626, 0.227, -0.066), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.553, 0.879).threePointArc((0.606, 0.857), (0.628, 0.805)).lineTo(0.628, -0.349).threePointArc((0.606, -0.402), (0.553, -0.424)).lineTo(-0.553, -0.424).threePointArc((-0.606, -0.40...
13
537
1.525954
train_54090666df60967f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.096), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.632, 0.907).threePointArc((0.905, 0.839), (1.02, 0.677)).lineTo(1.02, -0.525).threePointArc((0.829, -0.794), (0.376, -0.907)).lineTo(-0.349, -0.907).threePointArc((-0.821, -0.789), (-1...
6
496
0.491693
train_7cbf9edfd2af7608
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.063, -0.05, -0.138), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.384, 0.831).threePointArc((0.506, 0.78), (0.556, 0.659)).lineTo(0.556, -0.461).threePointArc((0.506, -0.583), (0.384, -0.633)).lineTo(0.256, -0.684).threePointArc((0.19, -0.689), ...
37
1,436
1.848423
train_3e898207ca967891
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.154, -0.385), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.093, 0.247).lineTo(0.113, 0.192).lineTo(0.128, 0.137).threePointArc((0.128, 0.107), (0.113, 0.081)).lineTo(0.093, 0.026).threePointArc((-0.128, 0.137), (0.093, 0.247)).close().extrude...
11
27
0.110756
train_11958e2b8c7174e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, -0.999), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.998, 0).threePointArc((0, -0.998), (-0.998, 0)).threePointArc((0, 0.998), (0.998, 0)).close().revolve(angleDegrees=90, axisStart=(-0.938, 1), axisEnd=(0.938, 1)) result = result.cut(c...
10
210
4.25422
train_f0ec93f458090106
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.269, 0.204, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.493, 1.082).lineTo(0.378, 0.946).lineTo(1, 0.198).lineTo(0.342, -0.559).lineTo(-0.574, -0.518).lineTo(-1, 0.303).lineTo(-0.493, 1.082).close().extrude(0.408) result = result.cut(cq.Wo...
4
36
0.909736
train_01a8f117d27e75f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.744, -0.744, 0.482), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.376, 1.482).lineTo(0.723, 0.523).threePointArc((1.136, 0.13), (1.397, -0.589)).lineTo(1.658, -1.308).lineTo(1.178, -1.482).lineTo(0.136, 1.395).lineTo(0.376, 1.482).close().revol...
15
30
1.695961
train_14c332c04eee9ca2
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.61, 0.091).lineTo(-0.61, -0.062).lineTo(0.967, -0.062).lineTo(0.967, -0.091).lineTo(-0.967, -0.091).lineTo(-0.967, 0.091).lineTo(-0.61, 0.091).close().extrude(0.136, taper=-13.542, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0.74...
4
30
0.065449