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_64a39dc3ca38c5ea
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.724, 0.676).threePointArc((0.918, 0.594), (1, 0.398)).lineTo(1, -0.426).threePointArc((0.925, -0.602), (0.751, -0.676)).lineTo(-0.749, -0.676).threePointArc((-0.924, -0.602), (-1, -0.424))...
18
328
0.681851
train_8f1092f866f0d0e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.316, 0, -0.156), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.68).extrude(0.312) result = result.cut(cq.Workplane(cq.Plane(origin=(0.316, 0, -0.156), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.614).extrude(0.931, both=True)) result = result.unio...
20
105
0.349078
train_adcbae3fe04367a2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.167, -0.002, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.848, 0.885).lineTo(0.848, -0.55).threePointArc((-0.848, 0.167), (0.848, 0.885)).close().extrude(0.38) result = result.union(cq.Workplane(cq.Plane(origin=(0.125, 0.385, 0.219), normal=...
6
24
1.484988
train_aa48f4255bd99fc4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.114, -0.049, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.002, 0.508).lineTo(0.05, 0.201).lineTo(0.122, -0.008).lineTo(0.048, -0.207).lineTo(-0.002, -0.508).lineTo(-0.05, -0.201).lineTo(-0.122, 0.008).lineTo(-0.048, 0...
6
89
0.229807
train_b42505c335f1ef5a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.08, -0.463), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.586, 0.363).lineTo(0.723, 0.226).lineTo(0.723, -0.268).lineTo(0.627, -0.363).lineTo(-0.651, -0.363).lineTo(-0.723, -0.291).lineTo(-0.723, 0.284).lineTo(-0.643, 0.363).lineTo(0.586, 0.3...
12
125
0.559437
train_e36859473634b92b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.42, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.287, 2).lineTo(0.287, 0.287).lineTo(0.841, 0.287).lineTo(0.841, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.287, 2).close().extrude(0.654, both=True) result = result.cut(cq.Workplane(cq.Plane(o...
14
55
0.518174
train_6b92edb03e2d0bd7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.096), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.123, 0.904).threePointArc((0.177, 0.884), (0.2, 0.835)).lineTo(0.2, 0.64).threePointArc((0.232, 0.572), (0.308, 0.543)).lineTo(0.457, 0.543).threePointArc((0.558, 0.504), (0.6, 0.413)).lin...
4
83
0.358531
train_ec533bbcc0aef583
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.388, 0.332, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.03, 0.096).threePointArc((0.093, -0.022), (-0.043, -0.098)).lineTo(-0.048, -0.093).threePointArc((-0.065, -0.06), (-0.091, -0.03)).threePointArc((-0.093, -0.025), (-0.088, -0.01)).line...
16
112
0.201769
train_760eb25475c099a5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.483, -0.185, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.961).threePointArc((0.682, 0.682), (0.961, 0)).lineTo(0.485, 0).threePointArc((0.342, 0.342), (0, 0.485)).lineTo(0, 0.961).close().extrude(2) result = result.union(cq.Workplane(cq...
8
51
1.379203
train_179517b32167f2c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.751, 1).threePointArc((0.87, 0.948), (0.922, 0.826)).lineTo(0.922, -0.823).threePointArc((0.87, -0.946), (0.745, -1)).lineTo(-0.723, -1).threePointArc((-0.862, -0.94), (-0.922, -0.801)).li...
16
294
0.652236
train_6c8d609dc2f15fee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.624), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.747, 0.475).threePointArc((0.925, 0.401), (1, 0.222)).lineTo(1, -0.335).lineTo(0.86, -0.335).lineTo(0.86, -0.475).lineTo(-0.791, -0.475).threePointArc((-0.938, -0.414), (-1, -0.266)).lineT...
11
89
0.976699
train_57e12bb9b7978aa3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.802, 0.633, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.663, 1.802).threePointArc((0.828, 1.734), (0.895, 1.569)).lineTo(0.895, 0.036).threePointArc((0.828, -0.129), (0.663, -0.197)).lineTo(-0.663, -0.197).threePointArc((-0.828, -0.129), (-...
5
10
1.418102
train_06ece52dcd059554
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.627), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.352).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.352).lineTo(-0.67, 1.352).lineTo(-0.67, 0.33).lineTo(0.67, 0.33).lineTo(0.67, 1.352).lineTo(1, 1.352).close().extrude(0.346, both=True) res...
8
55
0.939414
train_c4860b09fe06d4ef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.3), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.533, 2).extrude(0.599) result = result.cut(cq.Workplane(cq.Plane(origin=(0.347, -0.341, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).spline([(-0.04, 0.337), (-0.044, 0.517), (-0.087, 0.567), (-0.16...
14
132
1.519292
train_a388723295502eed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.693), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.884, -0.181).threePointArc((0.881, -0.248), (0.872, -0.315)).threePointArc((0.856, -0.381), (0.834, -0.445)).threePointArc((0.807, -0.508), (0.777, -0.568)).threePointArc((0.739, -0.626), ...
4
67
0.691051
train_7e6736ecf9c4ca71
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.125, 0.309, 0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.128, -0.07).threePointArc((0.265, -0.086), (0.026, -0.078)).lineTo(-0.179, 0.066).threePointArc((-0.265, 0.086), (-0.077, 0.074)).lineTo(0.128, -0.07).close().extrude(0.062) result...
6
218
0.188321
train_69dc168a3bb7eadb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.269), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.256, 0.261).lineTo(0.256, 0.156).lineTo(0.361, 0.156).lineTo(0.361, -0.261).lineTo(-0.235, -0.261).threePointArc((-0.325, -0.225), (-0.361, -0.135)).lineTo(-0.361, 0.132).threePointArc((-0...
9
42
0.169583
train_65c970dc61107fec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.163, -0.509, -0.362), normal=(0.147, 0.549, 0.823), xDir=(-0.966, 0.259, 0))).moveTo(-0.113, -0.088).threePointArc((-0.154, -0.105), (-0.142, -0.06)).lineTo(-0.162, 0.087).lineTo(0.033, 0.105).threePointArc((0.162, 0.004), (0.026, -0.064)).line...
9
51
0.223482
train_8786f9c53637ea41
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.129, 0, -0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.87, 0.267).lineTo(0.87, -0.267).threePointArc((-0.87, 0), (0.87, 0.267)).close().extrude(0.189) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.312, 0.697, 0.069), normal=(0, 0, ...
5
34
0.475935
train_b3640806643c39cb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.482, -0.022, -0.631), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.309, 0.044).threePointArc((0.313, 0.043), (0.31, 0.025)).lineTo(0.313, 0.011).lineTo(0.31, 0.001).threePointArc((0.314, -0.001), (0.309, -0.026)).threePointArc((0.295, -0.054), ...
6
120
0.958844
train_02b0a9d8ebb217ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.911, 1).lineTo(0.911, -0.719).threePointArc((0.829, -0.91), (0.638, -1)).lineTo(-0.682, -1).lineTo(-0.911, -0.763).lineTo(-0.911, 0.722).lineTo(-0.641, 1).lineTo(0.911, 1).close().extrude(...
9
76
0.99854
train_094a67cf74b053c3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.014, 0.094, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.968, 0).lineTo(0.968, -0.189).threePointArc((0.961, -0.211), (0.939, -0.218)).lineTo(0.753, -0.218).lineTo(-0.323, -0.218).threePointArc((-0.968, 0), (-0.323, 0)).lineTo(0.753, 0).thre...
5
32
0.218008
train_902a795d014235cd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.617, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.24, 0.37).lineTo(0.24, -0.37).threePointArc((-0.24, 0), (0.24, 0.37)).close().revolve(angleDegrees=360, axisStart=(-0.534, 0.617), axisEnd=(0.534, 0.617)) result = result.cut(cq.Workplane(...
8
127
1.047621
train_91786d4abd276211
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.145, 0, -0.052), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.178, 0.737).threePointArc((0.345, 0.686), (0.416, 0.568)).lineTo(0.416, 0.23).threePointArc((0.451, 0.172), (0.532, 0.148)).lineTo(0.667, 0.148).threePointArc((0.783, 0.113), (0.832, ...
5
111
0.600559
train_8cb605246f5c2c4f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.078, 0.213, -0.256), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.541, -0.65).lineTo(0.537, -0.675).lineTo(0.53, -0.699).lineTo(0.521, -0.72).lineTo(0.51, -0.74).lineTo(0.496, -0.756).lineTo(0.481, -0.77).lineTo(0.465, -0.779).lineTo(0.448, -0.7...
9
183
1.091937
train_0dd09048f461f237
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.5), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.52, 0.6).threePointArc((0.576, 0.576), (0.6, 0.52)).lineTo(0.6, 0.3).threePointArc((0.63, 0.23), (0.7, 0.2)).lineTo(0.902, 0.2).threePointArc((0.97, 0.171), (1, 0.103)).lineTo(1, -0.105).thr...
6
44
2.537924
train_fb9a5da902d99bbd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.191), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.498).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.498).lineTo(-0.597, 0.498).lineTo(-0.597, 0.398).lineTo(0.597, 0.398).lineTo(0.597, 0.498).lineTo(1, 0.498).close().extrude(0.258, both=Tru...
8
44
0.535163
train_6acef4c1b4857c9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.049, 0, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.95).extrude(0.453) result = result.cut(cq.Workplane(cq.Plane(origin=(0.049, 0, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.877).extrude(1.36, both=True)) result = result.union...
15
83
0.655223
train_74a42f657d0893cd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.174), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.571).lineTo(1, -0.571).lineTo(-1, -0.571).lineTo(-1, 0.571).lineTo(1, 0.571).close().extrude(0.134) result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.168, -0.04), normal=(0, 0, ...
13
72
0.222078
train_9bf026b5eb953a06
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.071, -0.458, -0.347), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.025, 0.075).lineTo(0.025, 0.025).lineTo(0.075, 0.025).lineTo(0.075, -0.075).lineTo(0.025, -0.075).lineTo(0.025, -0.025).lineTo(-0.075, -0.025).lineTo(-0.075, 0.025).lineTo(-0.025,...
16
205
0.126851
train_9826f119a0d9a47f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.229), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.881, 0.458).lineTo(0.92, 0.391).lineTo(1, 0.16).lineTo(1, 0).lineTo(0.867, 0).lineTo(0.867, 0.138).lineTo(0.766, 0.391).lineTo(0, 0.327).lineTo(0, 0.458).lineTo(0.881, 0.458).close().revo...
5
51
0.45323
train_a3d27d9384eb6f24
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.275, 0.683), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.01, 0.364).lineTo(0.071, 0.131).lineTo(0.31, 0.191).lineTo(0.149, 0.004).lineTo(0.32, -0.174).lineTo(0.078, -0.127).lineTo(0.01, -0.364).lineTo(-0.071, -0.131).lineTo(-0.31, -0.191).l...
2
74
0.595407
train_64fe4dbf3bc2b845
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.023, 0.205, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.858, 0.161).threePointArc((-0.577, 0.232), (-0.436, 0.125)).lineTo(0.835, -0.125).threePointArc((0.976, -0.232), (0.553, -0.196)).lineTo(-0.858, 0.089).lineTo(-0.952, 0.113).thre...
8
42
0.167465
train_adf563049402dc5e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.029, 0.219, -0.183), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.534, 0.267).lineTo(0.534, 0).lineTo(-0.534, 0).lineTo(-0.534, 0.267).lineTo(-0.512, 0.267).lineTo(-0.512, 0.023).lineTo(0.512, 0.023).lineTo(0.512, 0.267).lineTo(0.534, 0.267).cl...
9
67
0.128205
train_fb48ade7cb837fe1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.393, -0.017, -0.151), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.552, 0.291).lineTo(0.606, 0.237).lineTo(0.606, -0.164).lineTo(0.478, -0.291).lineTo(-0.512, -0.291).lineTo(-0.606, -0.198).lineTo(-0.606, 0.222).lineTo(-0.537, 0.291).lineTo(0.552...
10
110
0.207759
train_f9850f6adf47cab6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.056, -0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.435).lineTo(1, 0.198).lineTo(-0.379, 0.198).lineTo(-0.379, -0.198).lineTo(1, -0.198).lineTo(1, -0.435).lineTo(-1, -0.435).lineTo(-1, 0.435).lineTo(1, 0.435).close().extrude(0.653) r...
9
112
0.849734
train_f95be2c1c9106669
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.258, -0.405, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.475).threePointArc((0.198, 0.392), (0.28, 0.195)).threePointArc((0.198, -0.003), (0, -0.085)).threePointArc((-0.198, -0.003), (-0.28, 0.195)).threePointArc((-0.198, 0.392), (0, 0.4...
4
65
0.247683
train_7b7ade757e026cb7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.007, 0.607, 0.184), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.2, 0.393).threePointArc((0.257, 0.369), (0.28, 0.313)).lineTo(0.28, 0.151).threePointArc((0.252, 0.084), (0.185, 0.056)).lineTo(-0.15, 0.056).threePointArc((-0.163, 0.051), (-0.168...
16
198
0.087063
train_daebb5e7766f9eda
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.384, 0, 0.562), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.164, 0.572).threePointArc((0.271, 0.499), (0.315, 0.364)).threePointArc((0.319, 0.24), (0.345, 0.164)).threePointArc((0.424, 0.104), (0.524, 0.016)).threePointArc((0.597, -0.112), (0....
3
27
0.606818
train_33d4001bbe772745
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.815, 1).lineTo(0.961, 0.854).lineTo(0.961, -0.89).lineTo(0.85, -1).lineTo(-0.833, -1).threePointArc((-0.923, -0.962), (-0.961, -0.873)).lineTo(-0.961, 1).lineTo(0.815, 1).close().extrude(0...
5
44
1.47822
train_30a1254308a7f9d1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.044, -0.312), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.956).extrude(0.554) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.044, -0.312), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.81).extrude(1.66, both=True)) result = result.uni...
13
84
0.786257
train_19eb62e742898262
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.052, -0.298, -0.008), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.171, 1.178).threePointArc((-0.106, 1.174), (-0.07, 1.119)).lineTo(-0.015, 0.91).lineTo(0.137, 0.331).lineTo(0.191, 0.125).threePointArc((0.228, 0.068), (0.295, 0.064)).lineTo(0....
3
68
2.681172
train_a934b5aea67ed047
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.104), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.755, -0.166).lineTo(0.964, -0.252).lineTo(0.928, -0.361).lineTo(0.714, -0.295).lineTo(0.634, -0.442).lineTo(0.793, -0.602).lineTo(0.719, -0.69).lineTo(0.546, -0.546).lineTo(0.416, -0.651)....
8
115
0.402566
train_0af7e203acd08800
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.257, 0, -0.431), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.594, 0.542).lineTo(0.093, -0.542).lineTo(-0.594, 0.434).lineTo(0.594, 0.542).close().sweep(cq.Workplane(cq.Plane(origin=(-0.257, 0, -0.431), normal=(0, -1, 0), xDir=(1, 0, 0))).splin...
5
34
0.757823
train_046089f574743e6f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1.102, -0.387), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.893, 2.102).lineTo(0.035, 1.715).lineTo(1, 1.995).lineTo(0.613, 1.068).lineTo(0.893, 0.102).lineTo(-0.035, 0.49).lineTo(-0.216, 0.393).threePointArc((-0.305, 0.336), (-0.391, 0.275))...
19
27
1.7029
train_2ebb9451e76fe279
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.175, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.252, 0.332).threePointArc((0.336, 0.237), (0.252, 0.142)).lineTo(-0.041, 0.059).threePointArc((-0.077, 0.039), (-0.098, 0)).lineTo(-0.168, -0.237).threePointArc((-0.252, -0.332), (-0.3...
18
343
0.186342
train_ce3c2dfe42fbea04
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1.887), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 2.533).lineTo(1, 1.317).lineTo(0.361, 1.317).lineTo(0.361, 0).lineTo(0, 0).lineTo(0, 2.533).lineTo(1, 2.533).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) res...
7
38
3.177972
train_ec8221df62bcb16f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.376, 0, 0.195), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.623).threePointArc((0.441, 0.441), (0.623, 0)).threePointArc((0.441, -0.441), (0, -0.623)).threePointArc((-0.441, -0.441), (-0.623, 0)).threePointArc((-0.441, 0.441), (0, 0.623)).cl...
8
303
1.05695
train_1055d3896bb8b395
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.468, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.261, 2).lineTo(0.261, 0.261).lineTo(0.936, 0.261).lineTo(0.936, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.261, 2).close().extrude(0.604, both=True) result = result.cut(cq.Workplane(cq.Plane(...
9
64
0.558144
train_d7083f3a96ea801c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.136, -0.121, -0.039), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.426, 0.879).threePointArc((0.557, 0.824), (0.612, 0.693)).lineTo(0.612, -0.693).threePointArc((0.557, -0.824), (0.426, -0.879)).lineTo(-0.426, -0.879).threePointArc((-0.557, -0.8...
8
83
0.483881
train_87461c0664634497
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, -0.046, -0.839), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.044, 0.369).threePointArc((0.107, 0.308), (0.158, 0.258)).threePointArc((0.245, 0.248), (0.361, 0.221)).threePointArc((0.429, 0.138), (0.405, 0.033)).threePointArc((0.344, -0.051...
22
1,235
0.572048
train_7333e6ff7b02fc86
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.75), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.337, 1).threePointArc((0.663, 0.863), (0.8, 0.537)).lineTo(0.8, -0.406).threePointArc((0.742, -0.542), (0.606, -0.6)).lineTo(0.147, -0.6).threePointArc((0.044, -0.644), (0, -0.747)).lineTo(...
14
108
3.104258
train_75ca79e5eb226a91
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.004, 0.189, -0.676), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.684, 0).threePointArc((0.32, -0.364), (-0.044, 0)).threePointArc((0.32, 0.364), (0.684, 0)).close().moveTo(0.281, 0.052).threePointArc((0.313, 0.051), (0.343, 0.04)).threePointArc...
8
129
1.387082
train_4409de5e5a7e0968
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.044, -0.045, -0.747), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.169, 0.172).lineTo(0.169, 0.106).lineTo(0.042, 0.106).lineTo(0.042, -0.172).lineTo(-0.042, -0.172).lineTo(-0.042, 0.106).lineTo(-0.169, 0.106).lineTo(-0.169, 0.172).lineTo(0.169, ...
18
111
0.085924
train_1ec7bb1b8b5810cd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.078), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.085, 0.09).lineTo(0.085, 0.013).lineTo(0.033, 0.013).threePointArc((0.032, 0.002), (0.038, -0.008)).threePointArc((0.032, -0.017), (0.029, -0.028)).lineTo(0.048, -0.049).threePointArc((0.04...
4
63
0.109163
train_a21446ab47a49f18
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.108, 0.041, -0.823), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.563, 0.262).lineTo(0.891, -0.335).lineTo(0.414, -0.401).lineTo(0.105, -0.038).lineTo(-0.105, 0).lineTo(-0.028, -0.091).lineTo(-0.239, -0.052).lineTo(-0.891, 0.297).lineTo(-0.105, 0...
16
145
0.472526
train_8b2faee16e81deb9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.316, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(-0.307, -0.583).lineTo(-1, -0.14).lineTo(-0.882, -0.042).lineTo(-0.189, -0.485).lineTo(-0.072, -0.387).lineTo(-0.765, 0.055).lineTo(-0.647, 0.153).lineTo(0.046, -0.289).lineTo(0.164, -0.191)...
4
95
0.538571
train_54ca15542ed5cda6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.725, -1.19, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.805, 1.947).lineTo(0.805, 0.433).threePointArc((-0.805, 1.19), (0.805, 1.947)).close().workplane(offset=0.314).moveTo(0.572, 1.728).lineTo(0.572, 0.652).threePointArc((-0.572, 1.19), (...
13
20
1.91191
train_993ae76318f29109
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.48, -0.408, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.105, 0.592).lineTo(0.494, 0.089).lineTo(0.136, -0.438).lineTo(-0.475, -0.259).lineTo(-0.494, 0.377).lineTo(0.105, 0.592).close().extrude(0.959) result = result.cut(cq.Workplane(cq.Plan...
12
193
1.133629
train_309ba20be5dc019e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.086, -0.558, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(-0.404, -0.406).lineTo(-0.404, 0.334).threePointArc((-0.346, 0.406), (-0.289, 0.334)).threePointArc((-0.231, 0.262), (-0.173, 0.334)).threePointArc((-0.115, 0.40...
7
78
1.168862
train_7ec5488ff0174209
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.403, 0.318, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.299, 0.517).threePointArc((0.299, 0.517), (0.597, 0)).threePointArc((0.299, -0.517), (-0.299, -0.517)).threePointArc((-0.597, 0), (-0.299, 0.517)).close().sweep(cq.Workplane(cq.P...
6
36
0.226617
train_d0be2e00d8c57895
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.652, 0.498, 0.623), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.063, 0.23).threePointArc((0.12, 0.193), (0.132, 0.12)).threePointArc((0.153, 0.072), (0.22, 0.021)).threePointArc((0.229, -0.055), (0.145, -0.088)).threePointArc((0.079, -0.094), ...
5
48
0.136314
train_95c32ee27e3b9be9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.451), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.059, 0.584).threePointArc((0.122, 0.528), (0.199, 0.395)).lineTo(0.199, 0.123).threePointArc((0.249, 0.037), (0.367, 0)).lineTo(0.864, 0).threePointArc((0.954, -0.028), (1, -0.094))....
12
87
1.070502
train_728c90f31c0bbf98
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(0.746, -0.089).lineTo(0.99, -0.142).lineTo(0.976, -0.217).lineTo(0.731, -0.173).lineTo(0.705, -0.259).lineTo(0.93, -0.366).lineTo(0.9, -0.437).lineTo(0.671, -0.337).lineTo(0.626, -0.415).lin...
2
111
1.44159
train_d64d44a8f342f991
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.849, -0.2).threePointArc((0, 1), (0.849, -0.2)).lineTo(0.849, -0.867).threePointArc((0.637, -1), (0.425, -0.867)).lineTo(0.425, -0.2).threePointArc((0.849, 0.067), (0.637, 0.6)).threePointArc((-0.425, 0.733), (-0.425, -0.067)).threePointArc((-0.425...
20
29
0.692019
train_79290b0eacd3c5a6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.082, 0.999), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.176, 0.282).lineTo(0.176, -0.282).threePointArc((-0.176, 0), (0.176, 0.282)).close().extrude(1.903) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0.255, -0.713), normal=(0, 0...
5
6
0.329368
train_c67b6bac673a48d6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.064, 0, -0.016), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.693, 1).threePointArc((0.766, 0.961), (0.796, 0.888)).lineTo(0.796, 0.724).threePointArc((0.759, 0.635), (0.67, 0.597)).lineTo(0.528, 0.597).threePointArc((0.437, 0.558), (0.398, 0.468...
6
87
0.882087
train_421ed75414f5a8b5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.039, -0.026, -0.086), normal=(-0.709, 0.467, 0.528), xDir=(-0.55, -0.835, 0))).moveTo(1.141, 0.072).lineTo(1.021, -0.072).lineTo(-1.059, -0.041).lineTo(-1.141, -0.019).lineTo(-0.753, -0.035).lineTo(-0.529, -0.007).lineTo(-0.224, -0.002).lineTo(...
10
103
0.135728
train_c0d97d85d7158165
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.191, 0.078), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.241, 0.435).lineTo(0.241, -0.053).threePointArc((0, -0.294), (-0.241, -0.053)).lineTo(-0.241, 0.435).threePointArc((0, 0.676), (0.241, 0.435)).close().extrude(2) result = result.cut(c...
23
103
0.788596
train_36663b57e1c0539f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.008, -0.174), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.746, -0.252).lineTo(0.915, -0.384).lineTo(0.791, -0.605).lineTo(0.603, -0.507).lineTo(0.409, -0.673).lineTo(0.457, -0.881).lineTo(0.218, -0.968).lineTo(0.136, -0.775).lineTo(-0.118, -...
7
75
0.662269
train_ac57a9e759d54037
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.008, 0.007, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.813, -0.153).threePointArc((-0.902, -0.116), (-0.94, -0.026)).threePointArc((-0.701, 0.876), (-0.63, 0.944)).threePointArc((-0.582, 0.944), (0.394, 0.679)).lineTo(0.413, 0.618).threePo...
24
304
0.705341
train_0d23e771d99a6472
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.151, 0.275, -0.477), normal=(0.495, -0.696, 0.52), xDir=(0.815, 0.58, 0))).moveTo(0.578, 0.494).lineTo(0.004, -0.5).threePointArc((-0.578, 0.5), (0.578, 0.494)).close().extrude(1.255, taper=0.501, both=False) result = result.union(cq.Workplane(...
10
76
0.905696
train_30b816957177530a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.111, -0.833, 0.227), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.772, 0.051).threePointArc((0, -0.722), (-0.772, 0.051)).threePointArc((0, 0.823), (0.772, 0.051)).close().extrude(1.666) result = result.union(cq.Workplane(cq.Plane(origin=(0.437, ...
7
293
3.093443
train_00fdfd3a5e189ef7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.012, -0.033, -0.556), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.65, 0.138).threePointArc((0.662, 0.132), (0.668, 0.12)).lineTo(0.668, -0.048).threePointArc((0.675, -0.067), (0.694, -0.075)).lineTo(0.799, -0.075).threePointArc((0.808, -0.078)...
10
144
0.596503
train_634dae7ec18c9180
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.289, 0.088, 0.176), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.333, 0.658).threePointArc((-0.224, 0.656), (-0.125, 0.628)).threePointArc((-0.041, 0.592), (0.031, 0.564)).threePointArc((0.104, 0.551), (0.186, 0.547)).threePointArc((0.283, 0.5...
9
58
1.220218
train_4713800a1aae56fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.096), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.506, 2).extrude(0.191) result = result.cut(cq.Workplane(cq.Plane(origin=(0, -0.561, -0.044), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.199, 0.218).lineTo(0.27, -0.113).lineTo(-0.27, -0.11...
14
46
0.416763
train_80328133e5ebec4c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.161), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.88, 0.562).lineTo(0.88, 0.441).lineTo(1, 0.441).lineTo(1, -0.356).lineTo(0.794, -0.356).lineTo(0.794, -0.562).lineTo(-0.864, -0.562).lineTo(-0.864, -0.426).lineTo(-1, -0.426).lineTo(-1, 0....
8
49
0.349194
train_44ffe530a03a3c32
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.183, 0.276, 0.002), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.357, 1.183).lineTo(0.281, 0.776).lineTo(1, 0.54).lineTo(0.593, -0.098).lineTo(0.357, -0.817).lineTo(-0.281, -0.411).lineTo(-1, -0.175).lineTo(-0.593, 0.464).lineTo(-0.357, 1.183)....
5
34
0.76665
train_a13eeea02669afc7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.12, -0.022, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.234, 0.907).threePointArc((0.234, 0.907), (0.468, 0.502)).threePointArc((0.234, 0.096), (-0.234, 0.096)).threePointArc((-0.468, 0.502), (-0.234, 0.907)).close().workplane(offset=0.052...
4
11
0.354826
train_5933537bbfdbc04c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.062, 0.139, -0.627), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.051, 0.581).threePointArc((0.106, 0.86), (0.198, 0.548)).lineTo(0.043, -0.633).threePointArc((0.225, -0.774), (-0.013, -0.85)).lineTo(-0.177, -0.86).lineTo(-0.225, -0.744).lineTo...
5
42
0.612988
train_35013b289b58403c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.16, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.936, 0.838).lineTo(1.005, 0.482).lineTo(0.135, 0.043).lineTo(-0.158, -0.631).threePointArc((-0.429, -0.838), (-0.573, -0.776)).threePointArc((-1.005, -0.384), (-0.76, 0.531)).lineTo(-0...
10
140
0.427551
train_dd8a975d64644a40
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.13, -0.036, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.055, 0.056).lineTo(0.055, 0.02).lineTo(-0.018, 0.02).lineTo(-0.018, -0.02).lineTo(0.055, -0.02).lineTo(0.055, -0.056).lineTo(-0.055, -0.056).lineTo(-0.055, 0.056).lineTo(0.055, 0.056)....
19
235
0.165802
train_438d1a4310562ba6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.138, -0.198, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.088, 0.411).threePointArc((0.228, 0.394), (0.287, 0.354)).lineTo(0.287, 0.124).threePointArc((0.331, 0.095), (0.434, 0.082)).lineTo(0.642, 0.082).threePointArc((0.797, 0.064), (0.861, ...
26
96
1.762519
train_7c0053b97968fbab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.134, -0.586, 0.45), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.006, 0.147).threePointArc((0.037, 0.145), (0.058, 0.122)).threePointArc((0.064, 0.084), (0.052, 0.042)).threePointArc((0.027, 0.006), (-0.006, -0.013)).threePointArc((-0.037, -0.01...
6
63
0.46513
train_ed4ad36ff55afe2a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.205, -0.013, 0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.239, -0.539).threePointArc((-0.558, -0.532), (-0.509, -0.211)).lineTo(-0.602, -0.059).threePointArc((-0.792, 0.139), (-0.545, 0.102)).lineTo(-0.142, 0.221).threePointArc((-0.117, ...
12
135
0.734202
train_a55b07657bce9512
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.041, -0.185, -0.907), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.343, 0.814).lineTo(0.229, 0.233).lineTo(0.914, 0.116).lineTo(0.343, -0.116).lineTo(0.572, -0.698).lineTo(0, -0.349).lineTo(-0.343, -0.814).lineTo(-0.229, -0.23...
10
155
0.659502
train_8481298dc01881a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.233, 0.305, 0.391), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.047, 0.322).lineTo(-0.047, 0.293).lineTo(-0.021, 0.293).lineTo(-0.021, 0.068).lineTo(0.141, 0.068).lineTo(0.141, -0.191).lineTo(0.237, -0.177).lineTo(0.312, -0.191).lineTo(0.312, -...
11
202
1.2082
train_6729da5300711c34
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.006, -0.372), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.625, 0.743).lineTo(0.625, 0.087).lineTo(1, 0.087).lineTo(1, 0).lineTo(0.145, 0).lineTo(0.145, 0.743).lineTo(0.625, 0.743).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisE...
8
70
0.669953
train_50036c9cf8d92c14
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.171, 0.38, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(1, 0.918).lineTo(1, 0.316).lineTo(0.312, 0.316).lineTo(0.312, -0.575).lineTo(-0.312, -0.575).lineTo(-0.312, 0.316).lineTo(-1, 0.316).lineTo(-1, 0.918).lineTo(1, 0.918).close().extrude(0.7...
16
32
1.039407
train_65537309efdf02a5
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.633, 0.963).lineTo(0.633, -0.963).threePointArc((-0.633, 0), (0.633, 0.963)).close().extrude(0.289, both=True).intersect(cq.Workplane('XZ').moveTo(0.311, 0.066).lineTo(0.363, 0.043).threePointArc((0.364, 0.041), (0.359, 0.039)).lineTo(0.261, 0.018)....
15
245
0.379421
train_c2baddb68355a00c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.132, -0.73, -0.308), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.052, 0.111).lineTo(0.052, 0.044).lineTo(0.104, 0.044).lineTo(0.104, -0.044).lineTo(0.052, -0.044).lineTo(0.052, -0.111).lineTo(-0.052, -0.111).lineTo(-0.052, -0.044).lineTo(-0.10...
10
79
1.539202
train_e96db60608d99a8f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.185, -0.301, 0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.25, 0.95).threePointArc((0.039, 0.971), (0.318, 0.891)).threePointArc((0.512, 0.733), (0.568, 0.538)).threePointArc((0.473, 0.359), (0.25, 0.244)).threePointArc((-0.039, 0.224), (...
14
337
1.729913
train_bc9abf3991154fa7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.076, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.342, 0.981).lineTo(-0.342, -0.38).lineTo(0.777, -0.38).lineTo(0.777, -0.815).lineTo(-0.777, -0.815).lineTo(-0.777, 0.981).lineTo(-0.342, 0.981).close().extrude(1.725) result = result.uni...
9
104
2.021344
train_1cfd03d46e3f8cdb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.093, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.329, 0.098).threePointArc((0.373, 0.079), (0.392, 0.035)).lineTo(0.392, -0.039).threePointArc((0.374, -0.081), (0.332, -0.098)).lineTo(-0.36, -0.098).threePointArc((-0.382, -0.089), (-0.3...
10
77
0.321413
train_862e590d069a73c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.446, 0.999, -0.16), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.526, 0.086).threePointArc((0, -0.441), (-0.526, 0.086)).threePointArc((0, 0.612), (0.526, 0.086)).close().extrude(1.584) result = result.union(cq.Workplane(cq.Plane(origin=(0.36, -...
13
106
1.494647
train_22f1144b40fcdbc8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.147), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.869, 0.612).lineTo(0.869, 0.49).lineTo(1, 0.49).lineTo(1, -0.477).threePointArc((0.953, -0.572), (0.857, -0.612)).lineTo(-0.882, -0.612).threePointArc((-0.96, -0.58), (-1, -0.503)).lineTo(...
4
134
0.56829
train_0556aa2df5fa5e39
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.206, 0, -0.59), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.195, 0.773).threePointArc((0.309, 0.735), (0.417, 0.681)).threePointArc((0.514, 0.611), (0.601, 0.527)).threePointArc((0.673, 0.431), (0.73, 0.325)).threePointArc((0.771, 0.211), (0.79...
5
56
0.878784
train_45983d4f5e991c01
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.016, 0.36, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.054, 0.171).threePointArc((0.054, 0.171), (0.108, 0.077)).threePointArc((0.054, -0.016), (-0.054, -0.016)).threePointArc((-0.108, 0.077), (-0.054, 0.171)).close().extrude(0.897) r...
20
455
0.527952
train_6d4be0803febb66a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.222, 0, 0.209), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.13, 0.168).threePointArc((-0.034, 0.155), (0.072, 0.101)).threePointArc((0.158, 0.019), (0.202, -0.068)).threePointArc((0.191, -0.136), (0.13, -0.168)).threePointArc((0.034, -0.155), ...
12
133
0.378989
train_18559388905397f3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.266), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.499, 0.866).lineTo(1, 0).lineTo(0.499, -0.866).lineTo(-0.499, -0.866).lineTo(-1, 0).lineTo(-0.499, 0.866).lineTo(0.499, 0.866).close().extrude(0.532) result = result.edges(cq.selectors.Nea...
2
9
1.378194