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_90e93914bcbb92ed
import cadquery as cq import math result = cq.Workplane('XY').box(2, 1.009, 1.108) result = result.edges().fillet(0.038) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.261).extrude(4, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(1.154, 0.502, 0),...
11
95
1.30699
train_51292a40dc5a091d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.77).extrude(0.822) result = result.cut(cq.Workplane(cq.Plane(origin=(0.771, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.068, 0.314), (-0.255, 0.571), (-0.533, 0.731)...
6
75
1.744182
train_d0e9261432e4fbb8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.183, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.073, 0.351).lineTo(0.01, 0.307).lineTo(-0.027, 0.235).lineTo(0.058, 0.19).lineTo(0.096, 0.263).lineTo(0.179, 0.219).lineTo(0.073, 0.015).lineTo(-0.01, 0.059).lineTo(0.027, 0.131).lineTo(...
3
82
0.064163
train_4df5fa2f47773a0f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.242), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.602, 0).lineTo(0.602, 0.484).lineTo(0.493, 0.484).lineTo(0.493, 0.163).lineTo(1, 0.163).lineTo(1, 0).lineTo(0.602, 0).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,...
1
6
0.206136
train_a210516b72feb3e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.675), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.773, 0.899).threePointArc((-0.729, 0.881), (-0.711, 0.837)).lineTo(-0.711, -0.195).threePointArc((-0.588, -0.487), (-0.296, -0.61)).lineTo(0.919, -0.61).threePointArc((0.976, -0.634), (1,...
4
64
1.375962
train_7e5963bd9d1588d4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.323), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.828).lineTo(1, -0.681).threePointArc((0.948, -0.784), (0.843, -0.828)).lineTo(-0.807, -0.828).lineTo(-1, -0.64).lineTo(-1, 0.637).lineTo(-0.805, 0.828).lineTo(1, 0.828).close().extrude(...
10
78
1.131674
train_578d7fcd10d6d44d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.224), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.2, 0.578).lineTo(0.2, 0).lineTo(1, 0).lineTo(1, -0.289).lineTo(0.2, -0.289).lineTo(0.2, -0.578).lineTo(-0.6, -0.578).lineTo(-0.6, -0.289).lineTo(-1, -0.289).lineTo(-1, 0.578).lineTo(0.2, 0...
14
22
0.672639
train_f87ec041c314e6ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, -1.234, -0.473), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.007, 2.233).lineTo(0.313, 1.867).lineTo(0.686, 1.666).threePointArc((0.696, 1.505), (0.707, 1.36)).threePointArc((0.699, 1.062), (0.668, 0.577)).threePointArc((0.33, 0.242), (-0.1...
9
382
1.481967
train_5a7d877ed581ee63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.29), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.768, 1).lineTo(0.983, 0.784).lineTo(0.983, -0.739).lineTo(0.722, -0.739).lineTo(0.722, -1).lineTo(-0.488, -1).threePointArc((-0.838, -0.854), (-0.983, -0.504)).lineTo(-0.983, 0.643).lineTo(...
15
86
0.754761
train_130e5e1816f6a0e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.08, -0.247, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.26, 0.355).lineTo(0.273, 0.321).lineTo(0.521, 0.206).threePointArc((0.749, 0.054), (0.596, -0.176)).lineTo(0.596, -0.205).lineTo(0.459, -0.349).lineTo(0.428, -0.339).lineTo(0.403, -0....
5
62
0.594714
train_fb37d31e700ea130
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.518), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.751).lineTo(1, -0.751).lineTo(-1, -0.751).lineTo(-1, -0.25).lineTo(0.664, -0.25).lineTo(0.664, 0.25).lineTo(-1, 0.25).lineTo(-1, 0.751).lineTo(1, 0.751).close().extrude(2, taper=13.908)...
1
11
1.002961
train_16d8b1b72a0046ce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.014, 0.123, -0.472), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.166, 0.307).lineTo(0.881, 0.186).lineTo(1.009, 0.141).lineTo(0.895, 0.096).lineTo(0.272, -0.006).lineTo(0.272, -0.314).lineTo(-0.273, -0.314).lineTo(-0.273, -0.006).lineTo(-0.863, ...
32
307
0.188627
train_030ff7277448a67a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.353, -0.215, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.707).threePointArc((0.5, 0.5), (0.707, 0)).lineTo(0.234, 0).threePointArc((0.165, 0.165), (0, 0.234)).lineTo(0, 0.707).close().extrude(2) result = result.union(cq.Workplane(cq.Pla...
5
47
0.652149
train_2a03f634fb1f49d7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.141, 0, -0.946), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.282, 1.892).lineTo(0.282, 0.282).lineTo(1.317, 0.282).lineTo(1.317, 0).lineTo(0, 0).lineTo(0, 1.892).lineTo(0.282, 1.892).close().extrude(1, both=True) result = result.cut(cq.Workpla...
8
9
1.017153
train_beb40a86a184073b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.721, -0.567, -0.527), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.829, 0.433).threePointArc((1.141, 0), (0.829, -0.433)).lineTo(0, -0.433).lineTo(-0.829, -0.433).threePointArc((-1.141, 0), (-0.829, 0.433)).lineTo(0, 0.433).lineTo(0.829, 0.433)....
6
8
0.503873
train_ab773241ccdded1b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.398, 0.661).workplane(offset=2).rect(1.386, 0.482).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(-0.277, 1, -1.43), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.02, -0.106).lineTo(0.01...
7
6
0.990081
train_1cf8434a6adb7c42
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.843, -0.874, 0.06), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.443, 0.392).threePointArc((0.702, 0.133), (0.443, -0.125)).lineTo(-0.443, -0.125).threePointArc((-0.702, 0.133), (-0.443, 0.392)).lineTo(0.443, 0.392).close().extrude(1.687) result...
9
34
1.323491
train_e01ad5d5b86a05fb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.171), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.95, 0.552).lineTo(0.95, 0).lineTo(-0.95, 0).lineTo(-0.95, 0.552).lineTo(-0.707, 0.552).lineTo(-0.707, 0.243).lineTo(0.707, 0.243).lineTo(0.707, 0.552).lineTo(0.95, 0.552).close().extrude(...
9
50
0.560902
train_893c862d3e3a8c9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.22, -0.094, -0.032), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.14, 0.578).threePointArc((0.241, 0.416), (0.298, 0.515)).lineTo(0.431, 0.41).threePointArc((0.428, 0.22), (0.53, 0.272)).lineTo(0.585, 0.113).threePointArc((0.479, -0.046), (0.593,...
7
136
0.608721
train_83e7fa17e77bf674
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.03, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.167, 0.946).lineTo(0.736, 0.618).lineTo(0.961, 0).lineTo(0.736, -0.618).lineTo(0.167, -0.946).lineTo(-0.48, -0.832).lineTo(-0.902, -0.328).lineTo(-0.902, 0.328).lineTo(-0.48, 0.832).lineTo...
2
12
2.089542
train_7f0242c31ba42672
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.032, 0.585, -0.052), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.281, 0).threePointArc((0, -0.281), (-0.281, 0)).threePointArc((0, 0.281), (0.281, 0)).close().sweep(cq.Workplane(cq.Plane(origin=(0.032, 0.585, -0.052), normal=(0, -1, 0), xDir=(1,...
6
68
0.216167
train_b8d9ad617ab162e8
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.408, 1).threePointArc((0.542, 0.936), (0.597, 0.806)).lineTo(0.597, -0.544).threePointArc((0.463, -0.857), (0.145, -1)).lineTo(-0.157, -1).threePointArc((-0.467, -0.861), (-0.597, -0.555)).lineTo(-0.597, 0.459).threePointArc((-0.556, 0.556), (-0.459...
4
50
1.092993
train_fa0e31190aaba079
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.243), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.751, 1).lineTo(0.751, -1).lineTo(-0.751, -1).lineTo(-0.751, 1).lineTo(0.751, 1).close().extrude(0.486) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.15, 0, 0.243), normal=(0, 0, 1),...
11
142
1.244398
train_21b17841b8bf5613
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.568).extrude(1.053) result = result.cut(cq.Workplane(cq.Plane(origin=(0.569, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.065, 0.264), (-0.245, 0.468), (-0.499, 0.565...
6
62
1.034138
train_6e737f4da9b68bc9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.193), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.248, 0.359).threePointArc((0.347, 0.317), (0.388, 0.219)).lineTo(0.388, -0.25).threePointArc((0.356, -0.327), (0.279, -0.359)).lineTo(-0.388, -0.359).lineTo(-0.388, 0.193).lineTo(-0.222, 0...
7
30
0.564441
train_d3ae560e615c97d1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.089, 0.283, 0.14), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.092, 0.609).threePointArc((0.643, -0.609), (-0.092, -0.609)).lineTo(-0.459, -0.609).threePointArc((-0.643, -0.609), (-0.459, -0.203)).lineTo(-0.092, -0.203).threePointArc((0.092, -0...
5
49
1.399268
train_c0ab5e3eb5af0544
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.349, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.425).extrude(1.654) result = result.union(cq.Workplane(cq.Plane(origin=(-0.349, 0, 0.158), normal=(0.663, 0, 0.748), xDir=(0.748, 0, -0.663))).circle(0.29).extrude(1.365)) result = result...
10
52
0.365126
train_e20054173c3e9bf8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.528), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.664, 0.707).lineTo(-0.664, -0.375).lineTo(1, -0.375).lineTo(1, -0.707).lineTo(-1, -0.707).lineTo(-1, 0.707).lineTo(-0.664, 0.707).close().extrude(1.056) result = result.cut(cq.Workplane(c...
6
14
1.082982
train_2181ebb6dda40dc5
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.095, 0.342).threePointArc((0.19, 0.392), (0.379, 0.294)).lineTo(0.095, -0.294).threePointArc((-0.19, -0.392), (-0.379, -0.245)).lineTo(-0.095, 0.342).close().extrude(2) result = result.cut(cq...
19
10
0.670119
train_b6ada06c7d4372da
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.072, 0.123).lineTo(0.143, 0).lineTo(0.072, -0.123).lineTo(-0.072, -0.123).lineTo(-0.143, 0).lineTo(-0.072, 0.123).lineTo(0.072, 0.123).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 1), normal=(0, 0, 1), xDir=(...
4
10
0.103772
train_5b3ab6442d12ff35
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.402).lineTo(0.828, 0).lineTo(1, -0.402).lineTo(0.652, -0.402).lineTo(0.652, 0.402).lineTo(1, 0.402).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...
11
82
0.810315
train_9c23789a29ce18de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.005, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.318, 0.998).threePointArc((0.445, 0.968), (0.523, 0.787)).lineTo(0.673, -0.214).threePointArc((0.656, -0.441), (0.555, -0.581)).lineTo(-0.318, -0.998).threePointArc((-0.445, -0.968), (-0.5...
2
50
2.290565
train_f191a9a3fc06eb69
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.37, 0, 0.271), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.139, 1).threePointArc((-0.042, 0.95), (0, 0.852)).lineTo(0, 0.182).threePointArc((0.054, 0.054), (0.182, 0)).lineTo(0.306, 0).threePointArc((0.441, -0.057), (0.498, -0.192)).lineTo(0.49...
11
134
0.502196
train_cccb80908296f744
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.497, 0.857).lineTo(1, 0).lineTo(0.497, -0.857).lineTo(-0.497, -0.857).lineTo(-1, 0).lineTo(-0.497, 0.857).lineTo(0.497, 0.857).close().extrude(0.242) result = result.cut(cq.Workplane(cq.Pl...
9
78
0.556136
train_c5963d9db2ab2c97
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.144, -0.14), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.134, 0.28).lineTo(0.134, 0).lineTo(-0.134, 0).lineTo(-0.134, 0.28).lineTo(-0.048, 0.28).lineTo(-0.048, 0.086).lineTo(0.048, 0.086).lineTo(0.048, 0.28).lineTo(0.134, 0.28).close().extru...
9
119
0.085971
train_08431c4abd6d6d1b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.24), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.384, 0.331).lineTo(0.648, -0.004).threePointArc((0.906, -0.088), (0.384, -0.331)).lineTo(-0.648, 0.004).threePointArc((-0.906, 0.088), (-0.384, 0.331)).close().extrude(0.481) result = resu...
6
41
0.327706
train_0004525e94ac905f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.11, -0.544), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.202, 0.472).threePointArc((0.344, 0.418), (0.432, 0.318)).threePointArc((0.455, 0.186), (0.409, 0.042)).threePointArc((0.3, -0.091), (0.146, -0.194)).threePointArc((-0.031, -0.25), (-0....
6
102
1.559007
train_cc4ffb30cf02c88a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.135, 0.01, -0.776), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.79, 0.518).lineTo(0.79, 0.173).lineTo(1.135, -0.173).lineTo(0.79, -0.173).lineTo(0.445, -0.518).lineTo(0.445, -0.173).lineTo(-0.072, 0.345).lineTo(0.445, 0.173).lineTo(0.79, 0.518)...
12
72
0.559427
train_3fe2a343d740e689
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.316, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.368, 1.565, 1.561) result = result.edges().fillet(0.101) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.316, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.183).extrude(2.738, both=...
7
62
2.559908
train_759383c2d4e0021c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.208, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.675, 0.304).threePointArc((0.706, 0.291), (0.718, 0.26)).lineTo(0.718, 0.104).threePointArc((0.712, 0.089), (0.696, 0.082)).lineTo(0.208, 0.082).threePointArc((0.186, 0.072), (0.176, ...
9
322
1.567579
train_6c9abf14fea46781
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.031, 0, -0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.729, 0.501).lineTo(0.729, 0.26).lineTo(0.969, 0.26).lineTo(0.969, -0.352).lineTo(0.82, -0.352).lineTo(0.82, -0.501).lineTo(-0.749, -0.501).lineTo(-0.749, -0.281).lineTo(-0.969, -0.281)....
15
101
0.257923
train_f9daaceb3db1976a
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.969, 0.893).lineTo(0.969, -0.893).lineTo(-0.969, -0.893).lineTo(-0.969, 0.893).lineTo(-0.457, 0.893).lineTo(-0.457, -0.456).lineTo(0.457, -0.456).lineTo(0.457, 0.893).lineTo(0.969, 0.893)....
8
48
0.441739
train_135067401de84fba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.662), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.71, 0.606).threePointArc((0.71, -0.606), (-0.71, -0.606)).threePointArc((-0.71, 0.606), (0.71, 0.606)).close().extrude(0.128) result = result.union(cq.Workplane(cq.Plane(origin=(0.14, -0.0...
12
371
1.178729
train_e126d07b741a976f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.086), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.039, 1).lineTo(0.516, 0.519).lineTo(0.516, -0.582).threePointArc((0.395, -0.871), (0.103, -1)).lineTo(-0.273, -1).threePointArc((-0.445, -0.921), (-0.516, -0.752)).lineTo(-0.516, 0.553).th...
7
19
0.212742
train_aba33d6c1b8ae361
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.717, -0.572, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.662, 1.518).lineTo(0.662, -0.374).threePointArc((-0.662, 0.572), (0.662, 1.518)).close().extrude(1.434) result = result.faces('<Z').shell(-0.089) result = result.edges(cq.selectors.Ne...
5
12
0.597546
train_3eb332f1538cadfe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.056, -0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.942, 0.496).threePointArc((0.977, 0.482), (1, 0.446)).lineTo(1, -0.459).threePointArc((0.981, -0.485), (0.955, -0.496)).lineTo(-0.891, -0.496).threePointArc((-0.962, -0.467), (-1, -0.39...
16
121
0.281157
train_03a780e8866ffd40
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.799, -0.292, 0.594), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.101, 0.368).threePointArc((0.101, 0.368), (0.201, 0.194)).threePointArc((0.101, 0.02), (-0.101, 0.02)).threePointArc((-0.201, 0.194), (-0.101, 0.368)).close().revolve(angleDegree...
8
42
0.230456
train_f803662555950960
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.245), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.542, 1).lineTo(0.542, 0.824).lineTo(0.712, 0.824).lineTo(0.712, -1).lineTo(-0.442, -1).threePointArc((-0.634, -0.913), (-0.712, -0.726)).lineTo(-0.712, 0.742).lineTo(-0.456, 0.742).lineTo(...
5
29
1.024571
train_059bf9b4eeb31523
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.171, -0.008, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.286, 0.131).lineTo(0.337, 0.081).lineTo(0.337, -0.131).lineTo(-0.31, -0.131).lineTo(-0.337, -0.104).lineTo(-0.337, 0.131).lineTo(0.286, 0.131).close().extrude(0.263, both=True) r...
16
116
0.235126
train_4ad652bb9788f02b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.2, 0.711, 0.206), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.327, 0.074).threePointArc((0.343, -0.011), (0.361, -0.116)).threePointArc((0.331, -0.22), (0.243, -0.278)).threePointArc((0.133, -0.278), (0.04, -0.257)).threePointArc((-0.04, -0.258)...
5
72
1.863231
train_3747c41807a8765c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.706, 1).threePointArc((0.913, 0.913), (1, 0.706)).lineTo(1, -0.233).threePointArc((0.97, -0.303), (0.899, -0.333)).lineTo(0.567, -0.333).threePointArc((0.403, -0.403), (0.333, -0.567)...
8
118
0.417907
train_79ba2dc18996f033
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.071, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.559).extrude(1, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.071, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.209).extrude(1.04, both=True)) result = result.cut...
9
83
0.471203
train_b010120c38f622f2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.033, 0.301, 0.038), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.202, 0.439).lineTo(0.202, 0.409).lineTo(-0.025, 0.074).lineTo(-0.202, 0.439).close().revolve(angleDegrees=90, axisStart=(-0.188, -0.244), axisEnd=(0.188, -0.244)) result = result.u...
8
143
0.421568
train_5429162cfc133c37
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.249), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.498).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.498).lineTo(-0.912, 0.498).lineTo(-0.912, 0.08).lineTo(0.912, 0.08).lineTo(0.912, 0.498).lineTo(1, 0.498).close().extrude(0.199, both=True)...
10
69
0.102414
train_d78f728edf07c1ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.393, -0.136, 0.528), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.116, 0.644).threePointArc((0.011, 0.617), (0.136, 0.531)).threePointArc((0.224, 0.407), (0.253, 0.28)).threePointArc((0.213, 0.183), (0.116, 0.142)).threePointArc((-0.011, 0.168)...
2
14
0.307762
train_05faed0dd77dd16b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.954), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.01).extrude(0.896) result = result.cut(cq.Workplane(cq.Plane(origin=(1.01, 0, -0.954), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.295, 0.715), (-1.01, 1.01), (-1.725, 0.715...
9
77
2.161631
train_3f0835fe5c4bcdc6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.416, -0.298, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.054, 0.097).lineTo(0.111, 0.002).lineTo(0.054, -0.097).lineTo(-0.058, -0.095).lineTo(-0.111, 0).lineTo(-0.058, 0.095).lineTo(0.054, 0.097).close().extrude(2) result = result.union(cq...
11
132
0.230842
train_01f831d989cc1860
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.322), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.644) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.322), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.583).extrude(1.93, both=True)) result = result.union(cq.Workpla...
12
38
1.375099
train_9500fe732b7e678e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.662), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.265, 0.327).threePointArc((0.303, 0.315), (0.319, 0.288)).lineTo(0.319, -0.241).threePointArc((0.284, -0.302), (0.202, -0.327)).lineTo(-0.236, -0.327).threePointArc((-0.294, -0.309), (-0.3...
16
261
0.460211
train_6ab17a7d8a2069b8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.194, -0.004, -0.246), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.345, 0.78).threePointArc((0.806, 0.258), (0.727, -0.083)).threePointArc((0.701, -0.131), (0.498, -0.178)).lineTo(0.445, -0.201).threePointArc((-0.079, -0.772), (-0.148, -0.808))....
12
106
0.484537
train_3cc72d87bb50407e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.184), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.694).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.694).lineTo(-0.593, 0.694).lineTo(-0.593, 0.401).lineTo(0.593, 0.401).lineTo(0.593, 0.694).lineTo(1, 0.694).close().extrude(0.217, both=Tru...
10
73
0.437575
train_4d35f6b2337e51b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.07, 0.16), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.603, 0.245).threePointArc((0.677, 0.231), (0.75, 0.207)).lineTo(0.871, 0.159).threePointArc((0.925, 0.105), (0.971, 0.043)).threePointArc((0.987, 0.012), (0.996, -0.022)).threePointArc(...
10
186
0.705704
train_af5f8d3920fd6f97
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.116, 0.272, 0.453), normal=(0.525, -0.365, -0.769), xDir=(0.571, 0.821, 0))).moveTo(0.041, 0.855).threePointArc((0.161, 0.842), (0.418, 0.645)).threePointArc((0.595, 0.234), (0.552, -0.327)).lineTo(0.261, -0.855).lineTo(-0.595, -0.407).lineTo(-...
8
62
0.758197
train_b8e11ae192ba7640
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.187, 0, 0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.097, 0.806).threePointArc((0.219, 0.768), (0.271, 0.677)).lineTo(0.271, 0.473).threePointArc((0.299, 0.424), (0.365, 0.403)).lineTo(0.639, 0.403).threePointArc((0.761, 0.365), (0.813, ...
7
109
0.384681
train_8f7bbcc3d19f2820
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.347, 0, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.652, 0.155).lineTo(0.652, -0.16).lineTo(0.643, -0.16).lineTo(0.643, -0.17).lineTo(-0.644, -0.17).threePointArc((-0.65, -0.167), (-0.652, -0.162)).lineTo(-0.652, 0.162).threePointArc((-...
9
116
0.097283
train_10d91972984afb63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.94, -0.029, -0.248), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.031, 0.057).threePointArc((-0.015, 0.051), (-0.004, 0.04)).threePointArc((0.004, 0.04), (0.015, 0.05)).threePointArc((0.031, 0.057), (0.041, 0.05)).threePointArc((0.04, 0.033), (...
2
18
0.022093
train_e12b68eb0215b8f2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.1, 0.167, 0.083), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.656, 0.276).lineTo(0.656, 0.092).lineTo(-0.346, 0.092).lineTo(-0.346, -0.092).lineTo(0.656, -0.092).lineTo(0.656, -0.276).lineTo(-0.656, -0.276).lineTo(-0.656, 0.276).lineTo(0.656, 0....
10
148
1.078733
train_403bbb23516331c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.395, 0.031, 0.325), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.145, 0.541).threePointArc((0.485, 0.28), (0.541, -0.145)).threePointArc((0.28, -0.485), (-0.145, -0.541)).threePointArc((-0.485, -0.28), (-0.541, 0.145)).threePointArc((-0.28, 0.48...
5
59
0.683645
train_96ff101444457f90
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.046, 0.898, 0.699), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.005, 0.209).threePointArc((0.058, 0.177), (0.105, 0.152)).threePointArc((0.147, 0.121), (0.165, 0.071)).threePointArc((0.167, 0.022), (0.192, -0.022)).threePointArc((0.242, -0.085)...
5
42
1.11436
train_fec125ad26df7733
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.055, -0.217), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.807, 0.284).lineTo(0.87, 0.165).lineTo(0.945, 0.099).lineTo(0.945, 0).lineTo(0.795, 0).lineTo(0.795, 0.085).lineTo(0.701, 0.165).lineTo(0, 0.134).lineTo(0, 0.284).lineTo(0.807, 0.284...
5
77
0.450234
train_5e29c049092a27d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.172, -0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.911, 0.03).lineTo(0.922, -0.305).lineTo(0.001, -0.401).lineTo(-0.659, -0.266).lineTo(-1, -0.002).lineTo(-0.658, 0.294).lineTo(0.179, 0.401).lineTo(1, 0.31).lineTo(0.911, 0.03).close().e...
16
124
0.802843
train_35c7d184eb4bfdb9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.377, 0, -0.239), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.622).extrude(0.648, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(-0.377, 0, -0.239), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.166).extrude(0.426, both=True)) resu...
7
127
1.274484
train_284dd80deefd62be
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.054, 0, -0.248), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.929, -0.184).lineTo(0.974, -0.225).lineTo(0.955, -0.296).lineTo(0.9, -0.293).lineTo(0.826, -0.463).lineTo(0.856, -0.515).lineTo(0.816, -0.578).lineTo(0.766, -0.556).lineTo(0.643, -0.6...
3
85
1.137287
train_b6c496594d05eff5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.578, 0, -0.174), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.171, 0.349).lineTo(0.171, 0.171).lineTo(1.155, 0.171).lineTo(1.155, 0).lineTo(0, 0).lineTo(0, 0.349).lineTo(0.171, 0.349).close().extrude(1, both=True) result = result.cut(cq.Workpla...
4
41
0.438379
train_7aa59880a877e24b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.007, 1.595, -0.087), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(2.386, 1.79).lineTo(2.386, -1.79).lineTo(-2.386, -1.79).lineTo(-2.386, -0.596).lineTo(1.194, -0.596).lineTo(1.194, 0.596).lineTo(-2.386, 0.596).lineTo(-2.386, 1.79).lineTo(2.386, 1....
13
646
0.316604
train_c94b0cea18aed1a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.019, 0.798), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.12, 0.923).threePointArc((0.229, 0.852), (0.359, 0.846)).threePointArc((0.496, 0.858), (0.598, 0.765)).threePointArc((0.882, 0.648), (1, 0.364)).lineTo(1, -0.404).threePointArc((0.882...
6
150
3.393882
train_2b159493d036ad64
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.241), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.96, 0.979).lineTo(0.96, -0.975).threePointArc((0.955, -0.987), (0.943, -1)).lineTo(-0.945, -1).threePointArc((-0.955, -0.987), (-0.96, -0.978)).lineTo(-0.96, 0.978).threePointArc((-0.955, ...
8
84
1.068924
train_9bab7b3fc0604dd5
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.021, 0.118).lineTo(0.059, 0.103).lineTo(0.092, 0.077).lineTo(0.111, 0.041).lineTo(0.119, 0).lineTo(0.111, -0.041).lineTo(0.092, -0.077).lineTo(0.059, -0.103).lineTo(0.021, -0.118).lineTo(-0.021, -0.118).lineTo(-0.059, -0.103).lineTo(-0.092, -0.077)....
10
44
0.091821
train_3d6550749a32ccd4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.256, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.673).extrude(1.187) result = result.union(cq.Workplane(cq.Plane(origin=(-0.256, 0, -0.168), normal=(0.721, 0, 0.693), xDir=(0.693, 0, -0.721))).circle(0.509).extrude(1.155)) result = ...
9
23
1.799605
train_89edcb5b532d5646
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.824, 0.256).lineTo(0.824, -0.243).threePointArc((0.815, -0.265), (0.793, -0.274)).lineTo(-0.793, -0.274).lineTo(-0.824, -0.244).lineTo(-0.824, 0.234).lineTo(-0.784, 0.274).lineTo(0.806, 0....
10
76
0.227773
train_27609e22229ff370
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.022, 0.069, -0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.218, 0.873).lineTo(0.871, -0.524).threePointArc((0.871, -0.873), (0.218, -0.873)).lineTo(-0.871, 0.524).threePointArc((-0.653, 0.873), (-0.218, 0.873)).close().moveTo(-0.435, 0.6...
10
60
0.236835
train_70b57647932b7cbf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.016, -0.001, -0.23), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.879, -0.116).lineTo(0.894, -0.203).lineTo(0.819, -0.25).lineTo(-0.474, -0.041).threePointArc((-0.983, 0.106), (-0.449, 0.117)).lineTo(0.697, -0.07).threePointArc((0.73, 0.25), (0....
9
186
1.086768
train_95ba4c81a42c5c5b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.363), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.6).lineTo(1, -0.543).threePointArc((0.975, -0.583), (0.934, -0.6)).lineTo(-0.936, -0.6).lineTo(-1, -0.545).lineTo(-1, 0.492).threePointArc((-0.96, 0.569), (-0.884, 0.6)).lineTo(1, 0.6)....
13
75
0.43246
train_9d10dea4e8f49fa7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.005, -0.231), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.362, 0.533).lineTo(0.448, 0.448).lineTo(0.488, 0.408).threePointArc((0.489, 0.405), (0.49, 0.401)).lineTo(0.45, 0.124).threePointArc((0.452, 0.109), (0.463, 0.099)).lineTo(0.608, 0.026...
5
108
0.317314
train_bb48df588132d14c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.345), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.667).lineTo(1, -0.667).lineTo(-1, -0.667).lineTo(-1, -0.222).lineTo(0.498, -0.222).lineTo(0.498, 0.222).lineTo(-1, 0.222).lineTo(-1, 0.667).lineTo(1, 0.667).close().extrude(0.69) result...
9
56
0.793184
train_0d353fc328916da3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.787, 0, 0.302), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.091, 0.734).lineTo(0.471, 0.172).lineTo(-0.091, -0.208).lineTo(-0.471, 0.353).lineTo(-0.387, 0.533).threePointArc((-0.273, 0.542), (-0.163, 0.505)).lineTo(-0.095, 0.706).threePointArc(...
5
21
1.106459
train_5eadc3cf3c08377d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.411, -0.267, -0.423), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.137, 0.728).lineTo(0.284, 0.279).lineTo(0.356, 0.221).threePointArc((0.401, 0.186), (0.453, 0.204)).lineTo(0.536, 0.162).threePointArc((0.549, 0.107), (0.581, 0.06)).lineTo(0.665...
13
240
0.882575
train_b1f24886e8ed4d88
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.241, 0.128, -0.022), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.454, 0.218).threePointArc((0.672, 0), (0.454, -0.218)).lineTo(-0.454, -0.218).threePointArc((-0.672, 0), (-0.454, 0.218)).lineTo(0.454, 0.218).close().workplan...
10
100
1.17018
train_681587d3d09b3e57
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.118, -0.09, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.392, 0.36).lineTo(0.392, -0.18).threePointArc((-0.392, -0.36), (0.392, 0.36)).close().moveTo(0.196, 0).lineTo(0.13, -0.18).threePointArc((-0.196, 0.18), (0.196, 0)).close().extrude(2) ...
9
18
1.41825
train_8097d87a603bf711
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.07, -0.63), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.493, 0.522).lineTo(-0.493, -0.336).lineTo(0.799, -0.336).lineTo(0.799, -0.522).lineTo(-0.799, -0.522).lineTo(-0.799, 0.522).lineTo(-0.493, 0.522).close().extrude(0.808, taper=-13.94) re...
22
249
1.080814
train_e5b593f8e2b2bfcf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.385), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.557).extrude(0.614, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.385), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.204).extrude(0.686, both=True)) result = result....
7
31
0.976124
train_785e1654fdb250e0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.881, 0.995, -0.002), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.045, 1.449).threePointArc((0.066, 1.405), (0.135, 1.292)).threePointArc((0.173, 1.182), (0.237, 1.137)).threePointArc((0.365, 1.129), (0.511, 1.088)).threePointArc((0.594, 0.983)...
2
20
2.261125
train_fc338793e1986363
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.416).extrude(1.388) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.028), normal=(0.064, 0, 0.998), xDir=(0.998, 0, -0.064))).circle(0.17).extrude(1.029)) result = result.cut(cq.W...
4
78
0.37462
train_44053f4b3c8d3d6c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.281), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.561).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.561).lineTo(-0.718, 0.561).lineTo(-0.718, 0.282).lineTo(0.718, 0.282).lineTo(0.718, 0.561).lineTo(1, 0.561).close().extrude(0.2, both=True)...
4
28
0.316421
train_05276e1d218606a9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.075, -0.188, -0.19), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.049, 0.074).threePointArc((-0.046, 0.073), (-0.044, 0.07)).lineTo(-0.044, -0.042).threePointArc((-0.04, -0.05), (-0.029, -0.054)).lineTo(0.068, -0.054).threePointArc((0.07, -0.05...
16
131
0.171478
train_8c7d13f8ef0eebbe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0.003, -0.31), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.911, -0.232).lineTo(0.96, -0.287).lineTo(0.923, -0.391).lineTo(0.86, -0.382).lineTo(0.739, -0.582).lineTo(0.76, -0.653).lineTo(0.686, -0.733).lineTo(0.63, -0.7).lineTo(0.439, -0.83...
7
116
1.13303
train_8d8c6a52149c0b8c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.226, 0.557), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.769, 0.076).threePointArc((0.802, -0.045), (0.865, -0.192)).lineTo(0.453, -0.495).threePointArc((0.204, -0.669), (-0.124, -0.74)).threePointArc((-0.394, -0.838), (-0.588, -0.696)).line...
6
122
1.610732
train_7ecefc5f5061eeaa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.146, 0.187).workplane(offset=2).rect(0.829, 0.092).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.12).extrude(0.56, both=True...
3
18
0.240994
train_0a2d16881d3b0e77
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.213), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.387, 0.586).lineTo(0.387, 0.462).lineTo(0.51, 0.462).lineTo(0.51, -0.521).threePointArc((0.491, -0.568), (0.445, -0.586)).lineTo(-0.416, -0.586).threePointArc((-0.483, -0.558), (-0.51, -0....
14
116
0.240105
train_a8e7c9b76f4a2755
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.207, 0.153, -0.155), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.127, 0.633).threePointArc((0.633, 0.127), (0.506, -0.506)).threePointArc((-0.127, -0.633), (-0.633, -0.127)).threePointArc((-0.506, 0.506), (0.127, 0.633)).close().sweep(cq.Workpla...
5
52
1.623926