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_4c1154a38af48cc1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.008, 0, -0.923), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.34) result = result.cut(cq.Workplane(cq.Plane(origin=(1.008, 0, -0.923), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.377, 0.782), (-1.223, 0.975), (-1.902, 0....
9
59
1.249523
train_992a509cdd7aacf3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.188), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.794, 1).threePointArc((0.894, 0.957), (0.936, 0.856)).lineTo(0.936, -0.885).threePointArc((0.903, -0.966), (0.824, -1)).lineTo(-0.768, -1).threePointArc((-0.887, -0.95), (-0.936, -0.83)).l...
3
19
1.343666
train_f0a4027b72364287
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.508, 0.457).lineTo(0.508, 0.112).lineTo(-0.163, 0.112).lineTo(-0.163, -0.112).lineTo(0.508, -0.112).lineTo(0.508, -0.457).lineTo(-0.508, -0.457).lineTo(-0.508, 0.457).lineTo(0.508, 0.457).close().extrude(1.366, taper=11.454, both=True) result = resu...
5
69
0.515056
train_3be8140670757ae1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.609, 0.061, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.069, 1.061).lineTo(0.069, -0.279).lineTo(0.778, -0.279).lineTo(0.778, -0.939).lineTo(-0.591, -0.939).threePointArc((-0.708, -0.612), (-0.778, -0.272)).lineTo(-0.768, 0.395).threePointA...
6
165
2.454208
train_f438fd281dd5607d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.299, 0.052, -0.064), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.63, 0.468).lineTo(0.375, -0.468).lineTo(-0.375, -0.468).lineTo(-0.63, 0.468).lineTo(0.63, 0.468).close().extrude(2.123, both=True).intersect(cq.Workplane(cq.Plane(origin=(-0.299, ...
10
60
1.11065
train_2fcc0c6e7e7eedad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.204), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.705, 2).extrude(0.407) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.004, 0, -0.13), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.096, 0.944).threePointArc((0.454, 0.991), (0.74, 0.77...
13
64
0.383921
train_d68bb48b88ceedce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.474, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(2.26, 1.161, 2) result = result.edges().fillet(0.357) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.657, -0.582, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.63, 0.8).threePointArc((...
19
88
0.967569
train_843457280cf9a324
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.198, 0, 0.141), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.48, 1).threePointArc((0.667, 0.912), (0.747, 0.729)).lineTo(0.747, -0.83).threePointArc((0.699, -0.944), (0.585, -1)).lineTo(-0.001, -1).threePointArc((-0.175, -0.918), (-0.249, -0.748...
20
140
0.450247
train_f77bfbe9448a781f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.109, 0.13, 0), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.452, -0.922).lineTo(0.202, -1).lineTo(-0.048, -0.925).lineTo(-0.26, -0.708).lineTo(-0.402, -0.384).lineTo(-0.452, 0).lineTo(-0.402, 0.384).lineTo(-0.26, 0.708).lineTo(-0.048, 0.925).line...
15
426
1.89703
train_3b390b5e311e43c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(9.974, 105.457, -18.875), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(121.455, 105.81).lineTo(121.455, 65.325).lineTo(20.242, 65.325).lineTo(20.242, -105.81).lineTo(-20.242, -105.81).lineTo(-20.242, 65.325).lineTo(-121.455, 65.325).lineTo(-121.455, ...
6
4
0.249216
train_7712c4fb7fe4b8db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.133, 0.164, -0.308), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.866, 0.563).lineTo(0.866, -0.578).lineTo(-0.855, -0.578).threePointArc((-0.863, -0.575), (-0.866, -0.567)).lineTo(-0.866, 0.564).lineTo(-0.852, 0.578).lineTo(0.851, 0.578).lineTo(0...
12
56
0.95095
train_bbff0b8bbc619641
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.204) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.779).extrude(0.612, both=True)) result = result.union(cq.Workpl...
16
93
0.525693
train_e87fb914b6b78504
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.579), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.862, 1.316).lineTo(0.862, 0).lineTo(-0.862, 0).lineTo(-0.862, 1.316).lineTo(-0.696, 1.316).lineTo(-0.696, 0.167).lineTo(0.696, 0.167).lineTo(0.696, 1.316).lineTo(0.862, 1.316).close().ext...
4
27
0.724157
train_cfb601294f7f5e4c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1.165), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.236, 1.992).lineTo(0.236, 1.607).lineTo(0.903, 1.607).lineTo(0.903, 1.255).lineTo(1, 1.255).lineTo(1, 0.722).lineTo(0.24, 0.722).lineTo(0.24, 0).lineTo(0, 0).lineTo(0, 1.992).lineTo(0.236...
6
59
1.959991
train_494640bf512020c7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.937, 0.075).threePointArc((0.981, 0.057), (1, 0.013)).lineTo(1, -0.002).threePointArc((0.978, -0.054), (0.926, -0.075)).lineTo(-1, -0.075).lineTo(-1, 0.012).lineTo(-0.936, 0.075).lineTo(0.9...
9
47
0.114293
train_4386b6c117cf2585
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.06, 0.343, -0.668), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.1, 0.324).threePointArc((0.299, 0.195), (0.366, -0.13)).threePointArc((-0.366, -0.324), (0.1, 0.324)).close().extrude(0.571) result = result.union(cq.Workplane(cq.Plane(origin=(0.48...
13
174
0.983397
train_ea6ee01913921c96
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0, -0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.923, 0.256).lineTo(1.059, 0.12).lineTo(1.059, -0.119).lineTo(0.922, -0.256).lineTo(-0.982, -0.256).lineTo(-1.059, -0.179).lineTo(-1.059, 0.183).lineTo(-0.986, 0.256).lineTo(0.923, 0.2...
9
42
0.185333
train_d2e413a52fbd8b3f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.394) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.868).extrude(1.179, both=True)) result = result.union(cq.Workpl...
12
81
0.603331
train_6fa5a2dec4c19e93
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.129, 0.59, 0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.306, 0.215).threePointArc((0.393, 0.178), (0.43, 0.091)).lineTo(0.43, -0.107).threePointArc((0.398, -0.183), (0.322, -0.215)).lineTo(-0.412, -0.215).threePointArc((-0.424, -0.21), (...
9
100
0.328943
train_349a8b26eada7605
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.395), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.263, 1).threePointArc((0.339, 0.959), (0.371, 0.882)).lineTo(0.371, -0.864).threePointArc((0.334, -0.954), (0.245, -1)).lineTo(-0.321, -1).threePointArc((-0.356, -0.976), (-0.371, -0.94))....
7
62
0.554352
train_f1e3522595c287ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.53, -0.332, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.061).threePointArc((0.75, 0.75), (1.061, 0)).lineTo(0.545, 0).threePointArc((0.385, 0.385), (0, 0.545)).lineTo(0, 1.061).close().extrude(2) result = result.union(cq.Workplane(cq.Pl...
4
21
1.548977
train_8bfab5c2d51ea6af
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.586, 0.817, -0.181), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.143, 0.864).threePointArc((0.152, 0.7), (0.128, 0.567)).threePointArc((0.322, 0.692), (0.423, 0.66)).lineTo(0.413, 0.342).lineTo(0.383, 0.21).threePointArc((0.358, 0.114), (0.214,...
9
67
1.54927
train_fb9b9cda59714596
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.293, 0.056, -0.494), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.267, 0.615).lineTo(-0.267, -0.341).lineTo(0.707, -0.341).lineTo(0.707, -0.615).lineTo(-0.707, -0.615).lineTo(-0.707, 0.615).lineTo(-0.267, 0.615).close().extrude(0.261, both=True)...
25
74
0.94462
train_7515513d44f0839a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.16, 0.029), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.771, 0.708).threePointArc((-0.727, 0.69), (-0.708, 0.646)).lineTo(-0.708, -0.131).threePointArc((-0.623, -0.332), (-0.422, -0.417)).lineTo(0.967, -0.417).threePointArc((0.99, -0.426), (...
8
85
0.755935
train_ca841993f0c4dfb8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.033, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.434, 0.664).lineTo(-0.434, -0.481).lineTo(0.662, -0.481).lineTo(0.662, -0.664).lineTo(-0.662, -0.664).lineTo(-0.662, 0.664).lineTo(-0.434, 0.664).close().extrude(2, taper=-6.053) result =...
16
103
2.157102
train_8d89cc22999ecc2f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.871, -0.921), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.8, 1.67).lineTo(0.8, 0.072).threePointArc((-0.8, 0.871), (0.8, 1.67)).close().extrude(1.841) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.49, 1.791, -4.834), normal=(0, 1, 0),...
13
7
4.763998
train_b217e9800e0a53c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.93, 0.995, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.409, 0.98).threePointArc((0.051, 0.987), (0.497, 0.876)).threePointArc((0.809, 0.681), (0.902, 0.446)).threePointArc((0.76, 0.24), (0.409, 0.116)).threePointArc((-0.051, 0.11), (-0.497...
2
15
2.130398
train_58dd0c3545cdc9ce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.092, -0.23), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.104, 1.091).threePointArc((0.141, 1.076), (0.156, 1.039)).lineTo(0.156, 0.57).threePointArc((0.186, 0.499), (0.258, 0.468)).lineTo(0.352, 0.468).threePointArc((0.434, 0.434), (0.468, 0....
3
62
0.605926
train_c2954d44697029fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.302, -0.176, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.605).threePointArc((0.428, 0.428), (0.605, 0)).lineTo(0.301, 0).threePointArc((0.213, 0.213), (0, 0.301)).lineTo(0, 0.605).close().extrude(2) result = result.union(cq.Workplane(cq...
5
34
0.469264
train_f2191e7a66746169
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.364, -0.016, 0.059), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.392, -0.397).threePointArc((-0.34, 0.442), (0.287, -0.051)).lineTo(0.495, -0.249).threePointArc((0.495, -0.347), (0.443, -0.397)).lineTo(0.183, -0.15).threePointArc((0.131, 0.097...
8
93
0.310166
train_661c580d4ae218bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.235, -0.586), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.76, 0.241).threePointArc((0.923, 0.171), (1, 0.005)).lineTo(1, -0.005).threePointArc((0.923, -0.171), (0.76, -0.241)).lineTo(-1, -0.241).lineTo(-1, 0.241).lineTo(0.76, 0.241).close().e...
8
85
1.314536
train_4393e32c99054c7e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.472), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.445, 1).lineTo(0.445, -1).lineTo(-0.445, -1).lineTo(-0.445, 1).lineTo(-0.124, 1).lineTo(-0.124, 0.059).lineTo(0.124, 0.059).lineTo(0.124, 1).lineTo(0.445, 1).close().extrude(0.766) result ...
11
150
1.371292
train_b77bb55e36cec7ff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.177, 0.022, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.229, 0.066).threePointArc((0.295, 0), (0.229, -0.066)).lineTo(0.076, -0.066).lineTo(-0.076, -0.066).lineTo(-0.229, -0.066).threePointArc((-0.295, 0), (-0.229, 0...
6
79
0.315918
train_8279da4e48001d2a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.27, 0, -0.008), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.73, 0.362).lineTo(0.73, -0.366).threePointArc((0.724, -0.38), (0.711, -0.386)).lineTo(-0.699, -0.386).threePointArc((-0.721, -0.376), (-0.73, -0.355)).lineTo(-0.73, 0.36).threePointArc(...
10
137
0.32592
train_22b4a731fd05fcd2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.164, 0, -1.857), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.382).extrude(1.983) result = result.union(cq.Workplane(cq.Plane(origin=(-0.164, 0, -0.468), normal=(0.118, 0, 0.993), xDir=(0.993, 0, -0.118))).circle(0.841).extrude(0.943)) result = ...
8
81
1.424238
train_efc9187e2ea546bc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.004, -0.704), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.372, 0.583).lineTo(0.7, -0.583).lineTo(-0.7, -0.583).lineTo(-0.372, 0.583).lineTo(0.372, 0.583).close().extrude(1.071) result = result.union(cq.Workplane(cq.Plane(origin=(0.648, 0.214...
15
230
1.149198
train_f735f4c8a3e2a363
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.426, 1).lineTo(0.745, 0.678).lineTo(0.745, -0.654).lineTo(0.403, -1).lineTo(-0.405, -1).lineTo(-0.745, -0.656).lineTo(-0.745, 0.6).lineTo(-0.347, 1).lineTo(0.426, 1).close().extrude(0.366)...
6
36
0.851873
train_cb6f8ab7b1cc94dd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.302, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.817, 0.318).lineTo(0.817, -0.37).lineTo(-0.052, -0.37).lineTo(-0.052, 0.318).threePointArc((-0.004, 0.37), (0.044, 0.318)).threePointArc((0.093, 0.267), (0.141, 0.318)).threePointArc((...
8
131
1.729949
train_7e99d084a2351f69
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.683, -0.362, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.361).threePointArc((0.962, 0.962), (1.361, 0)).lineTo(0.935, 0).threePointArc((0.663, 0.663), (0, 0.935)).lineTo(0, 1.361).close().extrude(2) result = result.union(cq.Workplane(cq...
10
39
0.384447
train_b24ba663d730a2d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.04, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.289, 0.291).threePointArc((0.329, 0.274), (0.344, 0.234)).lineTo(0.344, -0.197).threePointArc((0.318, -0.263), (0.252, -0.291)).lineTo(-0.239, -0.291).threePointArc((-0.314, -0.26), (-...
9
55
0.25296
train_8cc31cd272b77ff3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.107, 0.07, -0.456), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.892, 0.735).lineTo(0.892, 0.223).lineTo(-0.38, 0.223).lineTo(-0.38, -0.223).lineTo(0.892, -0.223).lineTo(0.892, -0.735).lineTo(-0.892, -0.735).lineTo(-0.892, 0.735).lineTo(0.892, 0...
7
61
1.07437
train_2a59bb5459908ab6
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.51, 0.572).lineTo(-0.437, 0.619).lineTo(-0.499, 0.781).lineTo(-0.38, 0.833).lineTo(-0.276, 0.69).lineTo(-0.19, 0.713).lineTo(-0.19, 0.884).lineTo(-0.059, 0.898).lineTo(-0.012, 0.733).lineTo(0.078, 0.729).lineTo(0.14, 0.891).lineTo(0.269, 0.867).lin...
5
130
0.871439
train_98e6b77904488b96
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.016, 0.001, -0.186), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.75, -0.131).lineTo(0.981, -0.195).lineTo(0.976, -0.225).lineTo(0.741, -0.175).lineTo(0.7, -0.301).lineTo(0.911, -0.416).lineTo(0.897, -0.445).lineTo(0.681, -0.341).lineTo(0.612, -0...
6
185
0.3623
train_5fbb56eb5d5ddc05
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.524), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.057, 0.975).lineTo(0.147, 0.949).threePointArc((0.249, 0.898), (0.341, 0.833)).lineTo(0.949, 0.221).lineTo(0.58, -0.556).lineTo(-0.137, -1).lineTo(-0.923, -0.575).lineTo(-0.949, 0.269).li...
3
18
0.979581
train_24dfab9dbc5481ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.254), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.834, 0.994).lineTo(0.834, 0.832).lineTo(1, 0.832).lineTo(1, -0.785).lineTo(0.789, -0.785).lineTo(0.789, -0.994).lineTo(-0.818, -0.994).lineTo(-0.818, -0.814).lineTo(-1, -0.814).lineTo(-1, ...
8
79
0.175115
train_ece3fd1c7dcb26d4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.14, 0.258, -0.246), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.859, 0.386).lineTo(0.859, -0.382).lineTo(0.84, -0.382).lineTo(0.84, -0.401).lineTo(-0.848, -0.401).lineTo(-0.848, -0.391).lineTo(-0.859, -0.391).lineTo(-0.859, 0.383).lineTo(-0.841...
13
110
0.756842
train_813d972ad9c2aad7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.356, -0.911, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(1, 1.693).lineTo(1, 1.008).lineTo(0.344, 1.008).lineTo(0.344, 0.128).lineTo(-0.344, 0.128).lineTo(-0.344, 1.008).lineTo(-1, 1.008).lineTo(-1, 1.693).lineTo(1, 1.693).close().extrude(0.7...
7
10
1.406513
train_991bce012b8ff0cb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.435, -0.205, 0.448), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.017, 0.247).lineTo(0.148, 0.156).lineTo(0.22, -0.019).lineTo(0.094, -0.162).lineTo(-0.103, -0.213).lineTo(-0.22, -0.04).lineTo(-0.199, 0.159).lineTo(-0.017, 0.247).close().moveT...
10
943
0.812359
train_3723394516c3d38a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.199), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.473, 1).threePointArc((0.708, 0.896), (0.806, 0.664)).lineTo(0.806, -0.723).threePointArc((0.726, -0.913), (0.534, -1)).lineTo(-0.552, -1).lineTo(-0.806, -0.743).lineTo(-0.806, 0.473).thre...
3
19
1.084484
train_c9d5598e78ea04bf
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.376, 0.332).threePointArc((0.426, 0.311), (0.447, 0.261)).lineTo(0.447, 0.087).threePointArc((0.437, 0.063), (0.413, 0.053)).lineTo(-0.149, 0.053).threePointArc((-0.162, 0.047), (-0.168, 0.034)).lineTo(-0.168, -0.023).threePointArc((-0.159, -0.044),...
13
220
0.794771
train_3d84e70f508c7fb5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.222, -0.052, -0.557), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.521, 0.603).lineTo(0.521, 0.121).lineTo(0.763, 0.121).lineTo(0.763, -0.121).lineTo(0.521, -0.121).lineTo(0.521, -0.363).lineTo(0.28, -0.363).lineTo(0.28, -0.603).lineTo(0.039, -0...
14
118
0.571711
train_4b3d7f9e18c4f6e4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.307, 0, -0.32), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.693, 0.132).lineTo(0.693, -0.132).lineTo(-0.693, -0.132).lineTo(-0.693, 0.003).threePointArc((-0.655, 0.094), (-0.564, 0.132)).lineTo(0.693, 0.132).close().extrude(0.241) result = resu...
18
91
0.215904
train_7376892b89713a53
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.006, -0.217), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.254).lineTo(1, -0.26).threePointArc((0.991, -0.279), (0.971, -0.287)).lineTo(-0.969, -0.287).threePointArc((-0.99, -0.279), (-1, -0.257)).lineTo(-1, 0.262).threePointArc((-0.991, 0...
15
69
0.145879
train_2dda1f85c51383b1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.154, 0.031, -0.115), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.332, 0.745).lineTo(0.332, 0.447).lineTo(0.663, 0.447).lineTo(0.663, -0.447).lineTo(0.332, -0.447).lineTo(0.332, -0.745).lineTo(0, -0.745).lineTo(0, -0.447).lineTo(-0.663, -0.447)....
16
220
0.999462
train_35421846fd74c277
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.179), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.116, 0.418).lineTo(0.252, 0.284).lineTo(0.252, -0.269).lineTo(0.103, -0.269).lineTo(0.103, -0.418).lineTo(-0.089, -0.418).threePointArc((-0.203, -0.371), (-0.252, -0.256)).lineTo(-0.252, 0...
4
22
0.363343
train_78b1a50c7575d8ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.597, -0.49, 0.497), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.009, 0.975).lineTo(0.319, 0.916).lineTo(0.199, 0.243).lineTo(0.422, 0.203).lineTo(0.353, -0.189).lineTo(-0.422, -0.051).lineTo(-0.353, 0.341).lineTo(-0.129, 0.302).lineTo(-0.009, ...
7
96
0.889734
train_f90b107a83d048b6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.346, -0.552, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.11, 0.401).threePointArc((0.181, 0.394), (0.246, 0.363)).lineTo(0.258, 0.226).threePointArc((0.258, 0.166), (0.193, 0.098)).lineTo(0.281, 0.046).threePointArc((0.233, 0.007), (0.2...
15
494
1.099106
train_ec4f920402e66800
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.021, 0.11, -0.248), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.228, 0.8).lineTo(0.808, -0.8).lineTo(-0.502, -0.634).lineTo(-0.808, 0.344).lineTo(0.228, 0.8).close().extrude(0.09, taper=-9.675) result = result.union(cq.Workplane(cq.Plane(origin=...
10
85
0.234465
train_d1a0872090014c1d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.025, -0.733), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.21).lineTo(1, 0.151).threePointArc((0.987, 0.144), (0.955, 0.141)).lineTo(0.308, 0.141).threePointArc((0.216, 0.132), (0.176, 0.11)).lineTo(0.176, -0.212).threePointArc((0.161, -0.2...
8
43
0.177626
train_58c1fc8726b417ac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.088, 0.142, -0.277), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.218, 0.813).threePointArc((0.447, 0.773), (0.813, 0.218)).threePointArc((0.773, -0.447), (0.218, -0.813)).threePointArc((-0.447, -0.773), (-0.813, -0.218)).threePointArc((-0.773, ...
20
286
0.885055
train_0e70e14dab7f7ab7
import cadquery as cq import math result = cq.Workplane('XY').circle(0.523).extrude(1, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.964).extrude(1, both=True)) result = result.cut(cq.Workplane('XY').circle(0.601).extrude(3, both=True)) result = res...
4
7
2.811832
train_6b82c2f8c5a72258
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.25, -0.087, -0.675), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.746, 0.198).lineTo(0.746, 0).lineTo(0.548, 0).lineTo(0.548, -0.198).lineTo(-0.048, -0.198).lineTo(-0.048, 0).lineTo(0.349, 0).lineTo(0.349, 0.198).lineTo(0.746, 0.198).close().ext...
16
267
0.596771
train_fad8bfa309017ead
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.877, -0.192, -0.412), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.008, 0.131).lineTo(0.038, 0.076).lineTo(0.11, 0.073).lineTo(0.084, 0.005).lineTo(0.118, -0.059).lineTo(0.047, -0.071).lineTo(0.008, -0.131).lineTo(-0.038, -0.076).lineTo(-0.11,...
2
22
0.174026
train_976f44fe00511f44
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.373, 0.189, -0.438), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.476, -0.338).lineTo(-0.626, -0.113).lineTo(-0.611, 0.113).lineTo(-0.476, 0.338).lineTo(-0.452, 0.433).lineTo(-0.379, 0.52).lineTo(-0.266, 0.589).lineTo(-0.125, 0.633).lineTo(0.032...
18
244
0.958546
train_077a829192b992d4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.656), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.87, 0.579).lineTo(1, 0.458).lineTo(1, -0.509).threePointArc((0.972, -0.559), (0.921, -0.579)).lineTo(-0.893, -0.579).lineTo(-0.893, -0.479).lineTo(-1, -0.479).lineTo(-1, 0.482).threePointA...
9
40
1.283297
train_529dfe66db84a121
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.69).extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.4), normal=(0.222, 0, 0.975), xDir=(0.975, 0, -0.222))).circle(0.412).extrude(1.323)) result = result.cut(cq.Workplan...
7
24
2.253231
train_2ae7eff1342ff57e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.086), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.172) result = result.cut(cq.Workplane(cq.Plane(origin=(0.001, 0, -0.086), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.57).extrude(0.514, both=True)) result = result.union(cq...
12
64
0.402987
train_c8e98b8617ea3bb5
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.469, 0.293).lineTo(-0.469, -0.187).lineTo(0.872, -0.187).lineTo(0.872, -0.293).lineTo(-0.872, -0.293).lineTo(-0.872, 0.293).lineTo(-0.469, 0.293).close().extrude(0.878, taper=-8.24) resul...
5
98
0.496473
train_e5c3a3dbc0808285
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.926, 0.617).lineTo(0.926, 0.544).lineTo(1, 0.544).lineTo(1, -0.617).lineTo(-0.934, -0.617).threePointArc((-0.98, -0.598), (-1, -0.553)).lineTo(-1, 0.508).threePointArc((-0.967, 0.585), (-0...
14
230
0.633948
train_8cad892a9396ef16
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.081, 0.351), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.181, 0.439).lineTo(0.023, 0.171).lineTo(0.29, 0.376).threePointArc((0.294, 0.34), (0.281, 0.307)).lineTo(0.258, 0.243).lineTo(0.236, 0.18).lineTo(0.196, 0.123).threePointArc((0.181, ...
4
60
0.531381
train_8c23193ec309e0f3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.044), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.322, 0.263).lineTo(0.321, 0.085).lineTo(1, 0.108).lineTo(0.463, -0.002).lineTo(0.955, -0.126).lineTo(0.287, -0.086).lineTo(0.221, -0.263).lineTo(-0.075, -0.103).lineTo(-0.649, -0.199).line...
5
89
0.36307
train_86db577828ed94d0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.131, 0, -0.467), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.453, 0.754).lineTo(-0.453, -0.353).lineTo(0.853, -0.353).lineTo(0.853, -0.754).lineTo(-0.853, -0.754).lineTo(-0.853, 0.754).lineTo(-0.453, 0.754).close().extrude(0.584) result = resul...
18
110
0.886851
train_e4156e835b31aef8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.741), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.061, 0.578).threePointArc((0.133, 0.552), (0.163, 0.488)).lineTo(0.163, 0.391).threePointArc((0.198, 0.32), (0.279, 0.29)).lineTo(0.417, 0.29).threePointArc((0.469, 0.27), (0.491, 0.224))....
13
167
3.721469
train_d32790630706f5ff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.108, -0.203), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.299, -0.515).lineTo(0.205, -0.559).threePointArc((0.268, -0.732), (0.104, -0.586)).lineTo(0.001, -0.595).threePointArc((0, -0.779), (-0.104, -0.586)).lineTo(-0.204, -0.559).threePointA...
32
525
1.760464
train_367116bb7d3154f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.326), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.821, 0.337).threePointArc((0.947, 0.285), (1, 0.158)).lineTo(1, -0.058).lineTo(0.721, -0.337).lineTo(-1, -0.337).lineTo(-1, 0.114).threePointArc((-0.933, 0.271), (-0.776, 0.337)).lineTo(0....
19
144
0.521527
train_c7a2b888badcf6a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.608, 0.067, 0.51), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.064, 0.494).lineTo(0.486, 0.265).lineTo(0.251, -0.274).lineTo(-0.272, -0.354).lineTo(-0.486, 0.157).lineTo(-0.064, 0.494).close().extrude(1.217) result = result.union(cq.Workplane(...
5
52
1.274036
train_b097f761cdb90511
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.191, 0, -0.253), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.756, 0.538).lineTo(0.756, 0.486).lineTo(0.808, 0.486).lineTo(0.808, -0.512).lineTo(0.782, -0.512).lineTo(0.782, -0.538).lineTo(-0.765, -0.538).lineTo(-0.765, -0.496).lineTo(-0.808, -0....
11
51
0.491544
train_a277866d72c89395
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.01, 0.475, 0.86), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.411, 0.484).threePointArc((-0.192, 0.471), (-0.026, 0.427)).threePointArc((0.117, 0.359), (0.162, 0.204)).threePointArc((0.253, 0.132), (0.417, 0.019)).threePointArc((0.501, -0.238)...
3
23
0.378654
train_3323310bac1e9ab5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.271), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.882, 0.213).lineTo(1, 0.094).lineTo(1, -0.213).lineTo(-1, -0.213).lineTo(-1, 0.105).lineTo(-0.894, 0.213).lineTo(0.882, 0.213).close().extrude(0.058) result = result.union(cq.Workplane(cq....
6
30
0.344585
train_067eae5e99e55f30
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.119, 0.001, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.001, 0.906).threePointArc((0.239, 0.852), (0.341, 0.724)).lineTo(0.341, -0.052).threePointArc((0.413, -0.143), (0.584, -0.181)).lineTo(0.825, -0.181).threePointArc((0.963, -0.212)...
16
684
2.188466
train_6f602c3e669f4632
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.002, -0.136), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.739, -0.122).lineTo(0.983, -0.187).lineTo(0.971, -0.24).lineTo(0.726, -0.186).lineTo(0.686, -0.303).lineTo(0.905, -0.426).lineTo(0.882, -0.474).lineTo(0.657, -0.361).lineTo(0.59,...
4
187
0.401733
train_eff88bc59c0942c6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.05, 0.001, -0.412), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.116, 0.368).threePointArc((0.257, 0.345), (0.317, 0.29)).lineTo(0.317, 0.192).threePointArc((0.37, 0.143), (0.496, 0.123)).lineTo(0.742, 0.123).threePointArc((0.888, 0.099), (0.949...
15
231
0.134682
train_0578e0dcc4e95abb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.35, 0.698, 0.738), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.092, 0.294).lineTo(-0.069, 0.262).lineTo(-0.025, 0.25).threePointArc((-0.016, 0.229), (-0.015, 0.206)).lineTo(0.016, 0.181).lineTo(0.142, 0.273).lineTo(0.14, 0.116).threePointArc(...
4
132
0.151698
train_4e98542b633212a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.167), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.266, 0.62).lineTo(0.47, 0.552).threePointArc((0.52, 0.521), (0.545, 0.468)).lineTo(0.62, 0.089).threePointArc((0.797, 0.089), (0.62, -0.089)).lineTo(0.62, -0.266).threePointArc((0.709, -0....
4
32
0.528999
train_bb6152c1b8fb96d1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.427), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.434, 0.182).threePointArc((0.461, 0.171), (0.472, 0.144)).lineTo(0.472, -0.143).lineTo(0.433, -0.182).lineTo(-0.439, -0.182).lineTo(-0.472, -0.149).lineTo(-0.472, 0.151).threePointArc((-0....
8
34
0.879986
train_44778cacd612d221
import cadquery as cq import math result = cq.Workplane('XY').box(1.539, 2, 1.227) result = result.edges().fillet(0.106) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.402).extrude(3.077, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
7
56
2.021109
train_eee5ebb00589b3de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.106, -0.056, 0.045), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.868, -0.48).threePointArc((0.448, -0.757), (0.05, -0.741)).threePointArc((-0.89, 0.033), (-0.868, 0.326)).threePointArc((-0.636, 0.757), (0.16, 0.725)).lineTo(0.89, -0.187).close(...
5
88
0.713129
train_dc99dc4fd1862009
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.613).lineTo(1, -0.613).lineTo(-1, -0.613).lineTo(-1, 0.613).lineTo(1, 0.613).close().extrude(0.144) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.05), normal=(0, 0, 1), x...
13
104
0.581126
train_2ca2cc80620e2309
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.359, 0.245).lineTo(-0.359, -0.122).lineTo(1, -0.122).lineTo(1, -0.245).lineTo(-1, -0.245).lineTo(-1, 0.245).lineTo(-0.359, 0.245).close().extrude(0.356) result = result.cut(cq.Workplane(c...
5
43
0.16066
train_3da050e5bc094451
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.311), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.912, 0.801).threePointArc((0.974, 0.784), (1, 0.742)).lineTo(1, 0.622).threePointArc((0.961, 0.56), (0.868, 0.534)).lineTo(0.678, 0.534).threePointArc((0.623, 0.519), (0.6, 0.482)).lineTo(...
3
50
0.827987
train_bccfb18546b15d97
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.212), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.424) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.212), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.945).extrude(1.272, both=True)) result = result.union(cq.Workpl...
11
183
0.353069
train_f96df7192806c3f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.138, 0.004, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.731, 0.842).threePointArc((0.853, 0.749), (0.731, 0.562)).lineTo(-0.134, 0.414).threePointArc((-0.297, 0.339), (-0.323, 0.195)).lineTo(-0.122, -0.655).threePointArc((-0.244, -0.842...
16
31
0.16079
train_02e21e5ce7b0ed3b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.752), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.386, 0.584).threePointArc((0.506, 0.549), (0.557, 0.465)).lineTo(0.557, -0.523).threePointArc((0.531, -0.566), (0.469, -0.584)).lineTo(0.139, -0.584).threePointArc((0.041, -0.555), (0, -0....
9
57
1.552218
train_fe51837a4d7f5a2c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.2), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.744, 1).threePointArc((0.905, 0.932), (0.973, 0.771)).lineTo(0.973, -0.892).threePointArc((0.941, -0.968), (0.865, -1)).lineTo(-0.742, -1).threePointArc((-0.905, -0.932), (-0.973, -0.769)).l...
12
416
0.57964
train_e9a53babf8392ca8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.155), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.178).lineTo(1, 0.083).lineTo(0.295, 0.083).lineTo(0.295, -0.178).lineTo(-0.295, -0.178).lineTo(-0.295, 0.083).lineTo(-1, 0.083).lineTo(-1, 0.178).lineTo(1, 0.178).close().extrude(0.268) ...
6
23
0.112389
train_5c8571d33c64cf6e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.246), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.23, 0.491).lineTo(0.23, 0).lineTo(-0.23, 0).lineTo(-0.23, 0.491).lineTo(-0.056, 0.491).lineTo(-0.056, 0.174).lineTo(0.056, 0.174).lineTo(0.056, 0.491).lineTo(0.23, 0.491).close().extrude(...
5
45
0.306515
train_58258994a70feabe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.013, 0.005, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.495).extrude(1.025) result = result.cut(cq.Workplane(cq.Plane(origin=(0.508, 0.005, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.186, 0.388), (-0.606, 0.482)...
11
79
0.510821
train_97ad1b53000079b1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.357, 0.52, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.548, 0.595).lineTo(0.217, -0.48).lineTo(-0.548, 0.345).lineTo(0.548, 0.595).close().extrude(0.714) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.105, 0.125, 0.176), normal=(-1, 0...
14
70
0.596331
train_96c252eef18c5bb6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.248), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.512, 2).extrude(0.495) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.248), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.093, -0.164).lineTo(0.093, -0.829).lineTo(-0.093, -0.829)...
11
47
0.293089
train_3e6164710064563f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.101), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.202).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.202).lineTo(-0.867, 0.202).lineTo(-0.867, 0.133).lineTo(0.867, 0.133).lineTo(0.867, 0.202).lineTo(1, 0.202).close().extrude(1, both=True) r...
6
26
0.566997