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_3acb4b7ce32d5404
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.143, 0, 0.018), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.133, 0.902).threePointArc((-0.044, 0.992), (0.044, 0.722)).threePointArc((0.488, 0.632), (1.019, 0.451)).threePointArc((0.044, -0.722), (-0.133, -0.722)).threePointArc((-0.31, -0.722),...
12
33
0.940591
train_d8321a470e796fae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.007, -0.005, 0.151), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.693, 0.888).threePointArc((0.864, 0.917), (0.916, 0.82)).threePointArc((0.608, -0.377), (-0.641, -0.888)).threePointArc((-0.813, -0.917), (-0.916, -0.728)).lineTo(0.693, 0.888).cl...
23
47
0.791145
train_02d647efd48b2d94
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.247, 0.236, 0.703), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.357).threePointArc((0.253, 0.253), (0.357, 0)).threePointArc((0.253, -0.253), (0, -0.357)).threePointArc((-0.253, -0.253), (-0.357, 0)).threePointArc((-0.253, 0.253), (0, 0.357...
9
203
0.806285
train_c7b1038f4c42de55
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0, -0.508), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.168, 0.167).lineTo(0.168, -0.167).lineTo(0.084, -0.167).lineTo(0.084, 0.056).lineTo(-0.168, 0.056).lineTo(-0.168, 0.167).lineTo(0.168, 0.167).close().extrude(1.508) result = result.ed...
20
188
0.073245
train_2223903d793acd8c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.062, -0.006, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.599, -0.222).threePointArc((-0.222, -0.974), (-0.599, 0.074)).lineTo(-0.451, 0.673).threePointArc((-0.378, 0.974), (-0.152, 0.599)).lineTo(-0.3, 0).threePointArc((-0.373, -0.3), (...
8
68
0.138396
train_e064e532f981e170
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.167, 0, -0.401), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.832, 0.126).lineTo(0.4, -0.288).threePointArc((0.263, 0.288), (0.832, 0.126)).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.union(cq.Workpl...
9
46
0.89939
train_1bb9a976d1a9172c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.062, 0.013, -0.912), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.724, 1.823).lineTo(0.724, 0.259).lineTo(1.013, 0.259).lineTo(1.013, 0).lineTo(0.335, 0).lineTo(0.335, 1.823).lineTo(0.724, 1.823).close().revolve(angleDegrees=360, axisStart=(0, ...
7
61
1.239114
train_f03bd5d399239cfe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.105, 0.203, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.627, 0.286).threePointArc((0.717, 0.267), (0.756, 0.221)).lineTo(0.756, 0.02).threePointArc((0.687, -0.061), (0.527, -0.095)).lineTo(-0.304, -0.095).threePointArc((-0.355, -0.107), (-0...
6
60
0.311778
train_7ce7d767b67d58fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.01), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.228, 0.882).threePointArc((0.37, 0.842), (0.506, 0.787)).threePointArc((0.629, 0.711), (0.739, 0.619)).threePointArc((0.829, 0.513), (0.903, 0.395)).threePointArc((0.958, 0.269), (1, 0.136)...
7
96
0.561592
train_9bbd95cde526092e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.052, -0.229), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.864, -0.139).lineTo(0.932, -0.171).lineTo(0.926, -0.205).lineTo(0.851, -0.194).lineTo(0.81, -0.327).lineTo(0.871, -0.374).lineTo(0.856, -0.406).lineTo(0.788, -0.379).lineTo(0.717, -0....
9
142
0.798416
train_f7bfa3de1aa246c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.139, -0.052), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.119, 0.359).threePointArc((0.295, 0.323), (0.372, 0.161)).lineTo(0.529, 0.235).threePointArc((0.534, 0.236), (0.539, 0.234)).lineTo(0.587, 0.196).threePointArc((0.595, 0.186), (0.599,...
7
173
0.77971
train_bf708b2641ca7884
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.332, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.335, 1.736, 1.281) result = result.edges().fillet(0.218) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.332, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.203).extrude(2.67, both=T...
6
39
2.393212
train_5786415df3324dac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.845), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.043, 0.195).threePointArc((0.061, 0.184), (0.068, 0.158)).lineTo(0.068, 0.042).threePointArc((0.077, 0.012), (0.097, 0)).lineTo(0.162, 0).threePointArc((0.192, -0.018), (0.205, -0.061)).li...
7
56
0.210338
train_f884750cb39cc129
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.344), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.844).lineTo(1, -0.82).lineTo(0.976, -0.844).lineTo(-1, -0.844).lineTo(-1, 0.827).lineTo(-0.983, 0.827).lineTo(-0.983, 0.844).lineTo(1, 0.844).close().extrude(0.688) result = result.unio...
14
26
1.441197
train_35b0579c3b502025
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.03, 0.405, -0.049), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.541, -0.084).lineTo(0.587, -0.105).lineTo(0.581, -0.137).lineTo(0.532, -0.131).lineTo(0.505, -0.211).lineTo(0.545, -0.243).lineTo(0.531, -0.272).lineTo(0.485, -0.254).lineTo(0.44, -...
5
145
0.35602
train_16d372fd22b18482
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.187, 0.089).threePointArc((0.212, 0.078), (0.222, 0.054)).lineTo(0.222, -0.05).threePointArc((0.211, -0.077), (0.183, -0.089)).lineTo(-0.119, -0.089).threePointArc((-0.129, -0.085), (-0.133, -...
3
95
0.108463
train_7fe69094b457ef9c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.282), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.543, 0.727).threePointArc((-0.433, 0.691), (-0.386, 0.605)).lineTo(-0.386, -0.127).threePointArc((-0.338, -0.214), (-0.225, -0.251)).lineTo(0.864, -0.251).threePointArc((0.96, -0.283), (1...
3
14
0.857613
train_45eabc5837a7c4ff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.006, -0.004, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.68, 0.85).threePointArc((0.939, 0.818), (0.922, 0.549)).lineTo(-0.704, -0.85).threePointArc((-0.939, -0.821), (-0.933, -0.539)).lineTo(0.68, 0.85).close().extrude(0.201, taper=-2.492, ...
21
48
0.377025
train_6f367ddf3da40cb7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.183, 0, -0.182), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.816, 0.843).lineTo(0.816, -0.843).lineTo(-0.816, -0.843).lineTo(-0.816, 0.843).lineTo(0.816, 0.843).close().extrude(0.063) result = result.cut(cq.Workplane(cq.Plane(origin=(0.183, 0.33...
8
61
0.168658
train_9ca7c7c5a6e9db74
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.55), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.099).lineTo(1, 1.043).lineTo(0.657, 1.043).lineTo(0.657, 0.804).lineTo(0.679, 0.804).lineTo(0.679, 0.384).lineTo(0.341, 0.384).lineTo(0.341, 0).lineTo(0, 0).lineTo(0, 1.099).lineTo(1, 1...
3
12
1.198955
train_a80645bcf19787a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.402, 0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.43).extrude(0.338, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.402, 0.137), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.57).extrude(0.598, both=True)) result =...
15
114
0.817874
train_14b950d26028e435
import cadquery as cq import math result = cq.Workplane('XY').box(2, 1.206, 1.797) result = result.edges().fillet(0.052) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.27).extrude(4, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(...
6
34
3.399599
train_2d4ed10e7999c0e2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.109, 0.023, 0.131), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.015, 0.941).lineTo(0.869, 0.405).lineTo(0.814, -0.669).lineTo(-0.267, -0.723).lineTo(-0.869, 0.195).lineTo(-0.015, 0.941).close().extrude(0.339) result = result.union(cq.Workplane...
8
46
1.124985
train_4220ff0372b1a7a3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.167, -0.104, 0.262), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.72, 0.628).lineTo(-0.751, 0.496).lineTo(-0.648, 0.441).lineTo(-0.391, 0.736).threePointArc((0.391, 0.859), (0.852, 0.273)).threePointArc((0.416, -0.537), (-0.305, -0.518)).lineTo...
13
169
0.395788
train_5ca39e77319563c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.164, 0.256, 0.174), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.097, 0.373).lineTo(0.193, 0.239).lineTo(0.359, 0.291).lineTo(0.506, -0.009).lineTo(0.743, -0.245).lineTo(0.564, -0.373).lineTo(0.052, 0.341).lineTo(0.097, 0.373).close().revolve(an...
8
64
0.586321
train_5ece10f1d2948e3b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.328, 0.999, 0.009), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.239, 2.41).lineTo(0.121, 1.911).lineTo(0.688, 2.152).lineTo(0.522, 1.559).lineTo(1.064, 1.266).lineTo(0.497, 1.027).lineTo(0.606, 0.421).lineTo(0.065, 0.714).lineTo(-0.341, 0.251)...
2
86
1.270055
train_777d640b62b143b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.106, 0.257, -0.137), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.739, 0.062).lineTo(0.739, -0.062).lineTo(0.596, -0.062).lineTo(0.596, 0.062).lineTo(0.64, 0.062).lineTo(0.64, -0.018).lineTo(0.695, -0.018).lineTo(0.695, 0.062).lineTo(0.739, 0.0...
5
41
0.691424
train_18ddaa2e7fd40064
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.492, 0, 0.053), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.197, 0.562).lineTo(0.508, 0.238).lineTo(0.331, -0.562).lineTo(-0.508, -0.239).lineTo(-0.197, 0.562).close().extrude(0.056) result = result.union(cq.Workplane(cq.Plane(origin=(-0.89, ...
12
1,339
0.146635
train_9ceeef0e6acbdb95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.165, -0.444), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.842).extrude(0.333) result = result.cut(cq.Workplane(cq.Plane(origin=(0.842, -0.165, -0.444), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.421, 0.729), (-1.263, 0.729), ...
13
201
1.20649
train_21b3f7198e0298cb
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(1, 0.766).lineTo(1, -0.766).lineTo(-1, -0.766).lineTo(-1, 0.766).lineTo(-0.303, 0.766).lineTo(-0.303, 0.012).lineTo(0.303, 0.012).lineTo(0.303, 0.766).lineTo(1, 0.766).close().extrude(0.202, ...
7
68
1.194188
train_6dd402a233b5f3d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.248, 1).threePointArc((0.331, 0.964), (0.367, 0.88)).lineTo(0.367, -0.907).threePointArc((0.339, -0.972), (0.275, -1)).lineTo(-0.241, -1).threePointArc((-0.33, -0.962), (-0.367, -0.874)).li...
5
35
0.05778
train_9f842afe89b6fc83
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.398, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.109, 0.604).threePointArc((0.219, 0.566), (0.301, 0.479)).threePointArc((0.339, 0.359), (0.342, 0.242)).threePointArc((0.344, 0.154), (0.382, 0.093)).threePointArc((0.46, 0.035), (0.54...
5
90
1.855878
train_4f7b4d8643f37168
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.136), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.331, 0).lineTo(0.331, 0.286).lineTo(0.319, 0.286).lineTo(0.319, 0.084).lineTo(1, 0.084).lineTo(1, 0).lineTo(0.331, 0).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,...
5
13
0.22336
train_d84c518980f13837
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.321, -0.244, 0.399), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.331, 0.243).threePointArc((0, -0.086), (-0.331, 0.243)).threePointArc((0, 0.574), (0.331, 0.243)).close().moveTo(-0.047, 0.093).threePointArc((-0.066, 0.046), (-0.114, 0.026)).thr...
3
68
0.428245
train_b3d16992b3e12915
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.923, 0.531).lineTo(0.923, -0.531).threePointArc((-0.923, 0), (0.923, 0.531)).close().extrude(0.822, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.129, -0.025, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.129, 0.683).threePoint...
3
12
2.950519
train_17eed131cacdb864
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.419), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.938, 0.806).threePointArc((0.976, 0.79), (1, 0.753)).lineTo(1, -0.728).threePointArc((0.969, -0.782), (0.913, -0.806)).lineTo(-0.918, -0.806).threePointArc((-0.97, -0.784), (-1, -0.733)).l...
13
64
1.65995
train_b9f31685366771db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.082, -0.901, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.137, 1.081).threePointArc((0.653, 0.868), (0.865, 0.354)).lineTo(0.865, -0.189).threePointArc((0.653, -0.704), (0.137, -0.917)).lineTo(-0.137, -0.917).threePointArc((-0.653, -0.704), ...
10
154
4.366836
train_cc9b0d9165fca86d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.757, 0.766).threePointArc((1, 0), (0.757, -0.766)).lineTo(0.252, -0.766).lineTo(-0.252, -0.766).lineTo(-0.757, -0.766).threePointArc((-1, 0), (-0.757, 0.766)).lineTo(-0.252, 0.766).lineTo(0...
4
57
0.38223
train_e99fbd54603a122f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.628, -0.498), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.021, 0.367).threePointArc((0.003, 0.322), (0.049, 0.298)).lineTo(0.118, 0.34).lineTo(0.188, 0.316).threePointArc((0.321, 0.261), (0.375, 0.128)).lineTo(0.375, -0.18).threePointArc((0...
3
36
0.803828
train_08663b66fa8e087c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.431, 0.139, -0.17), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.524, 0.14).threePointArc((0.14, 0.524), (0.524, -0.14)).threePointArc((-0.14, -0.524), (-0.524, 0.14)).close().sweep(cq.Workplane(cq.Plane(origin=(0.431, 0.139, -0.17), normal=(0, ...
8
144
0.929302
train_e526ab90a4efeb1c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.381) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.72).extrude(1.142, both=True)) result = result.union(cq.Workplane...
16
81
0.935882
train_4292d1a8470a973d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.22), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.014).extrude(0.228) result = result.cut(cq.Workplane(cq.Plane(origin=(1.014, 0, -0.22), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.507, 0.879), (-1.521, 0.879), (-2.028, 0),...
11
156
0.66995
train_452e8d41e5beff67
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.048, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.088).lineTo(0.92, 0).lineTo(1, -0.088).lineTo(0.305, -0.088).lineTo(0.305, 0.088).lineTo(1, 0.088).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = res...
13
49
0.262225
train_cc01ab825900cf61
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.071, 0, -0.542), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.928, 0.821).lineTo(0.928, -0.821).lineTo(-0.928, -0.821).lineTo(-0.928, 0.821).lineTo(-0.48, 0.821).lineTo(-0.48, -0.533).lineTo(0.48, -0.533).lineTo(0.48, 0.821).lineTo(0.928, 0.821)....
3
79
1.072301
train_85d3086be4ea2d92
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.08, -0.205, 0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.919, 0.205).threePointArc((0, -0.715), (-0.919, 0.205)).threePointArc((0, 1.125), (0.919, 0.205)).close().revolve(angleDegrees=90, axisStart=(-1.079, -0.749), axisEnd=(-1.079, 0.749...
4
71
4.159463
train_2b86b866faf0b453
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.689, -0.069, 0.249), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.595).threePointArc((0.372, 0.441), (0.526, 0.069)).threePointArc((0.372, -0.303), (0, -0.457)).threePointArc((-0.372, -0.303), (-0.526, 0.069)).threePointArc((-0.372, 0.441), (...
18
325
1.823207
train_1ac75da772d3c733
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, 0.003, -0.159), normal=(-0.422, -0.091, -0.902), xDir=(0, 0.995, -0.1))).moveTo(0.982, 0.249).lineTo(0.982, -0.344).lineTo(-0.982, -0.344).lineTo(-0.982, 0.249).threePointArc((-0.842, 0.344), (-0.702, 0.249)).threePointArc((-0.562, 0.155), ...
17
188
0.302549
train_8416acf0e87e2c0a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.626, -0.155, 0.002), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.228, 0).threePointArc((0, -0.228), (-0.228, 0)).threePointArc((0, 0.228), (0.228, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.626, 0.187, -0.312), normal=(1, 0, 0), xDir=(...
4
161
1.227429
train_9fb56e054c4817fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, 0, -0.533), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.568) result = result.cut(cq.Workplane(cq.Plane(origin=(1.002, 0, -0.533), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.087, 0.407), (-0.331, 0.743), (-0.691, 0...
7
81
1.670043
train_5424c45758c822e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.245, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.132, 2).lineTo(0.132, 0.132).lineTo(0.489, 0.132).lineTo(0.489, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.132, 2).close().extrude(0.906, both=True) result = result.cut(cq.Workplane(cq.Plane(...
8
48
0.512406
train_3fd90e5096be753b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -2.266), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 2.582).lineTo(1, 1.95).lineTo(0.751, 1.95).lineTo(0.751, 1.818).lineTo(0.598, 1.818).lineTo(0.598, 1.375).lineTo(0.172, 1.375).lineTo(0.172, 0).lineTo(0, 0).lineTo(0, 2.582).lineTo(1, 2....
2
4
0.520434
train_30eaa8059140567b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.162), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.297, 0.323).lineTo(0.297, 0).lineTo(-0.297, 0).lineTo(-0.297, 0.323).lineTo(-0.025, 0.323).lineTo(-0.025, 0.272).lineTo(0.025, 0.272).lineTo(0.025, 0.323).lineTo(0.297, 0.323).close().ext...
6
30
0.341516
train_8aeac22760e7f9c3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.109, 0.236, 0.315), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0, 0.082).threePointArc((0.031, 0.07), (0.044, 0.039)).threePointArc((0.031, 0.008), (0, -0.005)).threePointArc((-0.031, 0.008), (-0.044, 0.039)).threePointArc((-0.031, 0.07), (0, 0.0...
6
39
0.334433
train_d6f3566abdcd4b98
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.537, -0.327, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.073).threePointArc((0.758, 0.758), (1.073, 0)).lineTo(0.539, 0).threePointArc((0.382, 0.382), (0, 0.539)).lineTo(0, 1.073).close().extrude(2) result = result.union(cq.Workplane(cq...
5
48
0.860331
train_c190e9425cc281b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.197, -0.014, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.388, 0.376).lineTo(0.388, -0.376).lineTo(-0.388, -0.376).lineTo(-0.388, 0.376).lineTo(-0.144, 0.376).lineTo(-0.144, 0.117).lineTo(0.144, 0.117).lineTo(0.144, 0.376).lineTo(0.388, 0.37...
7
68
0.752748
train_749b17174c225d0a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.68, 0, -0.725), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.174, 1.449).lineTo(0.174, 0.174).lineTo(1.359, 0.174).lineTo(1.359, 0).lineTo(0, 0).lineTo(0, 1.449).lineTo(0.174, 1.449).close().extrude(1, both=True) result = result.cut(cq.Workplan...
4
32
0.89056
train_979f3e6c986ead84
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.036, -0.011, 0.042), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.933, 0.325).lineTo(0.933, -0.164).threePointArc((0.785, -0.299), (0.436, -0.355)).lineTo(-0.662, -0.355).threePointArc((-0.852, -0.324), (-0.933, -0.251)).lineTo(-0.933, 0.316).thr...
14
129
0.298253
train_49601a91e3a1d152
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.104, -0.006, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.03, 0.751).threePointArc((0.287, 0.993), (0.327, 0.642)).lineTo(0.57, 0.384).lineTo(0.516, 0.236).lineTo(0.461, 0.087).lineTo(0.055, -0.102).lineTo(-0.273, -0.993).lineTo(-0.57, -0.88...
7
57
0.332436
train_49cf55e9d2121235
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.007, 0, -0.213), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.793, 0.496).lineTo(0.793, 0.297).threePointArc((0.991, -0.099), (0.595, -0.496)).lineTo(-0.793, -0.099).threePointArc((-0.991, 0.297), (-0.793, 0.496)).close().moveTo(-0.595, 0.297).l...
11
103
0.262069
train_2280935e04d505e2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.129, 0.263, -0.475), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.427, 0.295).threePointArc((0.494, 0.279), (0.523, 0.241)).lineTo(0.523, 0.144).threePointArc((0.546, 0.112), (0.603, 0.098)).lineTo(0.75, 0.098).threePointArc((0.835, 0.078), (0.87...
10
113
0.556938
train_34886162572057bc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.518, -0.436, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.034).threePointArc((0.731, 0.731), (1.034, 0)).lineTo(0.509, 0).threePointArc((0.36, 0.36), (0, 0.509)).lineTo(0, 1.034).close().extrude(2) result = result.union(cq.Workplane(cq.P...
4
14
1.330513
train_6b0bad9a94ff7ab1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.755, -0.136).lineTo(0.977, -0.215).lineTo(0.934, -0.358).lineTo(0.709, -0.294).lineTo(0.646, -0.414).lineTo(0.82, -0.572).lineTo(0.726, -0.688).lineTo(0.543, -0.543).lineTo(0.438, -0.63).l...
5
88
0.314938
train_f14f251b899d5681
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.1, 0, 0.322), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.299, 1).threePointArc((0.429, 0.935), (0.484, 0.804)).lineTo(0.484, -0.342).threePointArc((0.529, -0.452), (0.635, -0.498)).lineTo(0.845, -0.498).threePointArc((0.929, -0.534), (0.964, -...
11
281
1.390332
train_7fdb7520ff8c7bc0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.137, -0.494, -0.87), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.506).extrude(0.808) result = result.union(cq.Workplane(cq.Plane(origin=(-0.137, -0.494, -0.304), normal=(0.539, 0, 0.842), xDir=(0.842, 0, -0.539))).circle(0.333).extrude(1.18)) r...
9
100
0.654239
train_91ff47253f957b1f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.068, 0.044, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.027, 0.089).lineTo(0.023, 0.029).lineTo(0.082, 0.044).lineTo(0.037, 0.004).lineTo(0.089, -0.027).lineTo(0.029, -0.023).lineTo(0.044, -0.082).lineTo(0.004, -0.037).lineTo(-0.027, -0.089...
13
401
0.016628
train_158ad78be90e6805
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.145).lineTo(0.872, 0).lineTo(1, -0.145).lineTo(0.112, -0.145).lineTo(0.112, 0.145).lineTo(1, 0.145).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
24
0.575067
train_886269c13a903989
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.266, 0, 0.103), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.178, 0.255).threePointArc((0.196, 0.164), (0.245, 0.085)).threePointArc((0.278, -0.002), (0.236, -0.085)).threePointArc((0.203, -0.168), (0.178, -0.255)).threePointArc((-0.278, 0), (0.1...
3
14
0.444786
train_72708770b3c214bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.827, 0.529, -0.011), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.579, 1.272).lineTo(0.579, -0.173).lineTo(-0.579, -0.173).lineTo(-0.579, 0.068).lineTo(-0.386, 0.068).lineTo(-0.386, 0.309).lineTo(-0.193, 0.309).lineTo(-0.193, 0.55).lineTo(0, 0.5...
6
51
0.856253
train_fb3d08d0f5b156f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.213), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.692, 0.426).lineTo(0.92, 0.298).lineTo(1, 0.15).lineTo(1, 0).lineTo(0.858, 0).lineTo(0.858, 0.128).lineTo(0.758, 0.298).lineTo(0, 0.284).lineTo(0, 0.426).lineTo(0.692, 0.426).close().revo...
6
36
0.468882
train_cfbb16bd4ac3c580
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.466, -0.012, 0.111), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.152, 0.346).lineTo(0.199, 0.225).lineTo(0.226, 0.104).lineTo(0.196, -0.017).lineTo(0.18, -0.137).lineTo(0.152, -0.258).threePointArc((-0.037, -0.447), (-0.226, -0.258)).lineTo(-0...
9
97
0.332161
train_14a92f438bb0ae83
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.134, 0.072), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.557, 0.727).threePointArc((0.619, 0.697), (0.646, 0.627)).lineTo(0.646, 0.496).threePointArc((0.681, 0.403), (0.764, 0.364)).lineTo(0.888, 0.364).threePointArc((0.945, 0.337), (0.968, 0...
4
104
0.382946
train_b93f8cf4ad1921f0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.225) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.703).extrude(0.672, both=True)) result = result.union(cq.Workpl...
8
24
0.707159
train_ea2186dfedb80f96
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.09, 0.197).lineTo(-0.09, -0.114).lineTo(0.194, -0.114).lineTo(0.194, -0.197).lineTo(-0.194, -0.197).lineTo(-0.194, 0.197).lineTo(-0.09, 0.197).close().extrude(2) result = result.edges().chamf...
5
51
0.111128
train_dbc3b71576649505
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.667, 0.985).lineTo(0.667, 0.493).lineTo(1, 0.493).lineTo(1, 0).lineTo(0, 0).lineTo(0, -0.493).lineTo(-0.333, -0.493).lineTo(-0.333, -0.985).lineTo(-0.667, -0.985).lineTo(-0.667, -0.493).lin...
6
51
1.462245
train_48dc6f23484de501
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.902, 0.819, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.467, 1.71).threePointArc((0.467, 1.71), (0.933, 0.902)).threePointArc((0.467, 0.093), (-0.467, 0.093)).threePointArc((-0.933, 0.902), (-0.467, 1.71)).close().moveTo(-0.207, 1.279).thr...
4
37
4.557193
train_a6c1a3e977cfef56
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.029, -0.029), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.836, 0.083).lineTo(0.072, 0.97).lineTo(0.836, -0.083).lineTo(-0.072, -0.97).close().moveTo(0.151, 0.229).lineTo(0.148, 0.212).lineTo(0.142, 0.196).lineTo(0.134, 0.181).lineTo(0.124, 0...
15
342
0.658022
train_db7252ed5bd92835
import cadquery as cq import math result = cq.Workplane('XY').box(1.559, 0.937, 2) result = result.edges().fillet(0.112) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.221).extrude(3.118, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
6
59
2.283628
train_26c3992492164b86
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.808, 0.955, 0.247), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.317, 1.493).lineTo(-0.082, 1.337).lineTo(0.152, 1.379).threePointArc((0.261, 1.456), (0.387, 1.411)).threePointArc((0.526, 1.353), (0.584, 1.214)).lineTo(0.544, 0.991).lineTo(0.71...
10
652
2.504867
train_81d749b2022fdaaa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.292, 0, -0.216), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.593, 0.256).threePointArc((0.628, 0.241), (0.642, 0.207)).lineTo(0.642, -0.171).threePointArc((0.618, -0.231), (0.557, -0.256)).lineTo(-0.549, -0.256).threePointArc((-0.615, -0.229), ...
7
43
0.225719
train_d86f50590e86793d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.203), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.308).lineTo(1, 0.16).threePointArc((0.971, 0.129), (0.902, 0.115)).lineTo(0.153, 0.115).threePointArc((0.045, 0.094), (0, 0.045)).lineTo(0, -0.044).threePointArc((0.046, -0.094), (0...
12
254
0.474486
train_30212a47ecb914c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.018, 0, -0.385), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.571, 0.727).lineTo(0.903, 0.443).lineTo(0.981, 0.255).lineTo(0.981, 0).lineTo(0.798, 0).lineTo(0.798, 0.219).lineTo(0.701, 0.443).lineTo(0, 0.545).lineTo(0, 0.727).lineTo(0.571, 0.727...
7
47
0.877721
train_fa9edc17e34accf1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.004, 0.129, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.995, 0.068).lineTo(-0.433, -0.057).threePointArc((-0.384, -0.061), (-0.336, -0.05)).lineTo(0.689, 0.339).threePointArc((0.995, 0.203), (0.842, -0.068)).lineTo(-0.216, -0.335).threePoi...
8
68
0.358933
train_99a15db468a1e90c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.006, -0.168), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.249, 0.169).threePointArc((0.747, 0.141), (1, 0.085)).lineTo(1, -0.085).threePointArc((0.747, -0.141), (0.249, -0.169)).lineTo(-0.249, -0.169).threePointArc((-0.74...
2
54
0.139388
train_800c27e1aa3d6933
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.594, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.238, 1.293).lineTo(0.618, 0.981).lineTo(0.708, 0.497).lineTo(0.467, 0.069).lineTo(0.006, -0.104).lineTo(-0.458, 0.059).lineTo(-0.708, 0.483).lineTo(-0.628, 0.968).lineTo(-0.254, 1.288).lin...
8
90
0.540101
train_e6f918f582be3937
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.017, 0.137, -0.813), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.408, 0.82).threePointArc((0.502, 0.673), (0.569, 0.512)).threePointArc((0.562, 0.31), (0.466, 0.133)).lineTo(0.732, -0.071).threePointArc((0.781, -0.136), (0.78, -0.218)).lineTo(0....
10
141
2.85326
train_cd05c44d77fdd1af
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.348), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.737).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.737).lineTo(-0.547, 0.737).lineTo(-0.547, 0.453).lineTo(0.547, 0.453).lineTo(0.547, 0.737).lineTo(1, 0.737).close().extrude(0.496, both=Tru...
10
511
1.082124
train_3e758b5beceafe6e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.249), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.04, 0.643).threePointArc((0.146, 0.617), (0.191, 0.558)).lineTo(0.191, 0.374).threePointArc((0.276, 0.262), (0.478, 0.214)).lineTo(0.874, 0.214).threePointArc((0.933, 0.2), (0.957, 0.168))...
5
68
0.599946
train_fe3c645cf0892f4a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.238, 0.12, -0.045), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.14, 0.522).threePointArc((0.522, 0.14), (0.14, -0.522)).threePointArc((-0.522, -0.14), (-0.14, 0.522)).close().sweep(cq.Workplane(cq.Plane(origin=(-0.238, 0.12, -0.045), normal=(0...
18
215
0.4411
train_1868efbaf52c0280
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0, 0.094).lineTo(0.029, 0.09).lineTo(0.055, 0.077).lineTo(0.077, 0.055).lineTo(0.09, 0.029).lineTo(0.094, 0).lineTo(0.09, -0.029).lineTo(0.077, -0.055).lineTo(0.055, -0.077).lineTo(0.029, -0.09).lineTo(0, -0.094).lineTo(-0.029, -0.09).lineTo(-0.055, -...
7
53
0.019336
train_872d3313d727ec77
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.672, -0.52, 0.122), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.003, 0.909).threePointArc((0.539, 0.799), (0.766, 0.527)).threePointArc((0.543, 0.251), (0.003, 0.133)).threePointArc((-0.539, 0.243), (-0.766, 0.516)).threePointArc((-0.543, 0.79...
6
42
0.694538
train_85cb96f93cb8559e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.339), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.354).extrude(0.66, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.339), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.465).extrude(0.346, both=True)) result = result.c...
9
42
0.584552
train_f02876bc26ea00d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.992).extrude(0.919) result = result.cut(cq.Workplane(cq.Plane(origin=(0.992, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.076, 0.38), (-0.29, 0.702), (-0.612, 0.9...
7
102
1.621652
train_95bce439f9a70f9d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.025, 0.053), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.143).lineTo(0.989, -0.158).threePointArc((0.016, -0.242), (-0.981, -0.142)).lineTo(-1, 0.143).threePointArc((-0.177, 0.242), (1, 0.143)).close().extrude(0.175, both=True) result = re...
24
223
0.253571
train_469257e2e3e05752
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.405, 0, -0.199), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.59, 1).lineTo(0.59, -0.613).threePointArc((0.538, -0.739), (0.414, -1)).lineTo(-0.465, -1).lineTo(-0.59, -0.666).lineTo(-0.59, 0.535).lineTo(-0.334, 1).lineTo(0.59, 1).close().extrude...
16
57
0.701918
train_d43bf2da6b199189
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.384, 0, -0.261), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.615, 0.522).lineTo(0.615, 0).lineTo(-0.615, 0).lineTo(-0.615, 0.522).lineTo(-0.268, 0.522).lineTo(-0.268, 0.348).lineTo(0.268, 0.348).lineTo(0.268, 0.522).lineTo(0.615, 0.522).close()...
7
70
0.688691
train_9dc8e9ad2a3bd67b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.23), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.893, 0.575).threePointArc((0.968, 0.544), (1, 0.469)).lineTo(1, -0.53).threePointArc((0.986, -0.562), (0.954, -0.575)).lineTo(-0.93, -0.575).threePointArc((-0.979, -0.555), (-1, -0.506)).li...
14
59
0.62211
train_2e2b653634261a1c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.012, 0.001, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.807, -0.059).lineTo(0.873, -0.32).lineTo(0.494, -0.675).threePointArc((0.442, -0.714), (0.383, -0.739)).lineTo(0.199, -0.791).lineTo(-0.225, -0.911).threePointArc((-0.294, -0.916),...
15
216
1.94047
train_025a3041cea0f7c8
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.012, 0.175).threePointArc((0.028, 0.169), (0.035, 0.153)).lineTo(0.035, 0.13).threePointArc((0.042, 0.112), (0.06, 0.105)).lineTo(0.128, 0.105).threePointArc((0.161, 0.091), (0.175, 0.058)).li...
9
132
0.108556
train_b661163ab5aadd9d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.331), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.977, 1).lineTo(0.977, -0.763).lineTo(0.74, -1).lineTo(-0.763, -1).threePointArc((-0.914, -0.937), (-0.977, -0.786)).lineTo(-0.977, 0.815).lineTo(-0.791, 0.815).lineTo(-0.791, 1).lineTo(0.9...
10
33
0.767683
train_2d20e2b573154dd9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.413, 0.896).lineTo(-0.413, -0.309).lineTo(1, -0.309).lineTo(1, -0.896).lineTo(-1, -0.896).lineTo(-1, 0.896).lineTo(-0.413, 0.896).close().extrude(0.38, taper=5.76) result = result.edges('>...
5
31
0.632369