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_f2bb0e43945bd114
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.032, 0, -2.766), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.044).extrude(2.755) result = result.union(cq.Workplane(cq.Plane(origin=(-1.032, 0, -0.835), normal=(0.421, 0, 0.907), xDir=(0.907, 0, -0.421))).circle(1).extrude(1.734)) result = resu...
8
53
0.682414
train_db7a5d8081b63571
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.017, 0.105, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.408, 0.7).lineTo(1.349, 0.156).lineTo(1.187, -0.125).lineTo(0.836, 0.078).lineTo(0.666, -0.216).lineTo(1.017, -0.419).lineTo(0.855, -0.7).lineTo(-0.086, -0.156).lineTo(0.076, 0.12...
21
339
0.24719
train_4d2b06662be3480a
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.153, -1).threePointArc((-0.238, -0.976), (-0.31, -0.927)).lineTo(-0.494, -0.747).lineTo(-0.697, -0.544).threePointArc((-0.72, -0.498), (-0.697, -0.452)).lineTo(-0.494, -0.249).lineTo(-0.279, -0.034).threePointArc((-0.254, 0.004), (-0.245, 0.048)).l...
3
18
0.184249
train_d3ed4f1a0bc75ae7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.316, 0, 0.437), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.388, 0.344).lineTo(0.388, -0.344).threePointArc((0.056, -0.672), (-0.276, -0.344)).threePointArc((-0.321, -0.264), (-0.331, -0.172)).threePointArc((-0.388, -0.09), (-0.343, 0)).threePoi...
11
67
1.273124
train_6d41e4381d837f34
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.484, 0.074, -0.205), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.107, 0.395).lineTo(0.107, -0.168).threePointArc((0, -0.275), (-0.107, -0.168)).lineTo(-0.107, 0.395).threePointArc((0, 0.502), (0.107, 0.395)).close().extrude(0.968) result = resu...
8
161
0.376845
train_07e962301bad1a80
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.503, -0.467, 0.002), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.147, 0.319).threePointArc((0.302, 0.164), (0.147, 0.008)).lineTo(-0.147, 0.008).threePointArc((-0.302, 0.164), (-0.147, 0.319)).lineTo(0.147, 0.319).close().revolve(angleDegrees=...
6
52
0.90764
train_1ea0991e37863225
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.084, -0.001, -0.344), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.624, 0.991).threePointArc((0.8, 0.934), (0.875, 0.801)).lineTo(0.875, 0.584).threePointArc((0.775, 0.406), (0.538, 0.331)).lineTo(0.327, 0.331).threePointArc((0.097, 0.257), (0, 0...
8
123
0.518502
train_fc36fbb4f48a7f5f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.105, 0.238, -0.605), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.246, 0.244).spline([(-0.246, 0.244), (0.119, 0.461), (0.48, 0.268)]).lineTo(0.547, -0.427).lineTo(0.112, -0.461).lineTo(-0.24, -0.319).spline([(-0.24, -0.319), (-0.547, -0.031)])...
18
224
1.368184
train_daa2ac6fb9b7d688
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.366, 0.459, -0.227), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.044, 0.104).threePointArc((0, 0.06), (-0.044, 0.104)).threePointArc((0, 0.148), (0.044, 0.104)).close().revolve(angleDegrees=270, axisStart=(0.054, -0.043), axisEnd=(0.054, 0.043)...
7
97
0.246783
train_62cd8704096afd50
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.055, -0.008, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.044, -0.232).threePointArc((0.52, 0.425), (0.679, -0.425)).threePointArc((0.591, -0.318), (0.453, -0.305)).lineTo(0.181, -0.357).threePointArc((0.046, -0.335), (-0.044, -0.232)).clos...
10
112
0.777896
train_1f6ab7d2c931ea23
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.395, 0.943).threePointArc((-0.06, 0.999), (0.284, 0.903)).threePointArc((0.585, 0.669), (0.797, 0.334)).threePointArc((0.887, -0.052), (0.843, -0.431)).threePointArc((0.67, -0.744), (0.39...
11
263
0.614207
train_78801d9e407ba7ab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.117, -0.238), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.863).lineTo(1, -0.863).lineTo(-1, -0.863).lineTo(-1, 0.863).lineTo(-0.689, 0.863).lineTo(-0.689, -0.644).lineTo(0.689, -0.644).lineTo(0.689, 0.863).lineTo(1, 0.863).close().extrude(...
6
106
0.837238
train_4b4360da951c9ac3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.413), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.579, 2).extrude(0.826) result = result.cut(cq.Workplane(cq.Plane(origin=(0.273, -1, -0.178), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.423, -0.398).lineTo(0.423, -0.699).lineTo(0.724, -0....
16
54
1.537376
train_50f8ab49f8870a73
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, -0.22, -0.243), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.577, 0.322).threePointArc((0.736, 0.163), (0.577, 0.003)).lineTo(-0.577, 0.003).threePointArc((-0.736, 0.163), (-0.577, 0.322)).lineTo(0.577, 0.322).close().extrude(1.825) result = re...
3
45
0.863163
train_8c67c2fb642c9302
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.181), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.694, 0.362).lineTo(0.913, 0.252).lineTo(1, 0.127).lineTo(1, 0).lineTo(0.81, 0).lineTo(0.81, 0.11).lineTo(0.711, 0.252).lineTo(0, 0.177).lineTo(0, 0.362).lineTo(0.694, 0.362).close().revol...
4
26
0.520561
train_8d8989451c201db6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.125), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.67, 0.37).lineTo(0.903, 0.308).threePointArc((0.995, 0.149), (0.836, 0.057)).lineTo(0.71, -0.016).threePointArc((0.69, -0.039), (0.696, -0.068)).lineTo(0.841, -0.32).threePointArc((0.846, ...
9
305
0.301154
train_8d553cccbe0e744f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.097, -0.302, 0.4), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.132, 0.686).threePointArc((0.132, 0.686), (0.264, 0.458)).threePointArc((0.132, 0.229), (-0.132, 0.229)).threePointArc((-0.264, 0.458), (-0.132, 0.686)).close().revolve(angleDegre...
3
13
0.378349
train_44778b471c860169
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.089, -0.226, 0.529), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.227, 0.278).threePointArc((0.2, 0.229), (0.176, 0.186)).lineTo(0.164, -0.047).lineTo(-0.026, -0.021).threePointArc((-0.113, 0.031), (-0.175, 0.106)).lineTo(-0.117, 0.227).threePoi...
5
37
0.168828
train_78a8bfad4ea2d0ad
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.147, 0.329).threePointArc((0.187, 0.31), (0.223, 0.284)).lineTo(0.338, 0.086).threePointArc((0.345, 0.008), (0.338, -0.071)).lineTo(0.217, -0.282).threePointArc((0.175, -0.311), (0.13, -0.333)).lineTo(-0.118, -0.333).threePointArc((-0.17, -0.31), (-...
2
62
0.709246
train_8b9eeab8ca434ebf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.23, 0.37, -0.646), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.464, 0.443).lineTo(-0.464, -0.297).lineTo(0.766, -0.297).lineTo(0.766, -0.443).lineTo(-0.766, -0.443).lineTo(-0.766, 0.443).lineTo(-0.464, 0.443).close().extrude(0.687) result = res...
26
68
0.395478
train_08999a2d14b36dd7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.638), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.93, -0.158).lineTo(0.979, -0.202).lineTo(0.947, -0.322).lineTo(0.886, -0.322).lineTo(0.819, -0.467).lineTo(0.85, -0.526).lineTo(0.779, -0.625).lineTo(0.722, -0.606).lineTo(0.61, -0.718).li...
5
83
2.050617
train_55ba783ad369b9b5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(7.785, 6.02, 1.288), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(9.226, 4.51).lineTo(12.4, 3.868).lineTo(-0.117, -0.98).lineTo(1.184, -2.883).lineTo(0.696, -3.467).lineTo(-1.26, -3.755).lineTo(-8.589, -4.05).threePointArc((-12.4, -4.51), (-11.081, -...
3
8
0.044081
train_f28e8d1e644ad58e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.028, 0.124, -0.988), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.028).extrude(0.382) result = result.cut(cq.Workplane(cq.Plane(origin=(1.056, 0.124, -0.988), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.711, 0.977), (-1.859, 0.604)...
10
59
0.59559
train_c1ada63f6bd59f95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.204, -0.131), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.169, 0.26).lineTo(0.169, 0).lineTo(-0.169, 0).lineTo(-0.169, 0.26).lineTo(-0.056, 0.26).lineTo(-0.056, 0.113).lineTo(0.056, 0.113).lineTo(0.056, 0.26).lineTo(0.169, 0.26).close().ext...
4
36
0.169199
train_257e509bf208c692
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.585, -0.304, -0.264), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.475, 0.62).threePointArc((0.732, 0.364), (0.475, 0.108)).lineTo(0.238, 0.154).lineTo(0, 0.18).lineTo(-0.238, 0.063).lineTo(-0.475, 0.108).threePointArc((-0.732, 0.364), (-0.475, ...
17
93
0.514541
train_ddaad827c487f76b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.736), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.446, 0.981).lineTo(-0.446, -0.495).lineTo(1, -0.495).lineTo(1, -0.981).lineTo(-1, -0.981).lineTo(-1, 0.981).lineTo(-0.446, 0.981).close().extrude(1.472) result = result.cut(cq.Workplane(c...
8
9
2.628079
train_fdd23ce3e5964f63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.024, -0.019), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.764, 0.959).lineTo(-0.583, 0.732).lineTo(-0.208, 0.261).threePointArc((-0.193, 0.248), (-0.175, 0.244)).lineTo(0, 0.244).lineTo(0.182, 0.244).threePointArc((0.193, 0.247), (0.203, 0.2...
4
67
1.040775
train_ca947198f8943b79
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.017, 0.017, -0.266), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.085, -0.503).threePointArc((0.25, -0.746), (-0.114, -0.501)).lineTo(-0.114, 0.538).threePointArc((-0.25, 0.746), (0.08, 0.538)).lineTo(0.085, -0.503).close().extrude(0.532) result ...
3
13
0.314119
train_8479709f3d8d894d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.095), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.895).lineTo(1, 0.517).lineTo(0.213, 0.517).lineTo(0.213, -0.895).lineTo(-0.213, -0.895).lineTo(-0.213, 0.517).lineTo(-1, 0.517).lineTo(-1, 0.895).lineTo(1, 0.895).close().extrude(0.19) ...
13
34
0.246631
train_014263a930d741eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.055, -0.045, -0.558), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.492, 0.224).lineTo(-0.492, -0.077).threePointArc((-0.396, -0.124), (-0.17, -0.143)).lineTo(0.884, -0.143).threePointArc((0.927, -0.147), (0.945, -0.156)).lineTo(0.945, -0.219).th...
5
108
0.199102
train_0afc2cfd08022813
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.24), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.879).lineTo(1, -0.879).lineTo(-1, -0.879).lineTo(-1, 0.879).lineTo(1, 0.879).close().extrude(0.479) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.24), normal=(0, 0, 1), xDir...
4
28
1.669996
train_ff258eb0d42cb7e6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.291), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.774, 1).threePointArc((0.926, 0.926), (1, 0.774)).lineTo(1, -0.207).threePointArc((0.955, -0.295), (0.867, -0.332)).lineTo(0.558, -0.332).threePointArc((0.399, -0.399), (0.332, -0.558)).li...
6
121
1.257155
train_4cd5edd2051d43f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.483, 0.034, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.286, 1).lineTo(0.286, 0.965).lineTo(0.401, 0.965).lineTo(0.401, -0.856).threePointArc((0.335, -1.014), (0.177, -1)).lineTo(-0.173, -1).threePointArc((-0.334, -1.012), (-0.401, -0.8...
5
38
0.460372
train_ecc62b93e9805619
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.27, -0.26, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.037, 0.098).threePointArc((-0.028, 0.095), (-0.025, 0.086)).lineTo(-0.025, 0.013).threePointArc((-0.021, 0.004), (-0.012, 0)).lineTo(0.014, 0).threePointArc((0.021, 0.003), (0.025, 0.01...
12
373
0.105195
train_d9e578d032f92f80
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.206, 0.009, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.256, -0.255).threePointArc((-0.146, 0.392), (0.233, -0.09)).lineTo(0.303, -0.351).threePointArc((0.293, -0.392), (0.196, -0.373)).lineTo(0.121, -0.093).threePointArc((0.126, 0.156), (...
4
53
0.381141
train_407d4f0bfd51b665
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.816, 0.385, -0.427), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.16, 0.646).lineTo(0.442, 0.374).lineTo(0.524, 0.029).lineTo(0.477, -0.381).lineTo(0.068, -0.437).lineTo(-0.293, -0.393).lineTo(-0.524, -0.09).lineTo(-0.427, 0.262).lineTo(-0.244, ...
7
56
1.259411
train_987ee03d02d75c45
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.084, 0.062, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.049, 0.096).lineTo(-0.049, 0.032).lineTo(0.098, 0.032).lineTo(0.098, -0.096).lineTo(-0.098, -0.096).lineTo(-0.098, 0.096).lineTo(-0.049, 0.096).close().extrude(1, both=True) result = r...
7
48
0.0537
train_a8e978e3aa489634
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0.625, -0.5), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.044, 0.374).threePointArc((0.107, 0.341), (0.148, 0.274)).threePointArc((0.167, 0.205), (0.184, 0.155)).threePointArc((0.217, 0.124), (0.26, 0.093)).threePointArc((0.293, 0.048), (...
2
40
0.561475
train_2029930a0385448f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.089, 0.216, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.149, 0.783).threePointArc((0.858, -0.783), (-0.858, -0.671)).threePointArc((-0.448, -0.597), (-0.28, -0.355)).lineTo(-0.43, 0.466).threePointArc((-0.019, 0.54), (0.149, 0.783)).close()...
5
10
1.55009
train_e0f9e171d7f3b420
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.594, 0.298, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.205, 0.355).lineTo(0.401, -0.036).lineTo(0.098, -0.355).lineTo(-0.374, -0.192).threePointArc((-0.401, -0.105), (-0.366, -0.02)).lineTo(-0.321, 0.142).lineTo(-0.244, 0.297).lineTo(0.20...
8
66
2.107898
train_c9507f8b94578ff5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.638), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.345, 1.134).lineTo(0.345, 0.815).lineTo(1, 0.815).lineTo(1, 0.137).lineTo(0.172, 0.137).lineTo(0.172, 0).lineTo(0, 0).lineTo(0, 1.134).lineTo(0.345, 1.134).close().revolve(angleDegrees=36...
11
97
1.294536
train_9791b3b8da89c8f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.136, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.593, 0.789).lineTo(0.593, 0.395).lineTo(0.987, 0.395).lineTo(0.987, -0.395).lineTo(0.593, -0.395).lineTo(0.593, -0.789).lineTo(0.198, -0.789).lineTo(0.198, -0.395).lineTo(-0.593, -0.39...
4
18
0.398419
train_861c1d82c5d3ccfe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.244, -0.084, -0.788), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.346, 0.298).lineTo(0.403, 0.049).lineTo(0.403, -0.298).lineTo(-0.403, -0.298).lineTo(-0.403, 0.049).lineTo(-0.374, 0.298).lineTo(-0.346, 0.298).lineTo(-0.288, 0.049).lineTo(-0.25...
11
98
0.860862
train_946765c4ca621911
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.062, 0, -0.059), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.187, 0.901).threePointArc((-0.056, 0.858), (0, 0.757)).lineTo(0, 0.443).threePointArc((0.102, 0.258), (0.342, 0.18)).lineTo(0.654, 0.18).threePointArc((0.854, 0.115), (0.938, -0.038))...
5
64
0.641114
train_26d392259c77a0ad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.452, 0, -0.166), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.521, -0.148).lineTo(0.443, -0.281).lineTo(0.322, -0.386).lineTo(0.169, -0.454).lineTo(0, -0.477).lineTo(-0.169, -0.454).lineTo(-0.322, -0.386).lineTo(-0.443, -0.281).lineTo(-0.521, -0....
13
132
0.458581
train_0073b24cfbfb7410
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.36, 0, -0.505), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.002, 0.844).lineTo(0.123, 0.821).threePointArc((0.165, 0.778), (0.142, 0.638)).lineTo(0.256, 0.706).lineTo(0.238, 0.601).threePointArc((0.201, 0.539), (0.229, 0.531)).lineTo(0.222, 0....
4
799
1.230764
train_29edab94d58020e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.725, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.44, 1.64).threePointArc((0.685, 1.539), (0.787, 1.294)).threePointArc((0.797, 1.113), (0.896, 0.962)).lineTo(0.911, 0.631).threePointArc((0.762, 0.497), (0.787, 0.299)).threePointArc((0.6...
28
346
4.852725
train_c0b758fbeb77a4b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.071, -0.647, -0.09), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.078, 1.037).threePointArc((0.262, 0.881), (0.293, 0.589)).threePointArc((0.152, 0.332), (-0.078, 0.258)).threePointArc((-0.262, 0.413), (-0.293, 0.706)).threePointArc((-0.152, 0....
15
282
0.425445
train_893852117c60bd7c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.098, 0, -0.14), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.698, 0.758).threePointArc((0.77, 0.737), (0.801, 0.686)).lineTo(0.801, -0.611).threePointArc((0.738, -0.715), (0.59, -0.758)).lineTo(-0.545, -0.758).threePointArc((-0.725, -0.705), (-0...
29
246
0.467553
train_6d96563cdfb29aeb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.008, 0, -0.008), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.191) result = result.cut(cq.Workplane(cq.Plane(origin=(1.008, 0, -0.008), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.691, 0.952), (-1.809, 0.588), (-1.809, -...
7
84
0.892375
train_d2f6e6bf8347dd7a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.165, -0.045, -0.512), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.795, 0.094).threePointArc((0.834, 0), (0.795, -0.094)).threePointArc((0.701, -0.133), (0.607, -0.094)).threePointArc((0.569, 0), (0.607, 0.094)).threePointArc((0.701, 0.133), (0...
6
59
0.742911
train_16a848ebe2c921bc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.412, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.448, 2).lineTo(0.448, 0.448).lineTo(0.628, 0.448).lineTo(0.628, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.448, 2).close().extrude(0.831, both=True) result = result.union(cq.Workplane(cq.Plan...
5
24
1.508171
train_8542a0d33ce3fb0b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.444, 0.376, 0.372), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.365, 0.443).threePointArc((0.402, 0.389), (0.513, 0.304)).threePointArc((0.503, 0.199), (0.379, 0.159)).lineTo(0.199, 0.186).threePointArc((0.296, -0.039), (0.26, -0.145)).lineTo(0...
4
41
0.288961
train_7c19ea8002dd63bc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.416), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.403, 0.146).lineTo(0.403, 0.062).lineTo(0.485, 0.062).lineTo(0.485, -0.097).lineTo(0.438, -0.097).lineTo(0.438, -0.146).lineTo(-0.393, -0.146).lineTo(-0.393, -0.053).lineTo(-0.485, -0.053)...
8
42
0.369254
train_65d148a01c64990a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.803, -0.182, -0.213), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.016, 0.387).lineTo(0.249, 0.277).lineTo(0.336, 0.035).lineTo(0.227, -0.198).lineTo(-0.016, -0.285).lineTo(-0.249, -0.176).lineTo(-0.336, 0.066).lineTo(-0.227, 0.299).lineTo(0.016...
8
132
0.371809
train_356a3c59da785d42
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1.394), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.686).lineTo(1, 1.102).lineTo(0.18, 1.102).lineTo(0.18, 0).lineTo(0, 0).lineTo(0, 1.686).lineTo(1, 1.686).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) resul...
5
35
0.614187
train_342289f9ad0753ae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.886, 2).extrude(0.185) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.299, 0.186).lineTo(0.299, -0.186).lineTo(-0.299, -0.186)....
11
73
0.179108
train_53067f1baee90d90
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.349, 0.521, 0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.339, 0.347).threePointArc((0.119, 0.457), (0.459, 0.11)).threePointArc((0.339, -0.347), (-0.119, -0.457)).threePointArc((-0.459, -0.11), (-0.339, 0.347)).close().sweep(cq.Workplane...
5
93
0.787416
train_97e80a6e9dbc0f51
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.244, -0.224, -0.436), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.504, 0.33).lineTo(0.504, -0.33).lineTo(-0.504, -0.33).lineTo(-0.504, 0.33).lineTo(-0.154, 0.33).lineTo(-0.154, 0.087).lineTo(0.154, 0.087).lineTo(0.154, 0.33)...
16
176
1.072419
train_4bb7e5cdb89fc021
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.114, 0.481).threePointArc((0.196, 0.5), (0.321, 0.378)).lineTo(0.496, -0.188).threePointArc((0.458, -0.348), (0.377, -0.367)).lineTo(-0.114, -0.481).threePointArc((-0.196, -0.5), (-0.321, -0.378)).lineTo(-0.496, 0.188).threePointArc((-0.458, 0.348),...
3
19
1.394517
train_f377c7faba7efdfc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.118, 0.038, 0.048), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.543, 0.305).lineTo(0.571, 0.292).lineTo(0.591, 0.237).lineTo(0.628, 0.219).lineTo(0.664, 0.233).lineTo(0.719, 0.207).lineTo(0.802, -0.02).lineTo(0.774, -0.079).lineTo(0.643, -0.12...
14
124
0.529358
train_887120f73ee7829d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.047, 0.687, 0.097), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.736).threePointArc((0.614, 0.368), (0.614, -0.368)).threePointArc((0, -0.736), (-0.614, -0.368)).threePointArc((-0.614, 0.368), (0, 0.736)).close().sweep(cq.Workplane(cq.Plane(or...
3
14
0.322742
train_c28fffd0b767547a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.313, -0.143, -0.112), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.369, 0.874).lineTo(1.369, -0.293).lineTo(1.369, -0.874).lineTo(-1.369, -0.874).lineTo(-1.369, -0.293).lineTo(-1.369, 0.874).lineTo(-1.063, 0.874).lineTo(-1.063, -0.293).lineTo(-0...
9
146
0.380321
train_d04b63b2d18cb26c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.056, 0, -0.167), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.809, -0.157).lineTo(0.976, -0.216).lineTo(0.967, -0.253).lineTo(0.797, -0.213).lineTo(0.741, -0.361).lineTo(0.887, -0.461).lineTo(0.87, -0.494).lineTo(0.714, -0.412).lineTo(0.622, -0.5...
4
103
0.743845
train_8be8136492636c10
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.292, -0.141, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.084, 1.14).lineTo(0.142, 0.855).threePointArc((0.238, 0.811), (0.255, 0.707)).threePointArc((0.435, 0.689), (0.469, 0.62)).lineTo(0.435, 0.485).lineTo(0.303, 0.377).lineTo(0.143, 0.39...
4
45
0.269268
train_7684c68ddfa6b3b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.563, -0.546), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.383, 0.703).lineTo(-0.383, -0.092).lineTo(1, -0.092).lineTo(1, -0.703).lineTo(-1, -0.703).lineTo(-1, 0.703).lineTo(-0.383, 0.703).close().extrude(1.086) result = result.cut(cq.Workpla...
27
54
0.593256
train_a8da22fda85f2e56
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.248), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.723, 0.495).lineTo(0.913, 0.317).lineTo(1, 0.173).lineTo(1, 0).lineTo(0.74, 0).lineTo(0.74, 0.149).lineTo(0.64, 0.317).lineTo(0, 0.239).lineTo(0, 0.495).lineTo(0.723, 0.495).close().revol...
6
51
0.33955
train_383dddf5bf7ece7d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.921, -0.199).lineTo(0.967, -0.244).lineTo(0.943, -0.327).lineTo(0.885, -0.322).lineTo(0.799, -0.502).lineTo(0.826, -0.562).lineTo(0.776, -0.631).lineTo(0.722, -0.606).lineTo(0.579, -0....
6
100
0.914582
train_c6212dc5c886f76a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.242).lineTo(1, 0.156).threePointArc((0.972, 0.143), (0.905, 0.138)).lineTo(0.497, 0.138).threePointArc((0.369, 0.127), (0.315, 0.102)).lineTo(0.315, -0.246).threePointArc((0.294, -0.256...
4
50
0.089677
train_b7d8431656a310e2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.615, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.391, 1.354).lineTo(0.391, 0.978).lineTo(0.813, 0.978).lineTo(0.813, 0.25).lineTo(0.391, 0.25).lineTo(0.391, -0.125).lineTo(-0.391, -0.125).lineTo(-0.391, 0.25).lineTo(-0.813, 0.25).lineTo...
7
103
1.093889
train_1ff1c88547cc1afe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.865, 0.565).lineTo(1, 0.431).lineTo(1, -0.565).lineTo(-0.866, -0.565).threePointArc((-0.96, -0.526), (-1, -0.432)).lineTo(-1, 0.426).threePointArc((-0.959, 0.524), (-0.86, 0.565)).lineTo(0...
10
78
0.464691
train_71fb93d7da2aeccf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.229, 0.775, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.117, 0.328).threePointArc((0.204, 0.317), (0.235, 0.236)).threePointArc((0.204, 0.107), (0.118, -0.036)).threePointArc((0, -0.155), (-0.117, -0.217)).threePointArc((-0.204, -0.206), (-...
12
2,466
0.214507
train_a8e8a8b3ca10e9fb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.056, -0.016, -0.37), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.604, 0.488).lineTo(0.604, 0).lineTo(-0.604, 0).lineTo(-0.604, 0.488).lineTo(-0.448, 0.488).lineTo(-0.448, 0.158).lineTo(0.448, 0.158).lineTo(0.448, 0.488).lineTo(0.604, 0.488).clo...
8
47
0.378992
train_8a54577e85f10321
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.216, 0.084, 0.033), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.467, 0.693).lineTo(0.779, 0.553).lineTo(0.779, -0.655).lineTo(0.695, -0.693).lineTo(0.376, -0.693).lineTo(0.26, -0.641).lineTo(0.26, -0.524).lineTo(0.12, -0.462).lineTo(-0.133, -0.4...
23
163
2.041313
train_875c9e20e691d709
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.903, 0.436).lineTo(1, 0.346).lineTo(1, -0.36).lineTo(0.917, -0.436).lineTo(-0.84, -0.436).lineTo(-1, -0.285).lineTo(-1, 0.359).lineTo(-0.915, 0.436).lineTo(0.903, 0.436).close().extrude(0....
19
310
0.196987
train_9a149d9b1538458e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.436).extrude(0.217) result = result.cut(cq.Workplane(cq.Plane(origin=(0.436, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.059, 0.217), (-0.219, 0.377), (-0.436, 0.436), (...
5
65
0.420592
train_329e05ab2e50830a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.647), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.834).lineTo(1, 0.406).lineTo(-0.571, 0.406).lineTo(-0.571, -0.406).lineTo(1, -0.406).lineTo(1, -0.834).lineTo(-1, -0.834).lineTo(-1, 0.834).lineTo(1, 0.834).close().extrude(1.293) resul...
17
160
2.777449
train_e83a489b78b9ff6d
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.011, 0.078).lineTo(0.033, 0.072).lineTo(0.066, 0.042).lineTo(0.079, 0).lineTo(0.066, -0.042).lineTo(0.033, -0.072).lineTo(-0.011, -0.078).lineTo(-0.051, -0.06).lineTo(-0.075, -0.022).lineTo(-0.075, 0.022).lineTo(-0.051, 0.06).lineTo(-0.011, 0.078)....
4
30
0.038549
train_626fda20072872ce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.068, -0.247, 0.04), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.923, 0.372).threePointArc((0.931, 0.252), (0.898, 0.071)).lineTo(0.854, 0.029).threePointArc((0.492, -0.223), (0.168, -0.665)).threePointArc((0.131, -0.711), (-0.008, -0.75)).threeP...
9
455
1.54128
train_1e32b03030612776
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.493, -0.002, 0.916), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.212, 0.456).lineTo(0.396, 0.329).threePointArc((0.436, 0.209), (0.417, 0.084)).lineTo(0.427, -0.094).lineTo(0.412, -0.289).lineTo(0.285, -0.446).lineTo(0.131, -0.391).threePointAr...
2
32
2.232105
train_f569ce50e4bdfb26
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.004, 0.081, -0.489), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.669, 0.326).threePointArc((0.905, 0.154), (0.919, -0.021)).threePointArc((-0.181, -0.326), (-0.919, 0.12)).lineTo(-0.243, -0.004).threePointArc((-0.112, -0.012), (0.001, 0.018)).l...
10
158
0.577706
train_e9d3e3aff8cd509a
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.084, 0.111).threePointArc((0.103, 0.103), (0.111, 0.084)).lineTo(0.111, 0.05).threePointArc((0.107, 0.041), (0.098, 0.037)).lineTo(0.049, 0.037).threePointArc((0.041, 0.033), (0.037, 0.025)).l...
7
54
0.057435
train_bc8640eea621275e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.139, 0, 0.444), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.861, 0.866).lineTo(0.861, -0.866).lineTo(-0.861, -0.866).lineTo(-0.861, 0.866).lineTo(-0.401, 0.866).lineTo(-0.401, 0.1).lineTo(0.401, 0.1).lineTo(0.401, 0.866).lineTo(0.861, 0.866).c...
7
113
0.670031
train_c91a88ac5442d734
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.999).extrude(0.382) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.191), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.77).extrude(1.146, both=True)) result = result.union(cq.Wor...
13
66
0.633871
train_fc432c63120b87a0
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(0.804, 0.971).lineTo(1, 0.783).lineTo(1, -0.861).threePointArc((0.96, -0.938), (0.882, -0.971)).lineTo(-0.843, -0.971).threePointArc((-0.949, -0.926), (-1, -0.826)).lineTo(-1, 0.843).lineTo(...
14
166
0.759567
train_a489c361fc79b125
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.222, 0.18, -0.043), normal=(0.835, -0.438, 0.334), xDir=(0.465, 0.885, 0))).moveTo(0.582, 0.847).lineTo(1.074, -0.847).lineTo(-1.074, -0.847).lineTo(-0.582, 0.847).lineTo(0.582, 0.847).close().extrude(0.258, both=False) result = result.cut(cq.W...
9
97
0.323875
train_76feb8c187376f5a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.038), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.911, 0.243).lineTo(-0.834, 0.529).threePointArc((-0.826, 0.541), (-0.811, 0.542)).lineTo(-0.542, 0.47).threePointArc((-0.528, 0.471), (-0.521, 0.482)).lineTo(-0.447, 0.759).threePointArc(...
3
137
0.352794
train_2cec37bced88a273
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.151, -0.006, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.501, 2).lineTo(0.501, 0.501).lineTo(0.668, 0.501).lineTo(0.668, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.501, 2).close().extrude(0.686, both=True) result = result.cut(cq.Workplane(cq.P...
8
46
1.061767
train_05c773fff8822b8e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.35) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.783).extrude(1.049, both=True)) result = result.union(cq.Workpla...
14
43
0.692329
train_62dcaf787736ee64
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1.438), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.376, 2.56).lineTo(0.376, 1.845).lineTo(1, 1.845).lineTo(1, 1.031).lineTo(0.345, 1.031).lineTo(0.345, 0.896).lineTo(0.206, 0.896).lineTo(0.206, 0).lineTo(0, 0).lineTo(0, 2.56).lineTo(0.376...
4
20
1.176477
train_6616993e7986b869
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.018, -0.023, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.083, 0.083).lineTo(0.083, -0.083).lineTo(-0.017, -0.083).lineTo(-0.017, -0.017).lineTo(-0.083, -0.017).lineTo(-0.083, 0.017).lineTo(0.017, 0.017).lineTo(0.017, 0.05).lineTo(0.05, 0.05...
9
81
0.025535
train_0d011e430281c29d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1.17), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.961, 2.17).lineTo(0.961, 1.532).lineTo(0.85, 1.532).lineTo(0.85, 1.036).lineTo(0.671, 1.036).lineTo(0.671, 0.17).lineTo(0.218, 0.17).lineTo(0.218, 0).lineTo(0, 0).lineTo(0, 2.17).lineTo(0....
7
20
2.780829
train_07bcbeded67ae586
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.036, 0.669, 0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.411, 0.33).lineTo(0.411, 0.059).lineTo(0.135, 0.059).lineTo(0.135, -0.059).lineTo(0.411, -0.059).lineTo(0.411, -0.33).lineTo(-0.411, -0.33).lineTo(-0.411, -0.059).lineTo(-0.135, -0....
4
38
0.053282
train_29cbc29156ea2865
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0.022, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.681, 0.132).threePointArc((0.681, -0.132), (0.37, 0.132)).lineTo(0.681, 0.132).close().moveTo(0.465, 0.043).lineTo(0.473, 0.038).lineTo(0.497, -0.035).lineTo(0.486, -0.042).lineTo(0.4...
5
143
0.454691
train_d54576a651f0e3e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.624, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.806, 1).lineTo(-0.806, -0.661).lineTo(1.136, -0.661).lineTo(1.136, -1).lineTo(-1.136, -1).lineTo(-1.136, 1).lineTo(-0.806, 1).close().extrude(0.211) result = result.cut(cq.Workplane(c...
23
22
0.259418
train_aceb20cdf1cdf41b
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.304, 0.942).lineTo(0.304, 0.471).lineTo(0.911, 0.471).lineTo(0.911, -0.471).lineTo(0.304, -0.471).lineTo(0.304, -0.942).lineTo(-0.911, -0.942).lineTo(-0.911, -0.471).lineTo(-0.304, -0.471).lineTo(-0.304, 0).lineTo(-0.911, 0).lineTo(-0.911, 0.942).li...
7
106
2.216157
train_837879462f829ede
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0.036, -0.219), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.904, 0.146).threePointArc((0.995, -0.043), (0.873, -0.146)).lineTo(0.796, -0.133).lineTo(0.735, -0.078).lineTo(-0.539, -0.135).threePointArc((-0.995, -0.052), (-0.553, 0.09)).line...
7
38
0.118138
train_aa12f14d367b07b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.091, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.558, 0.909).threePointArc((0.805, 0.805), (0.909, 0.558)).lineTo(0.909, -0.101).threePointArc((0.849, -0.243), (0.707, -0.303)).lineTo(0.483, -0.303).threePointArc((0.357, -0.357), (0.303,...
4
69
1.023212
train_38e01d7f1fcb184e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.54), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.308, 0.95).lineTo(0.809, 0.587).lineTo(1, 0).lineTo(0.809, -0.587).lineTo(0.308, -0.95).lineTo(-0.308, -0.95).lineTo(-0.809, -0.587).lineTo(-1, 0).lineTo(-0.809, 0.587).lineTo(-0.308, 0.95)...
3
20
3.157425
train_617f5176a2969f77
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.055, -0.079), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1.135, 1.027).lineTo(-0.206, 0.467).threePointArc((0.731, 0.549), (1.137, -0.309)).threePointArc((0.533, -1.027), (-0.415, -0.588)).lineTo(-1.137, -1.021).lineTo(-1.135, 1.027).close()....
4
17
0.675611