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_abc29d122fa94521
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.082, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, -0.355).lineTo(-0.437, -0.355).lineTo(-0.437, 0.082).lineTo(-0.873, 0.518).lineTo(0, 0.518).lineTo(0.873, -0.355).lineTo(0, -0.355).close().extrude(1.97) result = result.edges().fillet(0....
14
107
0.94707
train_29c4b1ec073e7070
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.123, -0.013, -0.077), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.055, 0.096).extrude(0.08) result = result.union(cq.Workplane(cq.Plane(origin=(-0.108, 0.002, -0.01), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.015, 0.019).extrude(0.166)) result = ...
8
110
0.015991
train_47ef59a8f36f2722
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.242, 0.19, -0.303), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.958, 0.883).extrude(0.506) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.007, 0.065, -0.038), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.228).extrude(0.089)) result = result.c...
33
104
0.733529
train_0076680308052829
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.096, -0.333, -0.063), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.016, 0.01).lineTo(0.055, -0.029).threePointArc((0.016, -0.045), (-0.023, -0.029)).lineTo(-0.052, 0).threePointArc((-0.055, 0.006), (-0.052, 0.012)).lineTo(-0.019, 0.045).lineTo(...
26
220
0.025341
train_e04a64eb43e9d98d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.078, 0, -0.104), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.5).sweep(cq.Workplane('XZ').spline([(0.406, -0.986), (0.5, -0.979), (0.593, -0.943), (0.687, -0.802), (0.781, -0.55), (0.874, -0.409), (0.968, -0.373), (1.062, -0.366)])) result = res...
4
16
0.782816
train_9aed7801b2e11115
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.119, 0, 0.019), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.004, 0.004).lineTo(-0.004, -0.004).lineTo(-0.003, -0.004).lineTo(0.004, -0.004).lineTo(0.004, 0.004).lineTo(0.003, 0.004).lineTo(-0.004, 0.004).close().sweep(cq.Workplane('XY').spline(...
6
138
0.01528
train_07add7a557399b24
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.549, -0.061, -0.561), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.902, 0.902).extrude(1.158) result = result.faces('>Z').shell(-0.052) result = result.union(cq.Workplane(cq.Plane(origin=(-0.425, -0.015, 0.59), normal=(0, 0, 1), xDir=(1, 0, 0))).c...
6
53
0.81362
train_904c6d21ad853e1a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.065, 0.124, -0.34), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.224, 1.161).extrude(0.682) result = result.union(cq.Workplane(cq.Plane(origin=(0.065, 0.124, -0.504), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.785, 0.711).extrude(0.169)) result = re...
23
168
0.928412
train_eb719a1c2bee8261
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.163, 0, -0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.467, 0.646).extrude(0.202) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.187, -0.045, -0.035), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.074, 0.775).extrude(0.064)) result = result...
20
115
0.081019
train_be7a883d20d0e1c4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.195, -0.387, -0.04), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.077, 0.521).extrude(0.141) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.27, -0.416, 0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.093).extrude(0.014)) result = result....
20
115
0.134315
train_08806bca012f07da
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.014, 0, 0.858), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.195, 0.07).lineTo(0.195, -0.395).threePointArc((-0.109, -0.254), (-0.195, 0.07)).threePointArc((-0.059, 0.303), (0.195, 0.395)).lineTo(0.195, 0.07).close().extrude(1.858) result = res...
14
125
0.430964
train_7859cf4ae3d694e8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.012, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, -0.504).lineTo(0.069, -0.156).lineTo(0.071, -0.147).lineTo(0.084, -0.084).lineTo(0.029, -0.029).lineTo(0.055, 0.075).lineTo(0.096, -0.023).lineTo(0.147, -0.147).lineTo(0.14, -0.165).lineT...
7
58
0.13894
train_a258719594cdd622
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.321, 0.094, -0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.865, 0.722).extrude(0.07) result = result.union(cq.Workplane(cq.Plane(origin=(0.364, -0.195, -0.1), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.343, 0.15).threePointArc((0.372, 0.19...
7
80
0.464944
train_81fed9d17809d7af
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.032, -0.304), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.317, 0.454).lineTo(0.317, 1.008).threePointArc((0, -0.94), (-0.317, 1.008)).lineTo(-0.317, 0.454).lineTo(0.317, 0.454).close().extrude(0.478) result = result.edges().chamfer(0.013) re...
5
47
1.244717
train_4ec651c6e5a55673
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.405, -0.071), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.556, 1.19).extrude(0.83) result = result.cut(cq.Workplane(cq.Plane(origin=(0.173, -0.488, 0.257), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.526, 1.428).extrude(0.158)) result = result.e...
21
362
1.702046
train_d2d64bf375b16525
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.387, 0.051, -0.447), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.453, 0.278).lineTo(-0.453, -0.175).lineTo(0.453, -0.175).lineTo(0.453, 0.278).lineTo(-0.453, 0.278).close().extrude(1.075) result = result.edges().chamfer(0.181) result = result....
4
39
0.317238
train_815093f7afe99159
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.03, -0.475, -0.967), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.925, 0.674).threePointArc((-0.801, 1.137), (-0.462, 1.475)).lineTo(0.462, 1.475).lineTo(0.925, 0.674).lineTo(0.462, -0.127).threePointArc((0, -0.252), (-0.462, -0.127)).lineTo(-0....
6
44
4.133006
train_8119e65423f81aec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.767), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.656, 0.941).extrude(0.693) result = result.union(cq.Workplane(cq.Plane(origin=(-0.263 + 0.0875, 0, -0.074), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.055).extrude(0.15)) result = result.un...
18
44
0.605902
train_7db8516ebc0ad814
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.218, -0.346), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 0.979).extrude(0.692) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.046, 0.424, -0.367), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.732, 0.152).extrude(0.831)) result = result.cut...
11
25
1.261992
train_2974174b353332f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.792), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.267).extrude(1.335) result = result.union(cq.Workplane(cq.Plane(origin=(0.023, -0.227, 0.534), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.26).extrude(0.258)) result = result.cut(cq.Workp...
4
13
3.291826
train_1782b5005aa461d7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.162, 0.748, -0.081), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.091, 0.444).lineTo(0.091, 0.718).lineTo(-0.548, 0.718).lineTo(0.548, -0.469).lineTo(0.548, 0.444).lineTo(0.091, 0.444).close().extrude(1.159) result = result.edges().chamfer(0.103...
11
82
0.586839
train_46ca8b96bfff5955
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.927, -0.082, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.354).workplane(offset=0.141).circle(0.292).workplane(offset=0.148).circle(0.23).workplane(offset=0.14).circle(0.168).loft() result = result.edges().chamfer(0.041) result = result.unio...
10
49
0.155337
train_493c73d9235d6d40
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.006, 0.185, -0.782), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.218, -0.177).threePointArc((0.066, 0.085), (-0.218, 0.189)).lineTo(-0.218, -0.177).lineTo(0.218, -0.177).close().extrude(0.37) result = result.edges().chamfer(0.012) result = resu...
4
111
0.057059
train_d113b1abe5d9c614
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.765), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.848, 2).extrude(1.53) result = result.cut(cq.Workplane(cq.Plane(origin=(0.396, -0.113, -1.026), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.366, 0.252).extrude(1.837)) result = result.cut(cq.W...
3
12
5.34736
train_bdc9b70fec577e09
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.061, -0.263, -0.735), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.221, -0.248).threePointArc((-0.252, -0.235), (-0.265, -0.205)).lineTo(-0.265, -0.123).lineTo(-0.265, 0.156).lineTo(-0.265, 0.238).threePointArc((-0.264, 0.246), (-0.262, 0.253))...
22
116
0.122808
train_9f4050301790c806
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.301), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.98).extrude(0.602) result = result.cut(cq.Workplane(cq.Plane(origin=(0.315, -0.219, -0.116), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.486, 0.361).lineTo(0.347, 0.361).lineTo(0.347, 0....
35
112
1.802232
train_b4c7f7a9f3cb34b7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.532, -0.392, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.557, 1.392).lineTo(-0.557, -0.278).lineTo(0.495, -0.644).lineTo(0.557, -0.278).lineTo(0.557, 1.392).lineTo(-0.557, 1.392).close().extrude(1.064) result = result.edges().chamfer(0.108...
11
46
2.011032
train_974d51465011df5b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.145, -0.105, 0.275), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.107, 0.216).lineTo(-0.107, 0.063).threePointArc((0.02, -0.064), (-0.107, -0.191)).lineTo(-0.107, -0.216).threePointArc((-0.02, -0.188), (0.036, -0.115)).lineTo(0.107, 0.084).line...
18
222
0.354768
train_39fa15a860940f10
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.218), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.5).extrude(0.436) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.14, 0.435, -0.001), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.046).extrude(0.016)) result = result.cut(cq.Workplan...
5
18
1.260193
train_c5d25591864eee96
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.531), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.414, 1).lineTo(-0.932, 0.482).lineTo(-1, 0.414).lineTo(-1, -0.414).lineTo(-0.482, -0.932).lineTo(-0.414, -1).lineTo(0.414, -1).lineTo(0.932, -0.482).lineTo(1, -0.414).lineTo(1, 0.414).lin...
14
116
3.038183
train_e581aaec70c80e78
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.345, -0.835, -0.073), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.42, 0.94).lineTo(0.42, -0.182).lineTo(-0.42, -0.182).lineTo(-0.42, 0.94).lineTo(0.42, 0.94).close().extrude(1.603) result = result.edges().fillet(0.146) result = result.union(cq....
11
81
0.534972
train_335b2f7c4535264c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.25, 0.271, 0.072), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.342, -0.596).lineTo(0.342, -0.596).lineTo(0.342, 0.271).threePointArc((0.259, 0.652), (0.027, 0.965)).lineTo(-0.088, 1.019).lineTo(-0.342, 1.138).lineTo(-0.342, 1.019).lineTo(-0.34...
6
38
0.920615
train_6352a4039886e5e1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.242, 0, 0.333), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.81).workplane(offset=0.12).circle(0.767).workplane(offset=0.115).circle(0.725).workplane(offset=0.106).circle(0.682).workplane(offset=0.141).circle(0.64).workplane(offset=0.147).circle...
16
62
0.831777
train_88d94b867a4f7b6c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.41, -0.069, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.334, 0.434).threePointArc((-0.436, 0.479), (-0.539, 0.434)).threePointArc((-0.488, 0.279), (-0.641, 0.228)).lineTo(-0.641, 0.166).threePointArc((-0.637, 0.134), (-0.641, 0.103)).line...
2
13
1.17291
train_d296c89ef0543f98
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.309, 0, 0.018), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.381, 1.974).extrude(0.473) result = result.union(cq.Workplane(cq.Plane(origin=(-0.24, 0.099, 0.488), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.622).extrude(0.072)) result = result.unio...
9
50
1.734731
train_a7b2b28ed52786ca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.113, 0.119, -0.298), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.702, 0.208).lineTo(-0.702, 0.017).lineTo(0.702, 0.017).lineTo(0.702, 0.208).lineTo(-0.702, 0.208).close().extrude(0.239) result = result.union(cq.Workplane(cq.Plane(origin=(-0.03...
3
13
0.063661
train_70314b8952464632
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.971, -0.04), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.674, 0.046).lineTo(-0.737, 0.046).lineTo(-0.737, 1.896).lineTo(0.737, 1.896).lineTo(0.737, 1.842).lineTo(0.71, 0.675).lineTo(0.674, 0.046).close().workplane(offset=0.279).moveTo(0.6, ...
3
38
2.478975
train_e1553fc9f827d404
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.337, 0.125, -0.875), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.419, 0.875).lineTo(0.553, 0.875).lineTo(0.509, 0.797).lineTo(-0.419, -0.875).lineTo(-0.553, -0.875).lineTo(0.377, 0.797).lineTo(0.419, 0.875).close().revolve(angleDegrees=90, axis...
5
28
0.299005
train_ee84770a9bf75211
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.102, -0.203), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.779, 0.374).lineTo(0.779, 0.712).lineTo(-0.779, 0.712).lineTo(-0.779, -0.509).lineTo(0.442, -0.509).lineTo(0.442, 0.374).lineTo(0.779, 0.374).close().extrude(2) result = result.edges(...
7
77
2.829718
train_83be39e9ee10d2f8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.075, 0, -0.495), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.113, 0.978).threePointArc((-0.282, 0.719), (-0.113, 0.461)).threePointArc((0, 0.437), (0.113, 0.461)).threePointArc((0.282, 0.719), (0.113, 0.978)).threePointArc((0, 1.001), (-0.113, ...
13
54
0.401044
train_5400def9958ce674
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.751, 0.167, -0.894), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.252, 0.278).extrude(0.067) result = result.union(cq.Workplane(cq.Plane(origin=(-0.74, 0.056, -0.823), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.083, -0.118).lineTo(-0.083, 0.26)...
24
313
0.837265
train_d2fac53ac9dd92ee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.723, -0.51), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.915, 1.393).lineTo(-0.923, 1.393).threePointArc((-0.977, 1.371), (-1, 1.316)).lineTo(-1, 1.308).lineTo(-1, 0.133).lineTo(-1, 0.097).threePointArc((-0.987, 0.066), (-0.956, 0.052)).line...
8
57
2.597243
train_34f1e6fc241d5b19
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.151, -0.228, 0.312), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.683, 0.961).extrude(0.688) result = result.cut(cq.Workplane(cq.Plane(origin=(0.333, -0.262, 0.709), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.335, 0.499).extrude(0.115)) result = res...
16
127
0.396332
train_621234c1f5c7c65c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.202, -0.278, 0.409), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.151, 0.076).lineTo(0.151, 0.017).lineTo(-0.151, 0.017).lineTo(-0.151, 0.076).lineTo(0.151, 0.076).close().revolve(angleDegrees=270, axisStart=(0.151, 0.076), axisEnd=(0.151, 0.017...
14
228
0.138951
train_52b063c5e364089a
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.535, 1.043).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(0.327, 0.13, 0.472), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.113).extrude(0.541)) result = result.cut(cq.Workplane(cq...
8
61
3.129957
train_aa3b23e77e722888
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.667, -0.105, 0.031), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.225, -0.256).lineTo(-0.225, 1.018).lineTo(-0.299, 1.018).lineTo(-0.299, -0.331).lineTo(0.299, -0.331).lineTo(0.299, 1.018).lineTo(0.225, 1.018).lineTo(0.225, -0.256).lineTo(-0.22...
4
82
0.826508
train_8f7fb1a7bdc0517b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.04, -0.405, -0.392), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.182, 0.875).extrude(0.541) result = result.union(cq.Workplane(cq.Plane(origin=(-0.799, -0.277, -0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.201).extrude(0.232)) result = res...
11
70
0.960427
train_5bc414c31ed7e7b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.277, 0.261, -0.112), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.335, 1.478).extrude(0.129) result = result.union(cq.Workplane(cq.Plane(origin=(-0.225, 0.199, 0.011), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.316).extrude(0.062)) result = resul...
25
193
0.191877
train_66ca0c43efb20dae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.07, -0.099, 0.136), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.378, 0.034).lineTo(0.378, -0.343).lineTo(-0.309, -0.343).lineTo(-0.309, -0.275).lineTo(-0.378, -0.343).lineTo(-0.378, 0.343).lineTo(-0.309, 0.275).lineTo(-0.309, 0.343).lineTo(0.378...
11
71
0.573694
train_6e4d5725ccfd6f85
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.633, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.001, 1.445).lineTo(0.172, 1.445).lineTo(0.172, 1.491).lineTo(-0.001, -0.304).lineTo(-0.174, -0.304).lineTo(-0.174, -0.346).lineTo(-0.174, 1.613).lineTo(-0.001, 1.613).lineTo(-0.001, 1.47...
12
137
0.506615
train_cfd1c02d309b0e74
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.651, -0.683, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.024, 1.683).lineTo(-0.024, 1).lineTo(0.659, 1).lineTo(0.659, 0.366).lineTo(-0.024, 0.366).lineTo(-0.024, -0.317).lineTo(-0.659, -0.317).lineTo(-0.659, 1.683).lineTo(-0.024, 1.683).cl...
14
62
1.475275
train_d0689e3f7102b5dd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.936, 0.415, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-1, 0.106).lineTo(-0.475, 0.106).lineTo(-0.475, 0.305).lineTo(-0.156, 0.305).lineTo(-0.156, 0.106).lineTo(1, 0.106).lineTo(1, 1.765).lineTo(-0.468, 1.765).lineTo(-0.468, 1.75).lineTo(-0....
36
73
1.247011
train_53e23dc5973f1338
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.037, -0.232, 0.147), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.174, -0.218).lineTo(-0.218, -0.174).lineTo(-0.17, -0.127).lineTo(-0.09, -0.047).lineTo(0.174, 0.218).lineTo(0.218, 0.174).lineTo(-0.047, -0.09).lineTo(-0.127, -0.17).lineTo(-0.174...
4
19
0.017026
train_963e9b689bd4e7c4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.929, 0, -0.419), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.056, -0.042).threePointArc((0, -0.066), (0.056, -0.042)).threePointArc((0.065, -0.032), (0.071, -0.02)).threePointArc((0.058, -0.006), (0.054, 0.011)).threePointArc((0, 0.066), (-0....
1
8
0.008942
train_0be8130cbc9916bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.18), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, -0.422).lineTo(-0.844, -0.422).lineTo(-0.844, 0).lineTo(-0.422, 0).lineTo(-0.422, 0.422).lineTo(0, 0.422).lineTo(0.422, 0).lineTo(0.844, 0).lineTo(0.844, -0.422).lineTo(0, -0.422).close()....
23
69
0.394692
train_d4f17627fb070e8f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.803, 0.004, -0.533), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.182, 0.197).lineTo(-0.197, 0.197).lineTo(-0.197, 0.182).lineTo(0.166, 0.182).lineTo(0.163, 0.179).lineTo(-0.197, -0.182).lineTo(-0.182, -0.197).lineTo(0.179, 0.163).lineTo(0.182,...
4
58
0.143275
train_8e8329ac65384c80
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.082, -0.676), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.031, -0.008).lineTo(0.021, -0.008).threePointArc((0, 0.005), (-0.021, -0.008)).lineTo(-0.031, -0.008).lineTo(-0.031, 0.008).lineTo(0.031, 0.008).lineTo(0.031, -0.008).close().sweep(c...
5
18
0.000408
train_f2fe8c45ae176020
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.262, 0.112, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-1.007, 0.229).threePointArc((-0.938, 0.062), (-0.772, -0.007)).lineTo(0.772, -0.007).threePointArc((0.938, 0.062), (1.007, 0.229)).lineTo(1.007, 0.295).threePointArc((0.938, 0.461), (0....
1
10
0.082572
train_c6a28a8f14640fe5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.12, -0.096), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.013, 1.12).threePointArc((0.086, 1.097), (0.133, 1.037)).threePointArc((0.3, 0.12), (0.133, -0.797)).threePointArc((0.086, -0.857), (0.013, -0.88)).lineTo(-0.172, -0.88).threePointArc(...
13
52
0.23421
train_2700e4610fd5aeb7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.642, -0.52, -0.05), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.241, -0.182).lineTo(-0.518, -0.209).lineTo(0.13, 1.304).lineTo(0.518, 1.137).lineTo(0.241, -0.182).close().extrude(1.642) result = result.edges().chamfer(0.151) result = result.cut...
18
155
0.696579
train_bca7980a04878df6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.035, -0.016, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(1, 0.004).lineTo(1, 0.066).lineTo(-1, 0.066).lineTo(-1, 0.004).lineTo(1, 0.004).close().extrude(0.031) result = result.edges().chamfer(0.003) result = result.union(cq.Workplane(cq.Plane...
11
50
0.003257
train_0cd0c07324b27f31
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.148, 0, -0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.705, 1.535).extrude(0.57) result = result.union(cq.Workplane(cq.Plane(origin=(-0.845, -0.309, -0.115), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.31, 0.454).extrude(0.086)) result = resul...
14
35
1.024711
train_359fe6173db1314d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.042, -0.065, -0.328), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.55, 1.87).extrude(0.612) result = result.union(cq.Workplane(cq.Plane(origin=(-0.114, 0.412, -0.38), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.082).extrude(0.053)) result = result...
6
41
1.772373
train_e2b61bf18b65d906
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.565, -0.103, -0.264), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.092, 0.528).threePointArc((0, -0.332), (0.092, 0.528)).threePointArc((0, 0.538), (-0.092, 0.528)).close().extrude(0.163) result = result.edges().chamfer(0.009) result = result.u...
11
92
0.261813
train_3eb689867ed025e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.257, 0.315, 0.451), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.551, 0.146).lineTo(-0.545, -0.421).lineTo(0.551, -0.409).lineTo(0.541, 0.506).lineTo(0.013, 0.506).lineTo(-0.551, 0.146).close().extrude(0.63) result = result.edges().chamfer(0.17...
14
156
0.458201
train_156593bc16e46cdd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.27, -0.184, 0.115), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.298, 0.441).threePointArc((-0.415, 0.129), (-0.298, -0.184)).lineTo(0.415, -0.184).lineTo(0.415, 0.441).threePointArc((0.346, 0.506), (0.264, 0.556)).lineTo(-0.05, 0.441).threePoi...
12
55
0.96069
train_07e7a4f5d9dbcadf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.003, -0.101, -0.16), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1.003, -0.699).lineTo(0.997, -0.722).lineTo(0.954, 0.693).lineTo(-0.949, 0.687).close().moveTo(0, -0.186).lineTo(0.051, -0.088).lineTo(0.161, -0.093).lineTo(0.101, 0).lineTo(0.161, ...
15
265
0.987728
train_86a6d0f1f1fe2729
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.082, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.394, -0.503).lineTo(-0.585, -0.503).lineTo(-0.585, 0.041).lineTo(-0.394, 0.041).lineTo(-0.394, 0.503).lineTo(0.394, 0.503).lineTo(0.394, 0.041).lineTo(0.585, 0.041).lineTo(0.585, -0.503).li...
29
28
1.360236
train_8be3460a5a5e6566
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.412, 0.03), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-1.03, 0.752).lineTo(-1.03, 0.066).threePointArc((0.047, 0.271), (1.03, 0.752)).lineTo(-1.03, 0.752).close().revolve(angleDegrees=90, axisStart=(-1.03, 0.752), axisEnd=(-1.03, 0.066)) re...
2
14
1.085385
train_277541bc76f27413
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.054, 0, -0.198), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.912, 0.817).extrude(0.235) result = result.union(cq.Workplane(cq.Plane(origin=(-0.539, 0.007, -0.037), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.174, -0.271).lineTo(0.189, -0.271).lin...
25
203
1.296106
train_cf09d14f216df0f6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.145, 0, 0.037), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.509, 2).extrude(0.569) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.476, -0.373, -0.06), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.546, 0.413).extrude(0.682)) result = result.uni...
5
22
1.604332
train_557ff16a16ebb71a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.873, -0.315, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.59, 0.901).threePointArc((-0.633, 0.801), (-0.662, 0.694)).threePointArc((-0.935, 0.534), (-0.662, 0.374)).threePointArc((-0.633, 0.269), (-0.59, 0.168)).threePointArc((0.128, -0.272...
14
63
2.020575
train_be605c3630e09a48
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.49, -0.586), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.039, 1.02).extrude(1.172) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.047, -0.419, -0.284), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.168, 1.224).extrude(0.151)) result = result...
14
147
1.943564
train_b50eecf5e8b05b93
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.635, -0.053, -0.248), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.729, 0.69).extrude(0.527) result = result.cut(cq.Workplane(cq.Plane(origin=(0.572, 0.191, -0.122), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.106).extrude(0.31)) result = result.un...
20
367
0.288597
train_9aa986e68d28d1cf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.573, 0.985, -0.269), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.751, 1.072).lineTo(-0.6, -0.23).lineTo(0.6, -0.23).lineTo(0.751, 1.072).lineTo(-0.751, 1.072).close().extrude(1.41) result = result.edges().chamfer(0.175) result = result.union(c...
15
90
1.557576
train_b2db95f5cc482e6d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.849), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.044).extrude(1.402) result = result.cut(cq.Workplane(cq.Plane(origin=(0 + 0.287 * math.cos(5.834 + 2 * math.pi * 0 / 4), 0 + 0.287 * math.sin(5.834 + 2 * math.pi * 0 / 4), -1.06), normal=...
15
86
2.546643
train_fed3cebf296ac796
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.157, 0.558, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.273, 0.568).lineTo(-0.419, 0.568).lineTo(-0.419, -0.089).lineTo(0.419, -0.089).lineTo(0.419, 0.568).lineTo(0.273, 0.568).close().extrude(1.198) result = result.edges().fillet(0.198) re...
20
80
0.596167
train_502c2ea4542cc1fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.399, 0.614, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.909, 0.658).threePointArc((-0.909, 0.399), (0.909, 0.14)).lineTo(0.909, 0.658).close().workplane(offset=0.51).moveTo(0.58, 0.564).threePointArc((-0.58, 0.399), (0.58, 0.234)).lineTo(0....
6
33
1.70996
train_2ac38ec8c55c5ebe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.769, 0, 0.258), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.419, 0.657).lineTo(-0.419, 0.89).lineTo(-0.091, 0.89).lineTo(-0.091, 0.999).lineTo(0.419, 0.999).lineTo(0.419, 0.474).threePointArc((0.164, 0.462), (-0.091, 0.476)).lineTo(-0.091, 0.6...
16
126
1.082314
train_3028407fa7e5e61d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.892, -0.207, -0.268), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.415, 0.108).lineTo(0.415, 0.108).lineTo(0.415, -0.108).lineTo(-0.415, -0.108).lineTo(-0.415, 0.108).close().sweep(cq.Workplane('XY').spline([(-0.892, 0.535), (0.028, 0.757), (0...
25
151
0.171251
train_4b9d1133c39e090b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.959, 0.299), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.075, 0.041).lineTo(-0.075, 0.017).lineTo(0.047, 0.017).lineTo(0.047, -0.002).lineTo(-0.074, -0.002).lineTo(-0.074, -0.041).lineTo(0.075, -0.041).lineTo(0.075, 0.041).lineTo(-0.075, 0...
1
10
0.00615
train_fedb95ae3363b160
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.082, -0.016, -0.538), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.056, 0.096).threePointArc((-0.162, 0.094), (-0.111, 0)).lineTo(-0.056, -0.096).threePointArc((0, -0.187), (0.056, -0.096)).threePointArc((0.162, -0.094), (0.111, 0)).threePoint...
13
163
0.107431
train_9702184fbb9e5127
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.265, -0.431), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.366, 1.47).extrude(0.862) result = result.union(cq.Workplane(cq.Plane(origin=(-0.179, 0.716, -0.158), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.682, 0.568).extrude(0.481)) result = resu...
4
86
1.769162
train_be9675bc4e070e79
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.007, -0.144, -0.041), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.031, -0.031).lineTo(0.031, -0.033).lineTo(0.032, 0.032).lineTo(-0.031, 0.032).close().moveTo(-0.001, 0.015).lineTo(0.001, 0.015).lineTo(0.001, 0.01).lineTo(0.006, 0.01).lineTo(0...
11
93
0.006665
train_0b1014fc7a995fd0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.467, 0, -0.546), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.066, 0.694).extrude(0.739) result = result.union(cq.Workplane(cq.Plane(origin=(-0.379, -0.053, 0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.181, 0.171).extrude(0.368)) result = res...
4
76
1.020411
train_ade28a688ef9a934
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.23), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.056, -0.13).lineTo(0.279, -0.13).lineTo(0.205, -0.056).lineTo(0.019, 0.13).lineTo(-0.056, 0.13).lineTo(-0.056, 0.101).threePointArc((-0.083, 0.096), (-0.105, 0.081)).lineTo(-0.279, -0.09...
3
21
0.072664
train_90a54825ab491c9a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.678, -0.477, 0.391), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.391, 1.678).lineTo(-0.391, -0.322).lineTo(0.391, -0.322).lineTo(0.391, 1.678).lineTo(-0.391, 1.678).close().revolve(angleDegrees=180, axisStart=(-0.391, 1.678), axisEnd=(-0.391, ...
10
27
1.598265
train_7ac515cd7e016cdd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.106, -0.946, -0.171), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.829, 0.935).lineTo(0.829, -0.724).lineTo(-0.829, -0.724).lineTo(-0.829, 0.935).lineTo(0.829, 0.935).close().extrude(1.892) result = result.union(cq.Workplane(cq.Plane(origin=(-0....
7
86
4.764538
train_8de66dd8d8e61609
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.335, -0.08, 0.226), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.135, 0.025).lineTo(0.33, 0.209).lineTo(-0.121, 0.689).lineTo(-0.33, 0.492).lineTo(-0.29, 0.202).lineTo(-0.134, 0.037).lineTo(0.135, 0.025).close().extrude(0.67) result = result.edg...
18
98
0.179948
train_15c22b960346daca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.209, -0.924), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.059).workplane(offset=0.079).circle(0.065).workplane(offset=0.08).circle(0.075).workplane(offset=0.096).circle(0.057).workplane(offset=0.074).circle(0.057).workplane(offset=0.09).circ...
5
22
0.009332
train_b8b1e2e39381d595
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.02, -0.102, 0.111), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.095, 0.337).threePointArc((-0.157, 0.314), (-0.214, 0.278)).threePointArc((-0.296, 0.192), (-0.345, 0.083)).threePointArc((-0.356, 0.017), (-0.354, -0.049)).lineTo(-0.277, -0.05).t...
9
85
0.382855
train_e09c19d26841ab81
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.223, 0.315, 0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.889, 0.458).extrude(0.184) result = result.cut(cq.Workplane(cq.Plane(origin=(0.378, 0.44, 0.037), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.174, 0.219).extrude(0.096)) result = result...
23
99
0.143222
train_de741865a394a659
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.493, 0, -0.208), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.015, 0.373).extrude(0.31) result = result.cut(cq.Workplane(cq.Plane(origin=(0.6, 0.045, -0.08), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.098).extrude(0.186)) result = result.union(cq....
11
75
0.207839
train_317af69ebfdef4bd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.477, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.424, 0.063).lineTo(0.405, 0.045).lineTo(0.006, 0.445).lineTo(-0.388, 0.051).lineTo(-0.406, 0.069).lineTo(-0.424, 0.087).lineTo(-0.03, 0.48).lineTo(-0.423, 0.874).lineTo(-0.406, 0.892).lin...
3
24
0.070659
train_3986c797f3416a04
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.126, -0.167, -0.866), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.558, 0.943).extrude(0.769) result = result.union(cq.Workplane(cq.Plane(origin=(-0.199, -0.131, -0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.289, 0.193).extrude(0.264)) result ...
27
144
0.587032
train_2072ed0d6f48f8e3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.464, -0.315, 0.447), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.536, -0.107).lineTo(-0.295, -0.107).lineTo(-0.295, 0.214).lineTo(-0.188, 0.214).threePointArc((0, 0.027), (0.188, 0.214)).lineTo(0.295, 0.214).lineTo(0.295, -0.107).lineTo(0.536...
3
17
0.128858
train_9cd009a0f7280107
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.087, 0, -0.946), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.827, 1.854).extrude(1.891) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.384, -0.13, -0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.067, 2.225).extrude(0.152)) result = result....
14
53
6.180196
train_9b19e3cec902bd27
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.185, -0.656), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.301, 1.045).lineTo(-0.227, 1.045).lineTo(-0.227, 1.185).lineTo(-0.007, 1.185).lineTo(-0.007, 1.045).lineTo(0.114, 1.045).lineTo(0.301, -0.675).lineTo(0.22, -0.675).lineTo(0.22, -0.81...
1
16
0.352416
train_202a7d1572238664
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.028, 0, -0.808), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.506, 2).extrude(1.415) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.2, -0.44, -0.811), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.096).extrude(0.125)) result = result.edges().f...
15
100
4.411293
train_dfb9c8aed2595b78
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.111), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.278, 1.038).lineTo(-0.111, 0.415).lineTo(0.111, 0.415).lineTo(0.278, 1.038).lineTo(0.76, 0.76).lineTo(1.038, 0.278).lineTo(0.415, 0.111).lineTo(0.415, -0.111).lineTo(1.038, -0.278).lineT...
13
277
1.889264