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_557326b04095caa0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 1).lineTo(1, -1).lineTo(0.332, -1).lineTo(0.332, -0.332).lineTo(-0.332, -0.332).lineTo(-0.332, 0.332).lineTo(-1, 0.332).lineTo(-1, 1).lineTo(1, 1).close().extrude(0.213) result = result.c...
11
25
0.561441
train_1c01fea8ff68bb73
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.917, -0.88, -0.235), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.093, 0.359).lineTo(0.223, 0.197).lineTo(0.185, -0.003).lineTo(0.003, -0.065).lineTo(-0.168, -0.003).lineTo(-0.223, 0.179).lineTo(-0.107, 0.334).lineTo(0.093, 0.359).close().extrud...
6
33
0.389702
train_e24d34dfbde0fd7d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.263, -0.577), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.737, 0.67).lineTo(0.737, 0.483).lineTo(0.124, 0.483).lineTo(0.124, 0).lineTo(0, 0).lineTo(0, 0.67).lineTo(0.737, 0.67).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=...
3
40
0.333244
train_cc12fa32beac88ec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.353), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.217) result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.353), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.1, 0.433), (-0.377, 0.781), (-0.777, 0.974), (-1...
7
206
0.596107
train_5477d5460da6a3e5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.272, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.268).extrude(0.854) result = result.union(cq.Workplane(cq.Plane(origin=(-0.272, 0, -0.402), normal=(0.435, 0, 0.901), xDir=(0.901, 0, -0.435))).circle(0.196).extrude(1.462)) result = resu...
5
12
0.149206
train_37b39ff65b1b81be
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.144, 0.119, -0.412), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.47).lineTo(0.29, 0.035).threePointArc((0.315, 0.001), (0.343, -0.03)).lineTo(0.627, -0.313).threePointArc((0.627, -0.47), (0.47, -0.47)).lineTo(0.313, -0.47).threePointArc((0.1...
17
97
1.779179
train_37a3d6d9f15b1f72
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.358), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.399, 0.396).threePointArc((0.569, 0.325), (0.639, 0.154)).lineTo(0.639, -0.098).threePointArc((0.553, -0.308), (0.341, -0.396)).lineTo(-0.252, -0.396).threePointArc((-0.526, -0.282), (-0.6...
9
37
1.646468
train_a98252ed68a81199
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.006, 0.096, 0.011), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.223, 0.691).threePointArc((-0.201, 0.448), (-0.06, 0.394)).threePointArc((1.127, -0.246), (-0.228, -0.864)).threePointArc((-0.4, -0.606), (-0.438, -0.123)).threePointArc((-0.381, 0...
11
146
1.229509
train_64c6c2ff6b73cf29
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.022, 0.014, 0.055), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.063, 0.252).threePointArc((0.315, 0.628), (0.566, 0.126)).threePointArc((0.441, 0), (0.189, 0)).lineTo(0.189, -0.126).threePointArc((0.063, -0.378), (-0.063, -0.503)).threePointArc...
6
38
1.319564
train_7c420f7bfdbf624c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.198, 0, -0.359), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.018, 0.793).lineTo(0.536, 0.589).lineTo(0.802, 0.099).lineTo(0.69, -0.447).lineTo(0.254, -0.793).lineTo(-0.303, -0.778).lineTo(-0.72, -0.409).lineTo(-0.802, 0.142).lineTo(-0.51, 0.617...
20
132
0.409347
train_098e14aa221d2ced
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.052, 0.224, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.565, 0.556).lineTo(0.669, -0.556).threePointArc((-0.669, -0.552), (0.565, 0.556)).close().sweep(cq.Workplane(cq.Plane(origin=(0.052, 0.224, -0.121), normal=(0, -1, 0), xDir=(1, 0, ...
15
241
0.280527
train_c155739314a6fc1d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.347), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.557).extrude(0.653, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.347), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.106).extrude(0.139, both=True)) result = result....
6
15
1.198331
train_fa2fd1d2c5df9287
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.451), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.648).lineTo(1, -0.637).lineTo(0.947, -0.688).lineTo(-0.933, -0.688).lineTo(-1, -0.621).lineTo(-1, 0.619).lineTo(-0.931, 0.688).lineTo(0.958, 0.688).lineTo(1, 0.648).close().extrude(0.16...
12
58
1.282973
train_edff2cfa1434b8cf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.094), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.214, 1).threePointArc((0.309, 0.959), (0.348, 0.863)).lineTo(0.348, -0.846).threePointArc((0.303, -0.954), (0.195, -1)).lineTo(-0.267, -1).threePointArc((-0.324, -0.975), (-0.348, -0.917))...
2
25
0.243667
train_7da09180e17365b5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.311), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.815, 1).lineTo(0.815, -0.504).threePointArc((0.668, -0.854), (0.319, -1)).lineTo(-0.12, -1).lineTo(-0.815, -0.305).lineTo(-0.815, 0.541).threePointArc((-0.681, 0.865), (-0.356, 1)).lineTo(...
9
26
0.871631
train_13279fa278ca220b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.001, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.137, -0.019).threePointArc((-0.017, 0.197), (0.137, -0.016)).lineTo(0.133, -0.183).threePointArc((0.105, -0.197), (0.079, -0.174)).lineTo(0.078, -0.01).threePointArc((0.079, 0.094), (-0.0...
3
44
0.074522
train_fc8780463c071210
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.312), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.72).extrude(0.687, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.312), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.104).extrude(0.208, both=True)) result = result.c...
6
19
2.120047
train_d8cb1cc4b808da62
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.607, 0, -2.112), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.327).extrude(1.655) result = result.union(cq.Workplane(cq.Plane(origin=(-0.607, 0, -0.953), normal=(0.364, 0, 0.932), xDir=(0.932, 0, -0.364))).circle(0.426).extrude(1.955)) result = ...
8
29
0.315511
train_32cf8a0250b66aad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.059, 0.388).lineTo(0.233, 0.311).threePointArc((0.275, 0.263), (0.32, 0.219)).lineTo(0.392, 0.035).threePointArc((0.389, -0.008), (0.391, -0.051)).lineTo(0.32, -0.221).threePointArc((0.25...
6
101
0.483438
train_9118334dd1e20f7e
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.349, 0.952).threePointArc((0.455, 0.909), (0.5, 0.808)).lineTo(0.5, 0.075).threePointArc((0.523, 0.022), (0.578, 0)).lineTo(0.802, 0).threePointArc((0.941, -0.056), (1, -0.189)).lineTo(1, -0.768).threePointArc((0.943, -0.897), (0.807, -0.952)).lineT...
10
594
0.298602
train_c8741a089f4d4111
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.014, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.738, 2).lineTo(0.738, 1.017).lineTo(0.766, 1.017).lineTo(0.766, 0).lineTo(0.278, 0).lineTo(0.278, 2).lineTo(0.738, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1,...
6
38
2.062809
train_10a82e8f9147cb4f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.851).extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.389), normal=(0.258, 0, 0.966), xDir=(0.966, 0, -0.258))).circle(0.577).extrude(3.201)) result = result.cut(cq.Workp...
12
57
1.978487
train_17bce1088c95c325
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.121), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.515, 0.973).lineTo(0.515, -0.957).threePointArc((0.503, -0.986), (0.472, -1)).lineTo(-0.48, -1).lineTo(-0.48, -0.965).lineTo(-0.515, -0.965).lineTo(-0.515, 0.965).threePointArc((-0.505, 0....
21
294
0.365873
train_3520b7eacaec3a6f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.268), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.064).extrude(0.264) result = result.cut(cq.Workplane(cq.Plane(origin=(1.064, 0, -0.268), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-1.064, 1.064), (-2.128, 0), (-1.064, -1.06...
7
50
0.503476
train_8e47c9494a8059ab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.374, -0.152), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.512).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.512).lineTo(-0.599, 0.512).lineTo(-0.599, 0.401).lineTo(0.599, 0.401).lineTo(0.599, 0.512).lineTo(1, 0.512).close().extrude(0.205, both...
12
80
0.406544
train_5551cc49c2064f89
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.252, 0, -0.953), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.748).extrude(1.052) result = result.union(cq.Workplane(cq.Plane(origin=(-0.252, 0, -0.217), normal=(0.755, 0, 0.655), xDir=(0.655, 0, -0.755))).circle(0.455).extrude(1.262)) result = ...
3
6
0.763463
train_c0e96508f6b922c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.026, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.288).extrude(1, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(-0.026, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.624).extrude(0.334, both=True)) result = result.cu...
10
80
0.273968
train_2af690233c0d33af
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.192), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.323, 0.269).threePointArc((0.399, 0.256), (0.431, 0.224)).lineTo(0.431, -0.141).threePointArc((0.34, -0.231), (0.123, -0.269)).lineTo(-0.155, -0.269).threePointArc((-0.349, -0.235), (-...
6
202
0.587443
train_811d5df5af799bc3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.299), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.015, 1).lineTo(0.015, 0.513).lineTo(0.502, 0.513).lineTo(0.502, -0.696).threePointArc((0.413, -0.909), (0.197, -1)).lineTo(-0.236, -1).lineTo(-0.236, -0.733).lineTo(-0.502, -0.733).lineTo(...
7
25
0.862463
train_45e158ee14d5f9ae
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, -0.088, -0.222), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.247, 1.078).lineTo(0.687, 0.864).lineTo(1, 0).lineTo(0.687, -0.864).lineTo(-0.247, -1.078).lineTo(-0.995, -0.48).lineTo(-0.995, 0.48).lineTo(-0.247, 1.078).close().extrude(0.444...
25
180
0.6073
train_9a3fabca30a0fa38
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.107, 1).threePointArc((0.402, 0.877), (0.524, 0.583)).lineTo(0.524, -0.59).threePointArc((0.402, -0.877), (0.112, -1)).lineTo(-0.188, -1).lineTo(-0.188, -0.664).lineTo(-0.524, -0.664).line...
3
12
0.534934
train_b854cd348f8fe9ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.131, -0.271, -0.427), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.852, 0.13).threePointArc((0.682, 0.108), (0.852, 0)).lineTo(0.852, -0.378).lineTo(-0.054, -0.378).lineTo(-0.054, -0.001).threePointArc((-0.036, 0.021), (-0.054, 0.13)).threePointA...
4
53
1.085035
train_6b40bfa076215ddc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.613), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.011).extrude(0.549) result = result.cut(cq.Workplane(cq.Plane(origin=(1.011, 0, -0.613), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.297, 0.714), (-1.011, 1.011), (-1.725, 0...
6
49
1.566814
train_16bd22df64a67fdc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.512, 0.029, 0.716), normal=(0, 1, 0), xDir=(1, 0, 0))).moveTo(1.204, -0.239).lineTo(1.195, -0.258).lineTo(1.181, -0.276).lineTo(1.161, -0.292).lineTo(1.136, -0.307).lineTo(1.108, -0.319).lineTo(1.077, -0.33).lineTo(1.041, -0.337).lineTo(1.006, ...
5
21
0.921256
train_bddce5556285b354
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.448), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.965, 0.955).lineTo(0.965, 0).lineTo(-0.965, 0).lineTo(-0.965, 0.955).lineTo(-0.772, 0.955).lineTo(-0.772, 0.192).lineTo(0.772, 0.192).lineTo(0.772, 0.955).lineTo(0.965, 0.955).close().ext...
25
200
0.778405
train_90d03e2728cf382c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.108, 0, -0.145), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.073, 0.692).threePointArc((-0.022, 0.667), (0, 0.607)).lineTo(0, 0.422).threePointArc((0.019, 0.369), (0.065, 0.346)).lineTo(0.231, 0.346).threePointArc((0.278, 0.323), (0.297, 0.269)...
4
50
0.448406
train_7e1196e08e8204ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.041, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.455, 0.763).lineTo(0.455, 0.332).lineTo(1, 0.332).lineTo(1, -0.332).lineTo(0.455, -0.332).lineTo(0.455, -0.763).lineTo(-0.455, -0.763).lineTo(-0.455, -0.332).lineTo(-1, -0.332).lineTo(-1, ...
3
30
0.852721
train_75ccbcecc657a98d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.024, 0, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.739, 0.785).threePointArc((1.024, 0), (0.739, -0.785)).lineTo(0, -0.785).lineTo(-0.739, -0.785).threePointArc((-1.024, 0), (-0.739, 0.785)).lineTo(0, 0.785).lineTo(0.739, 0.785).close...
5
32
0.442121
train_b486bc6a4f53a583
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.041), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1, 0.325).lineTo(0.71, -0.011).lineTo(0.938, -0.097).lineTo(1, -0.199).lineTo(0.908, -0.281).lineTo(0.695, -0.325).lineTo(0.178, -0.267).lineTo(-0.429, -0.031).lineTo(-1, 0.325).close().extr...
9
114
0.296402
train_064c4425683b11fc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(2.821, 2.644, -2.45), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(2.092, 3.155).lineTo(3.821, 1.421).lineTo(3.821, -2.21).lineTo(2.876, -3.155).lineTo(-2.052, -3.155).lineTo(-3.821, -1.383).lineTo(-3.821, 1.141).lineTo(-1.813, 3.155).lineTo(2.092, 3...
6
23
0.470842
train_80f35bdfcbc1230e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.025, 0.835), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.323, 0.896).lineTo(1, -0.244).lineTo(-0.092, -0.896).lineTo(-1, -0.356).lineTo(-0.796, 0.679).lineTo(0.323, 0.896).close().extrude(1.671) result = result.cut(cq.Workplane(cq.Plane(orig...
3
12
3.484259
train_2a030f111f8ca03a
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.17, 0.598).threePointArc((-0.031, 0.57), (0.105, 0.528)).threePointArc((0.252, 0.46), (0.389, 0.372)).lineTo(0.481, 0.306).lineTo(0.66, 0.106).threePointArc((0.701, 0.042), (0.735, -0.026)).lineTo(0.804, -0.177).threePointArc((0.804, -0.238), (0.79...
3
29
1.997059
train_ec33aa8d531a9002
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.089), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.88, 0.979).lineTo(1, 0.859).lineTo(1, -0.895).lineTo(0.916, -0.895).lineTo(0.916, -0.979).lineTo(-0.89, -0.979).lineTo(-1, -0.869).lineTo(-1, 0.814).lineTo(-0.835, 0.979).lineTo(0.88, 0.97...
5
73
0.592184
train_5e2482416bca1ad6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.5), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.999).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.999).lineTo(-0.556, 0.999).lineTo(-0.556, 0.444).lineTo(0.556, 0.444).lineTo(0.556, 0.999).lineTo(1, 0.999).close().extrude(0.373, both=True)...
2
14
1.127407
train_1725d602b66eac20
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.555, 0.561).threePointArc((0.631, 0.525), (0.663, 0.439)).lineTo(0.663, 0.287).threePointArc((0.689, 0.217), (0.75, 0.187)).lineTo(0.932, 0.187).threePointArc((0.974, 0.167), (1, 0.119)).lineTo(1, -0.33).threePointArc((0.931, -0.493), (0.787, -0.561...
5
61
2.770414
train_61cf255b180369f7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.989, -0.37, -0.553), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.013, 0.504).lineTo(0.578, -0.489).lineTo(-0.578, -0.504).lineTo(-0.013, 0.504).close().sweep(cq.Workplane(cq.Plane(origin=(0.551, -0.37, -1.137), normal=(0, -1, 0), xDir=(1, 0, 0)...
6
75
0.221915
train_6a6484413bd49113
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.426), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.774).lineTo(1, 0.664).lineTo(0.71, 0.664).lineTo(0.71, 0).lineTo(0, 0).lineTo(0, 0.774).lineTo(1, 0.774).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) resul...
10
176
0.998957
train_2f198723cd8e8b50
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.42), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.563, 0.999).threePointArc((0.692, 0.956), (0.746, 0.852)).lineTo(0.746, -0.869).threePointArc((0.698, -0.961), (0.584, -0.999)).lineTo(0.414, -0.999).threePointArc((0.298, -0.96), (0.249, -...
4
76
1.941256
train_17c74e32b0a0851b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.234, 0.352, -0.365), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.267, 0.451).lineTo(0.267, -0.394).threePointArc((-0.267, 0.029), (0.267, 0.451)).close().extrude(0.42) result = result.union(cq.Workplane(cq.Plane(origin=(-0.234, 0.661, 0.079), n...
8
23
0.594124
train_4ae1bfe98289e3b5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.401, -0.105), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.441, 0.21).lineTo(0.441, 0.14).lineTo(0.599, 0.14).lineTo(0.599, 0).lineTo(0.062, 0).lineTo(0.062, 0.21).lineTo(0.441, 0.21).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), ax...
11
200
0.303103
train_034c677481fab5ec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.391), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.783) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.391), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.801).extrude(2.345, both=True)) result = result.union(cq.Workpl...
11
52
2.059185
train_a24776b62d82ade2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.499, 0.866).lineTo(0.866, 0.499).lineTo(1, 0).lineTo(0.866, -0.499).lineTo(0.499, -0.866).lineTo(0, -1).lineTo(-0.499, -0.866).lineTo(-0.866, -0.499).lineTo(-1, 0).lineTo(-0.8...
6
66
0.588825
train_25538d4c313c27fa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.076, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.45, 0.617).lineTo(0.45, -0.617).lineTo(-0.45, -0.617).lineTo(-0.45, 0.617).lineTo(0.45, 0.617).close().extrude(0.323, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.0...
7
37
0.764241
train_2ba89883edb553be
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.004, 0.379, 0.334), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.311, 0.537).threePointArc((0.311, 0.537), (0.618, 0)).threePointArc((0.311, -0.537), (-0.311, -0.537)).threePointArc((-0.618, 0), (-0.311, 0.537)).close().revolve(angleDegrees=90...
8
143
1.462536
train_bd973b909445c5bb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.646, -0.088, -0.6), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.169, 0.127).threePointArc((0.227, 0), (0.169, -0.127)).lineTo(0, -0.127).lineTo(-0.169, -0.127).threePointArc((-0.227, 0), (-0.169, 0.127)).lineTo(0, 0.127).lin...
14
131
0.695204
train_48a3accc52917e35
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.29), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.91, 0.468).threePointArc((0.973, 0.441), (1, 0.378)).lineTo(1, -0.236).threePointArc((0.931, -0.399), (0.768, -0.468)).lineTo(-0.785, -0.468).threePointArc((-0.936, -0.406), (-1, -0.253)).l...
11
160
1.009752
train_676173baf3e5342b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.414, 0.447).lineTo(0.896, -0.447).lineTo(-0.896, -0.447).lineTo(-0.414, 0.447).lineTo(0.414, 0.447).close().extrude(0.894, taper=2.079, both=True) result = result.cut(cq.Workplane(cq.Plane...
9
73
1.529421
train_d94fdd412f3defa3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0).threePointArc((0, -1), (-1, 0)).threePointArc((0, 1), (1, 0)).close().extrude(0.212) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.257, -0.001, -0.138), normal=(0, 0, 1), xDir=(...
5
255
0.652849
train_3756b072407c50ec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.04, 0, -0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.846, 0.9).threePointArc((0.926, 0.876), (0.96, 0.819)).lineTo(0.96, -0.34).threePointArc((0.914, -0.417), (0.804, -0.45)).lineTo(0.427, -0.45).threePointArc((0.352, -0.472), (0.32, -0....
8
101
0.832929
train_5e42505dbca14db6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.555), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.707, 0.707).lineTo(1, 0).lineTo(0.707, -0.707).lineTo(0, -1).lineTo(-0.707, -0.707).lineTo(-1, 0).lineTo(-0.707, 0.707).lineTo(0, 1).close().extrude(1.109) result = result.cut...
5
19
2.536662
train_a835b57200ba2db6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.097, 0.474, -0.023), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.152, 0.455).threePointArc((0.303, 0.455), (0.455, 0)).threePointArc((0.152, -0.455), (-0.303, -0.455)).threePointArc((-0.455, 0), (-0.152, 0.455)).close().sweep(cq.Workplane(cq.Pl...
3
23
0.163791
train_75291a82900f633a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.472, 0, 0.233), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.265, 0.254).threePointArc((-0.106, 0.259), (0.068, 0.224)).threePointArc((0.232, 0.156), (0.361, 0.064)).threePointArc((0.435, -0.038), (0.443, -0.134)).threePointArc((0.383, -0.21), ...
9
1,090
0.292599
train_1eaf6eea77378ada
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.551, -0.588, -0.052), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.118, 1.35).threePointArc((0.444, 1.215), (0.578, 0.89)).lineTo(0.578, 0.085).threePointArc((0.444, -0.24), (0.118, -0.375)).lineTo(-0.118, -0.375).threePointArc((-0.444, -0.24), ...
15
73
0.966112
train_da272ddea6e62aee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.487, 0, -0.806), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.113, 0.572).threePointArc((0.17, 0.572), (0.226, 0.491)).lineTo(0.226, -0.491).threePointArc((0.17, -0.572), (0.113, -0.572)).lineTo(-0.113, -0.572).threePointArc((-0.17, -0.572), (-0...
9
123
0.753295
train_e60be620e8f679d3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.002, -0.6, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.111, 0.395).lineTo(0.243, 0.318).lineTo(0.375, 0.28).threePointArc((0.4, 0.27), (0.41, 0.245)).lineTo(0.41, -0.36).threePointArc((0.4, -0.385), (0.375, -0.395)).lineTo(-0.287, -0.395).t...
4
38
1.617776
train_b0d8020323cf9cb6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.014, 0.136).lineTo(0.042, 0.13).lineTo(0.091, 0.102).lineTo(0.123, 0.056).lineTo(0.136, 0).lineTo(0.123, -0.056).lineTo(0.091, -0.102).lineTo(0.042, -0.13).lineTo(-0.014, -0.136).lineTo(-...
12
82
0.019295
train_a18c10833f3c5e5d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.186), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.611, 0.371).lineTo(0.912, 0.343).lineTo(1, 0.129).lineTo(1, 0).lineTo(0.82, 0).lineTo(0.82, 0.111).lineTo(0.721, 0.343).lineTo(0, 0.196).lineTo(0, 0.371).lineTo(0.611, 0.371).close().revo...
8
49
0.440807
train_3d2176a273dc0896
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.217, 0.022, 0.342), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.165, 0.654).threePointArc((0.75, -0.224), (-0.138, -0.654)).lineTo(-0.694, -0.654).threePointArc((-0.75, -0.621), (-0.703, -0.429)).lineTo(-0.097, -0.429).threePointArc((0.211, -0....
9
140
0.242471
train_406562d047786d67
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.292), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.87, 0.996).threePointArc((0.961, 0.957), (1, 0.865)).lineTo(1, -0.996).lineTo(-0.831, -0.996).threePointArc((-0.95, -0.946), (-1, -0.827)).lineTo(-1, 0.996).lineTo(0.87, 0.996).close().ext...
14
143
1.872458
train_76fb12ffe32a05ab
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.98).lineTo(1, -0.327).lineTo(0.429, -0.327).lineTo(0.429, -0.98).lineTo(-0.143, -0.98).lineTo(-0.143, -0.327).lineTo(-1, -0.327).lineTo(-1, 0.327).lineTo(-0.143, 0.327).lineTo(-0.143, 0.98).lineTo(0.429, 0.98).lineTo(0.429, 0.327).lineTo(0.714, 0...
8
49
0.950937
train_ecebf9d897621509
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.2), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.886, 0.4).lineTo(0.92, 0.368).lineTo(1, 0.14).lineTo(1, 0).lineTo(0.8, 0).lineTo(0.8, 0.12).lineTo(0.7, 0.368).lineTo(0, 0.2).lineTo(0, 0.4).lineTo(0.886, 0.4).close().revolve(angleDegrees=...
5
31
0.541663
train_eb22e2f470b25479
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.063), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.406, 0.902).lineTo(0.552, 0.515).lineTo(0.89, 0.224).lineTo(1, -0.033).lineTo(0.802, -0.296).lineTo(0.634, -0.746).threePointArc((0.36, -0.549), (0.291, -0.554)).threePointArc((0.254, -0.6...
7
111
0.218293
train_412bcc26494cc623
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.4, 1).lineTo(0.4, 0.2).lineTo(0.8, 0.2).lineTo(0.8, -0.2).lineTo(0, -0.2).lineTo(0, -1).lineTo(-0.4, -1).lineTo(-0.4, 0.2).lineTo(-0.8, 0.2).lineTo(-0.8, 0.6).lineTo(-0.4, 0.6).lineTo(-0.4...
20
338
0.270032
train_d516312af7b4b18a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.335, -0.584, -0.695), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.223, 0.296).lineTo(0.223, -0.296).threePointArc((0.104, -0.415), (-0.014, -0.296)).lineTo(-0.014, 0.296).threePointArc((0.104, 0.415), (0.223, 0.296)).close().extrude(1.08).union...
8
69
1.121382
train_73e45718d5e6a9d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.154, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.524).extrude(0.702, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0.154, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.299).extrude(1.154, both=True)) result = result....
8
46
0.844845
train_46788dca7bb7440f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.404), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.855, 1).lineTo(0.855, -0.779).lineTo(0.643, -0.779).lineTo(0.643, -1).lineTo(-0.686, -1).threePointArc((-0.807, -0.939), (-0.855, -0.822)).lineTo(-0.855, 0.777).threePointArc((-0.793, 0.92...
8
64
1.380283
train_0dac64ac34f8b5ec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.54, 0.024, -0.786), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.198, 0.321).lineTo(0.198, -0.006).lineTo(-0.198, -0.006).lineTo(-0.198, 0.06).lineTo(-0.118, 0.06).lineTo(-0.118, 0.125).lineTo(-0.04, 0.125).lineTo(-0.04, 0.19).lineTo(0.04, 0.19)...
22
61
0.703561
train_dfdc402cf7eb0fd4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.209, -0.17, 0.472), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.29, 0.49).lineTo(0.29, -0.49).threePointArc((-0.29, 0), (0.29, 0.49)).close().extrude(1.472) result = result.union(cq.Workplane(cq.Plane(origin=(-0.036, 0.123, 0.748), normal=(0, ...
10
77
0.51247
train_520383f108c152a3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.238, 0.073, -0.075), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.033, 0.913).lineTo(0.183, 0.7).lineTo(0.183, -0.077).lineTo(0.291, -0.183).lineTo(0.471, -0.183).lineTo(0.55, -0.263).lineTo(0.55, -0.462).lineTo(0.462, -0.55).lineTo(0.299, -0.55...
19
267
0.452433
train_484d8028400f2177
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.033, 0.746, 0.109), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.127, 0.22).threePointArc((0.066, 0.245), (0.22, 0.127)).threePointArc((0.245, -0.066), (0.127, -0.22)).threePointArc((-0.066, -0.245), (-0.22, -0.127)).threePointArc((-0.245, 0.06...
2
7
0.084806
train_c9f6c09b8d116963
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.418), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.836).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.836).lineTo(-0.731, 0.836).lineTo(-0.731, 0.269).lineTo(0.731, 0.269).lineTo(0.731, 0.836).lineTo(1, 0.836).close().extrude(0.334, both=Tru...
7
32
0.690284
train_2eff2e7d9980b3a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.458, -0.283, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.913).threePointArc((0.649, 0.649), (0.913, 0)).lineTo(0.512, 0).threePointArc((0.361, 0.361), (0, 0.512)).lineTo(0, 0.913).close().extrude(2) result = result.union(cq.Workplane(cq...
7
42
0.894612
train_1fb7cb1de40224a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.565, -0.631, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.153).threePointArc((0.816, 0.816), (1.153, 0)).lineTo(0.471, 0).threePointArc((0.332, 0.332), (0, 0.471)).lineTo(0, 1.153).close().extrude(2) result = result.union(cq.Workplane(cq...
24
467
1.073613
train_0c3645a3a03370b3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.3, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.076, 1.399, 1.048) result = result.edges().fillet(0.195) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.3, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.164).extrude(2.152, both=True))...
9
66
1.060469
train_63687dba295431de
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.038, -0.098, -0.057), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.074, 0.542).lineTo(0.443, 0.173).lineTo(0.074, -0.344).lineTo(-0.443, 0.025).lineTo(-0.074, 0.542).close().extrude(1.014) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.14...
10
91
1.374764
train_f00fdef5d175f356
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.498).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.498).lineTo(-0.768, 0.498).lineTo(-0.768, 0.228).lineTo(0.768, 0.228).lineTo(0.768, 0.498).lineTo(1, 0.498).close().extrude(0.227, both=True)...
12
141
0.289436
train_38db2fd48f3d6cd8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.402, -0.068, 0.517), normal=(0.672, 0.064, -0.738), xDir=(-0.095, 0.995, 0))).moveTo(0.105, 0.484).threePointArc((0.762, -0.188), (0.152, -0.713)).lineTo(-0.722, -0.304).lineTo(-0.716, -0.193).lineTo(-0.762, -0.104).lineTo(-0.09, 0.491).threePo...
18
150
1.801709
train_5c70de624e000589
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1.112), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.727, 1.555).lineTo(0.727, 1.184).lineTo(1, 1.184).lineTo(1, 1.029).lineTo(0.757, 1.029).lineTo(0.757, 0.668).lineTo(0.238, 0.668).lineTo(0.238, 0).lineTo(0, 0).lineTo(0, 1.555).lineTo(0.7...
7
46
1.485631
train_3dbf1008f1a1287b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.13), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.334, 0.913).threePointArc((0.449, 0.868), (0.498, 0.767)).lineTo(0.498, 0.614).threePointArc((0.548, 0.505), (0.667, 0.459)).lineTo(0.868, 0.459).threePointArc((0.955, 0.425), (1, 0.344)).l...
17
115
0.507602
train_b81e9e17add00161
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.048, -0.041, -0.709), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.756, -0.3).lineTo(-0.756, -0.569).threePointArc((-0.406, 0.569), (0.756, -0.3)).close().extrude(0.882, taper=-11.729) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.111, -...
5
116
1.916118
train_e2f9cd737e2d6187
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.354, 0.732, 0.574), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.11, 0.032).lineTo(0.138, -0.05).threePointArc((0.092, -0.07), (0.058, -0.09)).lineTo(0.034, -0.22).threePointArc((0.007, -0.258), (-0.026, -0.217)).threePointArc((-0.057, -0.172),...
3
83
0.23788
train_a012726642ef04c3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.469, 0.024, -0.762), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.155, 0.14).lineTo(0.164, 0.075).lineTo(0.173, 0.011).lineTo(0.14, -0.006).threePointArc((0.014, -0.14), (-0.097, -0.127)).lineTo(-0.173, -0.097).lineTo(-0.149, -0.016).lineTo(-0.12...
27
206
0.295477
train_478267456e71f882
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.14, 0.508), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.03, 0.385).lineTo(0.097, 0.096).lineTo(0.194, 0.075).lineTo(0.297, 0.096).threePointArc((0.354, 0.103), (0.392, 0.059)).lineTo(0.137, -0.094).lineTo(0.193, -0.385).lineTo(-0.03, -0.19)...
8
240
0.618305
train_c9d278f0ded1ff8f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.096, 0, -0.518), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.726, 0.444).threePointArc((0.775, 0.423), (0.796, 0.374)).lineTo(0.796, 0.204).threePointArc((0.787, 0.182), (0.765, 0.173)).lineTo(0.274, 0.173).threePointArc((0.236, 0.157), (0.22, 0...
16
296
0.362494
train_cd684f0398d794b5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.468, 0.201, -0.204), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.036, 0.375).threePointArc((0.187, 0.314), (0.25, 0.163)).lineTo(0.25, -0.036).threePointArc((0.187, -0.187), (0.036, -0.249)).lineTo(-0.036, -0.249).threePointArc((-0.187, -0.187)...
9
124
0.316011
train_02679c168e8189b2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.054, -0.441), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.502, 0.529).lineTo(0.502, -0.474).lineTo(0.446, -0.474).lineTo(0.446, -0.529).lineTo(-0.373, -0.529).threePointArc((-0.465, -0.491), (-0.502, -0.4)).lineTo(-0.502, 0.529).lineTo(0.502...
12
57
0.666213
train_06d2d067df4c554b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.033, 0, 0), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.826, 0.131).lineTo(0.843, 0.1).lineTo(0.94, 0.134).lineTo(0.957, 0.085).lineTo(0.858, 0.054).lineTo(0.864, 0.018).lineTo(0.967, 0.018).lineTo(0.966, -0.034).lineTo(0.862, -0.03).lineTo(0.8...
4
106
1.084013
train_5a387fabdc869b49
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.119).lineTo(1, 0.078).threePointArc((0.974, 0.072), (0.93, 0.069)).lineTo(0.418, 0.069).threePointArc((0.271, 0.061), (0.208, 0.04)).lineTo(0.208, -0.052).threePointArc((0.246, -0.064), (0.334, -0.069)).lineTo(0.933, -0.069).threePointArc((0.974,...
10
94
0.092319
train_ce42a698f364bdf3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.259, 0.417, -0.729), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.246, 0.544).threePointArc((0.27, 0.378), (0.136, 0.141)).threePointArc((-0.078, -0.025), (-0.246, -0.025)).threePointArc((-0.27, 0.141), (-0.136, 0.378)).threePointArc((0.078, 0.5...
7
22
0.695388
train_a5d714884c4df509
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.197, 0.457).workplane(offset=2).rect(0.361, 0.398).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.504), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.122).extrude(1.366, both=Tr...
8
106
0.187068