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_d3ce1ae54197d37f
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.962, 0.936).extrude(0.839) result = result.union(cq.Workplane(cq.Plane(origin=(-0.178, -0.175, -0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.063).extrude(1.205)) result = result.cut(cq.Wo...
4
14
0.747726
train_20b68ca6aa8aaeef
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.572), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.896).extrude(1.144) result = result.cut(cq.Workplane(cq.Plane(origin=(0.13, -0.133, -0.07), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.751, 2.275).extrude(0.286)) result = result.edges().f...
10
73
3.829768
train_4757813bf7138d2e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.406, -0.051, -0.839), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.059, 0.648).extrude(0.75) result = result.union(cq.Workplane(cq.Plane(origin=(-0.686, -0.068, -0.161), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.209, 0.191).extrude(1.161)) result ...
7
32
0.681935
train_9b8922847d32eebc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.168, -0.559, -0.211), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.789, 1.818).lineTo(0.789, 1.2).lineTo(0.171, 1.2).lineTo(0.171, 1.063).lineTo(0.789, 1.063).lineTo(0.789, 0.771).lineTo(0.171, 0.771).lineTo(0.171, 0.266).lineTo(0.271, 0.171).li...
18
52
1.095997
train_7746d00d3edb3d04
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.041, 0.001, 0.193), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.209, 1.002).threePointArc((0, 0.997), (-0.209, 1.002)).lineTo(-0.209, -1.002).threePointArc((0, -0.991), (0.209, -1.002)).lineTo(0.209, 1.002).close().extrude(0.087) result = resu...
16
142
0.123922
train_c0486790b4ced8fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, -0.103, -0.091), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.767, 0.011).lineTo(-0.992, 0.151).lineTo(0.811, 0.295).lineTo(0.992, 0.308).lineTo(0.992, 0.032).lineTo(0.767, 0.011).close().extrude(0.203) result = result.faces('<X').shell(-0....
14
43
0.028455
train_a7577b9f9ff80a28
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.1, -0.087, -0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.055).lineTo(0.745, 0.055).lineTo(0.745, -0.055).lineTo(-0.745, -0.055).lineTo(-0.745, 0.055).lineTo(0, 0.055).close().transformed(offset=(0.042, 0.045, 0.023), rotate=(0, 20, 0)...
3
7
0.08278
train_3db8cc8bc8a63e0c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.308, 0.044, -0.193), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.807, 0.029).lineTo(0.807, 0.692).lineTo(0.59, 0.692).lineTo(0.59, 0.187).lineTo(-0.047, 0.187).lineTo(-0.047, 0.169).lineTo(-0.122, 0.169).lineTo(-0.122, 0.187).lineTo(-0.673, 0.1...
8
101
0.334486
train_71d4ba2c5605a6c0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.489, -0.171), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.706, 0.753).extrude(0.58) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.13, 0.436, 0.176), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.056).extrude(0.122)) result = result.union(c...
16
88
0.345339
train_1b048d32a0117703
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.787), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.835).extrude(1.574) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.334, 0.707, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.222).extrude(0.556)) result = result.cut(cq.Workp...
4
51
5.314573
train_1e8f28bdd3d78fbf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.15, -0.002, 0.009), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.986, 1.117).extrude(0.25) result = result.union(cq.Workplane(cq.Plane(origin=(-0.15, -0.002, 0.26), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.209).lineTo(-0.097, 0.069).lineTo(-...
15
122
0.414804
train_b43b4a31d56c621e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.026, -0.795, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, -0.127).lineTo(-0.254, -0.127).lineTo(-0.254, 0.127).lineTo(0.181, 0.127).lineTo(0.181, 0.054).lineTo(0.254, 0.054).lineTo(0.254, -0.127).lineTo(0, -0.127).close().sweep(cq.Workplane...
9
73
0.046034
train_ecfa3be416b2802b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0.281, -0.927), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.992, 1.062).extrude(0.031) result = result.union(cq.Workplane(cq.Plane(origin=(0.096, 0.307, -0.897), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.587, 0.799).extrude(0.014)) result = ...
11
67
0.454003
train_112e39d6f7a2faa9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.072, 0, -0.169), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.954, 2).extrude(0.338) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.139, 0.606, 0.053), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.145, 0.093).extrude(0.014)) result = result.cut...
13
62
0.618907
train_658f9614b8553562
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.11, -0.424, -0.003), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.63, 0.367).threePointArc((0.194, 0.332), (0.63, -0.367)).lineTo(0.598, -0.367).threePointArc((0.2, 0.291), (-0.566, 0.361)).lineTo(-0.566, -0.367).lineTo(-0.598, -0.367).lineTo(...
5
29
0.797345
train_9daaadb4b17a74a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.052, -0.938, -0.044), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.126, 0.033).lineTo(-0.126, 0.062).lineTo(0.126, 0.062).lineTo(0.126, 0.033).lineTo(0.093, 0.033).lineTo(-0.017, -0.062).lineTo(-0.101, 0.033).lineTo(-0.126, 0.033).close().swee...
8
110
0.035432
train_ea9d54a96f785382
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 0.947).extrude(0.091) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.8 + 0.16, -0.379 + 0.126, -0.059), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.021, 0.076).lineTo(-0.02, 0.077).l...
16
291
0.172116
train_55e3e8f06907002d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.132, -0.507, -0.59), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.369, 0.099).threePointArc((-0.41, 0.029), (-0.369, -0.043)).lineTo(-0.123, -0.185).threePointArc((0, -0.217), (0.123, -0.185)).lineTo(0.369, -0.043).threePointArc((0.41, 0.029), ...
13
98
0.341071
train_6a8564b484161068
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.331, -0.139, -0.159), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.473, -0.086).threePointArc((-0.494, 0.017), (-0.489, 0.122)).threePointArc((-0.376, 0.347), (-0.158, 0.471)).threePointArc((-0.059, 0.483), (0.04, 0.47)).threePointArc((0.241, ...
13
69
1.021344
train_604a12b610fd6aaa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.05, -0.815, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.313).sweep(cq.Workplane('XY').spline([(-0.05, -0.562), (0.086, -0.617), (0.222, -0.691), (0.358, -0.565), (0.494, -0.435), (0.63, -0.503), (0.766, -0.663), (0.902, -0.562)])) result =...
3
11
0.028245
train_59e0112c5419a6d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.04, -0.004, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.735, 0.622).lineTo(-0.735, 0.353).lineTo(-1, 0.353).lineTo(-1, 0.046).lineTo(1, 0.046).lineTo(1, 0.622).lineTo(0.481, 0.622).threePointArc((0.34, 0.283), (0, 0.142)).threePointArc((-0...
14
131
0.553778
train_dbc947be74501ff2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.427, 0.003, -0.469), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.378, 0.156).threePointArc((0, 0.196), (0.378, 0.156)).lineTo(0.533, 0.895).threePointArc((0, 0.95), (-0.533, 0.895)).lineTo(-0.378, 0.156).close().revolve(angleDegrees=270, axisS...
17
61
1.111807
train_697e3f31436745b8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.343, -0.006, 0.059), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.04).workplane(offset=0.017).circle(0.032).workplane(offset=0.02).circle(0.034).workplane(offset=0.019).circle(0.029).workplane(offset=0.019).circle(0.048).workplane(offset=0.014)....
11
112
0.008067
train_cf654bdf48453526
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.065, -1, -0.328), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.122, 0.063).lineTo(0.015, 0.063).lineTo(0.118, -0.068).lineTo(0.122, -0.065).lineTo(0.12, -0.063).lineTo(0.015, 0.068).lineTo(-0.122, 0.068).lineTo(-0.122, -0.068).lineTo(-0.122, 0...
17
106
0.14391
train_cc7d6eb83d2cc1c0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.204, 0, -0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.592, 1.219).extrude(0.261) result = result.cut(cq.Workplane(cq.Plane(origin=(0.074, -0.015, 0.066), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.162).extrude(0.066)) result = result.cut(c...
22
101
0.440108
train_a58a87a1bbd6520a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.349, 0, -0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.934, 0.574).extrude(0.055) result = result.union(cq.Workplane(cq.Plane(origin=(0.452, -0.086, 0.016), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.124).extrude(0.012)) result = result.uni...
8
43
0.03429
train_d16bc869cce8514e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.155, 0, -0.478), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.617, 2).extrude(0.956) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.159, -0.006, -0.481), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.133, 0.196).extrude(0.111)) result = result.e...
14
72
3.033302
train_ef3c415d3eb7ea84
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.078, 0.448, -0.192), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.323).sweep(cq.Workplane('XY').spline([(-0.078, -0.053), (-0.161, 0.189), (-0.361, 0.276), (-0.548, 0.152)])) result = result.edges().chamfer(0.039) result = result.union(cq.Workpl...
7
69
0.448931
train_c6fabac07fc22719
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 0.076, 0.297), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.001, -0.083).lineTo(-0.006, -0.083).lineTo(-0.006, -0.095).lineTo(0.006, -0.095).lineTo(0.006, -0.083).lineTo(0.104, 0.087).lineTo(0.108, 0.095).lineTo(0.099, 0.095).lineTo(0.099, 0.09...
7
110
0.338825
train_49369e34323bfb17
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.17, -0.463), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.651, 1.66).extrude(0.927) result = result.cut(cq.Workplane(cq.Plane(origin=(0.238, -0.734, -0.151), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.208).extrude(0.521)) result = result.cut(c...
10
37
2.180505
train_79591363b0fb34a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.029, 0.21, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.603, 1.217).extrude(0.387) result = result.union(cq.Workplane(cq.Plane(origin=(0.069, -0.109, -0.553), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.248, 0.67).lineTo(-0.254, 0.23).lineTo...
4
57
1.028766
train_928e8d6cc7cbd69a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.321, -0.259, -0.157), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.237, 0.167).threePointArc((-0.056, 0.046), (-0.099, -0.167)).lineTo(0.237, 0.167).lineTo(-0.237, 0.167).close().sweep(cq.Workplane('YZ').spline([(-0.706, -0.39), (-0.329, -0.39)...
4
27
0.172529
train_efb7bd561fd36549
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.039, -0.088, 0.122), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.758, 1.074).extrude(0.191) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.117, -0.005, 0.196), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.235).extrude(0.071)) result = result....
26
181
0.175824
train_1ac6f623910b4883
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.1, -0.343), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, -1.051).lineTo(0.293, -0.404).lineTo(1, -0.325).lineTo(0.475, 0.154).lineTo(0.618, 0.851).lineTo(0, 0.499).lineTo(-0.618, 0.851).lineTo(-0.475, 0.154).lineTo(-1, -0.325).lineTo(-0.293, ...
12
52
0.67589
train_c4c5cca99964b1aa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.206, -0.225), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.254, 0.054).threePointArc((-0.232, -0.027), (-0.254, -0.108)).lineTo(0.053, -0.108).lineTo(0.113, -0.108).lineTo(0.21, -0.108).lineTo(0.21, 0.054).lineTo(0.113, 0.054).threePointArc(...
15
128
0.190534
train_dafd281790fb62fa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.063, -0.649, 0.041), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.289, 0.199).extrude(0.242) result = result.union(cq.Workplane(cq.Plane(origin=(0.024, -0.606, -0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.019).extrude(0.089)) result = resul...
19
129
0.617742
train_ca0ce502f0a56aa3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.199, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.84, 1.453).lineTo(-0.84, 0.758).lineTo(0.84, 0.062).lineTo(0.84, 1.453).close().revolve(angleDegrees=360, axisStart=(0.84, 1.453), axisEnd=(-0.84, 0.758)) result = result.edges().fillet(0....
4
8
2.287237
train_699f63fa658057aa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.179, 0.084, 0.024), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.275, -0.298).lineTo(-0.275, 0.022).threePointArc((0, 0.298), (0.275, 0.022)).lineTo(0.275, -0.298).lineTo(-0.275, -0.298).close().extrude(0.233) result = result.edges().chamfer(0....
41
179
0.414794
train_8f0c4bd45972dde1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.229), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.056).extrude(0.457) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.142).extrude(0.273)) result = result.cut(cq.Workplane(cq.P...
17
78
0.681782
train_3fa8c523e9260cc8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.949, 0, -0.893), normal=(0, 0, 1), xDir=(1, 0, 0))).lineTo(0.007, 0.009).lineTo(0.009, -0.007).lineTo(-0.007, -0.009).lineTo(-0.009, 0.007).lineTo(-0.009, 0.008).lineTo(-0.006, 0.009).lineTo(0.005, 0.007).close().sweep(cq.Workplane('XZ').spline...
11
94
0.034774
train_9500712fb74e7377
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.515), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.364).extrude(1.029) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.053), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.114).extrude(0.473)) result = result.cut(cq.Workplane(cq.Pl...
8
28
2.4428
train_82e4a786ce13aebe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.396, -0.141, -0.566), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.434, -0.162).lineTo(-0.434, 0.444).lineTo(0.37, 0.444).lineTo(0.434, 0.406).lineTo(0.434, 0.355).lineTo(0.422, 0.355).lineTo(0.422, -0.162).lineTo(-0.184, -0.162).lineTo(-0.184,...
6
31
0.265221
train_a1cb7fc74c49f754
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.398, 0.259, -0.456), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.785, 0.603).extrude(0.684) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.398, 0.259, 0.073), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.029).extrude(0.159)) result = result....
18
114
0.615004
train_90a89f8eba7a93cd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.081, -0.525), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.099).extrude(1.05) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.14, -0.459, -0.061), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2.4, 0.124).extrude(0.061)) result = result.cut(c...
13
218
2.221819
train_88742d406927b269
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.468, 0.502, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(1, 0.968).lineTo(1, 0.036).lineTo(-1, 0.036).lineTo(-1, 0.968).lineTo(1, 0.968).close().extrude(0.936) result = result.edges().fillet(0.222) result = result.cut(cq.Workplane(cq.Plane(ori...
4
50
1.561537
train_da7bcd61e9206df4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.276, -0.391, -0.468), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.566, 0.051).lineTo(-0.566, 0.051).lineTo(-0.84, 0.292).lineTo(0, 0.995).lineTo(0.84, 0.292).lineTo(0.566, 0.051).close().extrude(0.81) result = result.edges().chamfer(0.155) resu...
15
69
0.507568
train_b27780643e9eadd4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.992, 0.173), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.376, -0.052).threePointArc((0.192, 0.58), (-0.349, 0.954)).threePointArc((-0.363, 0.306), (0.029, -0.211)).threePointArc((-0.258, -0.537), (-0.376, -0.954)).threePointArc((0.047, -0.734...
4
19
0.456629
train_fbeb673990f98e85
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.141, -0.166, 0.124), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.335).sweep(cq.Workplane('YZ').spline([(-0.166, 0.124), (0.181, -0.117), (0.529, -0.117), (0.876, 0.124)])) result = result.union(cq.Workplane(cq.Plane(origin=(0.331, 0.023, -0.11...
6
12
0.406346
train_8654873cedaac67f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0.212, -0.28), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.918, -0.007).lineTo(0.48, 0.754).lineTo(-0.433, 0.788).lineTo(-0.913, -0.02).lineTo(-0.457, -0.759).lineTo(0.436, -0.806).close().moveTo(0.184, 0.001).lineTo(0.093, 0.156).lineTo(-...
14
65
0.996301
train_9f4e609fbbc1134e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.121, -0.116, -0.753), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.758, 0.939).extrude(0.912) result = result.faces('>Z').shell(-0.048) result = result.union(cq.Workplane(cq.Plane(origin=(0.874, -0.193, 0.069), normal=(0, 0, 1), xDir=(1, 0, 0))).m...
5
54
0.42188
train_8f0478c7c4b13fc8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.171, 0.001, 0.28), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.195, -0.28).threePointArc((0.338, -0.34), (0.283, -0.196)).lineTo(0.283, 0.197).lineTo(0.283, 0.281).lineTo(0.199, 0.281).lineTo(-0.194, 0.281).threePointArc((-0.338, 0.34), (-0.278,...
5
34
0.329442
train_877f76f0929a0c9a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.201, -0.215, -0.562), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.124, 1.57).extrude(1.124) result = result.union(cq.Workplane(cq.Plane(origin=(0.548, -0.437, 0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.431, 0.529).extrude(0.257)) result = ...
20
111
1.810208
train_3556d36047f850eb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.189), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.44, 2).extrude(0.378) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.307, 0.14, 0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.206, 2.4).extrude(0.093)) result = result.cut(cq.Workp...
15
107
0.849008
train_212310063f2e971c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.082, 0.941, -0.229), normal=(0, 1, 0), xDir=(0, 0, 1))).lineTo(0.24, -0.462).lineTo(-0.24, 0.592).close().sweep(cq.Workplane('XY').spline([(0.082, 0.618), (0.259, 0.766), (0.436, 0.84), (0.613, 0.84), (0.79, 0.766), (0.967, 0.618)])) result = re...
3
32
0.117281
train_d2d157bf01bedc89
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.013, -0.001, 0.806), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.235, -0.198).threePointArc((-0.224, -0.224), (-0.198, -0.235)).lineTo(0.201, -0.235).threePointArc((0.235, -0.212), (0.227, -0.171)).lineTo(-0.171, 0.227).threePointArc((-0.212,...
24
197
0.196919
train_1eaabc4f3cc97081
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.608, 0, 0.083), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.174, 0.039).lineTo(-0.174, 0.002).lineTo(0.174, 0.002).lineTo(0.174, 0.039).lineTo(-0.174, 0.039).close().revolve(angleDegrees=360, axisStart=(-0.174, 0.039), axisEnd=(-0.174, 0.002)) ...
6
124
0.129579
train_c31cc8a80f45d350
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.194, 0, 0.662), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.276, -0.28).lineTo(0.264, -0.292).lineTo(-0.003, -0.025).lineTo(-0.267, -0.288).lineTo(-0.279, -0.276).lineTo(-0.289, -0.264).lineTo(-0.027, -0.001).lineTo(-0.289, 0.262).lineTo(-0.267,...
1
32
0.079656
train_3f7fafcb379a346c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.039, -1, -0.066), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.597, -0.853).threePointArc((-0.001, -0.713), (-0.474, -0.322)).threePointArc((-0.597, 0.039), (-0.474, 0.4)).threePointArc((-0.001, 0.791), (0.597, 0.931)).lineTo(0.597, 0.039).lineT...
22
200
3.246228
train_5798136eea06b9e5
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.202).sweep(cq.Workplane('XY').spline([(-0.909, -0.327), (-0.546, -0.311), (-0.182, -0.177), (0.182, 0.177), (0.546, 0.311), (0.91, 0.327)])) result = result.edges().fillet(0.048) result = resul...
5
5
0.169388
train_fd50ef09b4ee0c82
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.296, 0, 0.144), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.238, 0.165).lineTo(-0.238, -0.035).lineTo(0.238, -0.035).lineTo(0.238, 0.165).lineTo(-0.238, 0.165).close().revolve(angleDegrees=360, axisStart=(-0.238, 0.165), axisEnd=(-0.238, 0.06...
14
92
0.452792
train_8a7faaa77f5abad1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.973, 0.021, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.028).sweep(cq.Workplane('XY').spline([(0.973, 0.572), (0.63, 0.771), (0.143, 0.81), (-0.285, 0.672), (-0.471, 0.415), (-0.337, 0.148)]))
1
3
0.007651
train_3401a3283012272d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.343, 0.083, 0.063), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.421, 0.344).lineTo(-0.421, -0.344).lineTo(0.421, -0.344).lineTo(0.14, 0.344).lineTo(-0.421, 0.344).close().sweep(cq.Workplane('XZ').spline([(-1.045, -0.621), (-0.765, -0.611), (-0...
3
17
0.638153
train_8d6e0d2730c487ad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.307, 0, 1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.588).lineTo(0.186, 0.588).lineTo(0.186, 0.402).lineTo(0, -0.093).lineTo(0.186, -0.588).lineTo(-0.186, -0.093).lineTo(0, 0.402).lineTo(0, 0.588).close().sweep(cq.Workplane('XZ').spline([(...
2
11
0.148044
train_15aad02a928926bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.01, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.051, 0.09).threePointArc((-0.083, 0.056), (-0.095, 0.01)).lineTo(-0.095, -0.071).lineTo(-0.051, -0.071).lineTo(0.051, -0.071).lineTo(0.095, -0.071).lineTo(0.095, 0.01).threePointArc((0.08...
4
37
0.007314
train_3b60039a5ebc2a46
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.043, 0.241, -0.591), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.431, 1.319).extrude(0.859) result = result.union(cq.Workplane(cq.Plane(origin=(0.022, 0.263, 0.252), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.109, 0.022).threePointArc((0.065, ...
15
66
1.165139
train_39ce91f49a60d799
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.624, -0.146, 0.075), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.005, -0.221).threePointArc((0.142, -0.141), (0.196, 0.008)).threePointArc((-0.13, 0.221), (-0.196, -0.162)).threePointArc((-0.102, -0.215), (0.005, -0.221)).close().sweep(cq.Workp...
10
50
0.276461
train_014bb00437846bf5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.145, 0.152, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.084, 1.145).lineTo(0.119, 1.145).lineTo(0.119, -0.852).lineTo(-0.119, -0.856).lineTo(-0.119, 1.145).lineTo(0.084, 1.145).close().extrude(0.336) result = result.edges().chamfer(0.014) r...
13
163
0.134486
train_276ecf22d8a9d54f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.061, 0.082, -0.469), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.015, 0.119).lineTo(-0.015, 0.039).lineTo(0.389, 0.039).lineTo(0.531, 0.009).lineTo(-0.531, 0.009).lineTo(-0.389, 0.039).lineTo(-0.015, 0.119).close().extrude(0.164) result = resu...
5
50
0.006382
train_43e7d6b15f7f220c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.009, 0.037, -0.327), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.991, 0.009).lineTo(0.685, 0.664).lineTo(-0.017, 0.951).lineTo(-0.683, 0.731).lineTo(-1.009, 0.004).lineTo(-0.71, -0.725).lineTo(0.021, -1.024).lineTo(0.683, -0.726).close().center(...
20
70
1.142748
train_b0014ba0ab1cea06
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.019, 0.263, -0.737), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.263, 0.019).lineTo(-0.263, -0.134).lineTo(0.263, -0.134).lineTo(0.263, 0.173).lineTo(-0.263, 0.173).lineTo(-0.263, 0.019).close().extrude(0.526) result = result.edges().fillet(0....
5
39
0.085713
train_91d5094ae911213a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.186, -0.219, -0.088), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.12, 0.061).lineTo(-0.12, -0.179).lineTo(0.12, -0.179).lineTo(0.12, 0.061).lineTo(-0.024, 0.179).lineTo(-0.12, 0.061).close().sweep(cq.Workplane('XZ').spline([(-0.593, -0.237), (...
11
75
0.158444
train_874d53bb36b1429e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.226, 0, 0.56), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.322, 0.46).lineTo(-0.559, -0.048).lineTo(-0.237, -0.509).lineTo(0.322, -0.46).lineTo(0.559, 0.048).lineTo(0.237, 0.509).lineTo(-0.322, 0.46).close().extrude(1.56) result = result.edge...
5
57
1.387443
train_0f0e3d5b63845a69
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.095, -0.33, -0.388), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.249, 1.34).extrude(0.955) result = result.union(cq.Workplane(cq.Plane(origin=(-0.618, -0.166, 0.1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.467, -0.577).lineTo(-0.139, 0.323).lin...
3
28
1.703974
train_42e4246208899859
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.044, 0.076, -0.321), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.443, 0.545).extrude(0.641) result = result.union(cq.Workplane(cq.Plane(origin=(-0.234, 0.076, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(4.409, 0.215).threePointArc((0, 0.426), (...
9
50
0.182502
train_8ea98077d5f77179
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.174, -0.342), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.435, 1.652).extrude(0.676) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.574, 0.446, -0.223), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.302, 0.357).extrude(0.268)) result = result...
18
68
1.156691
train_b454852733461a39
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.27, 0, -0.268), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.269, -0.156).threePointArc((0.011, -0.116), (0.269, 0)).threePointArc((0.011, 0.116), (-0.269, 0.156)).lineTo(-0.269, -0.156).close().revolve(angleDegrees=270, axisStart=(-0.269, 0.15...
18
133
0.14567
train_cab4e2c49a80511e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.059, -0.049), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.173, 0.146).extrude(0.135) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.001, -0.103, -0.013), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.009).extrude(0.064)) result = resu...
11
67
0.004686
train_a5aa84723d8726e2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.134, -0.052, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.254, 0.181).lineTo(0.254, 0.23).lineTo(0.336, 0.23).lineTo(0.336, -0.246).lineTo(-0.336, -0.246).lineTo(-0.336, 0.181).lineTo(-0.303, 0.181).lineTo(-0.303, 0.246).lineTo(-0.238, 0.246...
30
121
0.215054
train_f9dccd8f096de814
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, -0.141, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.578).sweep(cq.Workplane('XY').spline([(-0.254, -0.141), (0.119, -0.156), (0.491, -0.257), (0.864, -0.48), (1.237, -0.789)])) result = result.edges().fillet(0.23) result = result.cut(cq.W...
10
57
1.139993
train_f3c05b987987284e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.271, -0.456), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.812, 1.458).extrude(0.912) result = result.faces('>Z').shell(-0.068) result = result.union(cq.Workplane(cq.Plane(origin=(0.376, 0.721, -0.341), normal=(0, 0, 1), xDir=(1, 0, 0))).circle...
4
64
0.622651
train_84bd845918f30a3c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.028, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.022, 0.005).lineTo(0.022, 0.048).lineTo(0.025, 0.048).lineTo(0.025, 0.053).lineTo(0.022, 0.053).lineTo(0.022, 0.051).lineTo(-0.022, 0.051).lineTo(-0.022, 0.048).lineTo(-0.025, 0.048).line...
5
32
0.00126
train_575ba117ac322f79
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.521, -0.01, -0.567), normal=(0, 0, -1), xDir=(1, 0, 0))).lineTo(0.479, -0.023).lineTo(-0.467, -0.114).lineTo(-0.473, -0.114).lineTo(-0.479, -0.114).lineTo(-0.479, 0.114).lineTo(-0.473, 0.114).close().sweep(cq.Workplane('XZ').spline([(-0.521, -0...
5
45
0.062402
train_13978e49f9c3be9b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.145, -0.478), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.977, 1.09).extrude(1.137) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.068, -0.003, 0.311), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.172, 0.191).extrude(0.121)) result = result....
15
371
1.121692
train_f3dc1a7ce2b6c627
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.377, 0.982), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.519).sweep(cq.Workplane('YZ').spline([(0.377, 0.08), (0.604, 0.22), (0.831, 0.284), (1.059, 0.24), (1.286, 0.12)])) result = result.cut(cq.Workplane(cq.Plane(origin=(0.043, -0.438, -1.0...
2
4
0.427581
train_c50d30ace7fc5d2c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.851, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(1.163).workplane(offset=0.797).circle(0.777).workplane(offset=0.904).circle(1.158).loft() result = result.edges().chamfer(0.271) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.801 + 0....
12
16
3.072561
train_2d3d71d6df2af7de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.664, 0.099), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.707, -0.277).threePointArc((0.03, -0.45), (-0.663, -0.549)).lineTo(-0.707, 0.326).threePointArc((-0.142, 0.409), (0.414, 0.549)).lineTo(0.707, -0.277).close().sweep(cq.Workplane('YZ')...
1
6
1.606161
train_f4da816c29d6e655
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.22, -0.367, -0.39), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.307, 0.07).lineTo(0.358, -0.035).lineTo(0.266, -0.108).lineTo(0.216, -0.213).lineTo(0.102, -0.448).lineTo(-0.011, -0.213).lineTo(-0.062, -0.108).lineTo(-0.153, -0.035).lineTo(-0.35...
7
48
0.532171
train_fed16de77ee96ef6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.325, 0.026, -0.576), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.278, 0.308).lineTo(-0.278, 0.248).threePointArc((-0.218, 0.223), (-0.193, 0.163)).threePointArc((-0.218, 0.103), (-0.278, 0.078)).lineTo(-0.278, 0.163).lineTo(-0.363, 0.163).line...
6
88
0.08948
train_bd7fa00540615152
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.135, -0.108, -0.108), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.641, 1.472).extrude(0.108) result = result.union(cq.Workplane(cq.Plane(origin=(0.216, 0.153, -0.003), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.608, 0.654).extrude(0.046)) result = ...
26
136
0.195158
train_ee7a3d0fdbf8b301
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, -0.082, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.008, 0.119).lineTo(-1.008, 0.119).lineTo(-0.974, 0.008).lineTo(1.008, 0.008).lineTo(1.008, 0.119).close().extrude(0.186) result = result.edges().fillet(0.047) result = result.uni...
5
39
0.035309
train_1e8465be39d52ce6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.812, 0.316, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.667, 1.316).lineTo(-1, -0.684).lineTo(-0.733, -0.684).lineTo(-0.467, 0.241).lineTo(-0.2, -0.415).lineTo(0.067, -0.415).lineTo(0.333, 0.241).lineTo(0.733, -0.684).lineTo(1, -0.684).lin...
5
125
2.522513
train_7dca9e3277d945e4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.027, 0.007, -0.12), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.99, 0.018).lineTo(0.677, 0.725).lineTo(0.022, 0.993).lineTo(-0.673, 0.724).lineTo(-1.013, -0.001).lineTo(-0.707, -0.691).lineTo(-0.015, -1.007).lineTo(0.697, -0.723).close().moveTo...
12
146
0.652764
train_bb8ac6ad467fa168
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.648, -0.215), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.641, 0.641).extrude(0.393) result = result.union(cq.Workplane(cq.Plane(origin=(0.032, 0.681, 0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.289).extrude(0.069)) result = result.unio...
23
208
0.32659
train_891d25145c4ae342
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.03, -0.009, 0.395), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.643, -0.695).threePointArc((-0.635, -0.605), (-0.637, -0.516)).threePointArc((-0.614, -0.45), (-0.594, -0.382)).threePointArc((-0.594, 0.362), (-0.965, 1.009)).threePointArc((-0....
7
78
0.792128
train_4b35760db58b34c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.292, -0.043, 0.691), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.395, 0.23).threePointArc((0.004, 0.166), (0.395, 0.062)).threePointArc((-0.08, -0.23), (-0.395, 0.23)).close().extrude(0.501) result = result.edges().fillet(0.071) result = resu...
8
215
1.105794
train_df99f0054a35384a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.426, 0.565, 0.095), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.295, 0.741).threePointArc((-0.003, 0.42), (-0.246, 0.055)).threePointArc((-0.295, 0.651), (0.295, 0.741)).close().extrude(1.28) result = result.edges().chamfer(0.133) result = resu...
12
71
0.320796
train_926cf2d96208662e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.555, -0.184), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.872, 0.63).extrude(0.369) result = result.faces('<X').shell(-0.023) result = result.union(cq.Workplane(cq.Plane(origin=(-0.096, 0.15, -0.112), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0...
7
43
0.112375
train_f320e59025380e93
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0.067, 0.133), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.025, 0.637).threePointArc((0.21, 0), (0.025, -0.637)).threePointArc((-0.168, -0.679), (-0.21, -0.487)).threePointArc((-0.068, 0), (-0.21, 0.487)).threePointArc((-0.168, 0.679), (0.0...
6
12
0.747908
train_829406ac7b049c5d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.214), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(1, 0.288).lineTo(1, 0).lineTo(-0.192, 0).lineTo(-0.192, -0.288).lineTo(-0.615, -0.288).lineTo(-0.615, 0).lineTo(-1, 0).lineTo(-1, 0.288).lineTo(1, 0.288).close().extrude(0.395) result = resu...
3
55
0.27366
train_7beeeba56559af6f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.572, -0.045, 0.152), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.506, 1.058).threePointArc((0.506, 0.045), (-0.506, -0.967)).lineTo(-0.506, -0.681).lineTo(-0.506, 0.772).lineTo(-0.506, 1.058).close().revolve(angleDegrees=90, axisStart=(-0.506...
17
66
0.809657