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_450ba4320db40d65
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.549, -0.097, -0.595), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.451).extrude(0.611) result = result.union(cq.Workplane(cq.Plane(origin=(-0.549, -0.097, -0.166), normal=(0.873, 0, 0.488), xDir=(0.488, 0, -0.873))).circle(0.333).extrude(1.588))...
8
49
0.567298
train_b5d556b2419acfe9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.002, -0.115), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.075, 0.316).threePointArc((0.254, 0.297), (0.33, 0.255)).lineTo(0.33, 0.215).threePointArc((0.401, 0.175), (0.568, 0.158)).lineTo(0.841, 0.158).threePointArc((0.944, 0.147), (0.988, 0...
12
100
0.216078
train_5cacc69118b335a2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.305), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.48).lineTo(1, -0.47).lineTo(0.968, -0.47).lineTo(0.968, -0.503).lineTo(-0.962, -0.503).threePointArc((-0.989, -0.491), (-1, -0.465)).lineTo(-1, 0.479).lineTo(-0.976, 0.503).lineTo(0.977...
5
17
0.951531
train_ae87052727a83ed2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0.369, 0.373), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.344, 0.967).threePointArc((-0.244, 0.938), (-0.202, 0.87)).lineTo(-0.202, 0.05).threePointArc((-0.12, -0.082), (0.073, -0.138)).lineTo(0.812, -0.138).threePointArc((0.95, -0.178),...
13
161
0.463386
train_16d2269beefd6925
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.293, 0.16).lineTo(-1, 0.16).lineTo(-1, 0.601).lineTo(1, 0.601).lineTo(1, 0.16).lineTo(0.293, 0.16).lineTo(0.293, -0.601).lineTo(-0.293, -0.601).close().moveTo(-0.144, 0.338).lineTo(-0.04,...
12
79
0.290254
train_7e0453722701c07e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.338), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.676).lineTo(1, 0.545).lineTo(0.119, 0.545).lineTo(0.119, 0).lineTo(0, 0).lineTo(0, 0.676).lineTo(1, 0.676).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) res...
7
72
0.792512
train_9c6dc0a3dfcd3f88
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.042, -0.263, -0.17), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.094, 0.016).threePointArc((0.106, 0.004), (0.101, -0.012)).threePointArc((0.085, -0.016), (0.073, -0.004)).threePointArc((0.078, 0.012), (0.094, 0.016)).close().sweep(cq.Workplane...
14
140
1.225959
train_7cf26ce031d37e6c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.505, -0.381, -0.45), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.248, 0.271).lineTo(0.248, 0.163).threePointArc((0.259, 0.109), (0.289, 0.055)).lineTo(0.414, -0.108).threePointArc((0.414, -0.217), (0.248, -0.271)).threePointArc((-0.083, -0.433)...
7
63
0.791567
train_79ced1fe8a5d9532
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.018, -0.138), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.895, 0.276).lineTo(0.92, 0.138).lineTo(1, 0.097).lineTo(1, 0).lineTo(0.831, 0).lineTo(0.831, 0.082).lineTo(0.731, 0.138).lineTo(0, 0.107).lineTo(0, 0.276).lineTo(0.895, 0.276).close()...
6
26
0.462773
train_1e2c046f02c68de5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.019, -0.041, -0.625), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.012, 0.09).threePointArc((-0.004, 0.087), (0, 0.078)).lineTo(0, 0.049).threePointArc((0.006, 0.036), (0.019, 0.03)).lineTo(0.05, 0.03).threePointArc((0.057, 0.027), (0.06, 0.02)...
6
74
0.054581
train_66dfd1348d5882b1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.203, 0.091, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 1.202).threePointArc((0.707, 0.909), (1, 0.204)).threePointArc((0.707, -0.503), (0, -0.796)).threePointArc((-0.707, -0.503), (-1, 0.204)).threePointArc((-0.707, 0.909), (0, 1.202)).cl...
14
152
1.16427
train_2b3d41861d0d5097
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.098), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.142, 0.195).lineTo(0.142, 0).lineTo(-0.142, 0).lineTo(-0.142, 0.195).lineTo(-0.013, 0.195).lineTo(-0.013, 0.129).lineTo(0.013, 0.129).lineTo(0.013, 0.195).lineTo(0.142, 0.195).close().ext...
9
113
0.074149
train_3abb5c093b89ee92
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.284, -0.434, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.079, 1.173).threePointArc((0.182, 1.224), (0.395, 1.063)).threePointArc((0.502, 0.734), (0.474, 0.324)).threePointArc((0.319, -0.056), (0.079, -0.306)).threePointArc((-0.182, -0.357)...
10
40
1.269484
train_89543db81ce9b687
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.345), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.497, 0.254).lineTo(0.497, -0.168).lineTo(0.411, -0.168).lineTo(0.411, -0.254).lineTo(-0.4, -0.254).threePointArc((-0.469, -0.226), (-0.497, -0.158)).lineTo(-0.497, 0.172).lineTo(-0.415, 0....
11
75
0.338414
train_b7ae383284474419
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.225, 0.124, -0.027), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.297, 0.513).threePointArc((0.297, 0.513), (0.592, 0)).threePointArc((0.297, -0.513), (-0.297, -0.513)).threePointArc((-0.592, 0), (-0.297, 0.513)).close().workplane(offset=0.151)...
11
47
0.610436
train_9593b607372dbf2a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.3), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.5).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.5).lineTo(-0.6, 0.5).lineTo(-0.6, 0.4).lineTo(0.6, 0.4).lineTo(0.6, 0.5).lineTo(1, 0.5).close().extrude(0.2, both=True) result = result.union(c...
5
86
0.332306
train_670c55758e7dfa60
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.274), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.655).lineTo(1, -0.365).lineTo(0.71, -0.655).lineTo(-0.878, -0.655).lineTo(-0.878, -0.532).lineTo(-1, -0.532).lineTo(-1, 0.44).lineTo(-0.786, 0.655).lineTo(1, 0.655).close().extrude(0.18...
11
34
0.484649
train_9f50071459a8be03
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.084, -0.373), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.465, 0.916).threePointArc((0.576, 0.869), (0.623, 0.758)).lineTo(0.623, -0.916).lineTo(-0.431, -0.916).threePointArc((-0.566, -0.86), (-0.623, -0.724)).lineTo(-0.623, 0.532).threePoint...
16
81
1.149235
train_d037fe90662d3b98
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.291).lineTo(0.827, 0).lineTo(1, -0.291).lineTo(0.583, -0.291).lineTo(0.583, 0.291).lineTo(1, 0.291).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = re...
13
63
0.742375
train_aaf17a115d1ed132
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.677), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.239, 0.866).threePointArc((0.321, 0.729), (0.484, 0.731)).threePointArc((0.738, 0.626), (0.84, 0.372)).lineTo(0.96, 0.078).threePointArc((0.938, -0.069), (0.952, -0.216)).lineTo(0.84, -0.5...
11
168
3.317152
train_219a3332c8dda833
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.032, -0.067), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.866, 0.24).lineTo(1, 0.043).lineTo(0.938, -0.069).lineTo(0.824, -0.082).lineTo(0.646, 0.004).lineTo(0.708, -0.095).lineTo(0.591, -0.108).lineTo(0.412, -0.023).lineTo(0.475, -0.121).lin...
23
108
0.218623
train_d262177968b0bcee
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.179).lineTo(1, 0.13).lineTo(0.145, 0.13).lineTo(0.145, -0.179).lineTo(-0.145, -0.179).lineTo(-0.145, 0.13).lineTo(-1, 0.13).lineTo(-1, 0.179).lineTo(1, 0.179).close().extrude(0.268, both=True) result = result.edges().chamfer(0.021) result = resul...
7
61
0.098032
train_4401207e984248fa
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.156, 0.394).lineTo(0.156, 0.262).lineTo(0.313, 0.262).lineTo(0.313, -0.131).lineTo(0.156, -0.131).lineTo(0.156, -0.394).lineTo(0, -0.394).lineTo(0, -0.262).lineTo(-0.313, -0.262).lineTo(-0.313...
20
16
0.574192
train_ad5aa423d4af32d4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.185), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.977, 1).lineTo(0.977, -1).lineTo(-0.723, -1).threePointArc((-0.901, -0.916), (-0.977, -0.738)).lineTo(-0.977, 1).lineTo(0.977, 1).close().extrude(0.125) result = result.union(cq.Workplane(...
12
58
0.361779
train_4250f03c499fa081
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.399, -0.29, -0.631), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.524, 0.255).lineTo(0.524, -0.255).lineTo(-0.034, -0.255).lineTo(-0.034, 0.255).lineTo(0.146, 0.255).lineTo(0.146, -0.076).lineTo(0.346, -0.076).lineTo(0.346, 0.255).lineTo(0.524, 0...
10
177
0.79341
train_9e707a82bbf31b83
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.075, -0.035), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.378, 0.4).lineTo(-0.378, -0.13).threePointArc((-0.328, -0.176), (-0.206, -0.195)).lineTo(0.832, -0.195).threePointArc((0.944, -0.213), (1, -0.255)).lineTo(1, -0.398).threePointArc((0....
9
49
0.227359
train_ae8808514c39e0ac
import cadquery as cq import math result = cq.Workplane('XY').box(2, 1.662, 1.714) result = result.edges().fillet(0.21) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.736).extrude(3.977, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), norm...
15
84
0.761552
train_fa0b9ab5071e7b60
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.367, 0.007, -0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.456, -0.072).lineTo(0.622, -0.118).lineTo(0.605, -0.184).lineTo(0.438, -0.142).lineTo(0.411, -0.209).lineTo(0.555, -0.304).lineTo(0.519, -0.362).lineTo(0.373, -0.271).lineTo(0.326...
4
110
0.296684
train_be7b9957ca56c2b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.253), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.458).lineTo(1, -0.458).lineTo(-1, -0.458).lineTo(-1, 0.458).lineTo(1, 0.458).close().extrude(0.398) result = result.union(cq.Workplane(cq.Plane(origin=(-0.33, 0, 0.145), normal=(0, 0, 1...
10
78
0.665527
train_5434edad07c6e27b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.272, 0, -0.64), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.731).extrude(0.899) result = result.cut(cq.Workplane(cq.Plane(origin=(1.003, 0, -0.64), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.072, 0.318), (-0.274, 0.572), (-0.568,...
7
111
1.133735
train_3a4877b020826d72
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.447), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.22, 0.576).threePointArc((0.3, 0.562), (0.333, 0.527)).lineTo(0.333, 0.359).threePointArc((0.382, 0.309), (0.497, 0.288)).lineTo(0.837, 0.288).threePointArc((0.951, 0.267), (1, 0.217)).lin...
12
27
1.54023
train_2adc2a612d46e9ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.745), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.549, 1).threePointArc((0.859, 0.859), (1, 0.549)).lineTo(1, -0.074).threePointArc((0.915, -0.255), (0.738, -0.332)).lineTo(0.506, -0.332).threePointArc((0.383, -0.383), (0.332, -0.506)).li...
3
63
3.709432
train_8e44884702958ed7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.014, 0.186, -0.759), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.435, 0.049).lineTo(0.46, -0.044).lineTo(0.443, -0.049).lineTo(0.438, -0.03).lineTo(0.422, -0.035).lineTo(0.417, -0.016).lineTo(0.4, -0.02).lineTo(0.395, -0.002).lineTo(0.379, -0.0...
10
243
0.641405
train_890a842b9a943f67
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.327), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.696, 1.314, 1.344) result = result.edges().fillet(0.257) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.327), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.247).extrude(3.39, both=Tru...
7
105
2.515142
train_bdb2e6a42223af20
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.221, -0.143, -0.008), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.439, 0.217).threePointArc((0.695, 0.197), (0.675, -0.059)).lineTo(0.491, -0.217).threePointArc((0.235, -0.197), (0.255, 0.059)).lineTo(0.439, 0.217).close().revolve(angleDegrees=...
17
254
0.557493
train_e850a460a0054030
import cadquery as cq import math result = cq.Workplane('XY').box(1.567, 2, 1.742) result = result.edges().fillet(0.315) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.213).extrude(3.133, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
11
91
4.2734
train_16d23ed55343b829
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.344), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.687).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.687).lineTo(-0.817, 0.687).lineTo(-0.817, 0.178).lineTo(0.817, 0.178).lineTo(0.817, 0.687).lineTo(1, 0.687).close().extrude(0.199, both=Tru...
6
43
0.204112
train_f394181c81f5f47f
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 1).lineTo(1, 0).lineTo(0.5, 0).lineTo(0.5, -1).lineTo(-0.5, -1).lineTo(-0.5, -0.5).lineTo(-1, -0.5).lineTo(-1, 0.5).lineTo(0, 0.5).lineTo(0, 1).lineTo(1, 1).close().extrude(0.286, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-3.008,...
5
45
0.530558
train_b43e724f25f10dc2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.454, 1, -0.186), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.513, 0.685).lineTo(0.373, -0.381).lineTo(-0.513, 0.414).lineTo(0.513, 0.685).close().extrude(1.197) result = result.union(cq.Workplane(cq.Plane(origin=(0.355, -0.077, 0.382), normal=(...
12
306
0.749667
train_f0678fb99edb6e8b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.006, 0.014, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.207, 0.931).threePointArc((0.01, 0.93), (0.342, 0.755)).lineTo(-0.103, 0.444).threePointArc((-0.12, 0.424), (-0.115, 0.403)).lineTo(0.16, 0.03).lineTo(0.993, -0.74).threePointArc((0.81...
1
10
3.461197
train_10c27960396982bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.028, -0.099, -0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.847, 0.144).threePointArc((0.969, -0.022), (0.832, -0.144)).lineTo(0.733, -0.133).threePointArc((0.72, -0.13), (0.709, -0.124)).lineTo(0.652, -0.077).threePointArc((0.642, -0.072)...
3
40
0.190612
train_447a0ff4f1e75bee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.418), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.091, 1).threePointArc((0.26, 0.92), (0.332, 0.755)).lineTo(0.332, 0.519).threePointArc((0.387, 0.387), (0.519, 0.332)).lineTo(0.851, 0.332).threePointArc((0.95, 0.291), (1, 0.192)).lineTo(...
8
76
1.88997
train_dfc86dd4eea0ea42
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0.151, -0.525), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.736, 0.849).threePointArc((0.849, 0.76), (0.896, 0.547)).lineTo(0.896, 0.167).threePointArc((0.87, 0.049), (0.808, 0)).lineTo(0.612, 0).threePointArc((0.497, -0.092), (0.448, -0.3...
19
527
1.576521
train_691bffcab3474431
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.062, 0.217), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.2, 0.8).lineTo(-0.2, 0.4).lineTo(1, 0.4).lineTo(1, 0).lineTo(0.2, 0).lineTo(0.2, -0.4).lineTo(-0.2, -0.4).lineTo(-0.2, -0.8).lineTo(-1, -0.8).lineTo(-1, 0).lineTo(-0.6, 0).lineTo(-0.6,...
15
329
1.825865
train_7f01d52cff6d73ff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.009, 0, 0.388), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.008, 0.035).lineTo(0.022, 0.028).lineTo(0.035, 0).lineTo(0.022, -0.028).lineTo(-0.008, -0.035).lineTo(-0.032, -0.015).lineTo(-0.032, 0.015).lineTo(-0.008, 0.035).close().extrude(0.612...
11
43
0.005875
train_125661617e716246
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.118), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.353, 0.237).lineTo(0.353, 0).lineTo(-0.353, 0).lineTo(-0.353, 0.237).lineTo(-0.217, 0.237).lineTo(-0.217, 0.136).lineTo(0.217, 0.136).lineTo(0.217, 0.237).lineTo(0.353, 0.237).close().ext...
6
31
0.1964
train_3c351ea64c2d01a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.02, 0.087).lineTo(0.055, 0.07).lineTo(0.081, 0.038).lineTo(0.089, 0).lineTo(0.081, -0.038).lineTo(0.055, -0.07).lineTo(0.02, -0.087).lineTo(-0.02, -0.087).lineTo(-0.055, -0.07).lineTo(-0.0...
8
42
0.01176
train_02b0b87e6d71b127
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.157, -0.192, 0.053), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.636, -0.584).lineTo(-0.028, -0.654).threePointArc((-0.636, 0.654), (0.636, -0.584)).close().moveTo(-0.169, 0.577).lineTo(0.329, -0.492).threePointArc((-0.329, 0.56), (-0.169, 0.57...
13
115
1.146896
train_636284db6e20c92e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.566, 0.092, 0.275), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.138, 0.19).threePointArc((0.229, 0.099), (0.138, 0.008)).lineTo(-0.138, 0.008).threePointArc((-0.229, 0.099), (-0.138, 0.19)).lineTo(0.138, 0.19).close().revolve(angleDegrees=270, a...
5
107
0.425797
train_c99dea1df640e151
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0.002, -0.118), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.956, -0.169).lineTo(0.98, -0.206).lineTo(0.954, -0.308).lineTo(0.918, -0.315).lineTo(0.848, -0.47).lineTo(0.86, -0.514).lineTo(0.801, -0.601).lineTo(0.766, -0.597).lineTo(0.65, -0...
6
137
0.431785
train_bca8863747392223
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.245, 0.353, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.009, 0.629).lineTo(0.71, 0.547).threePointArc((-0.71, -0.629), (-0.009, 0.629)).close().extrude(0.266, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0.027, 0.209...
12
99
1.68342
train_a65bc828b959d266
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.269), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.77, 0.537).lineTo(0.77, 0.182).lineTo(1, 0.182).lineTo(1, 0).lineTo(0.434, 0).lineTo(0.434, 0.537).lineTo(0.77, 0.537).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1...
4
57
0.85766
train_eac2fc6c778cbbf3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.419).lineTo(1, 0.241).lineTo(-0.568, 0.241).lineTo(-0.568, -0.241).lineTo(1, -0.241).lineTo(1, -0.419).lineTo(-1, -0.419).lineTo(-1, 0.419).lineTo(1, 0.419).close().extrude(0.629) resul...
7
34
0.570953
train_357a6dc54d6f9724
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.474, -0.301, -0.325), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.412, -0.227).threePointArc((-0.512, -0.235), (-0.47, -0.191)).lineTo(-0.485, -0.069).threePointArc((-0.404, -0.034), (-0.483, 0.01)).lineTo(-0.474, 0.064).lineTo(-0.421, 0.079)....
11
168
0.789942
train_a92915c341451d40
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.621, -0.409, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.241).threePointArc((0.877, 0.877), (1.241, 0)).lineTo(0.381, 0).threePointArc((0.27, 0.27), (0, 0.381)).lineTo(0, 1.241).close().extrude(2) result = result.union(cq.Workplane(cq.P...
4
29
1.292569
train_76dee28e425392fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.523), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.681, 0.677).lineTo(-0.681, -0.469).lineTo(1, -0.469).lineTo(1, -0.677).lineTo(-1, -0.677).lineTo(-1, 0.677).lineTo(-0.681, 0.677).close().extrude(1.045) result = result.cut(cq.Workplane(c...
5
53
0.547989
train_01a5821bdda90046
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.522, 0.001, 0.365), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.252, 0.549).lineTo(0.357, 0.446).lineTo(0.27, 0.164).lineTo(0.422, 0.075).threePointArc((0.312, 0.013), (0.293, -0.045)).lineTo(0.478, -0.317).threePointArc((0.325, -0.335), (0.29...
1
18
0.775121
train_dfcd7d09959c3fbd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.02, 0, -0.632), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.903, 0.892).threePointArc((0.957, 0.866), (0.979, 0.804)).lineTo(0.979, -0.489).threePointArc((0.874, -0.772), (0.626, -0.892)).lineTo(-0.119, -0.892).threePointArc((-0.173, -0.866), (-...
5
35
1.092014
train_a0f79d5ad86cc062
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.145, 0, -0.091), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.653, 0.227).lineTo(0.55, 0.125).threePointArc((0.527, 0.077), (0.554, 0.03)).lineTo(0.811, -0.187).threePointArc((0.85, -0.228), (0.797, -0.207)).lineTo(0.431, -0.012).threePointArc((...
15
335
0.862342
train_702bc40a263436ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.373, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.374, 2).lineTo(0.374, 0.374).lineTo(0.591, 0.374).lineTo(0.591, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.374, 2).close().extrude(0.869, both=True) result = result.cut(cq.Workplane(cq.Plane(...
12
124
0.986722
train_268f6781ea2b5908
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.57) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.828).extrude(1.707, both=True)) result = result.union(cq.Workpla...
18
219
1.182046
train_d0aae53b81dfafb3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.439), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.887, 0.748).lineTo(0.887, -0.748).lineTo(-0.887, -0.748).lineTo(-0.887, 0.748).lineTo(0.887, 0.748).close().extrude(0.814) result = result.union(cq.Workplane(cq.Plane(origin=(0.626, 0, 0.3...
9
65
1.327274
train_bfb00c9a6fb9f71d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.858, 0.807, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.345, 1.806).threePointArc((0.705, 1.657), (0.853, 1.297)).lineTo(0.853, 0.362).threePointArc((0.705, 0.002), (0.345, -0.147)).threePointArc((0.233, -0.105), (0.115, -0.125)).lineTo(-0....
13
137
4.075775
train_9b881642243c18ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.947, 2).lineTo(0.947, 1.051).lineTo(0.386, 1.051).lineTo(0.386, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.947, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result ...
2
6
2.724441
train_dbac87f21e0ad74e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.835, 0.976).threePointArc((0.95, 0.93), (1, 0.825)).lineTo(1, -0.574).threePointArc((0.871, -0.856), (0.571, -0.976)).lineTo(-0.477, -0.976).threePointArc((-0.843, -0.832), (-1, -0.485)).l...
10
314
0.369777
train_53ff5d48f948d1cb
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.846, 0.618).threePointArc((0.952, 0.549), (0.997, 0.385)).lineTo(0.997, 0.162).threePointArc((0.966, 0.048), (0.892, 0)).lineTo(0.678, 0).threePointArc((0.622, -0.037), (0.599, -0.123)).lineTo(0.599, -0.42).threePointArc((0.561, -0.559), (0.471, -0....
3
26
2.392872
train_4a6193ec8998ac88
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.032, 0, -0.669), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.208, 0.756).threePointArc((0.424, 0.69), (0.516, 0.531)).lineTo(0.516, 0.143).threePointArc((0.574, 0.042), (0.71, 0)).lineTo(0.906, 0).threePointArc((0.993, -0.027), (1.031, -0.092))...
23
70
1.864799
train_ce6b6424b4395e6b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.29, 0.093, -0.537), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.442, 0.597).threePointArc((0.562, 0.296), (0.667, -0.01)).threePointArc((0.638, -0.301), (0.446, -0.52)).lineTo(-0.349, -0.597).lineTo(-0.667, 0.131).threePointArc((-0.424, 0.293), ...
4
32
2.501953
train_96d51c53ae75a33e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.097, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(-1, 0.101).lineTo(-0.523, 0.638).lineTo(0.367, 0.709).lineTo(1, 0.259).lineTo(0.899, -0.371).lineTo(0.14, -0.709).lineTo(-0.705, -0.498).close().moveTo(0.171, 0.14).lineTo(0.265, 0.14).lineT...
5
61
3.520898
train_85ed08b1449e4729
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.104, 0, -0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.839, 2.513).extrude(0.228) result = result.cut(cq.Workplane(cq.Plane(origin=(0.104, 0, -0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.369, -1.207).lineTo(-0.369, -0.468).lineTo(0.3...
11
40
0.07393
train_baaab49ede9747c0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.5, 0, -0.216), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.08, 0.431).lineTo(0.08, 0.08).lineTo(1, 0.08).lineTo(1, 0).lineTo(0, 0).lineTo(0, 0.431).lineTo(0.08, 0.431).close().extrude(1, both=True) result = result.union(cq.Workplane(cq.Plane(o...
7
51
0.216257
train_249cc726f31ed2d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.013, -0.258), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.955, 0.535).lineTo(0.955, 0).lineTo(-0.955, 0).lineTo(-0.955, 0.535).lineTo(-0.734, 0.535).lineTo(-0.734, 0.222).lineTo(0.734, 0.222).lineTo(0.734, 0.535).lineTo(0.955, 0.535).close()...
9
73
1.280382
train_b680e8474df01a94
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.112).lineTo(1, -0.075).threePointArc((0.946, -0.085), (0.837, -0.089)).lineTo(0.437, -0.089).threePointArc((0.363, -0.086), (0.332, -0.079)).lineTo(0.332, -0.04).threePointArc((0.297, -...
11
62
0.082701
train_db5c5ff8fdf8c596
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.437, -0.414, -0.148), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.205, 0.663).lineTo(0.633, 0.18).lineTo(0.429, -0.434).lineTo(-0.205, -0.563).lineTo(-0.633, -0.079).lineTo(-0.429, 0.535).lineTo(0.205, 0.663).close().extrude(0.988) result = res...
13
145
1.692674
train_38044bd452692709
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.426, 0.713, 1.63) result = result.edges().fillet(0.029) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.254).extrude(2.852, both=Tru...
8
196
1.167042
train_e463ee3b90617136
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.198, -0.498), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.902, 0.719).threePointArc((0.971, 0.69), (1, 0.621)).lineTo(1, -0.46).threePointArc((0.923, -0.642), (0.741, -0.719)).lineTo(-0.828, -0.719).threePointArc((-0.949, -0.668), (-1, -0.54...
3
28
0.644875
train_82c0ed4dac034285
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(0.508, 1).threePointArc((0.62, 0.953), (0.667, 0.842)).lineTo(0.667, -0.731).threePointArc((0.587, -0.92), (0.397, -1)).lineTo(-0.303, -1).threePointArc((-0.559, -0.892), (-0.667, -0.636)).li...
7
31
1.581446
train_47fce54cb9de275a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.111, 0, -0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.888, 0.31).lineTo(0.888, 0.233).lineTo(0.128, 0.233).lineTo(0.128, -0.31).lineTo(-0.128, -0.31).lineTo(-0.128, 0.233).lineTo(-0.888, 0.233).lineTo(-0.888, 0.31).lineTo(0.888, 0.31).clo...
14
64
0.065041
train_d9453d02254dd5eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.498, 0.366).threePointArc((0.498, 0.366), (1, 0)).threePointArc((0.498, -0.366), (-0.498, -0.366)).threePointArc((-1, 0), (-0.498, 0.366)).close().extrude(0.532) result = result.union(cq....
4
17
0.644874
train_41b018fce17c3b14
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.01, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.249).lineTo(0.864, 0).lineTo(1, -0.249).lineTo(0.199, -0.249).lineTo(0.199, 0.249).lineTo(1, 0.249).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = res...
15
138
0.663846
train_6dbbbc146e503c04
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.103), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.895, 0.968).lineTo(0.895, 0.484).lineTo(0.298, 0.484).lineTo(0.298, 0).lineTo(0.895, 0).lineTo(0.895, -0.484).lineTo(0.298, -0.484).lineTo(0.298, -0.968).lineTo(-0.298, -0.968).lineTo(-0.2...
15
53
0.377351
train_a6e73e831e08abc8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.317, 0, -0.175), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.146, 0.341).lineTo(0.146, 0.146).lineTo(0.634, 0.146).lineTo(0.634, 0).lineTo(0, 0).lineTo(0, 0.341).lineTo(0.146, 0.341).close().extrude(1.006, both=True) result = result.cut(cq.Wor...
6
29
0.22972
train_d1742e4edd1e512b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.362, -0.522), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.172, 0.877).lineTo(0.031, 0.688).lineTo(0.283, 0.807).lineTo(0.261, 0.53).lineTo(0.511, 0.407).lineTo(0.281, 0.251).lineTo(0.341, -0.02).lineTo(0.075, 0.062).lineTo(-0.1, -0.154).line...
3
26
1.27056
train_2c065694d249e474
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.999, 0, -0.113), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.741, 0.455).lineTo(0.741, -0.455).lineTo(-0.741, -0.455).lineTo(-0.741, 0.455).lineTo(-0.346, 0.455).lineTo(-0.346, -0.17).lineTo(0.346, -0.17).lineTo(0.346, 0.455).lineTo(0.741, 0.4...
4
63
1.440608
train_618283676285e831
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.011, -0.116, -0.792), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.141, 0.152).lineTo(0.178, 0.036).threePointArc((0.156, 0.001), (0.179, -0.021)).lineTo(0.144, -0.152).lineTo(-0.112, -0.149).lineTo(-0.174, -0.058).threePointArc((-0.158, -0.026),...
5
46
0.05925
train_1f84c0770a430712
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.65, 0.088, -0.425), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.343, 0.239).lineTo(0.343, -0.239).lineTo(-0.022, -0.239).lineTo(-0.022, 0.239).lineTo(0.099, 0.239).lineTo(0.099, -0.118).lineTo(0.222, -0.118).lineTo(0.222, 0.239).lineTo(0.343, 0....
12
179
0.42512
train_b13626a0268e89eb
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.813, 0.301).threePointArc((0.939, 0.246), (1, 0.118)).lineTo(1, -0.087).threePointArc((0.93, -0.237), (0.782, -0.301)).lineTo(-0.861, -0.301).threePointArc((-0.954, -0.261), (-1, -0.168))....
21
180
0.213252
train_1d301f3305be03c3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.007, 0, -0.112), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.564, 0.128).lineTo(0.945, 0.077).lineTo(1.104, -0.002).lineTo(0.944, -0.077).lineTo(0.544, -0.13).lineTo(0.014, -0.149).lineTo(-0.574, -0.127).lineTo(-0.963, -0.073).lineTo(-1.104, 0.0...
15
115
0.061282
train_e46e56b53f5af45d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.192), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.4, -0.326).lineTo(-0.855, -0.326).lineTo(-0.855, 0.326).lineTo(-0.4, 0.326).lineTo(-0.4, 1).lineTo(0.4, 1).lineTo(0.4, 0.326).lineTo(0.855, 0.326).lineTo(0.855, -0.326).lineTo(0.4, -0.326...
24
191
0.533761
train_ae1b9a2e0b2e859e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.682, -0.222, 0.032), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.177, 0.293).threePointArc((0.203, 0.237), (0.204, 0.176)).lineTo(0.132, 0.059).threePointArc((0.174, -0.026), (0.263, -0.059)).lineTo(0.231, -0.176).threePointArc((0.182, -0.224)...
6
90
0.118695
train_4d786e7bbc755e52
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.023, 0.109, -0.24), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.465, 0.748).threePointArc((0.716, 0.603), (0.823, 0.26)).lineTo(0.823, -0.522).threePointArc((0.773, -0.681), (0.657, -0.748)).lineTo(-0.063, -0.748).threePointArc((-0.212, -0.663),...
18
365
0.554598
train_71bc0b5ece7d1796
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.017, -0.199), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.91, 0.8).threePointArc((0.973, 0.773), (1, 0.71)).lineTo(1, -0.274).threePointArc((0.963, -0.363), (0.874, -0.4)).lineTo(0.706, -0.4).threePointArc((0.632, -0.432), (0.6, -0.506)).lin...
5
56
0.838125
train_dffd0afab548fdd6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.053, 0.056, 0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.416).threePointArc((0.294, 0.294), (0.416, 0)).threePointArc((0.294, -0.294), (0, -0.416)).threePointArc((-0.294, -0.294), (-0.416, 0)).threePointArc((-0.294, 0.294), (0, 0.416)...
22
332
0.836615
train_6d349925e3b3b395
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.11), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.503, 0.221).lineTo(0.503, 0).lineTo(-0.503, 0).lineTo(-0.503, 0.221).lineTo(-0.449, 0.221).lineTo(-0.449, 0.054).lineTo(0.449, 0.054).lineTo(0.449, 0.221).lineTo(0.503, 0.221).close().extr...
5
45
0.11691
train_c769d6c6c054aea9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.131, -0.095, -0.715), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.429, 0.677).lineTo(0.742, -0.028).threePointArc((0.825, -0.432), (0.466, -0.568)).lineTo(-0.281, -0.677).threePointArc((-0.525, -0.504), (-0.266, -0.132)).lineTo(-0.742, 0.156)....
21
357
0.885394
train_956c3d62cd3f15ab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.178, -0.407, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.406, -0.207).lineTo(0.779, -0.115).threePointArc((0.721, -0.173), (0.656, -0.226)).lineTo(0.553, -0.299).lineTo(0.356, -0.357).lineTo(0.219, -0.332).threePointArc((0.162, -0.294), (0...
17
398
2.408462
train_0e9d4bd70cd0f1a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.341), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.681).lineTo(1, 0.38).lineTo(0.718, 0.38).lineTo(0.718, 0).lineTo(0, 0).lineTo(0, 0.681).lineTo(1, 0.681).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) resul...
2
6
1.161787
train_53c865ddd12af24e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.006, 0.121, -0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.498, 0.746).threePointArc((0.994, 0.994), (1.243, 0.498)).threePointArc((1.243, 0.249), (0.994, 0.249)).threePointArc((0.498, -0.994), (-0.498, -0.994)).threePointArc((-1.243, -0.9...
5
94
0.206317
train_431d0a7416de6ad9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.387), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.333, 0.243).lineTo(0.431, 0.146).lineTo(0.431, -0.005).lineTo(0.193, -0.243).lineTo(-0.27, -0.243).threePointArc((-0.383, -0.196), (-0.431, -0.082)).lineTo(-0.431, 0.243).lineTo(0.333, 0.2...
8
33
0.520401
train_973a9a317e7dd44d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.885, 0, 0.721), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.221, 1.414).lineTo(0.275, 1.374).lineTo(0.221, 0.696).lineTo(0.106, 0.705).lineTo(0.134, 1.062).lineTo(-0.131, 1.083).lineTo(-0.159, 0.726).lineTo(-0.275, 0.735).lineTo(-0.221, 1.414)...
6
89
0.651341