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_8886771a8a52f6e9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.055, -1, -0.499), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.071, 0.37).lineTo(0.168, 0.257).lineTo(0.139, 0.11).lineTo(0.007, 0.04).lineTo(-0.129, 0.101).lineTo(-0.168, 0.245).lineTo(-0.079, 0.365).lineTo(0.071, 0.37).close().extrude(2) resul...
11
73
0.440857
train_446a52af61372a79
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.323, -0.002, -0.041), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.47, -0.092).lineTo(0.66, -0.155).lineTo(0.637, -0.231).lineTo(0.447, -0.173).lineTo(0.405, -0.255).lineTo(0.56, -0.383).lineTo(0.511, -0.447).lineTo(0.354, -0.322).lineTo(0.286, ...
7
155
0.263329
train_37cdfbac28a6327a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.197, 0, -0.059), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.581, 0.92).threePointArc((0.684, 0.892), (0.728, 0.827)).lineTo(0.728, -0.249).threePointArc((0.701, -0.29), (0.637, -0.307)).lineTo(0.414, -0.307).threePointArc((0.293, -0.339), (0.2...
9
114
0.75059
train_4cda0bcaee586c9f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.206, -0.125, -0.023), normal=(-0.246, -0.911, -0.332), xDir=(0.966, -0.26, 0))).moveTo(0.161, 0.099).lineTo(0.185, 0.032).threePointArc((0.186, 0.025), (0.182, 0.019)).lineTo(0.164, 0.002).threePointArc((0.161, -0.001), (0.157, -0.003)).lineTo(...
9
120
0.36473
train_de1e77f2d4354ecd
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.477, 0.74).threePointArc((0.549, 0.689), (0.578, 0.567)).lineTo(0.578, 0.401).threePointArc((0.605, 0.293), (0.669, 0.247)).lineTo(0.795, 0.247).threePointArc((0.842, 0.21), (0.863, 0.123)).li...
7
115
3.482029
train_c1f6dc1d2502ea2a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.004, -0.21), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.333, 0.113).lineTo(0.333, 0.054).threePointArc((0.41, 0.016), (0.593, 0)).lineTo(0.908, 0).threePointArc((0.973, -0.006), (1, -0.019)).lineTo(1, -0.055).threePointArc((0.979, -0.065), ...
13
112
0.083207
train_f1fadca598778060
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.097, 0.864), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.509, 0.477).threePointArc((0.864, 0.263), (1, -0.022)).threePointArc((0.852, -0.301), (0.487, -0.499)).threePointArc((-0.012, -0.563), (-0.509, -0.477)).threePointArc((-0.864, -0.263),...
9
417
2.994713
train_10e3672476afeb7d
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.164).lineTo(0.8, 0).lineTo(1, -0.164).lineTo(0.329, -0.164).lineTo(0.329, 0.164).lineTo(1, 0.164).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.443, 0.322, 0), norma...
10
43
0.505528
train_46803f7b91ef5d46
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.376), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.454) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.376), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.59).extrude(1.36, both=True)) result = result.union(cq.Workplan...
13
84
1.203637
train_39955ffdaf8040d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.287, 0, 0.331), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.639, 0.67).threePointArc((0.691, 0.654), (0.713, 0.616)).lineTo(0.713, 0.491).threePointArc((0.701, 0.47), (0.673, 0.461)).lineTo(0.267, 0.461).threePointArc((0.18, 0.434), (0.143, 0.3...
18
161
0.811126
train_2db9af16deae9483
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.27, -0.263, -0.498), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.05, 0.727).lineTo(0.531, 0.501).lineTo(0.366, 0.081).lineTo(0.662, -0.035).lineTo(0.511, -0.424).lineTo(0.214, -0.308).lineTo(0.05, -0.727).threePointArc((-0.055, -0.697), (-0.16...
6
171
2.160123
train_7ec672c9e99f3dd1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.291), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.084, 0.751).threePointArc((-0.025, 0.732), (0, 0.688)).lineTo(0, 0.455).threePointArc((0.032, 0.399), (0.106, 0.376)).lineTo(0.904, 0.376).threePointArc((0.972, 0.354), (1, 0.304)).lineTo...
9
39
0.962271
train_da31c22e9b462906
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.921, 0.848).threePointArc((0.971, 0.833), (1, 0.801)).lineTo(1, 0.677).threePointArc((0.946, 0.6), (0.838, 0.568)).lineTo(0.67, 0.568).threePointArc((0.619, 0.553), (0.597, 0.517)).lineTo(0.597, 0.089).threePointArc((0.634, 0.026), (0.722, 0)).lineT...
3
48
0.521696
train_785d6ea0b1ffd021
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.347), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.943, 0.597).threePointArc((0.978, 0.582), (1, 0.549)).lineTo(1, -0.597).lineTo(-0.913, -0.597).threePointArc((-0.969, -0.574), (-1, -0.519)).lineTo(-1, 0.517).lineTo(-0.912, 0.517).lineTo(...
17
137
0.629422
train_a52a0fbc7cdc8885
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.327, -0.428).lineTo(-0.327, -0.698).lineTo(-0.98, -0.5).threePointArc((0, 0.698), (0.98, -0.5)).threePointArc((0.639, -0.594), (0.327, -0.428)).close().extrude(0.176) result = result.union...
6
38
0.379077
train_48b4be491703df73
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.474), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.674, 0.825).threePointArc((0.897, 0.731), (1, 0.504)).lineTo(1, -0.405).threePointArc((0.869, -0.703), (0.575, -0.825)).lineTo(-0.74, -0.825).lineTo(-1, -0.571).lineTo(-1, 0.67).lineTo(-0....
10
33
1.002362
train_f1d51ef85e512d90
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.415, 0, -0.79), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.106, 1.579).lineTo(0.106, 0.106).lineTo(0.829, 0.106).lineTo(0.829, 0).lineTo(0, 0).lineTo(0, 1.579).lineTo(0.106, 1.579).close().extrude(1, both=True) result = result.cut(cq.Workplan...
9
34
0.443544
train_df5a011b2d2c0fc5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.006, -0.003, -0.216), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.874, -0.192).lineTo(0.97, -0.253).lineTo(0.942, -0.346).lineTo(0.835, -0.324).lineTo(0.745, -0.496).lineTo(0.814, -0.586).lineTo(0.752, -0.663).lineTo(0.662, -0.603).lineTo(0.516,...
8
110
1.052572
train_ec74a9b298087b7c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.005, -0.004, -0.213), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.055, 0.951).threePointArc((0.236, 0.99), (0.325, 0.8)).lineTo(-0.028, 0.335).threePointArc((-0.05, 0.264), (0.023, 0.232)).lineTo(0.82, 0.151).threePointArc((0.956, -0.102), (0.7...
10
31
0.473221
train_606141d744373061
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1.076), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.642, 2.23).lineTo(0.642, 1.329).lineTo(1, 1.329).lineTo(1, 0.823).lineTo(0.201, 0.823).lineTo(0.201, 0.249).lineTo(0.205, 0.249).lineTo(0.205, 0).lineTo(0, 0).lineTo(0, 2.23).lineTo(0.642...
4
14
0.550387
train_1ea61af37eba2f0c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.317, 0, -0.463), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.679, 0.721).lineTo(0.679, 0.449).lineTo(0.574, 0.449).lineTo(0.574, 0).lineTo(0, 0).lineTo(0, 0.721).lineTo(0.679, 0.721).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisE...
6
46
0.618553
train_d77b07f3ef60a1c2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.129, -0.885), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.05, 0.522).lineTo(0.908, -0.11).lineTo(-0.058, -0.522).lineTo(0.05, 0.522).close().extrude(1.884).union(cq.Workplane(cq.Plane(origin=(0, 0.129, -0.885), normal=(0, 0, 1), xDir=(1, 0, 0...
13
237
1.206545
train_ee9716f3a65ddb9b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.871), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.021).extrude(0.245) result = result.cut(cq.Workplane(cq.Plane(origin=(1.021, 0, -0.871), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-1.021, 1.021), (-2.042, 0), (-1.021, -1.02...
4
21
1.833677
train_81e07dc7df11201b
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.555, 0.878).threePointArc((-0.439, 0.829), (-0.39, 0.713)).lineTo(-0.39, -0.081).threePointArc((-0.335, -0.212), (-0.204, -0.268)).lineTo(0.837, -0.268).threePointArc((0.952, -0.316), (1, -0.431)).lineTo(1, -0.779).threePointArc((0.971, -0.848), (0...
4
23
2.586741
train_e0bb98651afb75f6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.003, 0, -0.412), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.403) result = result.cut(cq.Workplane(cq.Plane(origin=(1.003, 0, -0.412), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.086, 0.407), (-0.331, 0.743), (-0.692, 0...
5
100
1.354944
train_58fd9e9d51d5246b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.014, -0.016, -0.221), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.789, 0.441).lineTo(0.963, 0.304).lineTo(1.046, 0.154).lineTo(1.046, 0).lineTo(0.956, 0).lineTo(0.956, 0.133).lineTo(0.85, 0.304).lineTo(0, 0.351).lineTo(0, 0.441).lineTo(0.789, 0...
11
112
0.230542
train_01be513332d53d6b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.203), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.999).extrude(0.405) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.203), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.738).extrude(1.212, both=True)) result = result.union(cq.Wo...
14
52
0.64385
train_80dd748e16876b75
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.035, -0.061), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.566).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.566).lineTo(-0.779, 0.566).lineTo(-0.779, 0.092).lineTo(0.779, 0.092).lineTo(0.779, 0.566).lineTo(1, 0.566).close().extrude(0.174, both...
11
84
0.165202
train_2ce3cb57bb02da58
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.018, 0.386, -0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.286, 0.573).threePointArc((0.429, 0.573), (0.716, 0)).threePointArc((0.286, -0.573), (-0.429, -0.573)).threePointArc((-0.716, 0), (-0.286, 0.573)).close().sweep(cq.Workplane(cq.Pla...
5
30
0.489933
train_6eb6250d9ea30279
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.346, -0.561, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.221, 0.404).threePointArc((0.269, 0.387), (0.289, 0.346)).lineTo(0.289, 0.296).threePointArc((0.308, 0.258), (0.354, 0.242)).lineTo(0.425, 0.242).threePointArc((0.465, 0.228), (0.482, ...
16
143
0.715334
train_8e0776e5f454dd72
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.568, -0.259, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.278, 0.873).threePointArc((0.416, 0.691), (0.391, 0.464)).threePointArc((0.493, 0.249), (0.356, 0.054)).lineTo(0.278, -0.355).threePointArc((-0.107, -0.741), (-0.493, -0.355)).lineTo(...
5
30
1.688871
train_b56fd1124ec76858
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.335, 0, -0.334), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.205, 0.631).lineTo(0.537, 0.39).lineTo(0.664, 0).lineTo(0.537, -0.39).lineTo(0.205, -0.631).lineTo(-0.205, -0.631).lineTo(-0.537, -0.39).lineTo(-0.664, 0).lineTo(-0.537, 0.39).lineTo(-...
6
48
0.523851
train_be5a2edf7ebdc56e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.062, 0.663, 0.003), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.249, 0).threePointArc((0, -0.249), (-0.249, 0)).threePointArc((0, 0.249), (0.249, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.062, 0.663, 0.003), normal=(0, -1, 0), xDir=(1,...
1
4
0.080192
train_9fb348411d985c20
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.084), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.169).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.169).lineTo(-0.872, 0.169).lineTo(-0.872, 0.054).lineTo(0.872, 0.054).lineTo(0.872, 0.169).lineTo(1, 0.169).close().extrude(1, both=True) r...
8
138
0.38564
train_5537bf19b4f93f8e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.204, 0.321, 0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.357).threePointArc((0.215, 0.268), (0.304, 0.053)).threePointArc((0.215, -0.162), (0, -0.251)).threePointArc((-0.215, -0.162), (-0.304, 0.053)).threePointArc((-0.215, 0.268), (0...
4
21
0.39668
train_a35c54e3898c5651
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.135, -0.102, -0.451), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.396, 0.886).threePointArc((-0.32, 0.867), (-0.288, 0.82)).lineTo(-0.288, 0.625).threePointArc((-0.243, 0.56), (-0.136, 0.532)).lineTo(0.074, 0.532).threePointArc((0.225, 0.493), ...
13
140
1.734776
train_08a1af138b0e6eac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.093, 0.618, 0.135), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.381).threePointArc((0.254, 0.254), (0.381, 0)).threePointArc((0.254, -0.254), (0, -0.381)).threePointArc((-0.254, -0.254), (-0.381, 0)).threePointArc((-0.254, 0.254), (0, 0.381))...
2
25
0.092008
train_8245663ad96b66c4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.036, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.439, 0.036).threePointArc((0, -0.403), (-0.439, 0.036)).threePointArc((0, 0.475), (0.439, 0.036)).close().moveTo(-0.017, 0.213).lineTo(0.028, 0.137).lineTo(0.116, 0.145).lineTo(0.073, 0.06...
3
55
1.034048
train_c7cf14dabd35595e
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.385, 0.338).threePointArc((0.4, 0.332), (0.406, 0.318)).lineTo(0.406, 0.241).threePointArc((0.394, 0.214), (0.368, 0.203)).lineTo(-0.247, 0.203).threePointArc((-0.263, 0.196), (-0.27, 0.179))....
5
171
0.665225
train_609869db92e71c9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.121, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.786, -0.494).lineTo(0.289, -0.835).threePointArc((-0.786, 0.738), (0.786, -0.494)).close().moveTo(-0.335, 0.835).lineTo(0.543, -0.448).threePointArc((-0.543, 0.692), (-0.335, 0.835))....
8
34
0.235025
train_5a5b10b56ba77b9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.498, 0, -0.265), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.501, 0.819).lineTo(0.501, -0.808).lineTo(0.491, -0.808).lineTo(0.491, -0.819).lineTo(-0.496, -0.819).threePointArc((-0.5, -0.818), (-0.501, -0.813)).lineTo(-0.501, 0.811).lineTo(-0.494...
8
67
0.336971
train_0d004372403b09cb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.659, -0.062, 0.362), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.034, 0.059).threePointArc((0.034, 0.059), (0.068, 0)).threePointArc((0.034, -0.059), (-0.034, -0.059)).threePointArc((-0.068, 0), (-0.034, 0.059)).close().sweep(cq.Workplane(cq.P...
3
19
0.652241
train_2260afbab02e24ab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.049, 0.049), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.063, 0.292).lineTo(0.061, 0.275).lineTo(0.056, 0.259).lineTo(0.072, 0.243).threePointArc((0.074, 0.234), (0.072, 0.226)).threePointArc((0.072, 0.215), (0.063, 0.21)).lineTo(0.127, 0.21...
5
71
0.152773
train_0915aff78be251f6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.037, 0.002, -0.59), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.566, 0.233).lineTo(-0.351, 0.457).threePointArc((-0.337, 0.469), (-0.32, 0.478)).lineTo(-0.122, 0.564).threePointArc((-0.104, 0.574), (-0.088, 0.587)).lineTo(0.329, 0.977).threePo...
8
413
2.891771
train_c2c555cfa889de93
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.177, -0.479), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.555, 0.823).threePointArc((0.629, 0.784), (0.659, 0.693)).lineTo(0.659, 0.521).threePointArc((0.633, 0.444), (0.572, 0.412)).lineTo(0.387, 0.412).threePointArc((0.347, 0.39), (0.33, 0...
7
148
0.65435
train_420a5369e2060df6
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0, 0.85).lineTo(0, 0.51).lineTo(1, 0.51).lineTo(1, 0.17).lineTo(0.5, 0.17).lineTo(0.5, -0.17).lineTo(1, -0.17).lineTo(1, -0.85).lineTo(-0.5, -0.85).lineTo(-0.5, -0.17).lineTo(-1, -0.17).lineTo(-1, 0.51).lineTo(-0.5, 0.51).lineTo(-0.5, 0.85).lineTo(0, ...
6
52
1.612201
train_42ff65cf8476d07c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.359, -0.15, 0.139), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.54, 0.265).threePointArc((0, -0.275), (-0.54, 0.265)).threePointArc((0, 0.805), (0.54, 0.265)).close().revolve(angleDegrees=90, axisStart=(-0.819, -1.021), axisEnd=(-0.819, 1.021)...
14
293
1.144767
train_97e662aece183655
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.669, 0, -0.199), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.205, 0.398).lineTo(0.205, 0.205).lineTo(1.338, 0.205).lineTo(1.338, 0).lineTo(0, 0).lineTo(0, 0.398).lineTo(0.205, 0.398).close().extrude(1, both=True) result = result.cut(cq.Workpla...
4
35
0.541869
train_5bff100d67145906
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 1).lineTo(1, 0.6).lineTo(-0.6, 0.6).lineTo(-0.6, 0.2).lineTo(1, 0.2).lineTo(1, -1).lineTo(-1, -1).lineTo(-1, -0.6).lineTo(0.6, -0.6).lineTo(0.6, -0.2).lineTo(-1, -0.2).lineTo(-1, 1).lineTo...
9
53
1.275688
train_a001fb79c1132198
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.288), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.626, -0.076).lineTo(0.603, -0.187).lineTo(0.94, -0.334).lineTo(0.876, -0.478).lineTo(0.541, -0.325).lineTo(0.474, -0.417).lineTo(0.723, -0.688).lineTo(0.606, -0.794).lineTo(0.362, -0.518)....
2
87
0.565056
train_4e8f38af80df16db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.139, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.364, 0.327).threePointArc((0.384, 0.319), (0.392, 0.3)).lineTo(0.392, 0.232).threePointArc((0.381, 0.207), (0.355, 0.196)).lineTo(0.311, 0.196).threePointArc((0.276, 0.181), (0.261, 0.146)...
21
91
0.588073
train_31e6a64282ffa9c8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.946, 0.59).lineTo(1.186, 0.543).lineTo(0.315, 0.015).lineTo(0.559, -0.33).lineTo(0.528, -0.433).lineTo(0.273, -0.491).lineTo(-0.794, -0.59).lineTo(-0.938, -0.546).lineTo(-1.186, -0.184).li...
18
41
0.261503
train_3415c3004d7e0fef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.067, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.813, 0.419).lineTo(0.813, 0).lineTo(0.406, 0).lineTo(0.406, -0.419).lineTo(0, -0.419).lineTo(0, -0.28).lineTo(-0.406, -0.28).lineTo(-0.406, -0.139).lineTo(-0.813, -0.139).lineTo(-0.813, 0.1...
4
41
0.911321
train_f1ce2607b2ed877a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0.041, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.496, 0.379).lineTo(0.371, 0.304).lineTo(0.123, 0.151).lineTo(0.248, 0).lineTo(0.619, -0.228).lineTo(0.619, -0.304).threePointArc((-0.371, -0.531), (-0.619, -0.304)).lineTo(-0.619, -0....
4
62
1.769319
train_01e7dfc36fa36678
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.461, 0.029, -0.994), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.034, 0).threePointArc((0.028, -0.006), (0.022, 0)).threePointArc((0.028, 0.006), (0.034, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.461, 0.029, -0.994), normal=(0, 0, 1),...
2
14
0.068128
train_f3f5cd8fd9ce18fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.24, -0.253, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.756, 0.69).lineTo(0.756, 0.414).lineTo(-0.504, 0.414).lineTo(-0.504, 0.138).lineTo(0.756, 0.138).lineTo(0.756, -0.69).lineTo(-0.756, -0.69).lineTo(-0.756, -0.414).lineTo(0.504, -0...
10
226
1.795507
train_4d3e40f0725748a6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.19, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.321).extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(-0.19, 0, 0.39), normal=(0.887, 0, 0.462), xDir=(0.462, 0, -0.887))).circle(0.333).extrude(0.616)) result = result.cut(c...
5
18
0.578928
train_653367d36f326db0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.14, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.142, 0.428).lineTo(0.888, 0.25).lineTo(1, 0.196).lineTo(0.87, 0.133).lineTo(0.26, 0).lineTo(0.253, -0.437).lineTo(-0.253, -0.437).lineTo(-0.26, 0).lineTo(-0.87, 0.133).lineTo(-1, 0.196).line...
5
73
0.542258
train_a41c142eb147f074
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.246, 0.139), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.243, 0.287).lineTo(-0.243, -0.121).lineTo(0.62, -0.121).lineTo(0.62, -0.287).lineTo(-0.62, -0.287).lineTo(-0.62, 0.287).lineTo(-0.243, 0.287).close().extrude(0.86, both=True) result =...
10
106
0.635813
train_a7f0e84e2d928664
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.286), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.563, 0.251).threePointArc((0.863, 0.229), (1, 0.178)).lineTo(1, -0.156).threePointArc((0.828, -0.223), (0.431, -0.251)).lineTo(-0.263, -0.251).threePointArc((-0.777, -0.214), (-1, -0.1...
5
70
0.287143
train_5989f062751185be
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.203), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.989, 0.977).lineTo(0.989, -0.973).lineTo(0.962, -1).lineTo(-0.948, -1).lineTo(-0.989, -0.959).lineTo(-0.989, 0.948).lineTo(-0.938, 1).lineTo(0.965, 1).lineTo(0.989, 0.977).close().extrude(...
2
40
1.166905
train_125a5dbd0cfcaf95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.002), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.136).lineTo(0.904, 0).lineTo(1, -0.136).lineTo(0.311, -0.136).lineTo(0.311, 0.136).lineTo(1, 0.136).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = re...
13
108
0.432778
train_46da296067d7bcbc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.522), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.549, 0.927).lineTo(0.825, 0.309).lineTo(0.695, -0.309).threePointArc((0.595, -0.612), (0.549, -0.927)).threePointArc((-0.825, 0), (0.549, 0.927)).close().sweep(cq.Workplane(cq.Plane(origi...
2
19
1.842213
train_f75d96564a98242a
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.056, 0.096).threePointArc((0.056, 0.096), (0.111, 0)).threePointArc((0.056, -0.096), (-0.056, -0.096)).threePointArc((-0.111, 0), (-0.056, 0.096)).close().extrude(2) result = result.cut(cq.Wo...
10
103
0.074022
train_bf41b89a3fc20152
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.562, 1).threePointArc((0.87, 0.87), (1, 0.562)).lineTo(1, -0.082).threePointArc((0.925, -0.259), (0.749, -0.333)).lineTo(0.593, -0.333).threePointArc((0.41, -0.41), (0.333, -0.593)).lineTo(0...
24
64
0.723992
train_ed3dc27713b28a27
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.287), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.746).extrude(0.713, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.287), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.101).extrude(1, both=True)) result = result.cut(...
8
51
1.682428
train_80ad98f08e17948d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.346, -0.243), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.18, 0.653).threePointArc((0.346, 0.585), (0.415, 0.418)).lineTo(0.415, -0.426).threePointArc((0.349, -0.587), (0.188, -0.653)).lineTo(-0.25, -0.653).threePointArc((-0.367, -0.605), (-0...
9
66
0.143054
train_1806b254da5adbd1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.324, -0.516), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.822, 0.293).lineTo(0.822, 0.115).lineTo(1, 0.115).lineTo(1, -0.016).lineTo(0.723, -0.016).lineTo(0.723, -0.293).lineTo(-0.76, -0.293).lineTo(-0.76, -0.053).lineTo(-1, -0.053).lineTo(-1...
11
56
1.193706
train_0fcb7af0766a5ca1
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(0.163, 0.203).lineTo(0.391, 0.1).lineTo(0.55, 0.184).lineTo(0.768, 0.072).lineTo(1, -0.018).lineTo(0.908, -0.203).lineTo(0.137, 0.147).lineTo(0.163, 0.203).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(c...
7
29
0.49738
train_0829b3d18b6e9806
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.044, -0.299, -0.13), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.239, 0.548).lineTo(0.239, -0.463).threePointArc((0, -0.701), (-0.239, -0.463)).lineTo(-0.239, 0.548).threePointArc((0, 0.786), (0.239, 0.548)).close().extrude(0.542) result = resu...
20
40
0.599065
train_c5ab2bf21294a845
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.116, -0.552), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.725).extrude(0.786) result = result.cut(cq.Workplane(cq.Plane(origin=(0.725, -0.116, -0.552), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.138, 0.427), (-0.5, 0.69), (-0...
5
115
1.441996
train_684b3266c67cc8e4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.619, -0.061, -0.164), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.045, 0.87).lineTo(-0.045, 0.018).threePointArc((0.035, 0.064), (0.123, 0.036)).threePointArc((0.224, 0.032), (0.292, -0.042)).lineTo(0.461, -0.038).threePointArc((0.543, -0.002)...
29
452
2.177965
train_86b81d084b9c80dc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.318, 0.409, 0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.349, 0.107).lineTo(-0.489, -0.2).lineTo(-0.491, -0.011).threePointArc((-0.47, 0.083), (-0.439, 0.173)).lineTo(-0.399, 0.275).lineTo(-0.356, 0.345).threePointArc((-0.313, 0.393), (-...
18
247
1.171451
train_115c9c20a3876325
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.456, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.153, 0.517).lineTo(-0.07, 0.466).lineTo(0, 0.185).lineTo(0.083, 0.134).lineTo(0.131, 0.223).lineTo(0.392, 0.298).lineTo(0.474, 0.246).threePointArc((0.544, -0.034), (0.353, -0.391)).lineTo...
5
115
0.729111
train_4bdc2add2d8b7d11
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, -0.002, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.28, 1).lineTo(0.28, -0.832).lineTo(0.005, -0.832).lineTo(0.005, -1).lineTo(-0.097, -1).threePointArc((-0.227, -1.052), (-0.28, -0.923)).lineTo(-0.28, 1).lineTo(0.28, 1).close().ex...
3
13
0.281709
train_443d0cba44a9f559
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.715, 0.392).workplane(offset=2).rect(0.53, 0.377).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.232).extrude(1.169, both=Tru...
5
32
0.525336
train_b09422bf762cca91
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.056), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.704, 0.757).threePointArc((0.906, 0.661), (1, 0.43)).lineTo(1, -0.599).threePointArc((0.95, -0.71), (0.851, -0.757)).lineTo(0.54, -0.757).threePointArc((0.393, -0.687), (0.331, -0.523)).li...
3
31
0.879928
train_19e2200bd1135095
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.009, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.656, 0.164).lineTo(0.656, -0.077).threePointArc((0.63, -0.138), (0.569, -0.164)).lineTo(-0.567, -0.164).threePointArc((-0.63, -0.138), (-0.656, -0.074)).lineTo(-0.656, 0.055).lineTo(-...
12
75
0.285192
train_130dfe92d7e86057
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.016, 0, -0.015), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.268, 0.293).threePointArc((-0.073, 0.586), (0.317, 0.586)).threePointArc((0.366, 0.439), (0.415, 0.195)).threePointArc((0.464, -0.146), (0.122, -0.293)).threePointArc((0.073, -0.342)...
6
54
1.246671
train_3419f33000d9ed95
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.689, 0.185).threePointArc((0.185, 0.689), (0.689, -0.185)).threePointArc((-0.185, -0.689), (-0.689, 0.185)).close().extrude(1, both=True) result = result.faces('<Z').edges().fillet(0.131) final_result = result
2
4
3.181971
train_c8f650868fedac1c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.253, 0.688, -0.825), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.165, 1.651).lineTo(0.165, 0.165).lineTo(1.794, 0.165).lineTo(1.794, 0).lineTo(0, 0).lineTo(0, 1.651).lineTo(0.165, 1.651).close().extrude(1.367, both=True) result = result.cut(cq...
6
23
0.663916
train_813de09b993ab68c
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0, 0.067).lineTo(0.048, 0.048).lineTo(0.067, 0).lineTo(0.048, -0.048).lineTo(0, -0.067).lineTo(-0.048, -0.048).lineTo(-0.067, 0).lineTo(-0.048, 0.048).lineTo(0, 0.067).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0, ...
5
19
0.037317
train_68504421db7285de
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.802, 0.595).threePointArc((0.94, 0.538), (1, 0.398)).lineTo(1, -0.307).threePointArc((0.914, -0.512), (0.712, -0.595)).lineTo(-0.595, -0.595).threePointArc((-0.881, -0.476), (-1, -0.19)).l...
2
19
2.722034
train_3abb88d65fde99dd
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.77, 0.23).threePointArc((1, 0), (0.77, -0.23)).lineTo(0.257, -0.23).lineTo(-0.257, -0.23).lineTo(-0.77, -0.23).threePointArc((-1, 0), (-0.77, 0.23)).lineTo(-0.257, 0.23).lineTo(0.257, 0.23).lineTo(0.77, 0.23).close().extrude(0.18, both=True) result ...
5
24
0.313824
train_d32a553d3df56f01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.113, -0.396, -0.184), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.227, 0.193).lineTo(0.263, 0.037).lineTo(0.542, 0.102).lineTo(0.604, -0.166).lineTo(0.491, -0.193).lineTo(0.455, -0.037).lineTo(0.176, -0.102).lineTo(0.114, 0.166).lineTo(0.227, 0...
9
199
0.92968
train_08103a9cd55af8eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.772), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 0.598).lineTo(0.5, 0.299).lineTo(1, 0.299).lineTo(1, 0).lineTo(0.5, 0).lineTo(0.5, -0.598).lineTo(0, -0.598).lineTo(0, 0).lineTo(-1, 0).lineTo(-1, 0.299).lineTo(-0.5, 0.299).lineTo(-0.5...
11
58
0.907306
train_7be61a189130c3eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.991, 0.261, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.498, 1.851).threePointArc((0.498, 1.851), (1, 0.989)).threePointArc((0.498, 0.13), (-0.498, 0.13)).threePointArc((-1, 0.989), (-0.498, 1.851)).close().workplane(offset=0.096).moveTo(-...
7
8
1.186473
train_fde680fc67c34853
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.055, -0.538), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.532, 0.51).lineTo(0.901, 0.143).lineTo(0.901, -0.368).lineTo(0.757, -0.51).lineTo(-0.667, -0.51).lineTo(-0.901, -0.278).lineTo(-0.901, 0.152).lineTo(-0.544, 0.51).lineTo(0.532, 0.51)....
9
37
1.183686
train_e0138af09e7a1c14
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.362, -0.365), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.637).extrude(0.374) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.362, -0.365), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.351).extrude(1.121, both=True)) result = result.uni...
14
99
0.563564
train_f3517a83904859db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.05, 0, -0.507), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.198, 0.501).threePointArc((0.266, 0.469), (0.328, 0.425)).lineTo(0.527, 0.078).threePointArc((0.535, -0.004), (0.527, -0.086)).lineTo(0.35, -0.39).threePointArc((0.257, -0.456), (0.153...
8
87
2.75203
train_3ba7f0a8f4d1cfe0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.098, 0.02, -0.22), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.8, 0.223).threePointArc((0.9, 0), (0.599, -0.223)).lineTo(-0.599, -0.223).threePointArc((-0.9, 0), (-0.599, 0.223)).lineTo(0.8, 0.223).close().moveTo(-0.599, 0).lineTo(-0.699, -0.223...
1
8
0.380458
train_1ee0492a2ce7313c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.067, 0.069, -0.039), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.675, 0.323).lineTo(0.931, -0.057).lineTo(0.92, -0.114).lineTo(0.873, -0.146).lineTo(0.863, -0.197).lineTo(0.889, -0.236).lineTo(0.875, -0.308).lineTo(0.836, -0.334).lineTo(0.785, ...
17
681
0.984344
train_70de1ba49d344f9d
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.859).extrude(0.716) result = result.cut(cq.Workplane(cq.Plane(origin=(0.859, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.066, 0.328), (-0.251, 0.608), (-0.531, 0.793), (...
4
65
1.399773
train_177a0a6285c84de0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.481, -0.083), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.805, 0.519).lineTo(0.805, 0.437).lineTo(0.888, 0.437).lineTo(0.888, -0.428).threePointArc((0.86, -0.493), (0.796, -0.519)).lineTo(-0.808, -0.519).threePointArc((-0.864, -0.496), (-0.8...
14
167
0.360584
train_b06cd291ece73b90
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.215, 0.421), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.206, 1.568, 1.157) result = result.edges().fillet(0.129) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.215, 0.421), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.135).extrude(2.41...
11
100
2.08265
train_06e8093d726d1916
import cadquery as cq import math result = cq.Workplane('XY').box(1.967, 2, 1.764) result = result.edges().fillet(0.106) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.217).extrude(3.934, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
5
32
6.15369
train_bdb16dfc98169b07
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.861), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.748, 1.721).lineTo(0.748, 1.483).lineTo(0.396, 1.483).lineTo(0.396, 0.499).lineTo(1, 0.499).lineTo(1, 0).lineTo(0, 0).lineTo(0, 1.721).lineTo(0.748, 1.721).close().revolve(angleDegrees=36...
9
26
2.063156
train_052ffd9d5cf4b1b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.456, 0.031, 0.016), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.443, 0.525).threePointArc((0.458, 0.515), (0.464, 0.491)).lineTo(0.464, 0.378).threePointArc((0.452, 0.334), (0.425, 0.315)).lineTo(-0.306, 0.315).threePointArc((-0.324, 0.303), (-...
15
511
1.736068
train_67e0f1ed81cb3099
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.445), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.89).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.89).lineTo(-0.74, 0.89).lineTo(-0.74, 0.26).lineTo(0.74, 0.26).lineTo(0.74, 0.89).lineTo(1, 0.89).close().extrude(0.223, both=True) result =...
6
35
0.161997
train_92fb7d3b36465b27
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.268, -0.341), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.238, 0.732).lineTo(0.622, 0.452).lineTo(0.769, 0).lineTo(0.622, -0.452).lineTo(0.238, -0.732).lineTo(-0.238, -0.732).lineTo(-0.622, -0.452).lineTo(-0.769, 0).lineTo(-0.622, 0.452).lin...
3
23
0.855866