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_927f49c07697bc70
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.807, 0, -0.164), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.234).sweep(cq.Workplane('XZ').spline([(0.807, -0.164), (0.435, 0.158), (-0.1, 0.225), (-0.573, 0.008), (-0.784, -0.401), (-0.646, -0.831)])) result = result.edges().chamfer(0.092) res...
6
31
0.28176
train_e9de1d56d5fc7f16
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.63), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.028, 2).extrude(1.261) result = result.cut(cq.Workplane(cq.Plane(origin=(0.287, -0.9, -0.303), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.035).extrude(0.081)) result = result.edges().fillet(...
6
43
2.30372
train_4a288e6896c6b4a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.972), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.443, 2).extrude(1.945) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.156, 0.147, -0.136), normal=(0, 1, 0), xDir=(0, 0, 1))).lineTo(-0.055, 0.206).lineTo(-0.055, -0.142).lineTo(-0.098...
6
20
4.690047
train_95fa52fd0464f20d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.641, 0.591, 0.249), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.33, 0.081).lineTo(-0.339, 0.081).lineTo(-0.334, 0.016).lineTo(-0.334, -0.081).lineTo(0.339, -0.081).lineTo(0.339, 0.016).lineTo(-0.33, 0.016).lineTo(-0.33, 0.081).close().transfo...
6
50
0.176394
train_5deeb78fcfca0566
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.135, -0.264, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).circle(0.093).sweep(cq.Workplane('XY').spline([(-1.022, -0.264), (-0.769, -0.278), (-0.515, -0.457), (-0.261, -0.49), (-0.008, -0.353), (0.246, -0.148), (0.499, -0.031), (0.753, -0.264)])) res...
10
45
0.049815
train_6114ddf5b7f280f3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.398, 0.336, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.372, 0.981).lineTo(-0.371, -0.34).lineTo(0.372, -0.34).lineTo(0.371, 0.981).lineTo(-0.371, 0.981).close().extrude(0.654) result = result.edges().fillet(0.131) result = result.faces('>...
16
87
0.481305
train_6769401ed792a081
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.878, 0.602, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.858, 1.404).threePointArc((-0.938, 1.304), (-1, 1.191)).threePointArc((-0.88, 1.053), (-0.837, 0.877)).threePointArc((-0.88, 0.701), (-1, 0.564)).threePointArc((-0.938, 0.452), (-0.85...
9
26
2.093261
train_5d6c7ce96888a1fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1.064, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.138, 0.94).lineTo(0.138, 0.94).lineTo(0.227, 0.282).threePointArc((0.214, 0.168), (0.148, 0.074)).threePointArc((0.102, 0.067), (0.073, 0.102)).lineTo(0.065, 0.146).threePointArc((0.066,...
3
20
0.558577
train_5b9bd7fd4770d16f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.353, -0.712), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.667, 0.726).lineTo(-0.667, -0.176).lineTo(0.667, -0.176).lineTo(0.667, 0.238).lineTo(0.46, 0.238).lineTo(0.46, 0.726).lineTo(-0.667, 0.726).close().extrude(1.712) result = result.fac...
5
104
0.844889
train_a4468b01856a6801
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.154, 0.089, 0.213), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.85, 0.269).threePointArc((0, -0.269), (-0.85, 0.269)).lineTo(0.85, 0.269).close().extrude(0.324) result = result.union(cq.Workplane(cq.Plane(origin=(0.235, -0.266, 0.035), normal=(...
18
106
0.146122
train_4ce28703c5283817
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.083, 0, -0.22), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.045, 1.126).extrude(0.44) result = result.union(cq.Workplane(cq.Plane(origin=(0.794, 0.156, -0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.206).extrude(0.078)) result = result.union...
15
37
0.497653
train_ca149974517b6b51
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.664, -0.885, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.108, -0.035).lineTo(-0.132, -0.056).lineTo(-0.115, -0.049).lineTo(-0.108, -0.046).lineTo(-0.099, -0.043).lineTo(0.237, -0.336).lineTo(0.104, -0.076).lineTo(0.083, -0.035).lineTo(0.055...
1
18
0.05169
train_b8048727ad6cd29d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0.051, -0.148), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.003, -0.09).lineTo(0.003, 0.09).lineTo(-0.003, 0.09).lineTo(-0.003, -0.09).lineTo(0.003, -0.09).close().sweep(cq.Workplane('XZ').spline([(-0.003, -0.148), (0.02, -0.136), (0.043,...
3
38
0.034768
train_acf3e956ba92b0e4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.824).extrude(1.01) result = result.cut(cq.Workplane(cq.Plane(origin=(0.605, 0, -0.324), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.096).extrude(0.648)) result = result.cut(cq.Workplane(c...
10
39
3.397405
train_29ed93ad5317b733
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.112, 0.271), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.642, 1.112).lineTo(-0.642, -1.112).lineTo(0, 0).lineTo(0.642, 0).lineTo(0.642, 1.112).lineTo(-0.642, 1.112).close().extrude(0.543) result = result.edges().chamfer(0.257) result = resu...
7
44
0.596441
train_f18b3c5ab60f2f75
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.568).workplane(offset=1.012).circle(0.628).workplane(offset=0.988).circle(0.64).loft() result = result.edges().chamfer(0.221) result = result.edges().chamfer(0.101) result = result.cut(cq.Work...
13
24
2.205543
train_69f08a5726b71e9c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.701, -0.058, -0.238), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.299).sweep(cq.Workplane('XZ').spline([(-0.701, -0.238), (-0.305, 0.128), (0.092, 0.25), (0.488, 0.128), (0.886, -0.238)])) result = result.cut(cq.Workplane(cq.Plane(origin=(0.14...
16
80
0.351229
train_c1cd33519fd3e36f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.697, 0.246), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.54, -0.288).lineTo(0.563, -0.265).lineTo(-0.005, 0.303).lineTo(-0.027, 0.279).lineTo(-0.051, 0.256).lineTo(-0.563, -0.256).lineTo(-0.54, -0.279).lineTo(-0.517, -0.303).lineTo(0.019, 0...
1
11
0.027008
train_9f7c866bb57f397d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.559, 0.269, 0.065), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.389, -0.624).threePointArc((-0.061, -0.731), (-0.511, -0.624)).lineTo(-0.511, -0.083).lineTo(-0.511, 0.621).lineTo(-0.511, 1.162).threePointArc((-0.061, 1.269), (0.389, 1.162)).lin...
17
117
1.92398
train_25fc88eaac56b8ad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.406, -0.616), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.721, 0.76).extrude(0.047) result = result.union(cq.Workplane(cq.Plane(origin=(-0.54, -0.406, -0.522), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.06, 0.31).lineTo(0.089, 0.31).threePoi...
4
67
0.328024
train_d8a42e3e87f001d1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.206, 0.226, 0.229), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, -0.028).lineTo(-0.177, -0.028).lineTo(-0.177, 0.479).lineTo(0.177, 0.479).lineTo(0.177, -0.028).lineTo(0, -0.028).close().extrude(0.499) result = result.edges().chamfer(0.122) res...
7
87
0.16519
train_550a21792c8395d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.493, -0.17, 0.493), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.493, -0.83).lineTo(-0.493, 1.17).lineTo(0.493, 1.17).lineTo(0.493, -0.83).lineTo(-0.493, -0.83).close().revolve(angleDegrees=180, axisStart=(-0.493, -0.83), axisEnd=(-0.493, 1.17))...
16
115
2.55291
train_c7e8e76a08e817b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.563), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(1.076, 0.538).threePointArc((0, -0.538), (-1.076, 0.538)).lineTo(-0.598, 0.538).lineTo(0.598, 0.538).lineTo(1.076, 0.538).close().extrude(1.126) result = result.edges().fillet(0.327) result ...
21
96
1.662998
train_bf261c66abb20c40
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.023, 0.192, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.672, -0.401).lineTo(-0.681, -0.386).lineTo(-0.567, -0.318).lineTo(-0.558, -0.332).lineTo(0.55, 0.332).lineTo(0.664, 0.401).lineTo(0.681, 0.401).lineTo(0.681, 0.267).lineTo(0.664, 0.26...
7
32
0.622149
train_dfd540373984fddc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.405, -0.455, -0.533), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.09, 1.09).extrude(0.578) result = result.union(cq.Workplane(cq.Plane(origin=(-0.031, -0.401, 0.067), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.356, 0.516).lineTo(-0.303, 0.622)....
11
83
0.741821
train_573096a9f003ef2b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.171, 1.782).extrude(2) result = result.edges().fillet(0.229)
2
26
3.966564
train_f452efba63f0b5ec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.044, 1, -0.092), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.662, 0.376).lineTo(0.662, -0.287).lineTo(-0.662, -0.287).lineTo(-0.662, 0.376).lineTo(0.662, 0.376).close().workplane(offset=0.812).moveTo(0.684, 0.386).lineTo(0.684, -0.297).lineTo(-...
15
149
1.490139
train_dc3869b24e709348
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.856, 2).extrude(0.827) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.035, -0.27).lineTo(-0.27, 0.035).lineTo(0.035, 0.27).line...
13
55
2.382687
train_159e166b8cc57e08
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.202, 0.042, -0.197), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.596, 0.944).extrude(0.388) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.437 + 0.3195, 0.112, -0.811), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(0.021, 0.015).lineTo(0.021, -0...
23
115
0.625527
train_95de92f12bf6e6f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.214, 0.092, -0.578), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.572, 1.052).extrude(0.957) result = result.union(cq.Workplane(cq.Plane(origin=(-0.414, -0.63, 0.039), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.179).workplane(offset=0.089).circle...
15
99
1.394438
train_906e375d7164d2e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.015, 0.082, 0.139), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.066).workplane(offset=0.025).circle(0.068).workplane(offset=0.026).circle(0.055).workplane(offset=0.035).circle(0.052).workplane(offset=0.035).circle(0.063).workplane(offset=0.034)...
7
35
0.009721
train_dfdb41ff6f8d2911
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, -0.31, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.049, 0.286).lineTo(0.049, 0.384).lineTo(-0.441, 0.384).lineTo(-0.441, -0.106).lineTo(-0.343, -0.106).threePointArc((-0.313, -0.256), (-0.228, -0.384)).lineTo(0.326, -0.384).threePointArc(...
2
15
0.360012
train_46fc3b448a814432
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.242, 0, -0.79), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.512, 2).extrude(1.41) result = result.union(cq.Workplane(cq.Plane(origin=(0.742, -0.153, -0.362), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.512, 0.987).extrude(0.496)) result = result.cu...
9
57
4.307003
train_26d975c9a955b32e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.622), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.478, 2).extrude(1.245) result = result.edges().fillet(0.198)
2
26
3.531673
train_f179a03fdcbe6546
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.406, 0.291, 0.02), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.594, 0).lineTo(0.594, -0.686).lineTo(-0.594, 0).lineTo(0.594, 0.686).lineTo(0.594, 0).close().sweep(cq.Workplane('XZ').spline([(0.406, 0.02), (0.086, 0.097), (-0.27, 0.089), (-0.576...
13
21
0.488327
train_91d88b002b5794d7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.789, 0.809, -0.622), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.391, 0.339).extrude(0.317) result = result.union(cq.Workplane(cq.Plane(origin=(-0.774, 0.422, -0.586), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.031, 0.534).extrude(0.023)) result =...
5
31
0.123056
train_98694db7ba2b0e3d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.171, 0, 0.611), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.072, 0.797).threePointArc((0.008, 0.829), (0.088, 0.795)).lineTo(0.797, 0.072).threePointArc((0.829, -0.008), (0.795, -0.088)).lineTo(0.072, -0.797).threePointArc((-0.008, -0.829), (-...
4
45
1.476837
train_9d341bfaf32accc1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.005, -0.031, -0.217), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, -0.025).lineTo(0.686, 0.699).lineTo(-0.012, 1.031).lineTo(-0.706, 0.717).lineTo(-0.99, -0.031).lineTo(-0.691, -0.742).lineTo(0.024, -0.969).lineTo(0.731, -0.73).close().moveTo(-...
18
131
0.741015
train_0bf10bda63c4a0f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.152, -0.109), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.398, 0.251).lineTo(0.398, -0.227).lineTo(-0.075, -0.227).lineTo(-0.075, -0.251).lineTo(-0.173, -0.251).lineTo(-0.173, -0.227).lineTo(-0.334, -0.227).lineTo(-0.334, -0.102).lineTo(-0.3...
10
116
0.104901
train_8b33632911c12615
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.063, -0.03), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.673, 0.136).threePointArc((-0.854, 0.104), (-1.014, 0.012)).lineTo(1.014, 0.012).threePointArc((0.854, 0.104), (0.673, 0.136)).lineTo(-0.673, 0.136).close().extrude(0.06) result = res...
23
144
0.010245
train_0538d658957f0d7f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.067, -0.508, -0.028), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.153, 2.152).threePointArc((0.481, 1.981), (0.822, 1.84)).lineTo(0.155, 0.003).threePointArc((-0.344, 0.209), (-0.822, 0.459)).lineTo(0.153, 2.152).close().revolve(angleDegrees=90...
21
38
1.116076
train_a3972f295a0d148b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.253, 0, -0.82), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.494, 1.075).extrude(0.821) result = result.union(cq.Workplane(cq.Plane(origin=(-0.25, 0.069, -0.02), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.212).extrude(0.387)) result = result.unio...
11
32
1.059489
train_d6ca75a8dc589669
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.057, -0.067, -0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.457, 0.763).extrude(0.263) result = result.faces('>Z').shell(-0.011) result = result.union(cq.Workplane(cq.Plane(origin=(0.224, -0.216, -0.079), normal=(0, 0, 1), xDir=(1, 0, 0)))....
18
146
0.343278
train_7124466cee045efb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 0, 0.146), normal=(1, 0, 0), xDir=(0, 0, 1))).circle(0.269).sweep(cq.Workplane('XZ').spline([(0.549, -0.236), (0.335, -0.107), (0.039, -0.105), (-0.178, -0.231), (-0.199, -0.416)])) result = result.edges().fillet(0.07) result = result.cut(cq.Wo...
11
5
0.38111
train_dfd3fd7988d5cbdf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.328, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.402).sweep(cq.Workplane('YZ').spline([(-0.328, -1.03), (0.094, -1.332), (0.516, -1.432), (0.939, -1.332), (1.36, -1.03)])) result = result.edges().chamfer(0.06) result = result.cut(cq...
14
40
0.523241
train_174e778de66fdccb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.832, -0.547, -0.016), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.477, 1.057).lineTo(0.477, 0.423).lineTo(0.104, 0.423).lineTo(0.104, 0.117).lineTo(0.164, 0.06).lineTo(0.021, 0.06).lineTo(0.021, 0.117).lineTo(-0.039, 0.06).lineTo(-0.434, 0.06)....
7
41
1.427916
train_483ac2739c21282f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.019), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.089, -1).lineTo(0.089, 1).lineTo(-0.089, 1).lineTo(-0.089, -1).lineTo(0.089, -1).close().extrude(0.112) result = result.edges().fillet(0.041) result = result.union(cq.Workplane(cq.Plane(o...
4
57
0.073608
train_c4ab8e219ccaf16f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.387, 0, 0.217), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.12, 0.446).extrude(0.328) result = result.union(cq.Workplane(cq.Plane(origin=(0.439, 0.017, 0.543), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.161).extrude(0.099)) result = result.cut(cq...
18
131
0.865975
train_e03764de7b268a6e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.192, 0.663, -0.307), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.746, 0.673).extrude(0.613) result = result.union(cq.Workplane(cq.Plane(origin=(-0.092, -0.313, -0.099), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.086, 1.374).extrude(0.049)) result ...
4
16
0.308836
train_ce87fccd1051e676
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.524, -0.355, 0.007), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.957, 1.406).threePointArc((-0.64, 1.238), (-0.313, 1.087)).lineTo(0.957, -0.654).threePointArc((0.498, -0.608), (0.04, -0.54)).lineTo(-0.957, 1.406).close().extrude(1.337) result...
13
74
1.342357
train_867b561d47986510
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.024, -0.004, -0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.96, -0.031).lineTo(0.669, 0.663).lineTo(0.022, 1.004).lineTo(-0.701, 0.676).lineTo(-1.008, 0.004).lineTo(-0.706, -0.664).lineTo(-0.023, -0.996).lineTo(0.669, -0.673).close().moveTo...
12
78
0.427871
train_e502431acefa5487
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.026, -0.279), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.646, -0.205).lineTo(-0.538, 0.256).lineTo(0.646, 0.256).lineTo(0.646, -0.205).lineTo(-0.646, -0.205).close().extrude(2) result = result.edges().chamfer(0.04) result = result.union(cq...
9
76
0.866832
train_a03c81e0faf5b115
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.72, 0.147), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.195, 0.245).threePointArc((0, 0.28), (0.195, 0.245)).lineTo(0.178, 0.202).lineTo(0, -0.28).lineTo(-0.178, 0.202).lineTo(-0.195, 0.245).close().sweep(cq.Workplane('YZ').spline([(-0.72, ...
2
10
0.020459
train_61e59ab3867064c2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.231, -0.392, 0.355), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.18, 0.757).lineTo(-0.455, -0.089).lineTo(0.18, -0.296).lineTo(0.455, 0.551).lineTo(-0.18, 0.757).close().workplane(offset=0.223).moveTo(-0.163, 0.708).lineTo(-0.413, -0.06).lineT...
17
132
0.273861
train_a10533dbb33a414d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.47, -0.786, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.131, 1.045).lineTo(-0.359, 0.914).lineTo(-0.49, 0.686).lineTo(-0.49, 0.424).lineTo(-0.359, 0.196).lineTo(-0.131, 0.065).lineTo(0.131, 0.065).lineTo(0.359, 0.196).lineTo(0.49, 0.424).l...
17
255
0.535964
train_c3c1d8e9f6e4377f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.12, -0.074, -0.597), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.304, 0.604).extrude(1.597) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.36, -0.074, 0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.362, 0.461).extrude(0.199)) result = res...
14
139
0.958453
train_29207265a6aae72d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.592, 1.191).extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.112, 0.122, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.066).extrude(0.37)) result = result.edges().chamfer(0...
18
137
2.720828
train_4e43fef01b48f706
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.349, 0.392).extrude(0.348) result = result.union(cq.Workplane(cq.Plane(origin=(0.057, 0.075, 0.342), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.024, 0.046).extrude(0.658)) result = result.unio...
8
78
0.03863
train_a11858940268a4b8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.281, -0.528, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.904, -0.376).lineTo(0.904, -0.376).lineTo(0.752, 1.161).threePointArc((0.654, 1.354), (0.452, 1.432)).lineTo(0, 1.432).lineTo(-0.452, 1.432).threePointArc((-0.654, 1.354), (-0.752, 1...
4
41
1.313168
train_0b71578f72c317d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.088, -0.002, -0.375), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.089, 0.06).threePointArc((-0.117, 0.033), (-0.089, 0.005)).lineTo(-0.075, 0.005).lineTo(-0.075, 0.008).lineTo(-0.069, 0.008).lineTo(-0.069, 0.005).lineTo(-0.055, 0.005).lineTo(-...
5
97
0.001844
train_51ab5a144b3343ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.373, 0, 0.555), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.258, -0.037).threePointArc((0.268, 0), (0.258, 0.037)).lineTo(0.161, 0.206).threePointArc((0.134, 0.232), (0.097, 0.242)).lineTo(-0.097, 0.242).threePointArc((-0.134, 0.232), (-0.161,...
5
36
0.073357
train_ca8e9405d4b4a1d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.687, -0.896), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1, 1.262).lineTo(-1, 0.112).lineTo(1, 0.112).lineTo(1, 0.611).lineTo(0.5, 0.611).lineTo(0.5, 1.262).lineTo(0, 1.262).lineTo(0, 0.611).lineTo(-0.5, 0.611).lineTo(-0.5, 1.262).lineTo(-1,...
10
62
2.781421
train_19e6c961ea9b2f23
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.545, -0.766), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(1.357, 0.965).lineTo(1.357, 0.032).lineTo(-1.357, 0.965).lineTo(1.357, 0.965).close().extrude(1.212) result = result.edges().fillet(0.227) result = result.cut(cq.Workplane(cq.Plane(orig...
21
104
1.117893
train_521325326988b53a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.397, -0.783), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.466, 0.785).lineTo(-0.466, 0.473).lineTo(0.161, 0.473).lineTo(0.161, -0.603).lineTo(0.466, -0.603).lineTo(0.466, 0.785).lineTo(-0.466, 0.785).close().extrude(1.567) result = result.e...
9
80
0.852718
train_fe4ae264cbec5188
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.218, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.494, 0.411).lineTo(-0.494, 0.288).lineTo(0.042, 0.288).lineTo(0.042, 0.524).threePointArc((0.072, 0.598), (0.144, 0.628)).lineTo(0.165, 0.628).lineTo(0.165, 0.596).lineTo(0.329, 0.596).li...
4
37
0.417816
train_ae114773d7cddc4e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.009, -0.364, -0.692), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.91, 0.853).lineTo(0.91, 0.853).lineTo(0.91, 0.044).lineTo(-0.91, 0.044).lineTo(-0.91, 0.853).close().extrude(1.522) result = result.edges().chamfer(0.128) result = result.union(...
7
48
2.122525
train_8d20ea06d2e2ba9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.553, -0.142, -0.097), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.016, 0.169).lineTo(-0.125, 0.004).lineTo(-0.125, -0.124).lineTo(0.125, 0.169).lineTo(0.016, 0.169).close().workplane(offset=0.029).moveTo(0.016, 0.167).lineTo(-0.123, 0.004).line...
26
362
0.214969
train_76a99a485b54848f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.309, 1.165, -0.048), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.35, 1.522).lineTo(-0.35, 0.165).lineTo(0.35, 0.165).lineTo(0.35, 2.165).lineTo(-0.35, 2.165).lineTo(-0.35, 1.522).close().extrude(0.697) result = result.edges().fillet(0.215) res...
23
74
0.626571
train_d406fe7be9e4d573
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.018, 0.566, -0.291), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.66, 0.677).extrude(0.548) result = result.faces('>Z').shell(-0.033) result = result.union(cq.Workplane(cq.Plane(origin=(0.415, 0.498, 0.064), normal=(0, 0, 1), xDir=(1, 0, 0))).move...
9
66
0.209981
train_8ccd0a57ed5dc0a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.115, 0.033, -0.347), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.762, 1.06).extrude(0.475) result = result.union(cq.Workplane(cq.Plane(origin=(0.203, 0.086, 0.125), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.477).extrude(0.082)) result = result.u...
17
170
1.23792
train_8a51ba1a3b360206
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.559, -0.949), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.471, -0.12).lineTo(-0.471, -0.12).lineTo(-0.471, 0.172).lineTo(0.179, 0.822).lineTo(0.471, 0.822).lineTo(0, 0.351).lineTo(0.471, -0.12).close().extrude(1.431) result = result.cut(cq.W...
9
73
0.2285
train_cc4e003e87ed9718
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.264, -0.062, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-1, 0.13).lineTo(-1, 0.004).lineTo(1, 0.004).lineTo(1, 0.13).lineTo(-1, 0.13).close().extrude(0.527) result = result.edges().chamfer(0.055) result = result.cut(cq.Workplane(cq.Plane(ori...
8
44
0.11683
train_48c49a299e42fa4b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.464, 0, -0.212), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, -0.268).lineTo(0.042, -0.226).lineTo(0.536, 0.268).lineTo(0.174, 0.07).lineTo(0.042, -0.002).lineTo(0.021, -0.013).lineTo(-0.021, -0.013).lineTo(-0.042, -0.002).lineTo(-0.174, 0.07)...
1
13
0.013782
train_ac3bd7592362fa73
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.332), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.624).extrude(0.73) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.65 + 0.325, 0.219, -1.632), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(0.156, -0.01).lineTo(0.156, 0.029).lineTo(-0....
26
209
2.268118
train_34708fa56990de2e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.008, -0.535, -0.882), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.387, 0.543).threePointArc((0.392, 0.469), (0.387, 0.395)).threePointArc((0.295, 0.171), (0.111, 0.015)).threePointArc((0.042, -0.013), (-0.03, -0.031)).threePointArc((-0.272, -0.0...
7
66
1.73543
train_199fb1ded8c1f82f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.506, 0.567, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.982, 0.326).lineTo(0.982, 1.03).lineTo(0.56, 1.03).lineTo(0.56, 0.537).lineTo(-0.938, 0.537).lineTo(-0.938, 0.453).threePointArc((-1, 0.273), (-0.938, 0.094)).threePointArc((-0.889, 0....
20
20
1.608045
train_ad8bc2ec25125d88
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.125, -0.355, -0.496), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.504, 0.674).lineTo(0.504, 0.674).lineTo(0.504, -0.556).lineTo(-0.504, -0.556).lineTo(-0.504, 0.674).close().extrude(0.711) result = result.edges().fillet(0.109) result = result.u...
14
92
0.674935
train_1f2a001c37d6c668
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.838, -0.434, 0.114), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.886, 0.119).lineTo(0.886, 0.43).lineTo(0.553, 0.646).lineTo(0.393, 0.612).lineTo(0, 1.005).lineTo(0.359, 1.558).lineTo(-0.393, 1.398).lineTo(-0.553, 1.364).lineTo(-0.886, 1.58).li...
10
125
1.791776
train_c37c9cdc22907801
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.685, -0.379, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.907, 0.104).threePointArc((0.941, 0.579), (0.907, 1.054)).lineTo(-0.941, 1.054).lineTo(-0.941, 0.93).lineTo(-0.941, 0.228).lineTo(-0.941, 0.104).lineTo(0.907, 0.104).close().extrude(1...
28
271
1.578492
train_adfd4c217dc89680
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.167, 0, -0.489), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.205, 2).extrude(0.978) result = result.faces('>Z').shell(-0.099) result = result.union(cq.Workplane(cq.Plane(origin=(0.588, 0.062, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.363...
3
16
0.8952
train_1cfa654b1f10ba1a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.16, -0.185, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.574, 1.129).extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(0.777, -0.062, -0.416), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.341, 0.659).extrude(1.021)) result = result....
4
21
3.976845
train_1790c278e3dbb01b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.185, -0.56, -0.607), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.071, 0.256).threePointArc((-0.093, 0.266), (-0.115, 0.256)).threePointArc((-0.104, 0.223), (-0.137, 0.212)).lineTo(-0.137, 0.198).lineTo(-0.137, 0.185).lineTo(-0.137, 0.171).thr...
13
85
0.806299
train_fbdfa778b5e1ee6f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.092, -0.048, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.414, 1.083).extrude(0.16) result = result.union(cq.Workplane(cq.Plane(origin=(-0.89, -0.21, -0.053), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.22, 0.52).extrude(0.066)) result = re...
11
97
0.261922
train_a02ad853deb4c8ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.012), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.815, -0.197).threePointArc((-0.901, -0.251), (-1, -0.27)).lineTo(-0.317, -0.27).lineTo(0.73, -0.27).threePointArc((1, 0), (0.73, 0.27)).lineTo(-0.317, 0.27).lineTo(-1, 0.27).threePointArc...
10
18
0.030375
train_dc89aa8eae7222be
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.076, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.03, -0.412).threePointArc((0.192, -0.353), (0.354, -0.191)).threePointArc((0.413, 0.03), (0.354, 0.252)).lineTo(-0.03, 0.473).lineTo(-0.413, 0.252).lineTo(-0.413, -0.191).threePointArc((...
18
132
0.512656
train_a89b22a2609d2f4c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.042, -0.015), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.015, 0.061).threePointArc((-0.036, 0.028), (-0.015, -0.004)).threePointArc((0, -0.008), (0.015, -0.004)).threePointArc((0.036, 0.028), (0.015, 0.061)).threePointArc((0, 0.065), (-0.01...
17
135
0.002439
train_2692030a01ea92e3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.642, 0, -0.359), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.359, 0.244).lineTo(0.359, -0.244).lineTo(-0.359, -0.244).lineTo(-0.359, 0.244).lineTo(0.359, 0.244).close().revolve(angleDegrees=180, axisStart=(0.359, 0.244), axisEnd=(0.359, -0.244...
10
115
0.342532
train_8879f391de674935
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.363, -0.699, -0.151), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.849, 0.996).lineTo(0.849, 0.063).lineTo(-0.849, 0.063).lineTo(-0.849, 0.996).lineTo(0.849, 0.996).close().extrude(0.917) result = result.edges().chamfer(0.07) result = result.uni...
16
227
1.237046
train_aa66c1d9bbb820cc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.269), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.286, 1).lineTo(0.286, -1).lineTo(-0.286, -1).lineTo(-0.286, 1).lineTo(0.286, 1).close().workplane(offset=0.165).moveTo(0.205, 0.715).lineTo(0.205, -0.715).lineTo(-0.205, -0.715).lineTo(-0....
8
74
0.180352
train_7f5fabd7a847ace5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.065, -0.077, 0.232), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.493, 0.525).extrude(0.135) result = result.union(cq.Workplane(cq.Plane(origin=(0.21, -0.077, 0.259), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.064, 0.287).extrude(0.081)) result = r...
12
79
0.130408
train_e2dffb047e4a7385
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.025, -0.164, -0.356), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.372, 0.142).threePointArc((0.025, 0.562), (0.372, 0.099)).threePointArc((-0.018, -0.193), (-0.372, 0.142)).close().extrude(0.551) result = result.edges().fillet(0.06) result = r...
22
174
0.557787
train_919faabc2ac18697
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.592, 0.282, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.462, 0.375).lineTo(0.369, 0.574).lineTo(0.462, 0.187).lineTo(-0.176, 0.035).threePointArc((-0.326, 0.058), (-0.416, 0.182)).lineTo(-0.462, 0.375).close().extrude(0.556) result = resul...
8
54
0.251374
train_e52cb26d2ff637fa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -0.072), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.011, -0.927).threePointArc((-0.301, -0.952), (-0.326, -0.662)).threePointArc((-0.085, 0), (-0.326, 0.662)).threePointArc((-0.301, 0.952), (-0.011, 0.927)).threePointArc((0.326, 0), (-...
11
70
0.848042
train_e405d349f156e1ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.043, 0.395, -0.066), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.492, 0.595).extrude(0.802) result = result.union(cq.Workplane(cq.Plane(origin=(0.069, 0.404, 0.712), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.077, 0.154).extrude(0.288)) result = re...
9
55
0.580815
train_309b3543dcf6b787
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.367, -0.301, -0.179), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.528).workplane(offset=0.173).circle(0.431).workplane(offset=0.187).circle(0.698).workplane(offset=0.157).circle(0.482).workplane(offset=0.216).circle(0.452).loft() result = resul...
4
17
0.66809
train_ef867330a425c12f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.078, 0.501, -0.501), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.869, 0).threePointArc((0, -0.501), (-0.869, 0)).lineTo(0, 0.501).lineTo(0.869, 0).close().revolve(angleDegrees=180, axisStart=(-0.869, 0), axisEnd=(0, 0.501)) result = result.edge...
10
97
1.41737
train_91e36577852ecfba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.23, 0.473, 0.493), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.421).workplane(offset=0.497).circle(0.461).workplane(offset=0.489).circle(0.627).loft() result = result.edges().chamfer(0.266) result = result.union(cq.Workplane(cq.Plane(origin=(-0...
14
108
0.863432
train_ccaaedad52aed234
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.201, 0.762, 0.102), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.003, -0.011).lineTo(-0.005, -0.009).lineTo(0.006, 0.003).threePointArc((0.008, 0.004), (0.01, 0.004)).threePointArc((0.011, 0.004), (0.013, 0.003)).lineTo(0.01, 0.006).lineTo(0.01...
28
137
0.566599
train_72df3939b49b82e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.325, -0.178, -0.186), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.713, 0.861).extrude(0.218) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.325 + 0.058 * math.cos(0.805 + 2 * math.pi * 0 / 6), -0.069 + 0.058 * math.sin(0.805 + 2 * math.pi *...
33
158
0.482659
train_560c3f958f2f18be
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.325, -0.728, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.345, 0.219).lineTo(0.345, -0.126).lineTo(-0.518, -0.126).lineTo(-0.518, 0.564).lineTo(0.008, 0.564).lineTo(0.008, 0.391).lineTo(0.345, 0.391).lineTo(0.345, 0.564).lineTo(0.518, 0.564)....
17
390
1.319807