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_c85dcfca195bed1a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.178, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.069, 0.018).lineTo(0.103, 0.018).lineTo(0.103, 0.064).lineTo(-0.069, 0.064).lineTo(-0.069, 0.337).lineTo(-0.103, 0.337).lineTo(-0.103, 0.018).lineTo(-0.069, 0.018).close().extrude(2)
1
8
0.037516
train_4fe6ec8a263087c2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.038, 0.043, 1), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-1.101, -0.133).lineTo(0.456, -0.778).lineTo(1.101, 0.778).lineTo(-0.19, 0.778).lineTo(-1.101, -0.133).close().workplane(offset=1.061).moveTo(-0.951, -0.115).lineTo(0.394, -0.672).lineT...
6
45
1.787159
train_068dcbf24770fddf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.513, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.942, 1.05).lineTo(0.942, -0.025).lineTo(-0.942, -0.025).lineTo(-0.942, 0.782).lineTo(0.672, 0.782).lineTo(0.672, 1.05).lineTo(0.942, 1.05).close().extrude(2) result = result.edges().fille...
7
54
2.940764
train_ee07cadb0129349d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.073, 0.019, -0.243), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.06, 0.076).extrude(0.116) result = result.union(cq.Workplane(cq.Plane(origin=(0.063, 0.034, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.011).extrude(0.019)) result = result....
11
70
0.026035
train_34c198df84d3c353
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.231, 0.026, 0.338), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.064, 0.04).lineTo(0.052, 0.052).lineTo(0.124, 0.124).threePointArc((0.124, -0.124), (-0.124, -0.124)).lineTo(-0.052, -0.052).lineTo(-0.04, -0.064).lineTo(0.012, -0.012).lineTo(0.0...
6
36
0.102238
train_d5e94bbc15b4c1c5
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.603).workplane(offset=0.677).circle(0.639).workplane(offset=0.756).circle(0.582).workplane(offset=0.567).circle(0.655).loft() result = result.edges().fillet(0.077) result = result.cut(cq.Workp...
17
44
2.187072
train_91cdbd2065340b2e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.605).workplane(offset=0.664).circle(0.57).workplane(offset=0.67).circle(0.583).workplane(offset=0.666).circle(0.524).loft() result = result.edges().chamfer(0.086) result = result.cut(cq.Workpl...
16
59
1.028427
train_743edc76028556a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.402, 0.279, -0.534), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.463).workplane(offset=0.131).circle(0.448).workplane(offset=0.161).circle(0.42).workplane(offset=0.124).circle(0.425).workplane(offset=0.122).circle(0.432).workplane(offset=0.143...
5
19
0.388007
train_6a8f7d44398fdc4d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.016, -0.294, -0.04), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.066, -0.706).lineTo(0.037, -0.706).lineTo(0.037, -0.618).lineTo(-0.066, -0.618).lineTo(-0.066, 0.622).lineTo(-0.037, 0.622).lineTo(-0.037, 0.769).lineTo(-0.015, 0.769).lineTo(-0.0...
4
30
0.015905
train_a732d34ace91ec99
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.049, 0.617, -0.502), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.498, 0.498).extrude(0.84) result = result.union(cq.Workplane(cq.Plane(origin=(-0.335, 0.655, 0.024), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.056, 0.633).lineTo(-0.056, 0.421).l...
12
251
0.391992
train_a32aa2db9aece926
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.005, 0.987, 0.038), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.201, -0.226).threePointArc((0.292, -0.085), (0.292, 0.083)).threePointArc((0.082, 0.292), (-0.207, 0.221)).threePointArc((-0.292, -0.075), (-0.075, -0.292)).threePointArc((-0.028, ...
4
28
0.034587
train_1a2f46c81406c867
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.736, 0.76).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(0.118, -0.069, -0.008), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.354, 0.293).extrude(1.033)) result = result.cut(cq.Workp...
4
16
0.96419
train_f6280fb2d175e62c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.348, -0.379), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.207, 0.123).lineTo(-0.207, 0.574).lineTo(0.207, 0.574).lineTo(0.207, 0.123).lineTo(-0.207, 0.123).close().revolve(angleDegrees=360, axisStart=(-0.207, 0.123), axisEnd=(-0.207, 0.574...
10
32
0.299124
train_b42dbccb4c5e2400
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.833, 0.007), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.026, -0.033).threePointArc((0, -0.042), (0.027, -0.033)).lineTo(0.02, -0.033).threePointArc((0.035, -0.019), (0.041, 0)).threePointArc((0.039, 0.002), (0.041, 0.003)).threePointArc((0...
1
10
0.02206
train_c60f006a6c7b8a96
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.236, 0, -0.603), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.113, 1.049).extrude(0.963) result = result.union(cq.Workplane(cq.Plane(origin=(-0.297, 0.082, 0.334), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.219).extrude(0.371)) result = result.un...
15
75
0.718626
train_3dc81c8bd055a025
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.295, 0.274, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.863, -0.367).lineTo(-0.914, -0.37).lineTo(-0.946, 0.818).lineTo(-0.963, 0.866).lineTo(0.157, 1.264).lineTo(0.197, 1.295).lineTo(0.921, 0.353).lineTo(0.963, 0.324).lineTo(0.291, -0.655...
4
43
1.285207
train_ec46693d302a0229
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.34, -0.206, 0.045), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.037, 0.189).lineTo(0.037, 0.006).lineTo(-0.061, 0.006).lineTo(-0.061, -0.176).lineTo(0.061, -0.176).lineTo(0.061, 0.189).lineTo(0.037, 0.189).close().extrude(0.084) result = result....
7
138
0.073025
train_ea2e733493855a28
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.934, 0.614, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-1, 1.118).lineTo(1, 1.118).lineTo(1, 0.11).lineTo(-1, 0.11).lineTo(-1, 1.118).close().extrude(1.869) result = result.edges().fillet(0.34) result = result.cut(cq.Workplane(cq.Plane(origi...
16
97
1.856658
train_05482dad2549b6d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.764), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.058).extrude(1.285) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.185, 0.222, -0.251), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.287).extrude(0.561)) result = result.cut(cq.Workp...
8
46
1.645683
train_36d15c5d89626b63
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.894), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.959).extrude(1.788) result = result.cut(cq.Workplane(cq.Plane(origin=(0 + 0.261 * math.cos(1.312 + 2 * math.pi * 0 / 4), 0.894 + 0.261 * math.sin(1.312 + 2 * math.pi * 0 / 4), -2.167), no...
12
9
6.959123
train_20e9969482417ce2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.307, -0.362, -0.665), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.252, 0.486).lineTo(0.252, 0.019).lineTo(-0.252, 0.282).lineTo(0.252, 0.486).close().extrude(0.351) result = result.edges().chamfer(0.06) result = result.union(cq.Workplane(cq.Pla...
8
82
0.124755
train_70345879926edd9c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.463, 0.744, -0.118), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.089, -0.045).lineTo(0.051, -0.045).lineTo(0.089, -0.018).lineTo(0.089, -0.009).lineTo(0.051, 0.018).lineTo(0.089, 0.045).lineTo(-0.089, 0.045).lineTo(-0.089, -0.045).close().sweep...
9
75
0.45961
train_00987a538e61f1f6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.479, -0.223, 0.083), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.808, 0.995).extrude(0.444) result = result.faces('>Y').shell(-0.037) result = result.union(cq.Workplane(cq.Plane(origin=(-0.448, -0.136, 0.045), normal=(1, 0, 0), xDir=(0, 0, 1))).m...
10
82
0.461127
train_70c296dd965dced9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.403, 0, -0.322), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.561, 0.72).extrude(0.644) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.403 + 0.125 * math.cos(0.803 + 2 * math.pi * 0 / 4), 0.322 + 0.125 * math.sin(0.803 + 2 * math.pi * 0 / 4)...
14
69
0.493189
train_161fb4405ca0d076
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.68, -0.221, -0.027), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.231, 0.32).lineTo(0.231, -0.32).lineTo(0.199, -0.32).lineTo(0.199, -0.288).lineTo(-0.231, -0.288).lineTo(-0.231, -0.118).lineTo(0.199, -0.118).lineTo(0.199, -0.086).lineTo(-0.231...
15
45
0.139035
train_c9a78b7f8ccbdd26
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.452, -0.828, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.331, -0.496).lineTo(0.496, 0.496).lineTo(0.331, 0.496).lineTo(0.198, -0.092).lineTo(0.066, 0.145).lineTo(-0.066, 0.145).lineTo(-0.198, -0.137).lineTo(-0.331, 0.496).lineTo(-0.496, 0....
2
15
0.007341
train_5df9bb1f9dec8927
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, -0.007, 0.526), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.314, 0.004).lineTo(0.159, 0.262).lineTo(-0.163, 0.278).lineTo(-0.324, -0.006).lineTo(-0.172, -0.261).lineTo(0.17, -0.269).close().moveTo(-0.17, 0.051).lineTo(-0.16, 0.07).lineTo(-0...
18
227
0.167706
train_5bd09141ed212f00
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.22, 0.66, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.513, 0.035).lineTo(0.471, -0.036).lineTo(0.023, -0.78).lineTo(-0.065, -0.78).lineTo(-0.513, -0.036).lineTo(-0.471, 0.035).lineTo(-0.021, 0.78).lineTo(0.429, 0.035).lineTo(0.513, 0.035).c...
1
10
0.448127
train_c6cf180080a6e937
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.707, 0.317, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-1, 0.421).lineTo(-1, 0.136).lineTo(0.429, 0.136).threePointArc((0.833, 0.303), (1, 0.707)).threePointArc((0.833, 1.111), (0.429, 1.278)).lineTo(-0.714, 1.278).lineTo(-1, 1.278).lineTo(-...
12
51
0.93627
train_f05d2a6290827a32
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.615, -0.285, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.968, 1.475).lineTo(0.968, 0.758).lineTo(0.968, -0.187).lineTo(-0.968, -0.904).lineTo(-0.968, 1.475).close().workplane(offset=0.196).moveTo(-0.89, 1.379).lineTo(0.89, 0.719).lineTo(0....
10
57
1.960604
train_3d85057396ea9264
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.072, -0.079), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.066, -0.449).lineTo(-0.781, -0.25).lineTo(-0.921, 0.363).lineTo(-0.788, 0.363).lineTo(-0.808, 0.449).lineTo(0.846, 0.449).lineTo(0.846, 0.363).lineTo(0.921, 0.363).lineTo(0.806, -0.141...
4
28
1.738882
train_56bc2d3c7ba5d2fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.302, -0.164, -0.537), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.789, 0.387).extrude(0.484) result = result.union(cq.Workplane(cq.Plane(origin=(0.263, -0.071, -0.634), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.096, 0.058).extrude(0.107)) result =...
8
106
0.878347
train_c95d80e663aae6d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.063, 0.5), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.5, 0.086).lineTo(-0.5, 0.073).lineTo(0.474, 0.073).lineTo(0.474, 0.04).lineTo(0.5, 0.04).lineTo(0.5, 0.086).lineTo(-0.5, 0.086).close().revolve(angleDegrees=360, axisStart=(-0.5, 0.086...
6
25
0.04437
train_e2d9eaed2b934290
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, -0.156, -0.955), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.028, -0.11).threePointArc((0.099, -0.057), (0.11, 0.03)).threePointArc((0.099, 0.057), (0.081, 0.08)).threePointArc((0, 0.114), (-0.081, 0.08)).lineTo(-0.11, 0.03).threePointArc((...
11
46
0.082936
train_e965d7013113243d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.033, -0.005, -0.019), normal=(0, 1, 0), xDir=(0, 0, 1))).lineTo(-0.293, 1.084).lineTo(0.293, 1.084).close().revolve(angleDegrees=360, axisStart=(0.293, 1.084), axisEnd=(-0.293, 1.084)) result = result.edges().chamfer(0.081) result = result.cut(...
13
26
0.391367
train_25efcef447e1d062
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.083, 0, 0.171), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.028, 1).threePointArc((-0.169, 0.919), (-0.25, 0.722)).lineTo(-0.25, -0.722).threePointArc((-0.169, -0.919), (0.028, -1)).lineTo(0.139, -1).lineTo(0.25, -1).lineTo(0.25, -0.778).lineTo...
16
153
0.279941
train_21f26d7d6aa28a39
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.366, 0.113, -0.078), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.144, 0.008).threePointArc((0, 0.151), (-0.144, 0.008)).lineTo(-0.239, 0.008).threePointArc((0, 0.247), (0.239, 0.008)).lineTo(0.144, 0.008).close().revolve(angleDegrees=360, axisS...
8
118
0.072286
train_b609a65951b811a6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.084, 0.007, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.032, -0.025).lineTo(0.333, 0.993).lineTo(-0.864, 0.584).lineTo(-0.845, -0.595).lineTo(0.32, -1.007).close().moveTo(-0.388, 0.3).lineTo(-0.388, 0.29).lineTo(-0.19, 0.29).lineTo(-0....
12
124
0.665219
train_453fc739feaedc37
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.032, -0.886, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.528, -0.968).lineTo(-0.214, 1.071).threePointArc((-0.372, 1.011), (-0.528, 0.945)).lineTo(0.168, -0.968).lineTo(0.528, -0.968).close().extrude(1.772) result = result.edges().chamfer(0...
7
33
0.855498
train_ed15570d9c760810
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.258, 0.524, -0.259), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.674, 0.901).lineTo(-0.674, -0.385).lineTo(0.674, -0.385).lineTo(0.674, 0.901).lineTo(-0.674, 0.901).close().workplane(offset=0.201).moveTo(-0.672, 0.9).lineTo(-0.672, -0.384).lin...
4
33
1.300528
train_795616e6e33a83c6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.46), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.346, -1).lineTo(0.346, 1).lineTo(-0.346, 1).lineTo(-0.346, -1).lineTo(0.346, -1).close().extrude(0.92) result = result.edges().chamfer(0.179) result = result.cut(cq.Workplane(cq.Plane(origi...
6
46
0.88329
train_d01b85598639f989
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.99, -0.649), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.349, 0.83).threePointArc((0, 0.924), (0.349, 0.83)).lineTo(1, 0.455).threePointArc((0, 0.056), (-1, 0.455)).lineTo(-0.349, 0.83).close().extrude(1.067) result = result.union(cq.Workpl...
11
59
1.78208
train_98f955ce2dcdca40
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.013, 0, -0.628), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.437, 0.44).extrude(0.01) result = result.union(cq.Workplane(cq.Plane(origin=(0.014, -0.105, -0.615), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.145, -0.986).lineTo(-0.145, 1.014).line...
10
131
0.524672
train_85730356de1e1e95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).circle(0.18).sweep(cq.Workplane('XY').spline([(-0.896, -0.233), (-0.598, -0.226), (-0.299, -0.178), (0, 0), (0.299, 0.178), (0.598, 0.226), (0.896, 0.233)])) result = result.cut(cq.Workplane(cq.Plane(or...
8
21
0.134266
train_5c3c858580de1fd9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.311, 0.405, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.329, 0.192).lineTo(-0.329, -0.689).lineTo(0.329, -0.689).lineTo(0.329, 1.311).lineTo(-0.329, 1.311).lineTo(-0.329, 0.192).close().extrude(0.572) result = result.edges().chamfer(0.186)...
3
29
0.570458
train_1b924a2bf165f492
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.039, -0.33, -0.243), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.294, -0.67).lineTo(-0.294, 1.094).lineTo(0.294, 1.094).lineTo(0.294, 0.801).lineTo(-0.073, 0.801).lineTo(-0.073, -0.67).lineTo(-0.294, -0.67).close().extrude(0.55) result = result...
8
64
0.273056
train_9421e90326da4b2f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.137, 0.295, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.683, 1.41).extrude(0.456) result = result.faces('>Z').shell(-0.029) result = result.union(cq.Workplane(cq.Plane(origin=(-0.35, 0.486, 0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveT...
5
43
0.30798
train_e7980e89acbffc31
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.811, -0.211, -0.16), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.011, -0.14).lineTo(0.011, -0.063).threePointArc((-0.022, -0.056), (-0.05, -0.037)).lineTo(-0.149, -0.037).threePointArc((-0.154, 0.057), (-0.109, 0.14)).threePointArc((0.154, 0.1...
13
48
0.256813
train_2066196bef905350
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.251, -0.042, 0.326), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.567, 0.182).lineTo(0.529, 0.182).lineTo(0.529, 0.11).lineTo(0.749, 0.11).lineTo(0.749, -0.031).lineTo(0.529, -0.031).lineTo(0.529, -0.103).lineTo(0.383, -0.103).lineTo(0.383, -0...
24
216
0.031958
train_619dc4f4924ace17
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.024, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.578, 0.913).extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(-0.289, -0.261, -0.303), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.025).extrude(0.31)) result = result.cut(cq.Wor...
10
55
0.9814
train_602fa1ac9c98ed6e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.662, 0.708, 0.164), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.445, 0.848).threePointArc((0, 1.145), (0.445, 0.848)).threePointArc((0, 0.18), (-0.445, 0.848)).close().workplane(offset=0.2).moveTo(-0.414, 0.835).threePointArc((0, 1.111), (0.41...
14
66
0.625427
train_fbcec59c82aa53f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.528, -0.282), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.067, -0.472).lineTo(-0.727, -0.215).lineTo(-0.909, 0.386).lineTo(-0.775, 0.386).lineTo(-0.801, 0.472).lineTo(-0.705, 0.472).lineTo(-0.705, 0.386).lineTo(0.909, 0.386).lineTo(0.758, -...
4
49
0.567776
train_c178794aee890dee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.166, 0.385, -0.61), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.39, 0.033).lineTo(0.39, 0.349).lineTo(-0.39, 0.349).lineTo(-0.39, 0.26).lineTo(-0.286, 0.26).lineTo(-0.286, 0.033).lineTo(0.39, 0.033).close().extrude(0.81) result = result.union(c...
11
69
0.329719
train_6558a36282f9d6bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.209, 0.218, -0.458), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.01, 0.335).threePointArc((-0.325, 0), (0.01, -0.335)).threePointArc((0.325, -0.116), (0.228, 0.255)).threePointArc((0.126, 0.314), (0.01, 0.335)).close().extrude(0.382) result = r...
10
146
0.399801
train_6c0ca983902ad31e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.015, -0.345), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.213).extrude(0.689) result = result.faces('>Z').shell(-0.046) result = result.union(cq.Workplane(cq.Plane(origin=(0.427, -0.746, -0.035), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.1...
5
77
0.329124
train_77be453723101e04
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.101, -0.16), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, -1.052).lineTo(0.301, -0.414).lineTo(1, -0.325).lineTo(0.487, 0.158).lineTo(0.618, 0.851).lineTo(0, 0.512).lineTo(-0.618, 0.851).lineTo(-0.487, 0.158).lineTo(-1, -0.325).lineTo(-0.301,...
12
86
0.306298
train_83bb41d1d54211e7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.504, 0.558).extrude(1.811) result = result.union(cq.Workplane(cq.Plane(origin=(0.273, -0.078, -0.202), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.035, 0.09).extrude(0.11)) result = result.uni...
11
77
0.528515
train_42e3dd9c0449884d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.209, 0.151, -0.69), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.103, 0.016).lineTo(0.31, 0.016).threePointArc((0, 0.326), (-0.31, 0.016)).lineTo(-0.103, 0.016).lineTo(0.103, 0.016).close().extrude(0.369) result = result.union(cq.Workplane(cq.Pl...
8
39
0.065856
train_6b6006e4045af216
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.38, -0.58, -0.105), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.895, 0.038).lineTo(-0.895, 0.651).threePointArc((0, 0.67), (0.895, 0.651)).lineTo(0.895, 0.038).lineTo(-0.895, 0.038).close().extrude(1.348) result = result.edges().chamfer(0.091)...
6
47
1.4558
train_575b5a5be88a39d6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.014, 1), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.259).workplane(offset=0.327).circle(0.404).workplane(offset=0.448).circle(0.483).workplane(offset=0.341).circle(0.355).workplane(offset=0.415).circle(0.303).workplane(offset=0.468).circle(...
9
37
0.738629
train_26b732c439ea48b4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.256, 0, -0.116), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.489, 1.385).extrude(0.104) result = result.union(cq.Workplane(cq.Plane(origin=(0.578, -0.2, -0.013), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.325, 0.708).extrude(0.023)) result = result...
16
138
0.279771
train_b2a47cbe905136e1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.339), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.983, 2).extrude(0.679) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.339, -1.628), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.014, 0.055).lineTo(-0.014, 0.055).lineTo(-0.014, 0.096...
17
63
2.167718
train_a63603ad74d19ed4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.109, 0.197, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.187, 1.197).lineTo(0.187, 0.381).threePointArc((0.003, 0.197), (0.188, 0.013)).lineTo(0.188, -0.553).lineTo(0.188, -0.803).lineTo(-0.187, -0.803).lineTo(-0.188, 1.197).lineTo(0.187, 1....
2
38
0.143847
train_e1e0ca1989b70247
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.066, 0.784, -0.69), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.075, -0.006).lineTo(0.022, -0.216).lineTo(0.043, -0.165).lineTo(0.042, -0.165).lineTo(0.018, -0.138).lineTo(-0.035, -0.083).lineTo(0.039, -0.083).lineTo(0.075, -0.083).lineTo(0.061...
21
161
0.087026
train_cb31fcae57643d1e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.028, 0.008, 0.2), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.065, 0.002).lineTo(0.065, 0.002).lineTo(0.065, 0.067).lineTo(0.043, 0.067).lineTo(0.043, 0.045).lineTo(-0.043, 0.045).lineTo(-0.043, 0.067).lineTo(-0.065, 0.067).lineTo(-0.065, 0.00...
9
74
0.058469
train_bf98831a8dc2875e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.162, -0.092, 0.074), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.392).workplane(offset=0.103).circle(0.332).workplane(offset=0.101).circle(0.312).workplane(offset=0.086).circle(0.373).workplane(offset=0.078).circle(0.406).loft() result = result...
9
48
0.328873
train_57f0e63f0716aad8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.025, -0.285, -0.781), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.145, 0.506).threePointArc((-0.106, 0.601), (-0.011, 0.64)).lineTo(0.011, 0.64).threePointArc((0.106, 0.601), (0.145, 0.506)).lineTo(0.145, 0.39).threePointArc((0.373, 0.047), (0....
15
207
0.353694
train_db7a78417ed231f8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.1, -0.259), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, -1.051).lineTo(0.22, -0.302).lineTo(1, -0.325).lineTo(0.355, 0.115).lineTo(0.618, 0.851).lineTo(0, 0.374).lineTo(-0.618, 0.851).lineTo(-0.355, 0.115).lineTo(-1, -0.325).lineTo(-0.22, -0...
12
99
0.314218
train_86980ce77c13fc0b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.556, -0.467, -0.266), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.352, 0.944).lineTo(-0.264, 0.944).threePointArc((-0.326, 0.919), (-0.352, 0.857)).lineTo(-0.352, -0.116).lineTo(0.352, -0.116).lineTo(0.352, 0.944).close().extrude(0.494) result =...
11
84
0.444734
train_065155692a2e7283
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.264, 0, 0.533), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.736, 0.356).lineTo(0.736, 0).lineTo(0.261, 0).lineTo(0.261, -0.356).lineTo(-0.736, -0.356).lineTo(-0.736, 0.356).lineTo(0.736, 0.356).close().extrude(1.066) result = result.edges().fi...
8
65
0.828606
train_7789a9eefba38bde
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0.008, -0.479), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.001, 0.029).lineTo(0.675, 0.699).lineTo(0.03, 0.976).lineTo(-0.713, 0.706).lineTo(-0.999, -0.026).lineTo(-0.701, -0.664).lineTo(-0.01, -0.992).lineTo(0.676, -0.723).close().moveTo...
16
74
1.339129
train_b9f7895ffee7e763
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.209), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.763).extrude(0.417) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.028), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.496, 0.927).extrude(0.201)) result = result.cut(cq.Workplane(...
14
96
1.094916
train_7c56027151e9ffc6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.01, -0.01, -0.517), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.37, 0.345).extrude(0.56) result = result.union(cq.Workplane(cq.Plane(origin=(-0.01, -0.01, 0.014), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.078).extrude(0.403)) result = result.un...
11
81
0.077079
train_a1b00f9be0c88c20
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.107, 0.497, 0.39), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.61, 0.938).lineTo(-0.61, 0.938).threePointArc((-0.52, 0.37), (-0.258, -0.142)).threePointArc((0.127, -0.53), (0.61, -0.788)).lineTo(0.61, -0.448).lineTo(0.61, -0.301).lineTo(0.61, 0...
18
145
1.266839
train_ec44a13d26662e83
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.311, 0.001, -0.026), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.377, 1.278).extrude(0.681) result = result.union(cq.Workplane(cq.Plane(origin=(-0.429, 0.096, 0.802), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.201, 0.062).threePointArc((-0.263,...
11
190
1.114771
train_dac8b1ed09a305de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 0, -0.153), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.326).workplane(offset=0.346).circle(0.194).workplane(offset=0.361).circle(0.346).workplane(offset=0.432).circle(0.301).workplane(offset=0.41).circle(0.319).loft() result = result.edges()....
15
89
0.200824
train_924d0859910f2e7f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.881).workplane(offset=0.47).circle(0.75).workplane(offset=0.553).circle(0.971).workplane(offset=0.433).circle(0.715).workplane(offset=0.544).circle(0.799).loft() result = result.edges().fillet...
5
10
3.420038
train_7e00646131e0064b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.376, -0.555), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.405, 0.727).lineTo(1, 0.727).lineTo(1, 0.025).lineTo(-1, 0.025).lineTo(-1, 0.727).lineTo(-0.405, 0.727).close().extrude(1.111) result = result.edges().chamfer(0.184) result = result....
5
40
1.239164
train_dfb0128237febd2b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.897), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.887, -0.602).threePointArc((1, -0.044), (0.869, 0.51)).lineTo(0.004, 0.51).threePointArc((-0.334, 0.602), (-0.672, 0.51)).threePointArc((-1, -0.03), (-0.73, -0.602)).lineTo(0.062, -0.602)....
3
15
3.398328
train_33814a1b1e183c91
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.087, 0.58), normal=(1, 0, 0), xDir=(0, 0, 1))).circle(0.268).sweep(cq.Workplane('XZ').spline([(-0.923, 0.432), (-0.461, 0.23), (0, 0.163), (0.461, 0.23), (0.923, 0.432)])) result = result.edges().chamfer(0.034) result = result.cut(cq.Workplan...
30
194
0.612817
train_dfc8f567165008f5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 1, -0.107), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.848).workplane(offset=0.579).circle(0.844).workplane(offset=0.695).circle(0.758).workplane(offset=0.726).circle(0.675).loft() result = result.edges().chamfer(0.453) result = result.union(...
3
11
3.285572
train_b27057670af0bff5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.07, 1, -0.596), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.314, -0.125).threePointArc((0, -0.439), (-0.314, -0.125)).lineTo(-0.314, 0.125).threePointArc((0, 0.439), (0.314, 0.125)).lineTo(0.314, -0.125).close().sweep(cq.Workplane('YZ').spline(...
2
13
0.387358
train_1549b57f70c6cd41
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.041, 0, -0.546), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.324, -0.136).lineTo(-0.324, -0.099).lineTo(0.288, -0.099).lineTo(0.288, 0.136).lineTo(0.324, 0.136).lineTo(0.324, -0.136).lineTo(-0.324, -0.136).close().sweep(cq.Workplane('XZ').spli...
3
19
0.074994
train_5a19779fab3a80ab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.115, 0.055, -0.516), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.439, 1.28).lineTo(-0.439, 0.402).lineTo(-0.439, -0.476).lineTo(0.439, -0.476).lineTo(0.439, 1.28).close().extrude(1.032) result = result.edges().fillet(0.237) result = result.cut(c...
13
122
0.644371
train_e7ad2641059a38a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.286, 0.048), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0, -0.385).lineTo(-0.032, -0.385).lineTo(-0.032, -0.085).threePointArc((-0.036, -0.084), (-0.039, -0.083)).lineTo(-0.281, -0.381).threePointArc((-0.308, -0.362), (-0.323, -0.333)).lineTo...
2
60
0.384264
train_703903e999da949e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.718, -0.78), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.132).lineTo(1.247, 0.132).lineTo(0.971, 0.409).lineTo(0.277, 1.103).lineTo(0.138, 1.241).lineTo(0, 1.38).lineTo(-0.138, 1.241).lineTo(-0.277, 1.103).lineTo(-0.971, 0.409).lineTo(-1....
13
68
2.053104
train_ede9a6a9a94f556d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.085, 1, 0.364), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.005, -0.222).threePointArc((-0.115, -0.112), (-0.222, 0.003)).lineTo(0.021, 0.222).threePointArc((0.12, 0.117), (0.222, 0.015)).lineTo(-0.005, -0.222).close().sweep(cq.Workplane('YZ')....
7
36
0.277426
train_d069a6520e97d92c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.071), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.55, 0.443).lineTo(-0.55, 0.42).lineTo(-0.573, 0.42).threePointArc((-0.576, 0.326), (-0.67, 0.324)).lineTo(-0.67, 0.301).lineTo(-0.67, -0.323).lineTo(-0.67, -0.346).threePointArc((-0.576, ...
8
74
0.082528
train_32a4e2938dad5603
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.296, 0.256, 0.01), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.704, 0.483).threePointArc((-0.715, 0.257), (0.704, 0.029)).lineTo(0.987, 0.029).threePointArc((-0.987, 0.257), (0.987, 0.483)).lineTo(0.704, 0.483).close().extrude(0.591) result = r...
5
46
0.652155
train_07bd7e31088fe4ee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.622, -0.202, -0.076), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.255, 0.122).lineTo(-0.038, 0.371).lineTo(0.255, 0.453).lineTo(0.924, 0.641).lineTo(0.255, 0.815).lineTo(0.255, 1.122).lineTo(-0.924, 1.122).lineTo(-0.924, 0.122).lineTo(0.255, 0....
11
156
0.508988
train_543954c2e4b3070d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.495, -0.458, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.44, 0.808).lineTo(0.44, 0.808).lineTo(0.44, 0.375).threePointArc((0.116, 0.185), (-0.074, -0.139)).lineTo(-0.44, -0.139).lineTo(-0.44, 0.808).close().extrude(1.112) result = result.c...
21
220
0.659356
train_eca9ee4bb710e2ae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.663, -0.96, 0.017), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.933, 0.045).lineTo(-0.933, 1.288).lineTo(-0.31, 1.91).lineTo(-0.31, 1.288).lineTo(0.31, 1.288).lineTo(0.31, 0.667).lineTo(0.933, 0.667).lineTo(0.31, 0.045).lineTo(-0.933, 0.045).c...
7
91
2.233592
train_979543d396b2e8a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.595), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.716).extrude(1.19) result = result.cut(cq.Workplane(cq.Plane(origin=(0 + 0.272 * math.cos(5.268 + 2 * math.pi * 0 / 7), 0 + 0.272 * math.sin(5.268 + 2 * math.pi * 0 / 7), -0.774), normal=...
17
83
3.93891
train_63121ed04779dacc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.062, 1, 0.231), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.403, -0.76).lineTo(0.884, -0.017).lineTo(0.286, 0.884).lineTo(-0.884, 0.208).lineTo(-0.403, -0.76).close().extrude(2) result = result.edges().chamfer(0.228) result = result.cut(cq.Wor...
12
287
1.78134
train_8f0272a407a78812
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.149, -0.333, 0.043), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.277).sweep(cq.Workplane('XZ').spline([(-0.149, 0.043), (0.031, -0.188), (0.212, -0.327), (0.392, -0.373), (0.573, -0.327), (0.753, -0.188), (0.934, 0.043)])) result = result.edge...
18
203
2.501834
train_eefa1e0d1f0b8ceb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.206, 0, -0.468), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.009, 2).extrude(0.801) result = result.union(cq.Workplane(cq.Plane(origin=(0.494, 0.287, -0.388), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.431, 0.908).extrude(0.391)) result = result.u...
13
43
1.53633
train_f6f9380fe1003d2d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.059, -0.916, -0.317), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.525, 0.998).threePointArc((-0.529, 1.61), (0, 1.916)).threePointArc((0.529, 1.61), (0.525, 0.998)).lineTo(0.274, 0.121).lineTo(0, 0.121).lineTo(-0.274, 0.121).lineTo(-0.525, 0.9...
10
141
0.933311
train_cffb7a6e60d925a1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.554, 1, -0.102), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.528, 0.969).threePointArc((-0.707, 0.894), (-0.781, 0.716)).lineTo(-0.781, 0.211).threePointArc((-0.707, 0.032), (-0.528, -0.042)).lineTo(0.528, -0.042).threePointArc((0.707, 0.032),...
9
33
1.916858
train_073d407d3c5c31fe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.54, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.897, 0.977).lineTo(0.897, 0.977).lineTo(0.897, 0.04).lineTo(0.802, 0.04).lineTo(0.802, 0.034).lineTo(-0.897, 0.034).lineTo(-0.897, 0.977).close().extrude(2) result = result.cut(cq.Workpla...
10
48
3.303938
train_2ae1b2062d8f51cc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.726, 0, -0.026), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.386).threePointArc((-0.386, 0), (0, -0.386)).threePointArc((0.18, -0.341), (0.319, -0.218)).threePointArc((0.386, 0), (0.319, 0.218)).threePointArc((0.18, 0.341), (0, 0.386)).clos...
8
41
0.637725