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_56f749274c4a9a22
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.038, -0.005, -0.207), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.038, 0.016).lineTo(0.674, 0.716).lineTo(-0.037, 0.989).lineTo(-0.749, 0.721).lineTo(-0.962, 0.022).lineTo(-0.745, -0.687).lineTo(0.037, -0.979).lineTo(0.702, -0.694).close().move...
13
102
0.738958
train_b3bb1a6ea4363528
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.224, -0.01, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.552, 0.549).extrude(0.301) result = result.union(cq.Workplane(cq.Plane(origin=(-0.505, -0.342, -0.083), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.064).extrude(0.094)) result = res...
21
292
0.26038
train_1d12f013897dd382
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.613, 0.277), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.189, 0.198).extrude(0.17) result = result.union(cq.Workplane(cq.Plane(origin=(0.042, 0.675, 0.577), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.299, 0.156).lineTo(-0.299, 0.328).lineTo(-...
4
28
0.016341
train_113b767da74dcc34
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.176, 0.136, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.125, -0.824).lineTo(0.125, -0.824).lineTo(0.125, 1.176).lineTo(-0.125, 1.176).lineTo(-0.125, -0.824).close().extrude(0.254) result = result.edges().fillet(0.053) result = result.union...
13
98
0.113903
train_081068ec04b34f5d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.542, 0.561, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.358, 1.731).lineTo(-0.162, 1.638).threePointArc((-0.591, 1.436), (-0.861, 1.046)).threePointArc((-0.901, 0.575), (-0.699, 0.146)).lineTo(-0.358, -0.257).lineTo(0.162, -0.164).threePoin...
10
69
1.417786
train_166d42718d8339bc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.6, 0.376, 0.155), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.008, 0.474).lineTo(-0.414, 0.23).lineTo(-0.407, -0.244).lineTo(0.008, -0.474).lineTo(0.414, -0.23).lineTo(0.407, 0.244).lineTo(-0.008, 0.474).close().revolve(angleDegrees=270, axisS...
7
61
1.115757
train_0bccafef89c2b2b9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.467, -0.531, 0.187), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.012, 0.939).extrude(0.666) result = result.union(cq.Workplane(cq.Plane(origin=(-0.458, -0.531, 0.416), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.031, 0.512).extrude(0.207)) result = ...
9
46
1.224861
train_c63b7e4f92ad5054
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.268, -0.005, -0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.747, 0.594).moveTo(0.079, 0.001).lineTo(0.039, 0.067).lineTo(-0.04, 0.067).lineTo(-0.079, 0.001).lineTo(-0.039, -0.067).lineTo(0.039, -0.067).close().extrude(0.07) result = result.c...
12
61
0.088581
train_ea4cc80c0dcffb0a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.557, -0.417, 0.01), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.351, 0.307).threePointArc((0.322, 0.236), (0.392, 0.205)).threePointArc((0.242, 0.139), (0.101, 0.058)).threePointArc((-0.016, -0.026), (-0.125, -0.121)).threePointArc((-0.206, -0....
3
10
0.174533
train_6446c743e918d404
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.153, -0.466, -0.3), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.33, 1.067).extrude(0.162) result = result.cut(cq.Workplane(cq.Plane(origin=(0.167, -0.852, -0.25), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.21, 0.311).extrude(0.068)) result = resul...
12
107
0.646442
train_a9005f0ddef841e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.211, -0.013, 0.305), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.749, 0.04).lineTo(-0.749, 0.789).lineTo(-0.249, 0.789).lineTo(-0.249, 0.307).lineTo(0.749, 0.04).lineTo(-0.749, 0.04).close().revolve(angleDegrees=360, axisStart=(0, 0), axisEnd...
5
37
1.204757
train_db9205f5f0d223dd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.267), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.452, 2).extrude(0.533) result = result.cut(cq.Workplane(cq.Plane(origin=(0.262, -0.389, -0.032), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.213).extrude(0.181)) result = result.cut(cq.Workp...
20
109
1.058477
train_a082642b91e0ca84
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.887, 0.975, -0.358), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.012, -0.081).threePointArc((-0.05, -0.074), (-0.081, -0.051)).threePointArc((-0.076, 0.081), (0.056, 0.076)).threePointArc((0.081, 0.009), (0.051, -0.056)).threePointArc((0.022, -...
6
65
0.110321
train_e698ec20f3071e82
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.135, -1, 0.038), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.368, -0.865).lineTo(0.368, -0.865).lineTo(-0.368, 1.293).lineTo(-0.368, -0.865).close().revolve(angleDegrees=90, axisStart=(-0.368, -0.865), axisEnd=(0.368, -0.865)) result = result....
6
29
0.574315
train_283aa622ba451ab1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.126, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.556, 1.073).extrude(1.747) result = result.union(cq.Workplane(cq.Plane(origin=(-0.156, 0.018, 0.73), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.4, 0.571).extrude(0.27)) result = result.union...
18
107
2.23787
train_1c78a9a8cb84a343
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.274, -0.761, 0.021), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.148, 0.64).lineTo(-0.148, -0.239).lineTo(-0.011, -0.239).lineTo(-0.011, 0.2).lineTo(0.148, 0.2).lineTo(0.148, 0.366).lineTo(-0.038, 0.366).lineTo(-0.038, 0.64).lineTo(-0.148, 0.64...
14
123
0.190064
train_749ff9a23ea04eb9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.01, 0.447, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.5, -0.99).lineTo(-0.5, -0.99).lineTo(-0.5, 0.957).threePointArc((-0.001, 0.997), (0.5, 1.01)).lineTo(0.5, -0.99).close().extrude(0.894) result = result.edges().fillet(0.018) result = re...
18
154
1.690053
train_7ab06aa5e879a744
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.193, 0, -0.374), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.614, 1.547).extrude(0.037) result = result.union(cq.Workplane(cq.Plane(origin=(-0.111, 0.004, -0.34), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.356).extrude(0.048)) result = result.un...
7
83
0.288309
train_71e1861f7dffa2d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.349, 0, -0.148), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.651).moveTo(0, -0.144).lineTo(0.032, -0.045).lineTo(0.137, -0.044).lineTo(0.053, 0.017).lineTo(0.085, 0.117).lineTo(0, 0.055).lineTo(-0.085, 0.117).lineTo(-0.053, 0.017).lineTo(-0.137,...
12
100
0.299722
train_0af5040348851ea0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.423, -0.005, -0.126), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.153, 0.17).extrude(0.075) result = result.union(cq.Workplane(cq.Plane(origin=(0.209, 0.023, -0.057), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.244, 0.065).extrude(0.095)) result = r...
9
52
0.1074
train_d879515aecb5f5d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.717), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.595, 0.415).extrude(1.035) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.257), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.294, 0.2).extrude(0.743)) result = result.union(cq.Work...
10
81
0.309561
train_3cc3928f1dace616
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.322, 0, -0.67), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.322, -0.404).lineTo(-0.322, -0.371).lineTo(0.252, -0.371).lineTo(0.252, -0.366).lineTo(-0.322, -0.366).lineTo(-0.322, 0.404).lineTo(0.308, 0.404).lineTo(0.308, -0.333).lineTo(0.322, -...
12
79
0.843324
train_ac29b66a7ec5be60
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.478, -1, 0.109), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.361, 0.163).threePointArc((-0.198, 0.072), (-0.049, -0.041)).lineTo(0.964, 1.008).lineTo(-0.964, 1.008).lineTo(-0.964, 0.163).lineTo(-0.361, 0.163).close().extrude(2) result = result...
14
64
2.261266
train_5be19a539d068369
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.338, -0.758, -0.124), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.876, 0.758).lineTo(0.876, 0.758).lineTo(0.876, 0.082).lineTo(-0.876, 0.082).lineTo(-0.876, 0.758).close().revolve(angleDegrees=180, axisStart=(-0.876, 0.758), axisEnd=(-0.803, ...
19
39
1.124353
train_06b7a224cdf8b452
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.725, -0.911), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.428, -0.4).lineTo(-1.124, 1.154).lineTo(0.428, 1.85).lineTo(1.124, 0.297).lineTo(-0.428, -0.4).close().extrude(1.821) result = result.edges().fillet(0.387) result = result.cut(cq.Wor...
3
31
4.024955
train_23588214c14a002c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.356, -0.148, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.776, 1.113).extrude(0.605) result = result.union(cq.Workplane(cq.Plane(origin=(0.162, -0.222, 0.377), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.232, 0.329).extrude(1.406)) result = ...
13
102
2.021253
train_a25eaa59f0dbbae4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.175, -0.128, -0.564), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.527, -0.004).lineTo(0.165, 0.523).lineTo(-0.435, 0.32).lineTo(-0.454, -0.319).lineTo(0.168, -0.502).close().moveTo(-0.255, 0.214).lineTo(-0.222, 0.214).lineTo(-0.222, 0.168).line...
12
219
0.717543
train_d4a34b4cb2b31e17
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.173, -0.001), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.979, 0.172).lineTo(1, 0.172).lineTo(1, -0.172).lineTo(-1, -0.172).lineTo(-1, 0.172).lineTo(0.979, 0.172).close().revolve(angleDegrees=270, axisStart=(0.979, 0.172), axisEnd=(1, 0.172)...
8
145
0.510062
train_296525182799bcc7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.102, -0.91, -0.134), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.124, 0.09).lineTo(-0.124, -0.09).lineTo(-0.124, 0.09).lineTo(0.124, 0.09).close().sweep(cq.Workplane('YZ').spline([(-0.91, -0.134), (-0.531, 0.099), (-0.152, -0.645), (0.227, -0.6...
10
61
0.183052
train_3d39b88b448c3297
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.906, -0.556, 0.075), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.925, -0.248).threePointArc((-0.89, -0.333), (-0.805, -0.368)).lineTo(0.453, -0.368).lineTo(0.925, -0.368).lineTo(0.925, 1.293).lineTo(0.925, 1.361).threePointArc((0.89, 1.446), (...
17
186
5.597199
train_f012cd4118b401fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.272, -0.052, -0.726), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.05, 0.271).threePointArc((0, -0.273), (-0.05, 0.271)).threePointArc((0, 0.276), (0.05, 0.271)).close().extrude(0.174) result = result.edges().fillet(0.02) result = result.union(...
7
58
0.268732
train_6b724faa65f11e7d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.374, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.097, -0.129).threePointArc((-0.069, -0.137), (-0.042, -0.144)).threePointArc((0.272, -0.182), (0.585, -0.144)).threePointArc((0.613, -0.137), (0.639, -0.129)).lineTo(0.607, -0.074).threeP...
12
73
1.103411
train_0ee1288bb8c8b2d2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.376, -0.899, 0.494), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.012, 0.378).lineTo(-0.012, 0.36).lineTo(-0.021, 0.369).lineTo(-0.504, -0.136).lineTo(-0.504, 0.859).lineTo(-0.506, 0.861).lineTo(-0.012, 0.885).lineTo(0.506, 0.888).lineTo(-0.012...
11
54
1.374609
train_92529bc773b33c58
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.039, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.682, 0.638).extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(0.34, 0.143, 0.498), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.079, 0.084).extrude(0.177)) result = result.cut(cq....
9
119
0.844371
train_4a33dc1648cf3286
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.696, 0, 0.35), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.154, 0.154).threePointArc((-0.218, 0), (-0.154, -0.154)).lineTo(0.154, -0.154).threePointArc((0.218, 0), (0.154, 0.154)).lineTo(-0.154, 0.154).close().sweep(cq.Workplane('XZ').spline([...
23
25
0.108137
train_93404d9b2b52d658
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.451, 0.353, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(1, 0.088).lineTo(0.977, 0.088).lineTo(0.977, 0.094).lineTo(0, 0.094).lineTo(0, 0.088).lineTo(-0.023, 0.088).lineTo(-0.023, 0.094).lineTo(-1, 0.094).lineTo(-1, 0.808).lineTo(-0.023, 0.808...
3
32
0.685241
train_1dfcd51c922a5c79
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.476, 0.077, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.585).sweep(cq.Workplane('XY').spline([(0.476, 0.846), (0.813, 0.846), (1.149, 0.846), (1.336, 0.64), (1.522, 0.433), (1.708, 0.227)])) result = result.edges().fillet(0.052) result = re...
5
22
0.497166
train_0f975d25ce981c97
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.049, 0.224, -0.108), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.743, 0.031).lineTo(-0.738, 0).lineTo(-0.743, -0.031).lineTo(0.743, -0.031).lineTo(0.738, 0).lineTo(0.743, 0.031).lineTo(-0.743, 0.031).close().sweep(cq.Workplane('XY').spline([(0....
4
30
0.032418
train_c88b56ddec743dc6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0, 0.023), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.148, 0.123).threePointArc((-0.192, 0), (0.148, -0.123)).threePointArc((0.192, 0), (0.148, 0.123)).close().sweep(cq.Workplane('XZ').spline([(0, -0.196), (0.5, -0.188), (1, -0.116), (1.5, -...
6
104
0.223533
train_63eab42d5a4ddd22
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.845, 0.162, 0.163), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.733, 0.143).lineTo(-0.628, -0.038).lineTo(0.209, -0.038).lineTo(0.314, 0.143).lineTo(0.419, -0.038).lineTo(0.837, -0.038).lineTo(0.837, -0.143).lineTo(-0.837, -0.143).lineTo(-0.8...
5
60
0.145614
train_7aeb315b3e4aa764
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.138, -0.565, -0.248), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.155, 0.093).lineTo(-0.072, 0.041).lineTo(-0.028, 0.013).lineTo(-0.023, 0.02).lineTo(0.032, -0.015).lineTo(0.028, -0.023).lineTo(0.072, -0.051).lineTo(0.076, -0.043).lineTo(0.13...
16
120
0.294073
train_74a46265750e4fe1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.062, 0.034), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.486).workplane(offset=0.192).circle(0.432).workplane(offset=0.176).circle(0.378).workplane(offset=0.202).circle(0.324).workplane(offset=0.194).circle(0.27).loft() result = result.edge...
14
71
0.300163
train_abfbf8de04b03435
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.017, -0.675), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.404, 0.408).extrude(0.436) result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.017, -0.271), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.247, 0.223).extrude(0.347)) result = result....
13
69
0.144887
train_3022c48f30e7586e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.497, -0.087, -0.483), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.006, 1.006).extrude(0.739) result = result.faces('>Z').shell(-0.118) result = result.union(cq.Workplane(cq.Plane(origin=(-0.354, -0.001, 0.246), normal=(0, 0, 1), xDir=(1, 0, 0)))....
23
235
1.134814
train_2d986127e068b5f6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.293, -0.696), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.826, 1.415).extrude(1.392) result = result.union(cq.Workplane(cq.Plane(origin=(0.151, 0.697, 0.074), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.303).extrude(0.483)) result = result.cut...
12
104
2.359042
train_35e24f41e4ad6da8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.012, -0.269, -0.743), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.06, 0.201).threePointArc((-0.158, -0.192), (0.158, 0.061)).threePointArc((0.073, 0.168), (-0.06, 0.201)).close().extrude(0.538) result = result.edges().chamfer(0.016) result = re...
7
27
0.155372
train_b955396305998ea6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0.007, -0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.782, -0.001).lineTo(0.264, 0.746).lineTo(-0.645, 0.461).lineTo(-0.678, -0.49).lineTo(0.249, -0.76).close().moveTo(-0.135, 0).lineTo(-0.216, 0.138).lineTo(-0.374, 0.139).lineTo(-0.4...
9
87
0.472092
train_f264d166371ea1f4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.18, -0.003, -0.785), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.215, 0.009).lineTo(0.215, 0.009).lineTo(0.215, -0.003).lineTo(-0.215, -0.003).lineTo(-0.215, 0.009).close().extrude(0.36) result = result.union(cq.Workplane(cq.Plane(origin=(0.01...
10
48
0.002556
train_55d1e2cf15d48f14
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.128), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.559).extrude(0.257) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.128, -1.142), normal=(0, 1, 0), xDir=(1, 0, 0))).circle(0.063).center(0.035, -0.008).circle(0.019).extrude(0.909...
17
95
0.611425
train_36aef2353fce405e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, -1.945, 1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.002, 2.697).lineTo(1.002, 1.043).lineTo(0.625, 1.288).lineTo(0.445, 1.25).lineTo(0, 1.695).lineTo(-0.445, 2.139).lineTo(-0.625, 2.101).lineTo(-1.002, 2.345).lineTo(-1.002, 2.697).line...
8
79
2.265215
train_08ccd0ddd24fb369
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.283, 0, 0.157), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.824, 0.665).extrude(0.495) result = result.union(cq.Workplane(cq.Plane(origin=(-0.4, 0, 0.281), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.592, 0.408).extrude(0.247)) result = result.union...
8
41
0.365758
train_b72d27aad84538a3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.512, 0.035, 0.109), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.281, -0.173).lineTo(-0.281, -0.212).lineTo(0.281, -0.212).lineTo(0.281, 0.352).lineTo(0.246, 0.352).lineTo(0.246, -0.173).lineTo(-0.281, -0.173).close().extrude(1.047) result = re...
11
99
0.377828
train_b315398571824e75
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.16, -0.67, -0.597), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.135, 0.154).lineTo(-0.135, -0.302).lineTo(0.093, -0.302).lineTo(0.093, 0.268).lineTo(0.135, 0.268).lineTo(0.135, 0.302).lineTo(-0.093, 0.302).lineTo(-0.093, 0.154).lineTo(-0.135, 0...
9
111
0.116593
train_9dc5f0e9f87bcfa7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.052, 0.04, 0.192), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.554, -0.746).lineTo(-0.554, 0.552).lineTo(0.086, 0.552).threePointArc((0.554, 0.746), (0.36, 0.278)).lineTo(0.36, -0.746).lineTo(-0.554, -0.746).close().workplane(offset=0.423).mo...
9
70
0.689505
train_132bcb84d2296185
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.321).workplane(offset=0.796).circle(0.332).workplane(offset=0.598).circle(0.381).workplane(offset=0.606).circle(0.326).loft() result = result.edges().fillet(0.108) result = result.cut(cq.Workp...
4
10
0.628206
train_39107b32beb9766a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, 0, 0.469), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.074).workplane(offset=0.187).circle(0.263).workplane(offset=0.219).circle(0.111).workplane(offset=0.193).circle(0.1).workplane(offset=0.195).circle(0.215).workplane(offset=0.167).circle(0....
8
42
0.270993
train_70ce91a9468fc1b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.31), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.961, 2).extrude(0.62) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.198), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.331, 0.129).lineTo(0.285, 0.129).lineTo(0.25, 0.034).lineTo(...
12
76
1.584204
train_39c6f6e58071eae8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.437, 0.019, 0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.126, 1.51).extrude(0.198) result = result.union(cq.Workplane(cq.Plane(origin=(-0.284, -0.257, 0.161), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.38, 0.341).extrude(0.065)) result = res...
16
158
0.752134
train_4e554d1769bb9b35
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.099, 0.129, -0.267), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.975, 0.23).lineTo(0.931, 0.255).lineTo(-0.777, 0.104).lineTo(-0.621, -0.1).lineTo(-0.422, -0.487).lineTo(0.023, -0.733).lineTo(0.571, -0.499).close().moveTo(-0.249, 0.229).lineTo(...
10
61
0.384391
train_c316ef7489914612
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0.2, 0.784), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.206).sweep(cq.Workplane('YZ').spline([(0.2, 0.274), (0.341, 0.411), (0.481, 0.192), (0.622, 0.056), (0.762, 0.137), (0.903, 0.355), (1.043, 0.274)])) result = result.edges().chamfer(0...
3
10
0.073066
train_61481375966998fe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, -0.578, 0.32), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.401).sweep(cq.Workplane('YZ').spline([(-0.312, -0.102), (-0.126, 0.112), (0.06, 0.112), (0.247, -0.102)])) result = result.edges().chamfer(0.16) result = result.union(cq.Workplane(...
7
24
0.585106
train_670cdc0af1bd5971
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.057, -0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.128, 1.058).lineTo(0.128, 1.053).lineTo(0.091, -0.943).lineTo(-0.128, -0.943).lineTo(-0.128, 1.058).close().extrude(0.227) result = result.edges().chamfer(0.035) result = result.cut(...
11
43
0.095421
train_d755c96a12f4c055
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.04, -0.404, -0.116), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.503, -0.96).lineTo(-0.503, 0.997).lineTo(-0.417, 0.997).lineTo(-0.417, 1.04).lineTo(0.503, 1.04).lineTo(0.503, -0.96).lineTo(-0.503, -0.96).close().extrude(0.808) result = result...
17
520
1.623751
train_26d9598927d40426
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.059, -0.799), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.16, 1.354).extrude(1.598) result = result.union(cq.Workplane(cq.Plane(origin=(0.144, -0.857, -0.028), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.143).extrude(0.243)) result = result.un...
4
64
2.640763
train_d5d178d22997e57d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, 0, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.525, 0.39).lineTo(0.641, 0.133).lineTo(-0.525, -0.39).lineTo(-0.641, -0.133).lineTo(0.525, 0.39).close().sweep(cq.Workplane('XZ').spline([(-0.171, -0.437), (-0.086, -0.554), (-0.001, -0.59...
2
11
0.317862
train_fa4991fec87c3491
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.135, 0.005, 0.069), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.261, 0.11).lineTo(0.321, 0.169).lineTo(0.262, 0.228).lineTo(-0.192, 0.681).lineTo(-0.252, 0.622).lineTo(0.203, 0.169).lineTo(-0.321, -0.356).lineTo(-0.265, -0.411).lineTo(0.261, 0....
10
206
0.294888
train_3f2bf5164fd01f25
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.825, -0.837, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(1, 1.462).lineTo(-1, 1.462).lineTo(-1, 0.212).lineTo(0.75, 0.212).lineTo(0.75, 0.312).lineTo(1, 0.312).lineTo(1, 1.462).close().workplane(offset=0.42).moveTo(0.675, 1.259).lineTo(-0.675...
8
44
0.981479
train_c7fde9792b84f375
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.022, 0.326, 0.5), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.44, -0.326).lineTo(0.352, -0.326).lineTo(-0.44, 0.499).lineTo(-0.44, 0.674).lineTo(-0.432, 0.674).lineTo(-0.432, 0.502).lineTo(0.355, -0.319).lineTo(0.44, -0.319).lineTo(0.44, -0.326)...
2
14
0.01578
train_6d065f6dbaa14419
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.039, -0.705), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.75, 1.039).lineTo(-0.75, -0.961).lineTo(0.75, -0.961).lineTo(0.75, 1.039).lineTo(-0.75, 1.039).close().extrude(1.41) result = result.edges().chamfer(0.188) result = result.cut(cq.Wor...
27
51
3.311942
train_172053448311556f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.132, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.543, -0.332).lineTo(-0.923, -0.486).lineTo(-1, -0.296).lineTo(-0.24, 0.013).lineTo(0.106, 0.154).lineTo(0.923, 0.486).lineTo(1, 0.296).lineTo(0.592, 0.13).lineTo(0.183, -0.036).lineTo(-0.1...
1
12
0.637362
train_804c8c97a038ef62
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.322, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.324, 0.255).threePointArc((0.022, 0.028), (0.324, -0.255)).lineTo(-0.324, 0.255).close().sweep(cq.Workplane('XY').spline([(-0.424, 0.322), (-0.194, 0.138), (0.037, 0.046), (0.268, 0.046)...
1
4
0.017632
train_591f75cec00dc576
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.147, -0.901, 0.356), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.644, 0.671).lineTo(-0.483, -0.188).threePointArc((0, -0.671), (0.483, -0.188)).lineTo(0.644, 0.671).lineTo(-0.644, 0.671).close().sweep(cq.Workplane('XY').spline([(-0.147, -0.07...
3
27
2.266137
train_576c24a00d68d1d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.399, -0.196), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.641, 1.201).extrude(0.669) result = result.union(cq.Workplane(cq.Plane(origin=(-0.074, -0.46, 0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.364, 0.565).extrude(0.126)) result = resul...
7
26
0.58455
train_d78e5e7228c814f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.625, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.181, -0.013).lineTo(-0.181, -0.193).lineTo(0.181, -0.193).lineTo(0.181, 0.168).lineTo(0.099, 0.168).threePointArc((0, 0.193), (-0.099, 0.168)).lineTo(-0.177, 0.168).lineTo(-0.181, 0.168)....
8
54
0.195791
train_e4979ab93f1ddecd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.42, -0.609), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.391, 0.357).lineTo(-0.391, 0.196).lineTo(0.391, 0.196).lineTo(0.391, 0.357).threePointArc((0.351, 0.388), (0.334, 0.436)).lineTo(0.334, 0.443).lineTo(0.334, 0.841).lineTo(-0.164, 0.84...
10
108
0.823265
train_d2dadd8bb6606996
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.216, 0.055, -0.4), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.033, -0.18).threePointArc((0.284, 0.199), (-0.136, 0.373)).threePointArc((-0.284, 0.042), (0.002, -0.182)).threePointArc((0.018, -0.181), (0.033, -0.18)).close().extrude(0.456) resul...
15
180
0.329489
train_42aae8ab792a2faa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.119, 0.059, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-1, 0.097).lineTo(-1, -0.097).threePointArc((-0.005, 0.048), (1, 0.097)).lineTo(-1, 0.097).close().sweep(cq.Workplane('XY').spline([(0.339, 0.059), (0.035, 0.093), (-0.23, 0.014), (-0.3...
11
41
0.088854
train_7317824118a6f1e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.125, 0.812, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.471).sweep(cq.Workplane('XY').spline([(-0.125, -0.453), (0.056, 0.117), (-0.165, 0.666), (-0.651, 0.848)])) result = result.edges().chamfer(0.368) result = result.cut(cq.Workplane(cq.P...
24
19
0.521414
train_8d27091b19ffccbc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.728, -0.325), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.733).workplane(offset=0.63).circle(0.636).workplane(offset=0.826).circle(0.736).loft() result = result.edges().chamfer(0.34) result = result.union(cq.Workplane(cq.Plane(origin=(-0.321...
3
11
1.817818
train_fe6a45c0cca49c43
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 1), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(1, -0.225).lineTo(1, 0.225).lineTo(-1, 0.225).lineTo(-1, -0.225).lineTo(1, -0.225).close().revolve(angleDegrees=90, axisStart=(1, -0.225), axisEnd=(1, 0.225)) result = result.edges().chamfer(0.0...
12
63
1.227103
train_0b19444285e6b171
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.375, 0.276, -0.21), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.542, 1.199).lineTo(-0.542, 1.175).lineTo(0.516, 1.175).lineTo(0.516, -0.612).lineTo(0.542, -0.612).lineTo(0.542, 1.199).lineTo(-0.542, 1.199).close().workplane(offset=0.083).moveT...
7
42
0.08153
train_e0874f14595d5739
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.288, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.484, -0.145).threePointArc((-0.526, 0.053), (-0.707, 0.142)).lineTo(-0.707, 0.358).lineTo(0.686, 0.358).lineTo(0.707, 0.358).threePointArc((0.45, -0.028), (0.123, -0.358)).lineTo(0.092, -0...
9
53
0.84509
train_a6423183915c60b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.003, 1.001, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 0.998).lineTo(1.022, 0.998).threePointArc((0, 0.207), (-1.022, 0.998)).lineTo(0, 0.998).close().revolve(angleDegrees=270, axisStart=(0, 0.998), axisEnd=(1.022, 0.998)) result = result....
2
8
1.849556
train_e94800737ded7a55
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.167, -0.151, -0.491), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.316, 0.116).lineTo(0.325, 0.116).lineTo(0.325, 0.023).lineTo(-0.316, 0.023).lineTo(-0.316, 0.054).lineTo(-0.321, 0.054).lineTo(-0.321, -0.039).lineTo(-0.325, -0.039).lineTo(-0.3...
12
105
0.045879
train_920b6d99db40924b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, 0.062, -0.216), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.047, -0.995).lineTo(-0.047, 1.005).lineTo(0.047, 1.005).lineTo(0.047, -0.995).lineTo(-0.047, -0.995).close().extrude(0.109) result = result.edges().chamfer(0.004) result = result...
15
107
0.016585
train_60c042b62f802693
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.025, 0.027, 0.654), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.597, 0.467).lineTo(-0.597, 0.612).lineTo(0.436, -0.612).lineTo(0.597, 0.467).close().workplane(offset=0.223).moveTo(0.693, 0.542).lineTo(-0.693, 0.711).lineTo(0.506, -0.711).lineT...
13
74
1.111162
train_7e09498e310aef43
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.504, 0, 0.055), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.357, -0.445).lineTo(0.496, 0.408).lineTo(-0.218, 0.408).lineTo(-0.218, 0.445).lineTo(-0.286, 0.408).lineTo(-0.357, 0.369).lineTo(-0.429, 0.408).lineTo(-0.496, 0.445).lineTo(-0.496, -...
6
16
0.49232
train_08bfff74a78fdd88
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.851, 0, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(1.003).workplane(offset=0.371).circle(0.951).workplane(offset=0.28).circle(0.899).workplane(offset=0.373).circle(0.847).workplane(offset=0.288).circle(0.795).workplane(offset=0.39).circle(0....
14
94
3.383263
train_6f5474e58ec59c82
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0.356, 0.035), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.134, 0.644).lineTo(-0.134, 0.46).lineTo(-0.399, 0.46).lineTo(-0.399, -0.644).lineTo(0.215, -0.644).lineTo(0.215, -0.207).lineTo(0.399, -0.207).lineTo(0.399, 0.644).lineTo(-0.134,...
24
166
0.484451
train_54d7c7d8124b580e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.241, -0.413, -0.403), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.597, 1.285).lineTo(0.597, -0.658).lineTo(0.111, -0.658).lineTo(0.111, 0.045).lineTo(-0.597, 0.045).lineTo(-0.597, 0.581).lineTo(0.597, 0.581).lineTo(0.597, 1.285).close().extrude(...
10
164
0.282947
train_b8c2191e0d688687
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.568, 0.016, -0.339), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.24, -0.984).lineTo(0.24, 1.016).lineTo(-0.24, 1.016).lineTo(-0.24, -0.984).lineTo(0.24, -0.984).close().extrude(0.416) result = result.edges().chamfer(0.069) result = result.union...
22
140
0.441146
train_ab12ae7687741f95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.196, 0.013, -0.101), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.804, -0.016).lineTo(0.423, 0.683).lineTo(-0.41, 0.688).lineTo(-0.827, 0.022).lineTo(-0.386, -0.712).lineTo(0.417, -0.714).close().moveTo(-0.417, 0.18).lineTo(-0.101, 0.18).lineTo(-...
12
72
0.353166
train_1ce095bbf42d89ae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.747), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.535).extrude(1.234) result = result.union(cq.Workplane(cq.Plane(origin=(-0.965, 0.275, -0.019), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.215, 0.887).lineTo(-0.215, 0.568).lineTo(0.766...
12
102
3.155352
train_ace63a6cffab4afb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.611, -0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.019, 0.081).threePointArc((-0.37, -0.135), (0.019, -0.351)).threePointArc((0.085, -0.292), (0.126, -0.214)).threePointArc((0.244, -0.285), (0.37, -0.231)).lineTo(0.37, -0.039).lineTo(...
7
47
0.419635
train_6b72df0ec8b7fbf8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.273, 0.118, -0.346), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.454, 1.344).extrude(0.823) result = result.union(cq.Workplane(cq.Plane(origin=(0.697, 0.242, -0.146), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.605, 0.753).extrude(0.475)) result = ...
12
57
1.410957
train_425c5936bd04aefd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.66, 0.845, -0.057), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.642, -0.222).threePointArc((-0.102, 0.458), (0.642, 0.905)).lineTo(-0.642, 0.905).lineTo(-0.642, -0.222).close().extrude(1.057) result = result.edges().fillet(0.093) result = resu...
20
123
0.648883
train_7f4e9425b6da5281
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.741, -0.232), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.518, 0.518).extrude(0.464) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0.025, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.158, 1.177).extrude(0.197)) result = result.u...
10
49
0.143155
train_2d8096e75a666515
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.254, -0.293, 0.02), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0, -0.103).lineTo(0.014, -0.032).lineTo(0, -0.03).lineTo(0.03, -0.03).lineTo(0, 0).lineTo(-0.051, -0.051).lineTo(-0.103, 0).lineTo(0, 0.103).lineTo(0.103, 0).lineTo(0.051, -0.051).l...
10
109
0.449148
train_9390b5f58a3a8261
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, 0.477, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.109).workplane(offset=0.202).circle(0.11).workplane(offset=0.234).circle(0.11).workplane(offset=0.185).circle(0.103).workplane(offset=0.207).circle(0.099).workplane(offset=0.221).circl...
30
124
0.013249
train_beccccbe82d75523
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.273, -0.009, -0.062), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.454, 1.075).extrude(0.703) result = result.edges().fillet(0.126) result = result.union(cq.Workplane(cq.Plane(origin=(-0.715, -0.157, 0.113), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(...
22
84
1.112175