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_93290d404beeac45
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.713, 1.011, 0.184), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.778, 0.417).threePointArc((-1.184, 1.399), (-0.778, 2.38)).lineTo(0.204, 1.399).lineTo(1.184, 0.417).threePointArc((0.204, 0.011), (-0.778, 0.417)).close().extrude(1.695) result =...
8
46
3.810393
train_818df0583c253c4f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.033, -0.363, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.223, 1.218).lineTo(-0.822, -0.336).lineTo(0.822, -0.077).lineTo(-0.223, 1.218).close().extrude(1.647) result = result.edges().fillet(0.216) result = result.cut(cq.Workplane(cq.Plane(...
21
96
1.251855
train_b1cb7d458a0b3b7d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.626, 0.073).lineTo(-0.656, 0.043).lineTo(-0.685, 0.043).lineTo(-0.685, 0.073).lineTo(-0.715, 0.073).lineTo(-0.715, 0.043).lineTo(-1, 0.043).lineTo(-1, 0.183).lineTo(1, 0.183).lineTo(1, 0.043)...
2
38
0.051668
train_e84ef7a58643944d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.092, 0, -0.655), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.589, 2).extrude(1.31) result = result.cut(cq.Workplane(cq.Plane(origin=(0.092 + 0.22 * math.cos(4.969 + 2 * math.pi * 0 / 4), 0.655 + 0.22 * math.sin(4.969 + 2 * math.pi * 0 / 4), -1.955...
8
51
3.46471
train_dee77ed06b69f51a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.601, 1.499).threePointArc((-0.52, 1.8), (-0.3, 2.02)).lineTo(0, 2.193).lineTo(0.3, 2.02).lineTo(0.601, 1.846).lineTo(0.601, 1.499).threePointArc((0.52, 1.199), (0.3, 0.979)).threePointArc((0,...
7
87
1.872035
train_eeae245e34c62ac7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.273, 0.085, -0.412), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.171, 0.13).threePointArc((-0.232, 0.155), (-0.258, 0.217)).threePointArc((-0.232, 0.278), (-0.171, 0.303)).lineTo(0.091, 0.303).threePointArc((0.134, 0.292), (0.166, 0.26)).lineT...
26
348
0.456902
train_659ca65a75670ecd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.25, 0.119, -0.249), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.25, 0.214).lineTo(-0.25, 0.011).lineTo(0.25, 0.011).lineTo(0.25, 0.227).lineTo(-0.179, 0.227).lineTo(-0.179, 0.214).lineTo(-0.25, 0.214).close().revolve(angleDegrees=180, axisStar...
9
114
0.038138
train_329aa8bdb603e8b7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.358, 0.198, -0.655), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.895, 0.957).extrude(0.016) result = result.union(cq.Workplane(cq.Plane(origin=(0.418, 0.169, -0.64), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.355).extrude(0.006)) result = result....
9
71
1.038149
train_b295c76d081b3132
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.127, -0.107, -0.05), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.169, 1.127).lineTo(-0.169, 1.127).lineTo(0.169, -0.873).lineTo(0.169, 1.127).close().extrude(0.213) result = result.union(cq.Workplane(cq.Plane(origin=(0 + 0.045 * math.cos(2.983 ...
4
23
0.072056
train_557837a7295b5bab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, -0.005, -0.026), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.961, -0.995).lineTo(0.968, -0.96).lineTo(0.957, 1.005).lineTo(-0.969, 0.99).close().moveTo(0, -0.19).lineTo(0.046, -0.08).lineTo(0.165, -0.095).lineTo(0.092, 0).lineTo(0.165, 0.0...
12
45
1.550387
train_40c3545e99bf6fa3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.808, -0.332, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0, 0.192).threePointArc((-0.192, 0), (0, -0.192)).lineTo(0.095, -0.168).threePointArc((0.192, 0), (0.095, 0.168)).lineTo(0, 0.192).close().sweep(cq.Workplane('XY').spline([(-0.808, -1.2...
3
14
0.192785
train_557d6a6266452923
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 0, 0.356), normal=(1, 0, 0), xDir=(0, 0, 1))).circle(0.114).sweep(cq.Workplane('XZ').spline([(0.449, 0.117), (0.202, 0.261), (-0.105, 0.241), (-0.318, 0.067), (-0.332, -0.175), (-0.14, -0.364)])) result = result.edges().chamfer(0.071) result = ...
4
13
0.072123
train_1f5f49f727799380
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.067, 0.001, -0.114), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.205, -0.118).lineTo(0.038, -0.069).lineTo(-0.205, -0.069).lineTo(-0.171, 0.118).lineTo(0.007, 0.118).lineTo(0.205, -0.118).close().sweep(cq.Workplane('XY').spline([(0.067, -0.265),...
7
66
0.025357
train_cc14046176763ab1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.067, -0.132, -0.348), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.321).lineTo(-0.164, 0.226).lineTo(-0.164, 0.037).lineTo(0, -0.057).lineTo(0.164, 0.037).lineTo(0.164, 0.226).lineTo(0, 0.321).close().extrude(0.823) result = result.edges().fil...
22
329
0.067049
train_dda33cb57f3d66b1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.395, -0.049, -0.603), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.111, 0.148).lineTo(0.111, 0.08).lineTo(0.175, 0.08).lineTo(0.175, -0.148).lineTo(-0.175, -0.148).lineTo(-0.175, 0.148).lineTo(0.111, 0.148).close().sweep(cq.Workplane('XZ').splin...
6
33
0.096674
train_624bbf172149ae8b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.681, -0.803, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).threePointArc((-0.171, 0.079), (-0.177, -0.028)).threePointArc((-0.204, -0.088), (-0.247, -0.139)).threePointArc((-0.264, -0.153), (-0.284, -0.165)).threePointArc((-0.488, -0.18), (-0.626, -0....
2
29
0.649932
train_b58b5534d787eee3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.108, -0.148, -0.114), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.191, -0.213).lineTo(-0.191, 0.201).lineTo(-0.129, 0.201).lineTo(-0.129, 0.323).lineTo(-0.191, 0.323).lineTo(-0.191, 0.468).lineTo(0.191, 0.468).lineTo(0.191, 0.323).lineTo(0.129,...
20
194
0.233541
train_50c2e861f4167128
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.873, -0.008, 0.393), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.607, 0.567).lineTo(0.607, -0.162).lineTo(-0.114, -0.162).lineTo(-0.114, -0.198).lineTo(0.081, -0.198).lineTo(0.081, -0.39).lineTo(-0.284, -0.39).lineTo(-0.284, -0.198).lineTo(-0.2...
12
110
1.148573
train_017d78343ea36657
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.488, 0.856).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.18, 0.052, 0.378), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.574, 0.294).extrude(0.638)) result = result.cut(cq.Workpl...
11
105
1.920653
train_1ff22bb1f32d38a3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.137, 0, 0.001), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.795, 0.117).lineTo(-0.816, 0.117).lineTo(-0.806, -0.039).lineTo(-0.806, -0.117).lineTo(-0.795, -0.117).lineTo(-0.795, -0.039).lineTo(0.816, -0.039).lineTo(-0.795, 0.117).close().work...
3
37
0.016124
train_63ed89f83bd60c00
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.007, 0.015, -0.077), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.044, 0.357).lineTo(-0.044, 0.357).lineTo(-0.044, -0.185).lineTo(0.044, -0.185).lineTo(0.044, 0.357).close().extrude(0.097) result = result.edges().chamfer(0.024) result = result.u...
8
116
0.106892
train_e739ec4d72698684
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 0, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.619).workplane(offset=0.408).circle(0.593).workplane(offset=0.299).circle(0.567).workplane(offset=0.319).circle(0.54).workplane(offset=0.312).circle(0.514).workplane(offset=0.356).circle(0.488...
11
38
1.440078
train_535e48a23828c3cd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.287, 0.206, 0.14), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.06, -0.005).lineTo(-0.06, 0.016).lineTo(-0.071, 0.016).lineTo(-0.071, 0.125).lineTo(-0.049, 0.125).lineTo(-0.049, 0.016).lineTo(0.06, 0.016).threePointArc((0.071, 0.005), (0.06, -0...
12
73
0.19346
train_5ba20719f5911d83
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.048, -0.015, -0.206), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.258, 0.788).extrude(0.412) result = result.faces('>Z').shell(-0.03) result = result.union(cq.Workplane(cq.Plane(origin=(0.101, -0.526, -0.165), normal=(0, 0, 1), xDir=(1, 0, 0))).c...
6
32
0.166124
train_897d2dc81b6f7395
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.407, -0.068, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.176, 0.249).extrude(0.186) result = result.union(cq.Workplane(cq.Plane(origin=(-0.584, 0.01, -0.033), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.062, 0.486).lineTo(0.062, 0.602)....
8
65
0.041295
train_947e780ddd23e5a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.448), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.753, 2).extrude(0.814) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.123, 0.3, 0.059), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.108).extrude(0.079)) result = result.edges().chamfer...
11
68
2.761367
train_a1743b272686c66e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.284, 0.196), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.103).workplane(offset=0.189).circle(0.084).workplane(offset=0.245).circle(0.092).workplane(offset=0.24).circle(0.096).workplane(offset=0.253).circle(0.122).workplane(offset=0.269).cir...
3
14
0.06144
train_64bd4c3444a5ea24
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.097, 0, 0.844), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.678, -0.283).threePointArc((0.9, -0.094), (0.751, 0.158)).threePointArc((0, 0.283), (-0.751, 0.158)).threePointArc((-0.9, -0.094), (-0.678, -0.283)).lineTo(0, -0.283).lineTo(0.678, -0....
9
38
1.254716
train_1b8323d0fb3eda08
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.064, 0.159, 0.201), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.038, 0.085).threePointArc((-0.001, 0.099), (0.036, 0.085)).lineTo(0.137, 0.143).threePointArc((0.161, 0.137), (0.155, 0.113)).lineTo(0.054, 0.055).threePointArc((0.047, 0.016), (0...
19
152
0.056172
train_dffd588c6669d28c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.142, -0.647, -0.396), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.089, 0.317).lineTo(0.075, 0.315).lineTo(0.084, 0.083).lineTo(0.312, 0.088).lineTo(0.302, -0.083).lineTo(0.084, -0.087).lineTo(0.087, -0.305).lineTo(-0.08, -0.309).lineTo(-0.086,...
13
147
0.310861
train_a48d9f716dd37564
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.51), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.906, 0.661).extrude(0.488) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, -0.032), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.256).extrude(0.182)) result = result.union(cq.Workpla...
13
148
0.373761
train_7875d0ddbb74fd4c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.651, -0.6, 0.624), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.01, 0.172).lineTo(0.01, 0.305).lineTo(-0.009, 0.305).lineTo(-0.009, 0.172).lineTo(-0.166, 0.107).lineTo(-0.171, 0.098).lineTo(-0.232, -0.05).lineTo(-0.349, -0.05).lineTo(-0.349, -0...
1
30
0.226064
train_673588a82c1dd5ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.159, 0.123, -0.186), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.046, -0.215).lineTo(-0.116, -0.215).lineTo(-0.16, -0.168).lineTo(-0.11, -0.081).lineTo(0.01, 0.128).lineTo(0.061, 0.215).lineTo(0.131, 0.215).lineTo(0.16, 0.184).lineTo(0.088, 0....
8
93
0.071284
train_412e4cd7ea9a07a3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 0, -0.004), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.194).workplane(offset=0.523).circle(0.167).workplane(offset=0.538).circle(0.24).workplane(offset=0.499).circle(0.158).workplane(offset=0.439).circle(0.183).loft() result = result.cut(cq.W...
6
26
0.129185
train_59037009ee114c49
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.151, 0.278, -0.354), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.698, 0.594).extrude(0.499) result = result.union(cq.Workplane(cq.Plane(origin=(-0.84, 0.147, -0.267), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.32, 0.166).extrude(0.184)) result = re...
12
92
0.801146
train_040552956bbdb568
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.061, -0.198, -0.01), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-1.022, 0.58).lineTo(1.022, 0.056).lineTo(0.455, 2.088).lineTo(-1.022, 0.58).close().extrude(0.466) result = result.edges().chamfer(0.046) result = result.union(cq.Workplane(cq.Plan...
22
87
0.667222
train_e26189a134d9ec66
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1.064, -0.232), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.789, 1.643).threePointArc((-0.327, 0.527), (0.789, 0.064)).lineTo(0.789, 0.208).threePointArc((-0.174, 0.578), (-0.639, 1.499)).lineTo(0.61, 1.499).lineTo(0.61, 1.643).lineTo(-0.646,...
3
16
0.258169
train_246e25448ddef002
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.495, 0.448, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.636, 0.286).threePointArc((-0.031, -0.286), (0.636, 0.213)).threePointArc((0.636, 0.223), (0.629, 0.232)).threePointArc((0.615, 0.244), (0.602, 0.258)).threePointArc((0.584, 0.265), (0...
1
8
0.211084
train_be11b67a3a8203c4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.496, -0.294, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.562, 0.933).threePointArc((-1, 0.496), (-0.562, 0.058)).lineTo(0.562, 0.058).threePointArc((1, 0.496), (0.562, 0.933)).lineTo(-0.562, 0.933).close().extrude(0.589) result = result.ed...
14
104
0.789659
train_1982588719b87bbe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.471, -0.063, -0.296), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.157).sweep(cq.Workplane('XY').spline([(0.181, -0.063), (0.576, -0.063), (0.97, -0.063), (1.227, -0.299), (1.483, -0.535)])) result = result.edges().chamfer(0.07) result = result...
11
62
0.344379
train_50ef26dd2c6c1158
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.084, 0.183, -0.43), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.65, 1.635).extrude(0.86) result = result.union(cq.Workplane(cq.Plane(origin=(0.322, 0.506, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.087).extrude(0.38)) result = result.cu...
5
69
0.968682
train_4f4af271db93e28e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, -0.022, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.601, 0.307).lineTo(0.335, 0.307).lineTo(0.601, -0.307).lineTo(-0.601, -0.307).lineTo(-0.601, 0.307).close().sweep(cq.Workplane('XY').spline([(0, -0.324), (0.5, -0.297), (1, -0.022), (1....
9
26
0.952449
train_45e7546d888300d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.465, 0, -0.102), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.385).workplane(offset=0.802).circle(0.647).workplane(offset=0.663).circle(0.514).loft() result = result.edges().fillet(0.25) result = result.union(cq.Workplane(cq.Plane(origin=(0.708,...
11
53
0.829666
train_e86d4e279a8cad85
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.06, 0.416), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.807, 0.303).lineTo(0.978, 0.303).lineTo(0.978, 0.188).lineTo(0.058, 0.188).lineTo(0.058, -0.419).lineTo(-0.058, -0.419).lineTo(-0.058, 0.188).lineTo(-0.807, 0.188).lineTo(-0.978, 0.303)....
3
22
0.500859
train_dfd286e447e1d1e4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.42, 0, 0.365), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.687).sweep(cq.Workplane('XZ').spline([(-0.42, 0.365), (-0.175, 0.046), (0.071, -0.113), (0.316, -0.113), (0.562, 0.046), (0.808, 0.365)])) result = result.edges().chamfer(0.232) result...
8
43
1.593043
train_0a81aca5b382aff3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.501, -0.669, 0.001), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.285, -0.109).threePointArc((-0.281, -0.118), (-0.272, -0.122)).threePointArc((-0.258, -0.211), (-0.284, -0.298)).threePointArc((-0.271, -0.331), (-0.242, -0.31)).lineTo(0.239, -0....
2
32
0.205078
train_d88a69f1b1f9898e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.542, -0.263, 0.503), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.542, 0.648).lineTo(0.542, -0.122).lineTo(-0.542, -0.122).lineTo(-0.049, 0.37).lineTo(-0.049, 0.648).lineTo(0.542, 0.648).close().revolve(angleDegrees=180, axisStart=(0.542, 0.648)...
8
50
0.613689
train_cd76233c8d0eb484
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.726, -0.738, 0.274), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.274, -0.042).lineTo(-0.274, 0.734).lineTo(-0.19, 0.734).lineTo(-0.145, 0.765).threePointArc((0.274, 0.346), (-0.145, -0.074)).lineTo(-0.19, -0.042).lineTo(-0.274, -0.042).close()....
4
29
1.02645
train_9c018fb47f1d1ee1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.052, -0.025), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.706, 0.173).lineTo(0.725, 0.173).lineTo(0.725, -0.035).lineTo(-0.715, -0.035).lineTo(-0.715, -0.172).lineTo(-0.725, 0.173).lineTo(-0.706, 0.173).close().sweep(cq.Workplane('XY').spli...
11
83
0.187485
train_9e0e01fb46626ad2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.508, -0.847, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, -0.153).threePointArc((0.495, 0.052), (0.7, 0.547)).threePointArc((0.635, 0.842), (0.453, 1.08)).threePointArc((0.274, 1.316), (0.21, 1.605)).lineTo(0.21, 1.815).lineTo(0.21, 1.847)....
3
13
2.341799
train_3d355a746afbe361
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.694, 0, 0.131), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.007, 0.232).lineTo(-0.125, 0.232).lineTo(-0.125, 0.13).lineTo(-0.227, 0.13).lineTo(-0.227, -0.039).threePointArc((-0.213, -0.045), (-0.207, -0.059)).lineTo(-0.125, -0.059).lineTo(-0.0...
22
151
0.094949
train_ebc4b4fa9bcceb89
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.357, 0.272, -0.125), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.329, 1.109).lineTo(0.329, 0.96).threePointArc((0, -0.727), (-0.329, 0.96)).lineTo(-0.329, 1.109).lineTo(0, 1.109).lineTo(0.329, 1.109).close().extrude(0.714) result = result.edges...
15
75
1.705783
train_459200b2410c4387
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.168, -0.148, -0.474), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.277, 1.206).extrude(0.195) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.168 + 0.054 * math.cos(1.704 + 2 * math.pi * 0 / 6), -0.05 + 0.054 * math.sin(1.704 + 2 * math.pi * ...
15
39
0.324174
train_0ac3c9bae245059b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.212, 0.443, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.4, 0.446).threePointArc((-0.344, 0.138), (0.147, -0.502)).threePointArc((0.282, -0.505), (0.417, -0.514)).threePointArc((-0.439, 0.02), (0.439, 0.514)).lineTo(0.4, 0.446).close().sweep...
16
97
0.622361
train_5e4daf6c687a63fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.831, 0.058, 0.266), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.296, 0.331).threePointArc((0.489, 0.518), (0.578, 0.772)).lineTo(0.734, 0.772).lineTo(0.734, 0.891).lineTo(0.578, 0.891).threePointArc((0.53, 1.07), (0.427, 1.226)).threePointArc((...
9
53
0.025632
train_dd2c55687785bed6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.081), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.87, 2).extrude(0.166) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.131, -0.109, 0.027), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2.244, 0.259).extrude(0.032)) result = result.union(cq...
13
86
0.501837
train_7c644c830f0ff10f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.897, 0.641, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.386, 1.936).threePointArc((0.386, 0.698), (-0.386, -0.54)).lineTo(-0.386, 1.936).close().extrude(1.641) result = result.edges().fillet(0.361) result = result.cut(cq.Workplane(cq.Plane...
10
33
1.336553
train_cc48d72c279a1df0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.179, -0.461, -0.644), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.425, -0.322).lineTo(0.821, 0.372).lineTo(0.821, 1.216).threePointArc((0.762, 1.26), (0.718, 1.319)).lineTo(-0.126, 1.319).lineTo(-0.821, 0.073).lineTo(-0.425, -0.322).close().re...
3
17
0.556641
train_a6ad44f37e91fdbb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.549, 0.356, -0.199), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.871, 0.827).extrude(0.155) result = result.union(cq.Workplane(cq.Plane(origin=(0.6, 0.356, -0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.799, 0.629).extrude(0.029)) result = res...
13
166
0.667421
train_6761062e6d10f3b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.572, -0.033, 0.018), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(1.042, 0.53).threePointArc((0, -0.511), (-1.042, 0.53)).lineTo(1.042, 0.53).close().revolve(angleDegrees=270, axisStart=(-1.042, 0.53), axisEnd=(1.042, 0.53)) result = result.edges(...
7
28
1.676854
train_dbe6ef34027e363d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.159, -0.292), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.069, 0.159).lineTo(-0.069, 0.271).lineTo(0.063, 0.271).threePointArc((0.068, 0.215), (0.069, 0.159)).threePointArc((0.068, 0.103), (0.063, 0.047)).lineTo(-0.069, 0.047).lineTo(-0.069,...
15
81
0.042149
train_5b623226b5ef0f21
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.006, 0.004, -0.233), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.887, -1.004).lineTo(0.908, -0.988).lineTo(0.903, 0.983).lineTo(-0.895, 0.996).close().moveTo(0.224, -0.001).lineTo(0.155, 0.159).lineTo(0.002, 0.223).lineTo(-0.155, 0.159).lineTo...
11
113
1.086032
train_d832644666ba1b18
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.163), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.67, 2).extrude(0.327) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.163, -1.463), normal=(0, 1, 0), xDir=(1, 0, 0))).circle(0.064).extrude(0.735)) result = result.cut(cq.Workplane(c...
14
60
0.604343
train_aeb755baf47cb162
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.755, 0.537, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.029, -0.463).lineTo(-0.029, -0.039).lineTo(-0.607, -0.039).lineTo(-0.607, 0.203).lineTo(-0.029, 0.203).lineTo(-0.029, 1.355).lineTo(0.032, 1.355).lineTo(0.032, 1.537).lineTo(0.607, 1....
2
21
0.686049
train_77b78b3ac84dc2b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.053, -0.273, 0.312), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.113, 0.149).extrude(0.125) result = result.union(cq.Workplane(cq.Plane(origin=(-0.054, -0.272, 0.343), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.055).extrude(0.064)) result = resul...
6
53
0.071877
train_a5a81661fa37eb16
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.043, -0.119), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.801, 1.915).extrude(0.026) result = result.union(cq.Workplane(cq.Plane(origin=(-0.199, 0.096, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.672, 1.808).extrude(0.02)) result = resu...
10
58
0.162083
train_d667521d3208a19d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.056, -0.585, -0.053), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.354, 0.342).lineTo(0.354, -0.342).lineTo(-0.354, -0.342).lineTo(-0.354, 0.296).lineTo(-0.342, 0.296).threePointArc((-0.301, 0.313), (-0.261, 0.296)).lineTo(-0.221, 0.296).lineTo(...
8
50
0.473698
train_10051d9158ff72df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.702, -0.11, -0.317), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.095).sweep(cq.Workplane('XY').spline([(-0.594, -0.11), (-0.559, -0.14), (-0.523, -0.157), (-0.487, -0.163), (-0.451, -0.157), (-0.415, -0.14), (-0.38, -0.11)])) result = result.e...
7
165
0.099971
train_d9f392dfe34b8ed0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.021, -1.212, -0.534), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1.021, 1.233).threePointArc((0, 0.212), (1.021, 1.233)).lineTo(0, 1.233).lineTo(0, 2.253).threePointArc((-0.213, 2.23), (-0.418, 2.163)).threePointArc((-0.673, 2), (-0.868, 1.769))...
6
39
1.875512
train_7768719cfbc4a7f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.106, -0.025, -0.041), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.032, -0.032).lineTo(-0.032, -0.894).lineTo(0.032, -0.894).lineTo(0.032, 0.994).lineTo(-0.032, 0.994).lineTo(-0.032, -0.032).close().extrude(0.064) result = result.edges().chamfe...
11
116
0.047449
train_e585bfb9c802fd60
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.712), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.282).workplane(offset=0.221).circle(0.244).workplane(offset=0.219).circle(0.237).workplane(offset=0.195).circle(0.198).workplane(offset=0.21).circle(0.216).workplane(offset=0.212).circle(0...
18
184
0.161241
train_135e27e55b47c969
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.004, -0.03, 0.313), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.254, 0.644).lineTo(0.254, 0.644).threePointArc((0.238, 0.603), (0.224, 0.559)).lineTo(0.077, -0.644).lineTo(-0.254, -0.644).lineTo(-0.254, 0.644).close().extrude(0.518) result = r...
16
173
0.239628
train_e65f8eacf3d3e01a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.087, 0.137, -0.057), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.128, -0.109).threePointArc((-0.121, -0.121), (-0.109, -0.128)).threePointArc((0, -0.168), (0.109, -0.128)).threePointArc((0.083, -0.083), (0.128, -0.109)).threePointArc((0.168, 0)...
10
67
0.197197
train_943410e598a03315
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.041, -0.85, -0.887), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.412, 0.833).lineTo(-0.412, 0.341).threePointArc((-0.043, -0.15), (0.325, 0.341)).lineTo(0.325, 0.397).threePointArc((0.347, 0.618), (0.412, 0.833)).lineTo(0.325, 0.833).lineTo(-0....
6
47
1.213551
train_8cc7b5859436dd03
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.959, -0.187, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.181, -0.21).lineTo(-0.181, -0.391).lineTo(0.181, -0.391).lineTo(0.181, -0.21).lineTo(0.202, -0.21).threePointArc((0.197, -0.164), (0.181, -0.12)).lineTo(0.181, -0.054).threePointArc...
8
36
1.204566
train_74889f0a82fcabcc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.117, 0.822, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.892, -0.271).threePointArc((-0.707, -0.532), (-0.447, -0.716)).threePointArc((-0.251, -0.784), (-0.045, -0.806)).threePointArc((0.892, 0.131), (-0.045, 1.067)).threePointArc((-0.546, ...
16
134
1.001714
train_f08c1673bb332f44
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.695, -0.333, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.291, 0.037).lineTo(0.304, 0.049).lineTo(0.021, 0.332).lineTo(0.306, 0.616).lineTo(0.294, 0.629).lineTo(0.009, 0.344).lineTo(-0.003, 0.357).lineTo(-0.306, 0.054).lineTo(-0.294, 0.041)....
3
32
0.110086
train_6b1c6eb2ffd0c18a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.516, -0.758, -0.242), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.758, 0.086).lineTo(-0.758, -0.142).lineTo(0.227, -0.142).lineTo(0.227, 0.294).threePointArc((0.283, 0.428), (0.417, 0.484)).lineTo(0.455, 0.484).lineTo(0.455, 0.427).lineTo(0.75...
5
44
0.558124
train_07766cc536711598
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.216), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.191).extrude(0.874) result = result.faces('>Z').shell(-0.097) result = result.union(cq.Workplane(cq.Plane(origin=(-0.014, -0.587, 0.278), normal=(0, 1, 0), xDir=(0, 0, 1))).lineTo(0.228, ...
4
39
0.846992
train_de6f79b3d9cc0413
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.093, 0.048, -0.081), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.243, 0.243).extrude(0.192) result = result.union(cq.Workplane(cq.Plane(origin=(-0.081, 0.06, 0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.109).extrude(0.021)) result = result...
10
204
0.064988
train_d130fa8d626b8c8a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.23, -0.872, -0.186), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.595, 0.816).lineTo(-0.814, 0.816).lineTo(-0.814, -0.356).lineTo(0.814, -0.356).lineTo(0.814, 0.816).lineTo(0.595, 0.816).close().extrude(1.744) result = result.edges().fillet(0.14...
6
40
3.225913
train_9dc99980ecf5a408
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.216, -0.115, 0.308), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.138, 0.126).threePointArc((-0.163, 0.083), (-0.138, 0.041)).lineTo(0.07, -0.079).threePointArc((0.112, -0.083), (0.141, -0.052)).threePointArc((0.163, 0.083), (0.141, 0.219)).thre...
27
283
0.128578
train_6a7bd947d46f6ee6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.142, -0.082, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.127, 0.979).threePointArc((0, 0.988), (-0.127, 0.979)).threePointArc((-0.191, 0.967), (-0.253, 0.951)).lineTo(-0.253, 1.069).threePointArc((0, -0.898), (0.253, 1.069)).lineTo(0.253, 0...
6
48
0.850395
train_f2b82a7f08cbe40f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.054, 0.578, -0.275), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.725, 0.741).lineTo(-0.725, -0.632).lineTo(-0.157, -0.632).lineTo(-0.157, -0.553).lineTo(0.078, -0.553).lineTo(0.078, -0.632).lineTo(0.647, -0.632).lineTo(0.647, -0.063).lineTo(0....
8
65
1.857868
train_cdf5c16cfeb6d570
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.074, 0.288, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.507, 1.092).extrude(1.494) result = result.union(cq.Workplane(cq.Plane(origin=(-0.112, 0.19, 0.756), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.244, -0.675).lineTo(0.056, -0.716).lineT...
7
52
2.681417
train_480733c5c10cb6df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.037, -0.157, -0.383), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.022, -0.05).lineTo(0.047, 0.044).lineTo(0.022, 0.051).lineTo(-0.047, 0.069).lineTo(0.022, -0.05).close().extrude(0.088) result = result.edges().chamfer(0.002) result = result.cut...
18
204
0.48261
train_014ed5c67e9ba57d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.226, 0, -0.56), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.548, 1.843).extrude(1.12) result = result.union(cq.Workplane(cq.Plane(origin=(0.765, 0.162, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.471, 0.338).extrude(0.174)) result = result...
6
89
2.76229
train_92e04db2886ee31d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.017, -0.171, 0.033), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.906, 0.014).lineTo(0.489, 0.811).lineTo(-0.444, 0.832).lineTo(-0.941, 0.015).lineTo(-0.47, -0.823).lineTo(0.441, -0.829).close().moveTo(-0.31, -0.213).lineTo(0.313, -0.211).lineTo(...
7
40
0.460987
train_78607161337c5509
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.503), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.87, 2).extrude(1.005) result = result.cut(cq.Workplane(cq.Plane(origin=(0.159, -0.14, -0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.05, 2.4).extrude(0.037)) result = result.cut(cq.Workp...
20
31
1.572787
train_f77a702b7726b121
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.039, 0.056, -0.332), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.183, 0.582).extrude(0.665) result = result.faces('>Z').shell(-0.069) result = result.union(cq.Workplane(cq.Plane(origin=(0.08, -0.285, -0.219), normal=(0, 0, 1), xDir=(1, 0, 0))).cir...
7
118
0.19538
train_b353de76b3910792
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.112, 0.261), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.433, 0.718).threePointArc((-0.298, 0.731), (-0.164, 0.718)).threePointArc((0.433, 0), (-0.164, -0.718)).threePointArc((-0.298, -0.731), (-0.433, -0.718)).lineTo(-0.298, 0).lineTo(-0....
9
80
1.820582
train_a0926c4fe8916bfc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.122), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(1.007, -0.891).lineTo(-0.788, -0.891).lineTo(-1.007, 0.891).lineTo(0.788, 0.891).lineTo(1.007, -0.891).close().extrude(0.122) result = result.edges().chamfer(0.054) result = result.union(cq...
4
45
0.378172
train_ccc2678872aca615
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.82, 0.287, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.925, 0.968).lineTo(0.084, 0.968).threePointArc((0.925, 0.128), (0.084, -0.713)).lineTo(-0.925, -0.713).lineTo(-0.925, 0.968).close().extrude(1.64) result = result.cut(cq.Workplane(cq.P...
24
177
4.002682
train_d1f4956498d784ac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.073, 0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.736, 1.289).extrude(0.822) result = result.faces('>Z').shell(-0.031) result = result.union(cq.Workplane(cq.Plane(origin=(0.116, -0.032, -0.023), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(...
13
110
0.287838
train_afb1eb024b3bef94
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.207, 0.98, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.4).sweep(cq.Workplane('XY').spline([(0.207, 0.578), (0.4, 0.748), (0.593, 0.85), (0.786, 0.884), (0.979, 0.85), (1.172, 0.748), (1.365, 0.578)])) result = result.cut(cq.Workplane(cq.Plan...
3
22
0.386723
train_1f1d6159440dbf52
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.703, -0.588, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-1, 0.06).lineTo(-1, 0.274).threePointArc((-0.957, 0.53), (-0.834, 0.758)).threePointArc((-0.559, 0.981), (-0.214, 1.06)).lineTo(-0.143, 1.06).lineTo(-0.143, 1.346).lineTo(1, 1.346).lin...
29
131
1.533067
train_e74a2a26ef7b637e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.211, -0.755, 0.492), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.157, 0.423).lineTo(0, 0.423).lineTo(0, 0.131).lineTo(0.337, 0.131).lineTo(0.337, -0.026).lineTo(-0.337, -0.026).lineTo(-0.337, 0.423).lineTo(-0.157, 0.423).close().revolve(angle...
12
170
0.193082
train_0cbf072a3eedaf3f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.346, -0.009, 0.309), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.346, -0.044).lineTo(-0.346, 0.044).lineTo(0.346, 0.044).lineTo(0.346, -0.044).lineTo(-0.346, -0.044).close().revolve(angleDegrees=270, axisStart=(-0.346, -0.044), axisEnd=(-0.346...
8
51
0.065977
train_815073004de6b498
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.141, 0.356, -0.214), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.004, -0.015).lineTo(0.022, -0.015).lineTo(0.03, -0.007).lineTo(0.007, 0.015).lineTo(0.004, 0.011).lineTo(-0.001, 0.006).lineTo(-0.019, -0.011).lineTo(-0.022, -0.007).lineTo(-0.03,...
9
90
0.155629
train_21da1a33c1bb6f9c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.004, 0.312, 0.021), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.079, 1.772).threePointArc((-0.247, 1.841), (-0.572, 1.772)).lineTo(-0.572, 1.224).lineTo(-1.046, 0.95).threePointArc((-0.943, 0.633), (-0.72, 0.385)).threePointArc((-0.247, 0.23), ...
6
71
1.77071