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_7b2f66220c04435a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.991, -0.043, -0.054), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.893).lineTo(-0.342, 0.893).lineTo(-0.342, -0.893).threePointArc((-1.025, 0.893), (-0.342, 0.893)).lineTo(0, 0.893).close().extrude(0.168, taper=0.52) result = result.cut(cq.Wor...
6
28
0.332284
train_ba6d393d2a800f9a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.236, 0.145, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.033, 0.129).lineTo(-0.01, 0.146).lineTo(-0.024, 0.175).lineTo(-0.001, 0.192).lineTo(0.028, 0.135).lineTo(0.074, 0.169).lineTo(0.089, 0.141).lineTo(0.065, 0.124).lineTo(0.079, 0.097).l...
8
570
0.326725
train_9bc8c64e0f1f1872
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.766, 0, -2.368), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.514).extrude(1.692) result = result.union(cq.Workplane(cq.Plane(origin=(-0.766, 0, -1.184), normal=(0.369, 0, 0.93), xDir=(0.93, 0, -0.369))).circle(0.429).extrude(2.207)) result = re...
4
5
0.281358
train_7578e0802ba13c67
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.014, -0.139), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.52, 0.908).threePointArc((0.571, 0.888), (0.593, 0.841)).lineTo(0.593, 0.284).threePointArc((0.56, 0.212), (0.481, 0.182)).lineTo(0.276, 0.182).threePointArc((0.221, 0.16), (0.198, 0.1...
7
270
1.091187
train_ab9aa316621ab80f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.012, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.04, 0.121).lineTo(0.127, 0).lineTo(0.04, -0.121).lineTo(-0.103, -0.075).lineTo(-0.103, 0.075).lineTo(0.04, 0.121).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq.Plane(or...
6
15
0.069857
train_e0ba9af91b4829f5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.017, -0.082, 0.016), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.037, 1.081).lineTo(0.218, 0.451).lineTo(0.858, 0.68).lineTo(0.524, 0.087).lineTo(1.102, -0.271).lineTo(0.431, -0.379).lineTo(0.511, -1.055).lineTo(0.008, -0.597).lineTo(-0.47, -1....
5
90
0.269571
train_0e5411133864414e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.254), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.508) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.254), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.575).extrude(1.517, both=True)) result = result.union(cq.Workpl...
11
48
1.124097
train_a9e9e830efdb302c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.267, -0.045), normal=(0.302, -0.912, -0.277), xDir=(0.949, 0.314, 0))).moveTo(0.734, 0.323).lineTo(0.734, 0.124).lineTo(0.208, 0.124).lineTo(0.208, -0.323).lineTo(-0.734, -0.323).lineTo(-0.734, -0.124).lineTo(-0.208, -0.124).lineTo(-0.208, 0...
6
53
0.416524
train_090f2d285681fb0d
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.397).lineTo(0.534, 0).lineTo(1, -0.397).lineTo(0.523, -0.397).lineTo(0.523, 0.397).lineTo(1, 0.397).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.275, -0.475, 0), no...
9
35
0.594886
train_ab8846acfcd647e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.795, -0.335, -0.155), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.11, 0.448).lineTo(0.11, -0.448).threePointArc((0, -0.558), (-0.11, -0.448)).lineTo(-0.11, 0.448).threePointArc((0, 0.558), (0.11, 0.448)).close().revolve(angleDegrees=90, axisSt...
10
194
0.376774
train_c83212b912804159
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.77), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.607, 1).threePointArc((0.741, 0.936), (0.796, 0.806)).lineTo(0.796, -0.133).threePointArc((0.776, -0.179), (0.731, -0.199)).lineTo(0.544, -0.199).threePointArc((0.441, -0.156), (0.398, -0.0...
6
70
3.018941
train_c35f4f5f45fdf2eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.456), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.904).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.904).lineTo(-0.539, 0.904).lineTo(-0.539, 0.457).lineTo(0.539, 0.457).lineTo(0.539, 0.904).lineTo(1, 0.904).close().extrude(0.693, both=Tru...
5
41
1.771196
train_e2e841f424c3c4f0
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(0.765, 0.809).lineTo(1, 0.694).lineTo(0.247, -0.809).lineTo(0.13, -0.752).lineTo(0.304, -0.405).lineTo(0.246, -0.232).lineTo(0.765, 0.809).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Pl...
4
17
1.238189
train_6c77d6185b413738
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.087, -0.183, -0.672), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.209, -0.587).threePointArc((-0.308, -0.709), (-0.283, -0.494)).lineTo(-0.301, -0.089).threePointArc((-0.428, 0.082), (-0.31, 0.298)).threePointArc((-0.312, 0.611), (0.287, 0.709...
14
108
1.547057
train_5d9f4ba79bae2b49
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.181), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.099, 0.703).lineTo(0.045, 0.632).lineTo(0.097, 0.851).lineTo(0.241, 0.781).lineTo(0.302, 0.587).lineTo(0.416, 0.613).lineTo(0.499, 0.736).lineTo(0.643, 0.665).lineTo(0.59, 0.446).lineTo(0...
9
819
0.43766
train_39fae4e368ae79fa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.38, 0.032, -0.705), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.109, 0.249).threePointArc((0.204, 0.221), (0.245, 0.156)).lineTo(0.245, -0.185).threePointArc((0.217, -0.23), (0.151, -0.249)).lineTo(0.045, -0.249).threePointA...
11
326
0.499814
train_459e88bfeacba562
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.452), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.552, 0.583).lineTo(-0.552, -0.385).lineTo(1, -0.385).lineTo(1, -0.583).lineTo(-1, -0.583).lineTo(-1, 0.583).lineTo(-0.552, 0.583).close().extrude(0.904) result = result.edges().chamfer(0....
5
54
0.664642
train_1e07a400f76026e3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.307, 0, 0.45), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.079, 0.421).lineTo(0.137, 0.384).lineTo(0.242, 0.193).lineTo(0.159, -0.01).lineTo(-0.052, -0.07).lineTo(-0.23, 0.057).lineTo(-0.242, 0.275).lineTo(-0.079, 0.421).close().revolve(angleD...
10
195
0.963981
train_7d3c523da2e16f1e
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0, 0.5).lineTo(0, 0).lineTo(1, 0).lineTo(1, -0.5).lineTo(-0.5, -0.5).lineTo(-0.5, 0).lineTo(-1, 0).lineTo(-1, 0.5).lineTo(0, 0.5).close().extrude(0.177, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0.432, 0, 0), normal=(-1, 0, 0), xDir...
3
20
0.384244
train_ef8feb8b0185cd84
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.039, -0.639), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.825).lineTo(1, -0.825).lineTo(-1, -0.825).lineTo(-1, 0.825).lineTo(-0.418, 0.825).lineTo(-0.418, -0.243).lineTo(0.418, -0.243).lineTo(0.418, 0.825).lineTo(1, 0.825).close().extrude...
9
63
2.738913
train_0df5caf960ec6a5b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.999, -0.159), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.163, 0.247).threePointArc((0.209, 0.229), (0.228, 0.183)).lineTo(0.228, -0.183).threePointArc((0.209, -0.229), (0.163, -0.247)).lineTo(-0.12, -0.247).threePointArc((-0.166, -0.229), ...
3
18
0.214554
train_c2b7b1e8c0b37326
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.747, 0.161, 0.211), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.244, 0.672).lineTo(0.666, 0.312).lineTo(0.244, -0.482).lineTo(-0.666, -0.251).lineTo(-0.244, 0.672).close().extrude(1.03) result = result.union(cq.Workplane(cq.Plane(origin=(-0.17...
12
74
0.680516
train_01095899cee4522f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.15, 0.131, -0.056), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.054, 0.125).lineTo(0.054, 0.047).lineTo(0.054, 0.018).lineTo(0.018, 0.024).threePointArc((-0.005, 0.025), (-0.018, 0.006)).lineTo(-0.054, 0.018).lineTo(-0.054, 0.047).lineTo(-0.054,...
9
323
0.142175
train_e6575f8b50a87f6b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.111, 0, -0.261), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.625, 0.834).threePointArc((0.811, 0.775), (0.889, 0.636)).lineTo(0.889, -0.044).threePointArc((0.841, -0.13), (0.726, -0.167)).lineTo(0.607, -0.167).threePointArc((0.493, -0.203), (0.4...
11
248
0.301102
train_4ce11cad5a460648
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.058, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.876, 0.897).threePointArc((1.014, 0.816), (1.073, 0.622)).lineTo(1.073, -0.102).threePointArc((1.031, -0.241), (0.932, -0.299)).lineTo(0.744, -0.299).threePointArc((0.674, -0.341), (0.644,...
11
54
0.219868
train_834ee87bee9c10cd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.024, 0.007, 0), normal=(0.056, 0.493, -0.868), xDir=(-0.994, 0.113, 0))).moveTo(0.242, 0.481).lineTo(0.448, -0.266).lineTo(-0.374, -0.481).lineTo(-0.448, -0.214).lineTo(0.1, -0.071).lineTo(-0.032, 0.409).lineTo(0.242, 0.481).close().extrude(0.85...
2
58
0.651523
train_c4685253edb176f0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.999, -0.495, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.194, 0.882).threePointArc((0.518, 0.579), (0.539, 0.225)).threePointArc((0.244, 0.03), (-0.194, 0.107)).threePointArc((-0.518, 0.411), (-0.539, 0.765)).threePointArc((-0.244, 0.96), (...
21
600
1.388032
train_37728e8656f1aacd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.023, -0.001, -0.204), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.95, 0.407).lineTo(0.92, 0.357).lineTo(1, 0.143).lineTo(1, 0).lineTo(0.833, 0).lineTo(0.833, 0.121).lineTo(0.735, 0.357).lineTo(0, 0.243).lineTo(0, 0.407).lineTo(0.95, 0.407).clos...
13
89
0.18224
train_e45d46b5aaf9df9f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.346, 0, 0.949), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.263, 0.603).lineTo(0.038, 0.342).lineTo(0.39, 0.53).lineTo(0.315, 0.138).lineTo(0.654, -0.073).lineTo(0.277, -0.204).lineTo(0.263, -0.603).lineTo(-0.038, -0.342).lineTo(-0.39, -0.53)....
15
273
1.628179
train_8f7ec5a9192f666d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, -0.499, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.376, 1.173).lineTo(0.319, 0.597).lineTo(0.897, 0.567).lineTo(0.411, 0.252).lineTo(0.748, -0.218).lineTo(0.199, -0.034).lineTo(0.041, -0.591).lineTo(-0.157, -0.047).lineTo(-0.691, -0.271)...
12
65
1.173006
train_5e30bb9fd7ea99d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.009, -0.993), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.533, 0.54).threePointArc((0.675, 0.5), (0.879, 0.347)).lineTo(0.545, 0.101).lineTo(0.533, 0.063).lineTo(0.581, 0.043).lineTo(0.919, 0.292).lineTo(0.999, 0.09).lineTo(1, -0.104).lineTo(...
1
46
2.729183
train_c76c2c17f4555ae3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.047, -0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.825, 0.354).threePointArc((0.941, 0.327), (1, 0.251)).lineTo(0.538, 0.201).threePointArc((0.484, 0.189), (0.538, 0.177)).lineTo(0.973, 0.126).threePointArc((0.955, 0.002), (0.771, -0.0...
11
175
0.470212
train_53237a74bc48a050
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.132, -0.215, 0.08), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.303, 0.27).lineTo(0.354, 0.201).threePointArc((0.533, 0.174), (0.625, -0.023)).lineTo(0.785, -0.169).lineTo(0.649, -0.27).lineTo(0.269, 0.245).lineTo(0.303, 0.27).close().revolve(a...
7
77
0.32739
train_f294b7e50dffce07
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.628, -0.037, -0.013), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.066, 0.23).threePointArc((0.103, 0.232), (0.132, 0.208)).threePointArc((0.157, 0.198), (0.167, 0.173)).lineTo(0.167, 0.046).threePointArc((0.157, 0.02), (0.132, 0.01)).lineTo(-0....
4
110
0.060144
train_b81f6b02fdf4591b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.447, 1).lineTo(0.527, 0.912).lineTo(0.527, -0.962).threePointArc((0.517, -0.982), (0.496, -1)).lineTo(-0.466, -1).threePointArc((-0.509, -0.974), (-0.527, -0.931)).lineTo(-0.527, 0.928).li...
4
56
0.22776
train_d843ad772e0c9a40
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.353, -0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.903, 1.292).extrude(0.356) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.353, -0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.319, -0.513).lineTo(-0.319, 0.513).lineTo(0.31...
9
35
0.217191
train_5870985ffe6fa70b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.588, 0.809, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1.075, 2.248).threePointArc((-0.849, 2.159), (-0.755, 1.948)).lineTo(-0.755, -0.373).threePointArc((-0.604, -0.707), (-0.247, -0.847)).lineTo(1.899, -0.847).threePointArc((2.148, -0.945...
16
15
2.966152
train_1fb4cf0ea01470fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.468, 1).lineTo(0.651, 0.817).lineTo(0.651, -0.787).lineTo(0.439, -1).lineTo(-0.456, -1).lineTo(-0.651, -0.805).lineTo(-0.651, 0.851).lineTo(-0.503, 1).lineTo(0.468, 1).close().extrude(0.095...
11
35
0.239169
train_1b062b3f409a6542
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.144, -0.293, -0.288), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.276, 0.603).lineTo(-0.215, 0.403).threePointArc((-0.189, 0.368), (-0.155, 0.396)).lineTo(-0.082, 0.506).threePointArc((0.03, 0.674), (0.306, 0.311)).lineTo(0.195, -0.161).threePo...
8
60
1.526629
train_a19715c4291f27f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.274, 0.045, 0.009), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.526, 0.579).lineTo(0.526, -0.372).threePointArc((-0.526, 0.104), (0.526, 0.579)).close().extrude(0.206) result = result.union(cq.Workplane(cq.Plane(origin=(-0.827, -0.115, -0.001),...
6
26
0.153506
train_5399bf9f4592c8ee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.773, -0.5), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.018, 0.22).threePointArc((0.247, 0.171), (0.41, 0.077)).threePointArc((0.463, -0.038), (0.392, -0.143)).threePointArc((0.216, -0.21), (-0.018, -0.22)).threePointArc((-0.247, -0.171), (-...
9
14
0.784659
train_475dee4490030544
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.246, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.423, 0.285).lineTo(1.217, 0.234).lineTo(-0.027, -0.285).lineTo(-0.82, -0.234).lineTo(-1.217, -0.209).lineTo(-1.14, -0.176).lineTo(-0.587, -0.137).lineTo(-0.906, -0.079).lineTo(-0.829, -0.04...
5
83
0.260682
train_36de5f66e2a01428
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.095, 0.133, -0.307), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.079, 0.096).lineTo(0.079, -0.096).threePointArc((-0.079, 0), (0.079, 0.096)).close().transformed(offset=(0.054, 0.021, 0.017), rotate=(0, 0, 20)).moveTo(0.113, 0.137).lineTo(0.113...
4
34
0.319723
train_da1a86d49a77e4f2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.208, -0.059, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.031, 0.055).lineTo(-0.031, -0.029).lineTo(0.056, -0.029).lineTo(0.056, -0.055).lineTo(-0.056, -0.055).lineTo(-0.056, 0.055).lineTo(-0.031, 0.055).close().extrude(1, taper=-1.329, bot...
3
51
0.106867
train_7dd2177ff9a86f0a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.154, 0, 0.489), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.077, 0.676).threePointArc((0.158, 0.586), (0.128, 0.299)).lineTo(0.349, 0.346).threePointArc((0.324, 0.182), (0.276, 0.059)).lineTo(0.658, -0.086).threePointArc((0.631, -0.212), (0.419...
10
490
2.237824
train_2ff0f60cd00b158a
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.339, 0.863).lineTo(-0.339, -0.414).lineTo(1, -0.414).lineTo(1, -0.863).lineTo(-1, -0.863).lineTo(-1, 0.863).lineTo(-0.339, 0.863).close().extrude(0.366) result = result.edges().chamfer(0....
5
71
0.621219
train_b76dfa5e4122b9ce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.007), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.27, 1).lineTo(0.27, 0.952).lineTo(0.317, 0.952).lineTo(0.317, -0.969).lineTo(0.285, -0.969).lineTo(0.285, -1).lineTo(-0.265, -1).lineTo(-0.265, -0.949).lineTo(-0.317, -0.949).lineTo(-0.317...
5
61
0.37515
train_d96175efa9e35f53
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.498, 0.481).threePointArc((0.533, 0.459), (0.548, 0.407)).lineTo(0.548, -0.035).threePointArc((0.523, -0.123), (0.462, -0.16)).lineTo(0.394, -0.16).threePointArc((0.348, -0.188), (0.329, -...
18
160
0.585645
train_052e1702ac681636
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.331, -0.379, -0.569), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.132, 0.115).lineTo(0.132, -0.115).threePointArc((-0.132, 0), (0.132, 0.115)).close().extrude(0.181) result = result.cut(cq.Workplane(cq.Plane(origin=(0.321, -0.302, -0.673), norm...
11
114
0.927562
train_1df4e9b333c8f219
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.197, 0.222).lineTo(0.197, -0.222).lineTo(-0.066, -0.222).lineTo(-0.066, -0.111).lineTo(-0.197, -0.111).lineTo(-0.197, 0.222).lineTo(-0.066, 0.222).lineTo(-0.066, 0.111).lineTo(0.066, 0.111).li...
3
35
0.26916
train_1b965815c36c4e66
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.008, 0, 0.013), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.304, 0.832).lineTo(0.643, 0.044).lineTo(0.59, -0.083).lineTo(0.587, -0.435).lineTo(0.322, -0.451).lineTo(0.33, -0.699).lineTo(0.304, -0.832).lineTo(-0.62, -0.82).lineTo(-0.643, -0.003)....
9
280
2.825176
train_5342b30f4c8fb943
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.74, 0.819).threePointArc((0.916, 0.746), (1, 0.564)).lineTo(1, -0.63).lineTo(0.805, -0.819).lineTo(-0.792, -0.819).lineTo(-0.792, -0.617).lineTo(-1, -0.617).lineTo(-1, 0.696).threePointArc...
13
113
1.641268
train_da4c3df3de25651e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.288, -0.011), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.184, 0.915).threePointArc((0.289, 0.874), (0.333, 0.778)).lineTo(0.333, 0.399).threePointArc((0.364, 0.333), (0.436, 0.305)).lineTo(0.874, 0.305).threePointArc((0.963, 0.271), (1, 0.19...
37
711
0.34406
train_473efceddd6c296a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.154, -0.001, 0.024), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.417, 0.46).lineTo(0.417, 0.263).lineTo(-0.22, 0.263).lineTo(-0.22, -0.263).lineTo(0.417, -0.263).lineTo(0.417, -0.46).lineTo(-0.417, -0.46).lineTo(-0.417, 0.46).lineTo(0.417, 0.46)...
14
213
0.514445
train_de86363ab735ff2e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.4), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.424, 1).threePointArc((0.55, 0.947), (0.601, 0.822)).lineTo(0.601, -1).lineTo(-0.32, -1).lineTo(-0.32, -0.719).lineTo(-0.601, -0.719).lineTo(-0.601, 1).lineTo(0.424, 1).close().extrude(0.799...
3
23
0.351544
train_f3f273ab6b2a12d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.003, -0.323), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.878, 0.445).threePointArc((0.964, 0.427), (1, 0.386)).lineTo(1, -0.352).threePointArc((0.943, -0.417), (0.808, -0.445)).lineTo(-0.534, -0.445).threePointArc((-0.862, -0.378), (-1, -0.2...
5
104
0.812003
train_0f171e7d4d3bdb37
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.052, 0.11, -0.301), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.428, 0.132).lineTo(-0.296, 0).lineTo(-0.099, 0).lineTo(0.164, 0).lineTo(0.493, 0).lineTo(0.493, -0.132).lineTo(0.164, -0.132).lineTo(-0.099, -0.132).lineTo(-0.296, -0.132).lineTo(-...
15
157
0.189345
train_8434f7e259ad3291
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.497, 1.249).lineTo(0.497, 0.261).lineTo(0.321, 0.261).lineTo(0.321, 0).lineTo(0.103, 0).lineTo(0.103, 1.249).lineTo(0.497, 1.249).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEn...
5
64
0.77219
train_e02cb89ccc211787
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.281, -0.026, -0.264), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.142, 0.708).lineTo(-0.142, 0.425).lineTo(0.142, 0.425).lineTo(0.142, -0.142).lineTo(0.708, -0.142).lineTo(0.708, -0.425).lineTo(0.425, -0.425).lineTo(0.425, -0.708).lineTo(-0.142...
19
135
0.348308
train_3e01dc582d249bd5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.308, -0.363), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.787, 0.217).lineTo(1, 0.005).lineTo(1, -0.116).lineTo(0.899, -0.217).lineTo(-0.851, -0.217).lineTo(-1, -0.067).lineTo(-1, 0.093).lineTo(-0.875, 0.217).lineTo(0.787, 0.217).close().extr...
6
19
0.815787
train_b85394dfdd411fd9
import cadquery as cq import math result = cq.Workplane('XY').box(1.528, 0.797, 2) result = result.edges().fillet(0.242) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.297).extrude(3.056, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
5
36
1.339107
train_f3a1601021a64f2d
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.557, 0.299).lineTo(0.557, -0.006).threePointArc((0.472, -0.214), (0.264, -0.299)).lineTo(-0.377, -0.299).lineTo(-0.377, -0.118).lineTo(-0.557, -0.118).lineTo(-0.557, 0.006).threePointArc((...
21
93
1.312692
train_36c0ad903148e55f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.254, -0.195, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.052, -0.046).lineTo(-0.052, -0.052).threePointArc((-0.01, 0.052), (0.052, -0.046)).close().extrude(1, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0.227, -0.196, 0.68...
5
33
0.216164
train_8d1bf244007343d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.341), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.849, 0.415).threePointArc((0.951, 0.373), (1, 0.273)).lineTo(1, -0.328).threePointArc((0.967, -0.39), (0.906, -0.415)).lineTo(-0.892, -0.415).lineTo(-1, -0.315).lineTo(-1, 0.415).lineTo(0....
9
79
0.621087
train_8af3ddfe97467bc8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.208, 0.24, -0.322), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.149, 0.639).lineTo(0.495, 0.372).lineTo(0.551, -0.061).lineTo(0.284, -0.407).lineTo(-0.149, -0.463).lineTo(-0.495, -0.196).lineTo(-0.551, 0.237).lineTo(-0.284, 0.583).lineTo(-0.144...
4
34
1.717164
train_f4288092ae33061d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.069, -0.069, 0.329), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.017, 0.564).lineTo(0.354, 0.058).threePointArc((0.391, -0.08), (0.305, -0.192)).lineTo(-0.29, -0.587).lineTo(-0.383, -0.448).threePointArc((-0.391, -0.416), (-0.372, -0.391)).lineT...
8
185
0.916336
train_f98cb715505e6d4e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.061, 0.182, -0.15), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.516, 0.391).lineTo(0.817, -0.113).lineTo(0.351, -0.391).lineTo(0.05, 0.113).threePointArc((0.129, 0.113), (0.166, 0.182)).threePointArc((0.204, 0.252), (0.283, 0.252)).threePointA...
9
83
1.052131
train_232d2d8b61f2664c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.375), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.988, 1).lineTo(0.988, 0.6).lineTo(-0.494, 0.6).lineTo(-0.494, 0.2).lineTo(0.988, 0.2).lineTo(0.988, -1).lineTo(-0.988, -1).lineTo(-0.988, -0.6).lineTo(0.494, -0.6).lineTo(0.494, -0.2).line...
3
14
2.0748
train_99922448b478be7b
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.653, 0.558).lineTo(0.352, -0.558).lineTo(-0.352, -0.558).lineTo(-0.653, 0.558).lineTo(0.653, 0.558).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.259, 0, -0.735), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.692...
3
16
2.164328
train_3b87bd9ed6d600c4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.242, 0.142, 0.597), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.083, 0.424).threePointArc((0.191, 0.299), (0.248, 0.115)).threePointArc((0.239, -0.077), (0.166, -0.225)).threePointArc((0.048, -0.292), (-0.083, -0.257)).threePointArc((-0.191, -0...
16
432
1.421719
train_492746bd46bb6ec2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.623, 0.183), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.411, 0.369).lineTo(0.405, -0.203).lineTo(-0.061, -0.377).lineTo(-0.411, -0.03).lineTo(-0.139, 0.377).lineTo(0.411, 0.369).close().sweep(cq.Workplane(cq.Plane(origin=(0, -0.623, 0.183)...
4
41
0.357159
train_fbc10a8143af71fb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.457, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.008, 0.335).lineTo(0.15, 0.223).lineTo(0.062, 0.112).lineTo(0.203, -0.001).lineTo(0.115, -0.112).lineTo(0.257, -0.224).threePointArc((0.242, -0.245), (0.238, -0.27)).lineTo(0.215, -0.312)....
3
44
0.618308
train_330edd955116b476
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.461), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.499, 0.859).lineTo(0.859, 0.499).lineTo(1, 0).lineTo(0.859, -0.499).lineTo(0.499, -0.859).lineTo(0, -1).lineTo(-0.499, -0.859).lineTo(-0.859, -0.499).lineTo(-1, 0).lineTo(-0.8...
2
37
3.215515
train_1572b1268ae859c8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.011, 0, 0.368), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.715, 2).extrude(0.04) result = result.cut(cq.Workplane(cq.Plane(origin=(0.011, 0, 0.368), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.303, -0.388).lineTo(0.303, -0.945).lineTo(-0.303, -0...
12
68
0.117656
train_0e31aac121fc152e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.214), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.786, 0.213).lineTo(1, 0.005).lineTo(1, -0.038).threePointArc((0.941, -0.162), (0.82, -0.213)).lineTo(-0.829, -0.213).threePointArc((-0.943, -0.164), (-1, -0.048)).lineTo(-1, 0.005).lineTo(...
8
42
0.121498
train_0f77006f1cdb592f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.302), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.913, 0.484).lineTo(1, 0.398).lineTo(1, -0.392).lineTo(0.909, -0.484).lineTo(-0.949, -0.484).lineTo(-1, -0.433).lineTo(-1, 0.394).lineTo(-0.909, 0.484).lineTo(0.913, 0.484).close().extrude(...
14
17
0.545225
train_91ece3e2b0491da0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.329, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.414, 2).lineTo(0.414, 0.414).lineTo(0.658, 0.414).lineTo(0.658, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.414, 2).close().extrude(0.944, both=True) result = result.cut(cq.Workplane(cq.Plane(...
8
86
1.704705
train_4f1aeba3e3a973ff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.081, 1).lineTo(0.421, 0.911).threePointArc((0.482, 0.861), (0.556, 0.833)).lineTo(0.844, 0.548).threePointArc((0.866, 0.491), (0.905, 0.444)).lineTo(0.996, 0.111).threePointArc((0.982, 0.0...
8
62
0.57512
train_8dd199302e2e8052
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.23, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.664, 0.589).lineTo(0.664, 0.212).lineTo(-0.286, 0.212).lineTo(-0.286, -0.212).lineTo(0.664, -0.212).lineTo(0.664, -0.589).lineTo(-0.664, -0.589).lineTo(-0.664, 0.589).lineTo(0.664, 0.589).c...
21
45
2.788135
train_57bc837e780d05f4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.228, 0.024, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.171, 0.718).lineTo(0.871, 0.285).lineTo(0.46, -0.378).lineTo(0.015, -0.102).lineTo(0.07, -0.31).threePointArc((-0.709, -0.718), (-0.501, 0.358)).lineTo(-0.148, 0.203).lineTo(0.171, 0.7...
21
75
1.579856
train_d8c2d3719352b006
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.41, 0.25, -0.099), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.076, 0.4).lineTo(0.356, 0.089).lineTo(0.281, -0.311).lineTo(-0.11, -0.4).lineTo(-0.339, -0.121).lineTo(-0.356, 0.286).lineTo(0.076, 0.4).close().sweep(cq.Workplane(cq.Plane(origin=(0...
3
51
0.449514
train_a801b2ba9dee0b27
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0.003, 0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.046, 0.996).lineTo(0.751, 0.723).threePointArc((0.883, 0.784), (0.862, 0.581)).lineTo(0.931, 0.035).lineTo(0.874, -0.657).lineTo(0.797, -0.69).lineTo(0.779, -0.764).lineTo(0.341, -...
3
38
0.064175
train_5073e07190c2f608
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.295, -0.078, -0.225), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.239, 0.179).lineTo(0.704, -0.236).threePointArc((0.521, -0.309), (0.32, -0.293)).lineTo(0.303, -0.265).threePointArc((0.304, -0.253), (0.322, -0.242)).lineTo(0.36, -0.228).threeP...
15
110
0.2601
train_88f4ba97dddace63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.383), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.879, 0.765).lineTo(0.879, 0.545).lineTo(1.001, 0.545).lineTo(1.001, 0).lineTo(0.513, 0).lineTo(0.513, 0.765).lineTo(0.879, 0.765).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), ax...
9
80
1.40475
train_f1feb9a89c3df5a1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.365, -0.291, -0.496), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.288, 0.439).lineTo(-0.288, -0.215).lineTo(0.632, -0.215).lineTo(0.632, -0.439).lineTo(-0.632, -0.439).lineTo(-0.632, 0.439).lineTo(-0.288, 0.439).close().extrude(0.68) result = ...
19
142
1.030565
train_38fe739804a77fdd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.271, 0, -0.435), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.304, 0.869).lineTo(0.304, 0.304).lineTo(0.542, 0.304).lineTo(0.542, 0).lineTo(0, 0).lineTo(0, 0.869).lineTo(0.304, 0.869).close().extrude(1, both=True) result = result.cut(cq.Workpla...
12
62
0.373071
train_abae44b1e0609454
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.956), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.832, 1.912).lineTo(0.832, 0.247).lineTo(1, 0.247).lineTo(1, 0).lineTo(0.115, 0).lineTo(0.115, 1.912).lineTo(0.832, 1.912).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
8
86
3.55811
train_420b691121cfe4c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.128), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.5).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.5).lineTo(-0.693, 0.5).lineTo(-0.693, 0.307).lineTo(0.693, 0.307).lineTo(0.693, 0.5).lineTo(1, 0.5).close().extrude(0.3, both=True) result = ...
8
24
0.647402
train_524e4725f71d6cf7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.387) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.194), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.693).extrude(1.159, both=True)) result = result.union(cq.Workpl...
14
53
0.973145
train_b28fcecc6fee883d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.063, 0.237), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.886).lineTo(1, -0.886).lineTo(-1, -0.886).lineTo(-1, 0.886).lineTo(-0.648, 0.886).lineTo(-0.648, -0.56).lineTo(0.648, -0.56).lineTo(0.648, 0.886).lineTo(1, 0.886).close().extrude(0.3...
15
166
1.214656
train_341aa7fffed1ef5d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.481, 0.138, -0.034), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.03, 0.328).lineTo(0.474, 0.193).threePointArc((0.064, -0.328), (-0.03, 0.328)).close().extrude(0.771).union(cq.Workplane(cq.Plane(origin=(0.481, 0.138, -0.034), normal=(0, 0, 1), ...
11
150
0.642381
train_5ed1242b15d9c696
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.089, 0, 0.028), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.361, 0.978).threePointArc((0.427, 0.954), (0.455, 0.897)).lineTo(0.455, 0.679).threePointArc((0.487, 0.615), (0.563, 0.587)).lineTo(0.768, 0.587).threePointArc((0.867, 0.551), (0.91, 0....
7
230
0.279299
train_773471655a886d78
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.025, 0, -0.231), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.461) result = result.cut(cq.Workplane(cq.Plane(origin=(0.025, 0, -0.231), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.8).extrude(1.378, both=True)) result = result.union(cq....
13
59
1.127416
train_88348f431803f83c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.33), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.921, 0.88).lineTo(0.921, 0.53).lineTo(0.203, 0.53).lineTo(0.203, -0.88).lineTo(-0.203, -0.88).lineTo(-0.203, 0.53).lineTo(-0.921, 0.53).lineTo(-0.921, 0.88).lineTo(0.921, 0.88).close().extr...
4
32
0.555292
train_a353451ddadaa05a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.782, 0.821).threePointArc((0.933, 0.754), (1, 0.597)).lineTo(1, -0.338).threePointArc((0.977, -0.389), (0.927, -0.41)).lineTo(0.699, -0.41).threePointArc((0.629, -0.38), (0.6, -0.309)).line...
17
63
0.467146
train_a26d4b3737c705d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.649), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.864).lineTo(1, 0.523).lineTo(0.171, 0.523).lineTo(0.171, -0.864).lineTo(-0.171, -0.864).lineTo(-0.171, 0.523).lineTo(-1, 0.523).lineTo(-1, 0.864).lineTo(1, 0.864).close().extrude(1.297)...
7
71
1.48243
train_1538c8c7c9ea6067
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.026, -0.358, -0.327), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.196, 0.313).lineTo(0.196, -0.313).threePointArc((-0.196, 0), (0.196, 0.313)).close().workplane(offset=0.276).moveTo(0.534, 0.256).lineTo(0.526, -0.309).threeP...
10
89
0.678306
train_56325c1e7f0d0023
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.551, -0.687), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.299, 1.069).threePointArc((0.299, 1.069), (0.598, 0.551)).threePointArc((0.299, 0.032), (-0.299, 0.032)).threePointArc((-0.598, 0.551), (-0.299, 1.069)).close().extrude(1.687) result...
22
432
1.85185
train_3174506d9cc14007
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.122, 0.697, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.036, 2.11).threePointArc((0.342, 1.983), (0.668, 1.724)).threePointArc((0.892, 1.373), (0.98, 0.984)).threePointArc((0.919, 0.616), (0.718, 0.326)).threePointArc((0.408, 0.156), (0.03...
3
10
4.222463
train_7566190427e97efc
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.403, 0.829).threePointArc((-0.353, 0.808), (-0.332, 0.759)).lineTo(-0.332, 0.594).threePointArc((-0.304, 0.527), (-0.235, 0.498)).lineTo(-0.13, 0.498).threePointArc((-0.039, 0.459), (0, 0...
8
258
0.913816