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_23e4184413f3e856
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.882, 0.01), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.113, 0.118).lineTo(0.113, -0.032).lineTo(0.025, -0.032).lineTo(0.025, -0.118).lineTo(0.005, -0.118).lineTo(0.005, -0.105).lineTo(-0.009, -0.118).lineTo(-0.103, -0.118).threePointArc((-0...
5
48
0.012896
train_827a913dab767c29
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.144, -0.056), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.222, 0.893).lineTo(-0.392, 0.893).lineTo(-0.392, -0.246).lineTo(0.387, -0.249).lineTo(0.392, 0.793).lineTo(0.222, 0.795).lineTo(0.222, 0.893).close().extrude(1.809) result = result.un...
19
44
1.718105
train_2de3d518ea13ca76
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.657, 0, -0.515), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.618).sweep(cq.Workplane('XZ').spline([(-0.657, -0.515), (-0.387, -0.185), (-0.116, 0.012), (0.154, 0.079), (0.424, 0.012), (0.694, -0.185), (0.964, -0.515)])) result = result.edges()...
9
41
0.971062
train_c407a644ee475f5a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.015, 0.18, -0.263), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.894, -0.01).lineTo(0.471, 0.82).lineTo(-0.45, 0.807).lineTo(-0.925, 0.035).lineTo(-0.438, -0.773).lineTo(0.437, -0.795).close().moveTo(0.217, -0.001).lineTo(0.111, 0.191).lineTo(-0....
12
64
0.70704
train_93af80a2fbecc2c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.848, -0.504, 0.055), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.126, 0.848).lineTo(0.126, 0.848).lineTo(0.126, -0.159).lineTo(-0.126, -0.159).lineTo(-0.126, 0.848).close().revolve(angleDegrees=180, axisStart=(-0.126, 0.848), axisEnd=(0.126, 0...
19
69
0.256227
train_01dc057ec7475dd3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.282, -0.229, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.708, 0.632).lineTo(0.716, 0.623).lineTo(0.718, 0.342).lineTo(0.126, 0.353).lineTo(0.136, -0.615).lineTo(-0.122, -0.6).lineTo(-0.144, 0.335).lineTo(-0.709, 0.329).close().moveTo(-...
20
124
0.161856
train_fd59ef8cb48779a9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.049, 0.426, 0.723), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.097, 0.203).threePointArc((0.27, 0), (-0.097, -0.203)).threePointArc((-0.105, -0.198), (-0.113, -0.192)).lineTo(-0.27, -0.085).threePointArc((-0.21, 0), (-0.27, 0.085)).lineTo(-0....
7
30
0.27554
train_fc73cdfe2f6d6cfd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.167, 0.184, -0.266), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.591, 1.633).extrude(0.532) result = result.cut(cq.Workplane(cq.Plane(origin=(0.169, -0.095, -0.356), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.063, 0.413).extrude(0.638)) result = re...
6
45
0.136863
train_ffedaf2a24126348
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.566, 0.457, -0.448), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.07, -0.14).lineTo(0.07, -0.006).threePointArc((0.087, 0.035), (0.128, 0.052)).lineTo(0.14, 0.052).lineTo(0.14, 0.035).lineTo(0.233, 0.035).lineTo(0.233, 0.052).lineTo(0.233, 0.12...
1
15
0.044703
train_118d27ea153005ac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.264), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.103, 2).extrude(0.528) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.221, -0.823, 0.044), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.072, 0.372).extrude(0.053)) result = result.edges()...
9
125
1.127422
train_0bd4f8910177695a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.051, -1, -0.247), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.481, -0.419).lineTo(-0.481, 0.343).lineTo(-0.282, 0.228).threePointArc((0.178, 0.419), (0.481, 0.024)).lineTo(0.481, -0.419).lineTo(0.348, -0.419).lineTo(-0.481, -0.419).close().sw...
11
93
1.783985
train_4704694995243205
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.018, 0.142, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.975, 0.016).lineTo(0.466, 0.807).lineTo(-0.494, 0.858).lineTo(-0.939, -0.015).lineTo(-0.495, -0.837).lineTo(0.5, -0.832).close().moveTo(-0.603, -0.263).lineTo(-0.156, -0.262).line...
12
60
0.452127
train_4d2336a818d84847
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.086, 0.044, -0.654), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.818, 0.449).extrude(0.73) result = result.cut(cq.Workplane(cq.Plane(origin=(0.068, 0.012, -0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.132).extrude(0.13)) result = result.ed...
17
108
0.213593
train_733bd49d0bc4578c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.214, -0.427, -0.472), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.701, 0.691).extrude(0.669) result = result.cut(cq.Workplane(cq.Plane(origin=(0.383, -0.489, 0.043), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.071).extrude(0.158)) result = result....
23
81
0.766633
train_91c8ffba481a8528
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.755), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.898).extrude(1.298) result = result.union(cq.Workplane(cq.Plane(origin=(0.1, 0.095, 0.541), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.8, 1.708).extrude(0.09)) result = result.union(cq.Wor...
16
303
3.979448
train_6fab2e6aa911a400
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.473, -0.259, -0.082), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.094, 1.259).threePointArc((-0.094, 0.259), (0.094, -0.741)).lineTo(0.094, 1.259).close().revolve(angleDegrees=180, axisStart=(0.094, -0.741), axisEnd=(0.094, 1.259)) result = res...
8
51
0.197448
train_5da879490d63176b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.642, -0.667, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(1, 1.335).lineTo(-1, 1.335).lineTo(-0.5, 0.469).lineTo(0.5, 0.469).lineTo(1, 1.335).close().revolve(angleDegrees=90, axisStart=(0, 0), axisEnd=(0.34, 0)) result = result.cut(cq.Workplan...
5
29
1.835964
train_d56a5874847aadd6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.493, 0.36), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.642, 0.735).extrude(0.64) result = result.union(cq.Workplane(cq.Plane(origin=(-0.029, -0.344, 0.815), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.043, 1.033).extrude(0.055)) result = result....
4
21
0.290956
train_16312ed68c7ec6f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.303), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-1, 0.383).lineTo(0.902, 0.383).lineTo(1, 0.261).lineTo(-0.69, -0.383).lineTo(-1, 0.383).close().extrude(0.135) result = result.union(cq.Workplane(cq.Plane(origin=(-0.24, 0.369, 0.223), norm...
2
54
0.142736
train_bb8c518637dbaff5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.258, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.261, 0.692).lineTo(0.448, 0.692).lineTo(0.448, -0.055).lineTo(-0.448, -0.055).lineTo(-0.448, -0.017).lineTo(0.224, -0.017).lineTo(0.224, 0.654).lineTo(0.261, 0.654).lineTo(0.261, 0.692).c...
4
38
0.195465
train_138c0f6f1cd06c96
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.273, 0, -0.624), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.453, 0.995).extrude(1.247) result = result.cut(cq.Workplane(cq.Plane(origin=(0.171, -0.133, -0.221), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.744, 0.194).extrude(0.19)) result = result....
22
125
1.256105
train_33ded30d42a83c07
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.133, 0.167), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.122).sweep(cq.Workplane('YZ').spline([(0.133, -0.251), (0.266, -0.081), (0.4, -0.025), (0.532, -0.081), (0.666, -0.251)])) result = result.edges().chamfer(0.037) result = result.cut(cq....
27
197
0.034599
train_88e1aaa32c35c22d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.776, -0.082), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.326, 0).threePointArc((-0.231, 0.231), (0, 0.326)).threePointArc((0.231, 0.231), (0.326, 0)).threePointArc((0.231, -0.231), (0, -0.326)).lineTo(0, 0).lineTo(-0.326, 0).close().sweep(c...
2
13
0.249462
train_56c9c2d5aadbeff5
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(1.181, 1.009).extrude(1.216) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.473 + 0.2365, 0.3655, -0.872), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0, -0.114).lineTo(-0.006, -0.126).lin...
11
45
1.332781
train_aebd017efd5d7312
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.069, 0.462), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.424, -0.222).lineTo(0.424, -0.202).lineTo(0.538, -0.202).lineTo(0.538, 0.222).lineTo(-0.538, 0.222).lineTo(-0.538, -0.222).lineTo(0.424, -0.222).close().sweep(cq.Workplane('XY').spline...
4
41
0.281031
train_8515981cde0fa2ad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.061, -0.432), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 0.8).extrude(0.864) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.8 + 0.2665, -0.381 + 0.08, -0.561), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.016, -0.032).lineTo(0.007, -0....
14
71
1.37016
train_e48b605dfb9dd63f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.164, 0.134, -0.163), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.425, 1.319).extrude(1.163) result = result.union(cq.Workplane(cq.Plane(origin=(-0.093, 0.2, -0.327), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.283, 1.187).extrude(0.169)) result = r...
7
37
2.548106
train_740b0c1cbda7e2ef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.006, -0.605, -0.97), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.029, -0.091).threePointArc((-0.035, -0.011), (-0.029, 0.091)).threePointArc((0.035, 0.011), (0.029, -0.091)).close().sweep(cq.Workplane('YZ').spline([(-0.605, -0.97), (-0.301, -0...
19
235
0.039998
train_a06e1cebe9f0171f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.235, -0.82), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.874, 1.531).extrude(1.641) result = result.union(cq.Workplane(cq.Plane(origin=(0 + 0.351 * math.cos(0.939 + 2 * math.pi * 0 / 3), 0.586 + 0.351 * math.sin(0.939 + 2 * math.pi * 0 / 3), 0...
12
91
4.631613
train_e0999472ddd8b662
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, -0.486, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.887, 0.682).threePointArc((0.82, 0.342), (0.627, 0.055)).lineTo(-0.627, 0.055).threePointArc((-0.887, 0.682), (-0.627, 1.309)).lineTo(0.627, 1.309).lineTo(0.627, 0.682).lineTo(0.887, ...
22
201
2.638951
train_ccf6efdebae321f3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.098, 0.006, -0.066), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.063, 0.074).extrude(0.076) result = result.union(cq.Workplane(cq.Plane(origin=(0.113, 0.027, 0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.007).extrude(0.107)) result = result....
6
73
0.013276
train_d578728c7596794c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.374, 0.193), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.485, 0.452).lineTo(0.485, 0.452).lineTo(0.485, -0.452).lineTo(0.467, -0.452).lineTo(0.467, -0.229).lineTo(-0.467, -0.229).lineTo(-0.467, 0.062).lineTo(0.467, 0.062).lineTo(0.467, 0.35...
3
28
0.473535
train_1ec9a4f4b681902d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.535, -0.003, 0.035), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.339, 0.665).lineTo(-0.339, 0.601).lineTo(0.248, 0.013).lineTo(-0.339, 0.013).lineTo(-0.339, -0.013).lineTo(0.285, -0.013).lineTo(0.28, -0.019).lineTo(-0.339, -0.638).lineTo(-0.313...
5
33
0.303826
train_67512e8abf1fc907
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.693, 0.439, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.205, -0.102).lineTo(0, 0.102).lineTo(0.205, 0.307).lineTo(0.078, 0.307).lineTo(-0.205, 0.025).lineTo(-0.205, -0.102).lineTo(0, -0.307).lineTo(0.205, -0.102).close().sweep(cq.Workplane...
7
41
0.215158
train_b44cac49bece9fa9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.235, 0, -0.365), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.531, 1.768).extrude(0.731) result = result.union(cq.Workplane(cq.Plane(origin=(0.743, -0.242, -0.057), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.515, 0.502).extrude(0.349)) result = res...
3
12
1.996203
train_3f8c15cb9616acb8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.506, -0.136, -0.453), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.13, -0.118).lineTo(0.018, -0.006).lineTo(0.13, 0.106).lineTo(0.13, 0.098).lineTo(0.143, 0.098).lineTo(0.143, 0.137).lineTo(0.105, 0.137).lineTo(0.105, 0.124).lineTo(0.112, 0.124)...
3
39
0.022793
train_cde7122145788288
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.34, 0.24, 0.067), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.311, 0.32).extrude(0.136) result = result.union(cq.Workplane(cq.Plane(origin=(-0.317, 0.24, 0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.295, 0.167).extrude(0.017)) result = resul...
7
99
0.459359
train_50b51d68d1e3882d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.666, 0, -0.546), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.669, 0.669).extrude(0.928) result = result.union(cq.Workplane(cq.Plane(origin=(0.307, 0, -0.271), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.387, 0.284).extrude(0.379)) result = result.u...
11
45
0.63725
train_55e34c0d2b96d882
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.14, 0.011, 0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.237, 0.259).extrude(0.033) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.125, 0.03, 0.012), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.093, 0.159).extrude(0.007)) result = resul...
30
428
0.045512
train_0132eebbcd9ac3cb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.009, -0.016, -0.274), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, -0.005).lineTo(0.678, 0.705).lineTo(0.032, 1.016).lineTo(-0.736, 0.71).lineTo(-0.983, -0.025).lineTo(-0.711, -0.71).lineTo(0.034, -0.984).lineTo(0.735, -0.729).close().center(-0...
12
124
0.873029
train_04f965c00a75e847
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.094, 0.158, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.023, 1.683).extrude(0.182) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.094 + 0.225 * math.cos(6.095 + 2 * math.pi * 0 / 6), 0.158 + 0.225 * math.sin(6.095 + 2 * math.pi * 0...
22
191
0.252546
train_27971d6afb472800
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.677, -0.338, 0.365), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.323, 0.085).lineTo(-0.323, -0.127).lineTo(0.323, -0.074).lineTo(0.323, -0.021).lineTo(0.152, 0.12).threePointArc((0.132, 0.127), (0.111, 0.12)).lineTo(0.111, 0.085).lineTo(-0.323...
1
9
0.032843
train_43b4fbed84c75f68
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.006, 0.826, -0.257), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.147, 0.038).threePointArc((-0.149, 0.051), (-0.136, 0.055)).threePointArc((0, 0.028), (0.136, 0.054)).threePointArc((0.149, 0.051), (0.148, 0.038)).threePointArc((0, 0.004), (-0...
6
103
0.015948
train_57f719b7d167ef15
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.133, -0.646, -0.181), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.182, -0.154).threePointArc((-0.182, 0.21), (0.182, 0.574)).lineTo(0.182, 0.319).threePointArc((0.073, 0.21), (0.182, 0.101)).lineTo(0.182, -0.154).close().revolve(angleDegrees=2...
18
266
0.343126
train_44a0769151db0f11
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.067, 0, -0.083), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.696, 1.233).extrude(1.083) result = result.union(result.mirror('XY', basePointVector=(-0.067, 0, 0))) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.067 + 0.191 * math.cos(0.043 +...
15
214
1.316762
train_2abf8c34629ffef0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.102, 0.146, -0.601), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.609, 0.695).extrude(1.601) result = result.union(cq.Workplane(cq.Plane(origin=(0.258, -0.236, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.04, 0.072).extrude(0.224)) result = r...
12
149
0.681177
train_420840f5d2cd4e5e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.015, 0.17), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.327).lineTo(0.655, 0.327).threePointArc((0, -0.327), (-0.655, 0.327)).lineTo(0, 0.327).close().extrude(0.257) result = result.edges().fillet(0.081) result = result.faces('<X').shell...
16
74
0.141696
train_1698d7b2629dffc7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.25, 0, -0.943), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.5, 1.17).extrude(1.3) result = result.union(cq.Workplane(cq.Plane(origin=(0.74, -0.176, -0.649), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.52, 0.3).extrude(0.304)) result = result.union(...
6
25
2.00157
train_ea409ee1805cc2d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.571, -1.089, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.555, 1.76).threePointArc((-1, 0.927), (-0.555, 0.095)).lineTo(0, 0.927).lineTo(0.555, 0.095).threePointArc((1, 0.927), (0.555, 1.76)).threePointArc((0, 1.927), (-0.555, 1.76)).close(...
3
32
2.17701
train_72630a722aa72cf8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.058, -0.211), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.34, 1.884).extrude(1.02) result = result.union(cq.Workplane(cq.Plane(origin=(-0.625, -0.231, 0.29), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-1.47, 0.769).lineTo(0.892, 0.769).lineTo(-0...
8
44
2.639864
train_49d45505964a115c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.514, 0, -0.441), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.305, 0.032).threePointArc((0.222, 0.34), (0.305, 0.648)).lineTo(0.064, 0.897).lineTo(0.064, 0.34).lineTo(-0.305, 0.34).lineTo(-0.305, -0.217).lineTo(0.064, -0.217).lineTo(0.305, 0.032...
3
16
1.206865
train_278432b37e9b9e1f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.044, -0.141, -0.657), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.222, -0.142).threePointArc((0, -0.051), (0.222, -0.142)).threePointArc((0, 0.403), (-0.222, -0.142)).close().extrude(0.442) result = result.union(cq.Workplane(cq.Plane(origin=(0....
27
117
0.576271
train_fb3019f5d562a7f4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.077, 0.029, -0.001), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.174, 0.433).lineTo(0.058, 0.543).lineTo(-0.174, -0.44).lineTo(-0.04, -0.471).lineTo(0.174, 0.433).close().extrude(0.229) result = result.edges().fillet(0.019) result = result.cut(...
12
154
0.050998
train_f5f5dd6de775be14
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.684, 0.262, -0.32), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.632, 0.405).extrude(0.098) result = result.union(cq.Workplane(cq.Plane(origin=(0.328, 0.301, -0.285), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.096, 0.102).extrude(0.047)) result = re...
17
94
0.351064
train_d65d21c3cd7306e6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.035, 0.581, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.586, -0.241).lineTo(0.586, -0.034).lineTo(0.366, 0.11).lineTo(0.26, 0.607).lineTo(0.586, 0.933).lineTo(-0.586, 0.933).lineTo(-0.26, 0.607).lineTo(0.237, 0.712).lineTo(0, 0.347).lineTo(...
3
31
0.71636
train_e9e59656cc1863c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.322, 0.495, -0.357), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.663, 0.07).lineTo(0, 0.07).lineTo(0, 0.236).lineTo(-0.663, 0.899).lineTo(0.663, 0.899).lineTo(0.663, 0.07).close().extrude(0.951) result = result.union(cq.Workplane(cq.Plane(origi...
18
129
0.625662
train_7fa7fe0c26673f4a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.033, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.644, 0.527).extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(0.028, -0.263, -0.656), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.095, 0.069).extrude(0.128)) result = result.cut(c...
11
52
0.472022
train_ae1771c34bd77e08
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.273, 0.131, -0.092), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.171, 0.788).threePointArc((-0.224, 0.811), (-0.277, 0.788)).threePointArc((-0.251, 0.708), (-0.331, 0.681)).lineTo(-0.331, 0.649).threePointArc((-0.329, 0.632), (-0.331, 0.616))....
4
32
0.195667
train_697f5b0d9a5e4a0f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.257, 0.173), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.083, -0.083).lineTo(0.083, -0.028).lineTo(-0.028, 0.083).lineTo(-0.083, 0.083).lineTo(-0.083, -0.083).lineTo(0.083, -0.083).close().sweep(cq.Workplane('XY').spline([(0.015, -0.257), (-...
6
39
0.050763
train_5c77812ffbb8241c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.015, 0, 0.59), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.756, 0.214).extrude(0.198) result = result.union(cq.Workplane(cq.Plane(origin=(-0.427, -0.01, 0.782), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.037).extrude(0.218)) result = result.unio...
7
58
0.235738
train_a607f77f93b5a061
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.176, -0.425, -0.146), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.419, 1.245).threePointArc((0.658, 0.641), (0.265, 0.124)).threePointArc((-0.028, 0.119), (-0.32, 0.153)).threePointArc((-0.658, 0.703), (-0.367, 1.279)).threePointArc((0.027, 1.29...
33
242
0.996024
train_f9a57597c61cdb3e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.168, -0.029, -0.067), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.074, 0.096).lineTo(0.074, 0.121).lineTo(-0.074, 0.121).lineTo(-0.074, -0.051).lineTo(0.074, -0.051).lineTo(0.074, 0.096).close().extrude(0.256) result = result.edges().fillet(0.0...
26
163
0.418755
train_d272c0698d58f279
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 0, 0.486), normal=(1, 0, 0), xDir=(0, 0, 1))).circle(0.076).sweep(cq.Workplane('XZ').spline([(0.763, 0.244), (0.621, 0.258), (0.481, 0.242), (0.404, 0.205), (0.423, 0.162), (0.529, 0.131)])) result = result.edges().fillet(0.017) result = result...
9
63
0.173428
train_7e5b23b94009b6a2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0.263, -0.204), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.727, 0.571).extrude(0.176) result = result.union(cq.Workplane(cq.Plane(origin=(-0.003, 0.485, -0.021), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.207, 0.14).lineTo(0.207, 0.183).li...
10
136
0.181839
train_5853034ae345c8c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.796, 0.105, 0.069), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.081, 0.244).lineTo(-0.081, -0.099).lineTo(0.031, -0.099).lineTo(0.04, -0.014).lineTo(-0.016, -0.014).lineTo(0.011, 0.244).lineTo(0.074, 0.244).lineTo(0.081, 0.309).lineTo(-0.081, 0...
4
24
0.010399
train_4462ba20fee6b7da
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.266, 0.103, -0.231), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.467, 1.107).extrude(0.461) result = result.faces('>Z').shell(-0.033) result = result.union(cq.Workplane(cq.Plane(origin=(0.723, 0.105, -0.014), normal=(0, 0, 1), xDir=(1, 0, 0))).re...
4
19
0.156344
train_f514baeee6df41f3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.066, 0, -0.268), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.682, 1.186).extrude(0.845) result = result.cut(cq.Workplane(cq.Plane(origin=(0.066, 0, 0.096), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.02).extrude(0.493)) result = result.union(cq.Wo...
15
85
0.700092
train_e4896f502d16641f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.048, 0.293, -0.31), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.232, 0.634).lineTo(-0.232, -0.255).lineTo(0.232, -0.255).lineTo(0.232, 0.634).lineTo(-0.232, 0.634).close().revolve(angleDegrees=180, axisStart=(-0.232, 0.634), axisEnd=(-0.232, -...
13
69
0.531244
train_9054b37200655e2d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.251, -0.154, -0.374), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.499, 1.336).extrude(0.696) result = result.cut(cq.Workplane(cq.Plane(origin=(0.251, 0.263, -0.173), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.1, 0.528).extrude(0.293)) result = resu...
26
304
0.72655
train_dfe9a689b15c2ce3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.347, 0, -0.481), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.367, 0.002).lineTo(0.367, 0.692).lineTo(-0.367, 0.692).lineTo(-0.367, 0.002).lineTo(0.367, 0.002).close().revolve(angleDegrees=360, axisStart=(0.367, 0.002), axisEnd=(0.367, 0.692)) r...
12
66
1.122986
train_bc31c5aa5b79f9ec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.021, 0.02, 0.058), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.094, 0.084).extrude(0.05) result = result.cut(cq.Workplane(cq.Plane(origin=(0.02, 0.036, 0.056), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.006).extrude(0.06)) result = result.cut(cq....
48
226
0.025189
train_83e9632fcb2e4408
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.082, 0.344, -0.462), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.535, 0.152).threePointArc((0.002, 0.098), (0.538, 0.039)).lineTo(0.535, 0.012).threePointArc((-0.001, 0.071), (-0.538, 0.125)).lineTo(-0.535, 0.152).close().extrude(0.496) result...
19
191
0.022682
train_2757f2c67ef38408
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.932), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.483).extrude(1.863) result = result.cut(cq.Workplane(cq.Plane(origin=(0.489, -0.152, -0.326), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.315, 0.883).extrude(1.29)) result = result.cut(cq.W...
12
61
4.389255
train_e0dc32785b3d0c0b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.104, 0.287, -0.035), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.231, 0.873).threePointArc((0, 1.104), (0.231, 0.873)).lineTo(0.231, -0.665).threePointArc((0, -0.896), (-0.231, -0.665)).lineTo(-0.231, 0.873).close().extrude(0.573) result = res...
31
81
0.423736
train_f491d692fcda88a9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.047, 0, 0.885), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, 0.672).lineTo(-0.672, 0).lineTo(0, -0.672).lineTo(0.672, 0).lineTo(0, 0.672).close().workplane(offset=0.544).moveTo(0, 0.985).lineTo(-0.985, 0).lineTo(0, -0.985).lineTo(0.985, 0).line...
4
19
2.265839
train_770caadfbe3a9da0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.246, -0.631, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.271, -0.893).threePointArc((0.271, 0.246), (-0.271, 1.384)).lineTo(-0.271, -0.893).close().extrude(1.261) result = result.edges().chamfer(0.202) result = result.cut(cq.Workplane(cq.P...
4
20
0.780737
train_1c201dd6a121440f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, -0.927, -0.111), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(1.03, -0.073).lineTo(-1.03, -0.073).lineTo(-0.399, 1.6).threePointArc((0.287, 1.901), (1.03, 1.999)).lineTo(1.03, -0.073).close().revolve(angleDegrees=90, axisStart=(1.03, -0.073), ax...
3
20
3.430927
train_71affd9cf87e5ca0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.555, 0.04, -0.242), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.758, 0.556).lineTo(-0.687, 0.627).lineTo(-0.551, 0.763).lineTo(0.551, 0.763).lineTo(0.687, 0.627).lineTo(0.758, 0.556).lineTo(0.758, -0.404).lineTo(0.551, -0.611).lineTo(-0.551, -...
10
84
2.041271
train_216e2d153f331682
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.199, -0.37), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.561, 1.601).extrude(0.74) result = result.union(cq.Workplane(cq.Plane(origin=(0.133, -0.792, -0.188), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.208).extrude(0.434)) result = result.edge...
11
58
1.630449
train_1f98820f9ff8d9a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.033, -0.3), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.311).extrude(0.732) result = result.union(cq.Workplane(cq.Plane(origin=(-0.8 + 0.4, 0.1865, 0.355), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(-0.101, 0.071).lineTo(-0.101, 0.061).lineT...
19
180
1.789756
train_a27d712ae4d1847d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.386, 0.028, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.614, 0.018).lineTo(0.188, 0.603).lineTo(-0.493, 0.349).lineTo(-0.475, -0.38).lineTo(0.193, -0.582).close().moveTo(-0.468, -0.152).lineTo(-0.042, -0.15).lineTo(-0.044, 0.151).lineTo...
14
123
0.440398
train_3bd08b6c10e4759a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.503, 0.028, -0.132), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.174, 0.174).extrude(0.264) result = result.union(cq.Workplane(cq.Plane(origin=(0.521, -0.085, 0.009), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.026, 0.06).extrude(0.041)) result = re...
13
119
0.019694
train_8b75156a4fc41ce1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.618, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.931, 0.907).lineTo(-0.621, 0.494).lineTo(-0.31, 0.081).lineTo(0.31, 0.081).lineTo(0.31, 0.329).lineTo(0.434, 0.494).lineTo(0.621, 0.494).lineTo(0.621, 0.742).lineTo(-0.621, 0.742).lineTo...
12
117
1.860988
train_6ba03631a9591a60
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.756, -0.069, -0.075), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.244, -0.163).lineTo(-0.244, -0.163).lineTo(-0.244, 0).lineTo(-0.081, 0.163).lineTo(0.081, 0.163).lineTo(0.081, 0).lineTo(0.244, 0).lineTo(0.244, -0.163).close().sweep(cq.Workpla...
3
14
0.088898
train_c40c4d31ec50fbf8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.007, 0.002, 1), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.03, 1.002).lineTo(-0.352, 1.002).lineTo(-0.302, -0.711).threePointArc((-0.224, -0.916), (-0.023, -1.002)).lineTo(0.03, -1.002).lineTo(0.08, -1.002).threePointArc((0.282, -0.915), (0.3...
11
88
0.956455
train_45a1a155d255d50b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.611, -0.189, 0.598), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.214, -0.453).lineTo(-0.214, 0.83).lineTo(0.214, 0.83).lineTo(0.214, -0.453).lineTo(-0.214, -0.453).close().extrude(0.562) result = result.edges().chamfer(0.086) result = result.c...
19
148
0.493465
train_387a38a4473058ce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.078, -0.12, -0.021), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.017, 0.185).lineTo(-0.017, -0.135).lineTo(-0.017, 0.185).lineTo(0.017, 0.185).close().extrude(0.036) result = result.edges().chamfer(0.006) result = result.union(cq.Workplane(cq.P...
11
94
0.005725
train_08570f2dfecd22d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.146, 0.446, -0.279), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.481, 1.108).extrude(1.265) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.249, 0.629, 0.398), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.777, 0.188).extrude(0.143)) result = re...
13
100
2.477719
train_b86ae3f55178ae7c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, -0.001, 0.145), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0, 0.026).lineTo(-0.855, 0.026).lineTo(-0.855, 0.161).lineTo(0.855, 0.161).lineTo(0.855, 0.026).lineTo(0, 0.026).close().revolve(angleDegrees=270, axisStart=(0, 0), axisEnd=(0.038, 0...
9
51
0.062177
train_ee81bb429cc20672
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.011, -0.117, -0.765), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.489, 1.489).extrude(1.58) result = result.faces('<X').shell(-0.162) result = result.union(cq.Workplane(cq.Plane(origin=(0.074, 0.057, 0.806), normal=(0, 0, 1), xDir=(1, 0, 0))).cir...
14
121
2.064867
train_352f879ae757f68b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, -0.032), normal=(1, 0, 0), xDir=(0, 0, 1))).circle(0.09).sweep(cq.Workplane('XY').spline([(-0.938, -0.254), (-0.563, -0.242), (-0.188, -0.137), (0.187, 0.137), (0.563, 0.241), (0.938, 0.253)])) result = result.union(cq.Workplane(cq.Plan...
2
7
0.046829
train_dff63061e01136d7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.126, -0.145, -0.431), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.322, 0.288).extrude(0.212) result = result.union(cq.Workplane(cq.Plane(origin=(-0.434, -0.136, -0.382), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.33, 0.25).extrude(0.114)) result =...
6
53
0.285589
train_3d2a9445f47621ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.033), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.337, -0.249).lineTo(0.337, -0.226).lineTo(0.314, -0.226).lineTo(0.314, 0.226).lineTo(0.337, 0.226).lineTo(0.337, 0.249).lineTo(-0.337, 0.249).lineTo(-0.337, 0.226).lineTo(-0.314, 0.226)....
9
57
0.367856
train_43f8b28bc1d06633
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.122, 0.924, 0.19), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.397, 0.244).lineTo(-0.397, 1.17).threePointArc((-0.007, 1.467), (0.382, 1.17)).threePointArc((0.397, 1.063), (0.382, 0.956)).lineTo(0.382, 0.244).lineTo(-0.397, 0.244).close().revol...
16
48
1.934749
train_d6f51125882484c3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.649, -1, -0.001), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.347, 0.062).lineTo(-0.347, 0.783).lineTo(0.347, 0.783).lineTo(0.347, 0.062).lineTo(-0.347, 0.062).close().extrude(1.763) result = result.union(cq.Workplane(cq.Plane(origin=(-0.673, ...
4
33
0.901467
train_afa0ca30b48bb77b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.014, 0.338), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.458, 0.494).extrude(0.662) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.016, -0.094, 0.318), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.058).extrude(0.794)) result = result.edges...
15
172
0.146052
train_8365d31be7bb5d66
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.556, 0.059, -0.019), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.602, 0.483).extrude(0.331) result = result.union(cq.Workplane(cq.Plane(origin=(-0.666, 0.042, -0.142), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.145, 0.142).extrude(0.133)) result =...
22
182
0.553815
train_b33318b7839d9a44
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.519, -0.233, -0.271), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(1.271, 1.006).lineTo(-1.271, 0.081).lineTo(1.271, 0.081).lineTo(1.271, 1.006).close().extrude(0.537) result = result.edges().fillet(0.115) result = result.union(cq.Workplane(cq.Pla...
9
145
0.56383
train_7a284872daa31e28
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.006, 0.015, 0.419), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.677, -0.03).lineTo(0.467, 0.452).lineTo(0.002, 0.644).lineTo(-0.48, 0.451).lineTo(-0.688, -0.027).lineTo(-0.474, -0.451).lineTo(0.015, -0.674).lineTo(0.473, -0.453).close().moveTo(-...
26
217
0.9311
train_dc6ff695ba13a6fb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.392, -0.476, -0.23), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.561, 0.578).threePointArc((0.155, 0.715), (-0.255, 0.592)).threePointArc((-0.477, 0.345), (-0.561, 0.023)).threePointArc((-0.441, -0.381), (-0.111, -0.645)).threePointArc((-0.274,...
15
61
1.025184