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_90dcabdb3196d747
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.14, -0.112, 0.09), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.026, 1.137).threePointArc((0.091, 1.135), (0.149, 1.104)).threePointArc((0.284, 1.048), (0.34, 0.913)).lineTo(0.321, 0.701).threePointArc((0.411, 0.614), (0.4, 0.489)).lineTo(0.34, ...
9
214
0.323375
train_a154b4071283b785
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.182, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.089, 0.336).lineTo(0.076, 0.274).threePointArc((0.099, 0.244), (0.12, 0.213)).threePointArc((0.124, 0.18), (0.137, 0.151)).threePointArc((0.112, 0.113), (0.074, 0.089)).threePointArc((0.0...
11
191
0.172209
train_61f8170075fbab8b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.041, 0.001, -0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.118, 0.356).lineTo(1.118, -0.352).lineTo(1.081, -0.389).lineTo(-1.097, -0.389).threePointArc((-1.111, -0.382), (-1.118, -0.366)).lineTo(-1.118, 0.361).lineTo(-1.09, 0.389).lineTo(...
12
47
0.481227
train_9c066c5d7fa2c561
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.606), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.416, 1.213).lineTo(0.416, 0.31).lineTo(1, 0.31).lineTo(1, 0).lineTo(0.232, 0).lineTo(0.232, 1.213).lineTo(0.416, 1.213).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, ...
6
54
1.023403
train_1f3f0e6b013060a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.091, 0, -0.758), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.193, 0.195).lineTo(0.193, 0.138).lineTo(-0.124, 0.138).lineTo(-0.124, -0.138).lineTo(0.193, -0.138).lineTo(0.193, -0.195).lineTo(-0.193, -0.195).lineTo(-0.193, 0.195).lineTo(0.193, 0....
11
98
0.223264
train_116da0770cfbf6b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.033, -0.868, 0.006), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.075, 0.967).lineTo(0.386, 0.755).lineTo(0.575, 0.338).lineTo(0.611, -0.215).lineTo(0.085, -0.495).lineTo(-0.365, -0.181).lineTo(-0.611, 0.208).lineTo(-0.532, 0.703).lineTo(-0.075,...
9
256
1.696956
train_888252b706f6f368
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.096), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.38).lineTo(1, -0.38).lineTo(-0.628, -0.38).lineTo(-1, -0.008).lineTo(-1, 0.008).lineTo(-0.628, 0.38).lineTo(1, 0.38).close().extrude(0.191) result = result.cut(cq.Workplane(cq.Plane(ori...
9
53
0.210633
train_527fe163d5255670
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.807, 1, 0.021), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.423, 1.743).lineTo(0.579, 1.601).threePointArc((0.666, 1.52), (0.783, 1.492)).lineTo(0.825, 1.273).threePointArc((0.867, 1.179), (0.927, 1.095)).threePointArc((0.937, 0.986), (1.001, 0...
4
13
4.89968
train_d0e4d669b07f9295
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, 0.175).workplane(offset=2).rect(0.127, 0.236).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.115).extrude(0.527, both=True))...
4
23
0.18084
train_552622393b5b49a5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.33), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(2.018, 0.648).lineTo(2.018, -0.077).lineTo(1.446, -0.648).lineTo(-1.453, -0.648).threePointArc((-1.851, -0.481), (-2.018, -0.08)).lineTo(-2.018, 0.223).threePointArc((-1.893, 0.523), (-1.593,...
9
62
1.385291
train_d82c3c5c3292d100
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.005, -0.73), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.224, 0.915).lineTo(0.704, 0.083).threePointArc((0.864, -0.194), (0.835, -0.304)).lineTo(-0.165, -0.973).threePointArc((-0.493, -0.885), (-0.405, -0.557)).lineTo(-0.117, -0.304).threePoi...
10
45
2.097007
train_890db4222f4d2f2a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.254, 0.223, -0.434), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.231, 0.004).threePointArc((0.252, -0.073), (0.24, -0.159)).threePointArc((0.168, -0.206), (0.095, -0.239)).threePointArc((0.016, -0.294), (-0.082, -0.297)).threePointArc((-0.145,...
7
155
0.926341
train_f35d5ab6ae669b97
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.097, -0.046, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.098, 0).lineTo(-0.098, -0.096).threePointArc((0.059, 0.096), (0.098, 0)).close().extrude(1, taper=4.778, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0.179, 0.042, 0)...
14
100
0.033943
train_90880be2176732e7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.015, 0.22, 0.015), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.459, 0.626).lineTo(0.586, 0.558).threePointArc((0.887, 0.191), (0.955, 0.011)).threePointArc((0.875, -0.358), (0.583, -0.573)).threePointArc((-0.161, -0.656), (-0.849, -0.288)).thre...
14
283
0.80347
train_da6848c2c98fa700
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.957), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.083, -0.065).threePointArc((-0.047, -0.194), (0.083, 0.065)).lineTo(0.601, 0.065).threePointArc((0.73, 0.194), (0.601, -0.065)).lineTo(0.083, -0.065).close().extrude(1.913).union(cq.Workpl...
13
293
0.802622
train_7776896b70014075
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.871, 0.296).workplane(offset=2).rect(1.21, 0.09).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.504), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.17).extrude(0.886, both=True)...
3
11
0.292778
train_f344787a3472d48b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.228, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.135, 0.182).lineTo(0.187, 0.152).threePointArc((0.251, 0.142), (0.277, -0.181)).lineTo(0.129, -0.182).lineTo(0.088, -0.165).lineTo(-0.018, 0.009).lineTo(0.135, 0.182).close().extrude(2).un...
2
59
0.418118
train_a77b6c31f385b82f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.298), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.092).lineTo(1, -0.11).lineTo(0.821, -0.11).lineTo(0.821, 0.092).threePointArc((0.843, 0.072), (0.864, 0.092)).threePointArc((0.885, 0.11), (0.907, 0.092)).threePointArc((0.928, 0.072),...
5
36
0.628195
train_121e0cba33febe80
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.807, 0.254).threePointArc((0.936, 0.24), (1, 0.206)).lineTo(1, -0.052).threePointArc((0.954, -0.075), (0.864, -0.085)).lineTo(0.485, -0.085).threePointArc((0.377, -0.097), (0.332, -0.1...
4
49
0.11339
train_7957cea300b606da
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.095), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.211, 0.189).lineTo(0.211, 0).lineTo(-0.211, 0).lineTo(-0.211, 0.189).lineTo(-0.106, 0.189).lineTo(-0.106, 0.104).lineTo(0.106, 0.104).lineTo(0.106, 0.189).lineTo(0.211, 0.189).close().ext...
4
39
0.097733
train_4eb527eb06c06d5b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.256, -0.232, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.571).threePointArc((0.404, 0.404), (0.571, 0)).lineTo(0.143, 0).threePointArc((0.101, 0.101), (0, 0.143)).lineTo(0, 0.571).close().extrude(2) result = result.union(cq.Workplane(cq...
6
41
0.441346
train_e83250ff33f257aa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.634, 2).extrude(0.262) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.078, -0.238).lineTo(0.078, -0.762).lineTo(-0.078, -0.762)...
9
33
0.284155
train_74cb6e49df801e99
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.482), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.96).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.96).lineTo(-0.614, 0.96).lineTo(-0.614, 0.381).lineTo(0.614, 0.381).lineTo(0.614, 0.96).lineTo(1, 0.96).close().extrude(0.211, both=True) re...
7
83
0.517852
train_14a007f419b6b8d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.218, 0.159, 0.005), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.013, 0.764).lineTo(0.214, 0.633).threePointArc((0.393, 0.681), (0.441, 0.502)).lineTo(0.716, 0.192).lineTo(0.764, 0.013).threePointArc((0.681, -0.393), (0.633, -0.214)).lineTo(0.3...
8
154
1.256292
train_1391244d8d4ab82a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.858, -0.272, -0.034), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.481, 0.34).threePointArc((0, -0.141), (-0.481, 0.34)).threePointArc((0, 0.822), (0.481, 0.34)).close().extrude(0.671) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.675, -0...
21
361
0.914176
train_64ccb358c23f0158
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.108, 0.197).lineTo(-0.108, -0.109).lineTo(0.196, -0.109).lineTo(0.196, -0.197).lineTo(-0.196, -0.197).lineTo(-0.196, 0.197).lineTo(-0.108, 0.197).close().extrude(2) final_result = result
1
8
0.122848
train_7e8eeca2ec220d8d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.078).lineTo(1, 0.05).threePointArc((0.968, 0.039), (0.911, 0.034)).lineTo(0.566, 0.034).threePointArc((0.401, 0.02), (0.332, -0.014)).lineTo(0.332, -0.064).threePointArc((0.277, -0.091),...
9
95
0.040507
train_c680f94bcdd3ef70
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.418), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.218, 1).threePointArc((0.765, 0.765), (1, 0.218)).lineTo(1, -0.57).threePointArc((0.865, -0.865), (0.57, -1)).lineTo(-0.494, -1).threePointArc((-0.842, -0.842), (-1, -0.494)).lineTo(-1, 0....
13
278
1.834012
train_afe5539935e1c34f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.433, 0.138, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.111, 0.074).lineTo(0.111, -0.074).lineTo(-0.111, -0.074).lineTo(-0.111, 0).lineTo(0.037, 0).lineTo(0.037, 0.074).lineTo(0.111, 0.074).close().extrude(2) result = result.cut(cq.Workplan...
8
60
0.117794
train_11cb0ed6ef79e5dc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.558, 0.205, 0.017), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.031, 0.143).lineTo(0.082, 0.122).threePointArc((0.1, 0.102), (0.121, 0.084)).lineTo(0.143, 0.033).threePointArc((0.142, 0.005), (0.143, -0.023)).lineTo(0.118, -0.081).threePointArc(...
20
105
1.463931
train_e5f3e7f75cd831d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.02, -0.033, 0.035), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.979, 0.42).lineTo(0.979, -0.42).lineTo(-0.979, -0.42).lineTo(-0.979, -0.14).lineTo(0.7, -0.14).lineTo(0.7, 0.14).lineTo(-0.979, 0.14).lineTo(-0.979, 0.42).lineTo(0.979, 0.42).close(...
6
56
0.200719
train_10a16215f5bf67fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.248, 0.62, 0.247), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.004, 0.349).lineTo(0.111, 0.321).threePointArc((0.218, 0.292), (0.189, 0.185)).lineTo(0.325, 0.263).threePointArc((0.402, 0.128), (0.373, 0.021)).lineTo(0.317, -0.193).threePointArc...
11
73
0.904698
train_16e6c3a7b7ab86d4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.48, -0.108), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.715, -0.109).lineTo(0.668, -0.212).lineTo(0.592, -0.307).lineTo(0.489, -0.388).lineTo(0.366, -0.452).lineTo(0.226, -0.497).lineTo(0.076, -0.52).lineTo(-0.076, -0.52).lineTo(-0.226, -0.4...
29
1,252
0.312975
train_67123d8ce9ebc76c
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.951, 0.882).threePointArc((0.985, 0.868), (1, 0.834)).lineTo(1, -0.648).threePointArc((0.929, -0.813), (0.765, -0.882)).lineTo(-0.558, -0.882).threePointArc((-0.868, -0.752), (-1, -0.441)).lineTo(-1, 0.82).threePointArc((-0.98, 0.863), (-0.936, 0.88...
4
18
2.834851
train_a4e032a619c7a0a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.239, -0.458), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.945, 0.761).lineTo(0.945, -0.691).lineTo(0.875, -0.761).lineTo(-0.85, -0.761).threePointArc((-0.916, -0.733), (-0.945, -0.667)).lineTo(-0.945, 0.761).lineTo(0.945, 0.761).close().extru...
8
27
2.51455
train_a0e8d569427aef02
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.055, -0.555), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.051, 0.155).lineTo(0.051, 0.077).lineTo(0.152, 0.077).lineTo(0.152, -0.155).lineTo(-0.051, -0.155).lineTo(-0.051, 0.077).lineTo(-0.152, 0.077).lineTo(-0.152, 0.155).lineTo(0.051, 0.155...
7
71
0.123324
train_9025a7ee48019a72
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(2.352, 1.762, -0.476), normal=(-0.726, -0.161, 0.669), xDir=(0.217, -0.976, 0))).moveTo(-0.547, -0.327).threePointArc((0.293, 0.62), (0.547, -0.62)).lineTo(-0.547, -0.327).close().extrude(4.203, both=False) result = result.union(cq.Workplane(cq.Pl...
5
24
3.023084
train_0eac1981654ae95a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.379), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.486, 1).lineTo(0.486, 0.905).lineTo(0.578, 0.905).lineTo(0.578, -0.913).lineTo(0.493, -1).lineTo(-0.447, -1).lineTo(-0.578, -0.866).lineTo(-0.578, 0.815).threePointArc((-0.525, 0.944), (-0...
15
259
0.920809
train_3dff619555ee5e10
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.315, -0.085, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.684, 0.31).lineTo(0.684, 0.211).lineTo(-0.482, 0.211).lineTo(-0.482, -0.211).lineTo(0.684, -0.211).lineTo(0.684, -0.31).lineTo(-0.684, -0.31).lineTo(-0.684, 0.31).lineTo(0.684, 0.31)....
12
128
0.687184
train_b6022778815bbe50
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.043, -0.103, -0.646), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.062, 0.006).threePointArc((0.068, 0.006), (0.072, 0)).threePointArc((0.069, -0.006), (0.063, -0.006)).threePointArc((0.059, 0), (0.062, 0.006)).close().sweep(cq.Workplane(cq.Plan...
6
78
0.063521
train_5fcf6b5c8631dd69
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.78), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.886, 0.896).threePointArc((0.965, 0.871), (1, 0.795)).lineTo(1, -0.78).threePointArc((0.969, -0.844), (0.903, -0.865)).lineTo(0.682, -0.865).threePointArc((0.61, -0.842), (0.586, -0.772)).l...
7
69
2.835519
train_2af7a4847820a1d6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.242), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.623, 0.483).lineTo(0.921, 0.281).lineTo(1, 0.169).lineTo(1, 0).lineTo(0.85, 0).lineTo(0.85, 0.145).lineTo(0.749, 0.281).lineTo(0, 0.332).lineTo(0, 0.483).lineTo(0.623, 0.483).close().revo...
12
40
0.552537
train_4fe7d51594f94c7f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.836, -0.221).lineTo(0.5, -0.854).lineTo(-0.224, -0.824).lineTo(-0.5, -0.854).lineTo(-0.612, -0.604).lineTo(-1, 0).lineTo(-0.836, 0.221).lineTo(-0.5, 0.854).lineTo(0.224, 0.824).lineTo(0.5,...
9
108
0.571557
train_bdc9e468e10b6a11
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.147, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.243, 0.454).lineTo(0.225, 0.249).lineTo(0.204, 0.045).lineTo(0.243, -0.16).threePointArc((-0.243, 0.147), (0.243, 0.454)).close().extrude(2) result = result.cut(cq.Workplane(cq.Plane(orig...
7
30
0.486292
train_02893441f57123ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.132, -0.162, -0.584), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.277, 0.4).threePointArc((0.323, 0.381), (0.341, 0.335)).lineTo(0.341, 0.032).threePointArc((0.323, -0.014), (0.277, -0.033)).lineTo(-0.277, -0.033).threePointArc((-0.323, -0.014)...
6
80
0.254049
train_7485b0c170b3f197
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.211, 0.813, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.203, 1.562).threePointArc((0.203, 1.562), (0.406, 1.211)).threePointArc((0.203, 0.86), (-0.203, 0.86)).threePointArc((-0.406, 1.211), (-0.203, 1.562)).close().workplane(offset=0.29).m...
4
14
3.049084
train_9270c5c8ae043e9e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-4.244, 1.088, 5.188), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.355, 1.911).threePointArc((1.402, 1.879), (1.421, 1.805)).lineTo(1.421, 1.325).threePointArc((1.388, 1.199), (1.31, 1.146)).lineTo(-0.834, 1.146).threePointArc((-0.914, 1.092), (-0...
13
8
0.112797
train_aab7bf2817de7818
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.179, 0.175), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.665, 0.365).lineTo(0.665, -0.507).lineTo(-0.665, -0.507).lineTo(-0.665, 0.365).threePointArc((-0.532, 0.507), (-0.399, 0.365)).threePointArc((-0.266, 0.223), (-0.133, 0.365)).threePoint...
15
396
1.255061
train_29ab7419f706482f
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1.361, 0.523).lineTo(1.361, 0.314).lineTo(-0.972, 0.314).lineTo(-0.972, 0.105).lineTo(1.361, 0.105).lineTo(1.361, -0.523).lineTo(-1.361, -0.523).lineTo(-1.361, -0.314).lineTo(0.972, -0.314).lineTo(0.972, -0.105).lineTo(-1.361, -0.105).lineTo(-1.361, 0...
5
69
0.171202
train_603433d82ee1817f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.317), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.761, 0.512).threePointArc((0.909, 0.45), (0.97, 0.302)).lineTo(0.97, -0.362).threePointArc((0.926, -0.468), (0.82, -0.512)).lineTo(-0.864, -0.512).threePointArc((-0.94, -0.481), (-0.97, -0...
6
18
0.88865
train_6ad1b8b867300e13
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.22, 0, 0.256), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.335, 0.343).lineTo(0.475, 0.166).lineTo(0.681, 0.257).lineTo(0.598, 0.047).lineTo(0.779, -0.086).lineTo(0.556, -0.119).lineTo(0.532, -0.343).lineTo(0.392, -0.166).lineTo(0.186, -0.257)...
10
169
0.514777
train_d8c1c20cd76965dd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.193, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.04, 0.368).threePointArc((0.146, 0.319), (0.213, 0.237)).threePointArc((0.223, 0.142), (0.173, 0.062)).threePointArc((0.077, 0.016), (-0.04, 0.018)).threePointArc((-0.146, 0.067), (-0.213...
3
8
0.257959
train_7ec736726b9ad76b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0.233, 0.067), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.175, 0.765).threePointArc((0.669, 0.35), (0.822, -0.376)).lineTo(0.401, -0.765).lineTo(-0.253, -0.538).lineTo(-0.822, -0.215).lineTo(-0.175, 0.765).close().extrude(0.069, taper=8....
5
69
0.234018
train_c183db2ed538a77c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.013, 0, -0.09), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.809, -0.135).lineTo(0.98, -0.199).lineTo(0.948, -0.321).lineTo(0.771, -0.281).lineTo(0.715, -0.404).lineTo(0.853, -0.522).lineTo(0.781, -0.626).lineTo(0.629, -0.528).lineTo(0.534, -0.6...
6
97
0.384356
train_cdc900da6b54ae3c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.138, 0.756, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.4, 1.062).lineTo(0.05, 0.572).lineTo(0.6, 0.946).lineTo(0.401, 0.312).lineTo(1, 0.022).lineTo(0.351, -0.123).lineTo(0.4, -0.786).lineTo(-0.05, -0.296).lineTo(-0.6, -0.67).lineTo(-0.40...
11
336
1.688884
train_b8538fbe77e14fa9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.011, 0.209, 0.512), normal=(-0.134, -0.073, -0.988), xDir=(0, 0.997, -0.074))).moveTo(0.1, 0.727).lineTo(0.158, 0.637).lineTo(0.158, 0.338).lineTo(0.221, 0.242).lineTo(0.721, 0.242).lineTo(0.792, 0.133).lineTo(0.792, -0.119).lineTo(0.711, -0.242...
9
131
0.392286
train_143fe633067a402b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.4, -0.532, -0.092), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.021, 0.209).lineTo(0.062, 0.192).lineTo(0.109, 0.121).lineTo(0.092, 0.038).lineTo(0.021, -0.008).lineTo(-0.062, 0.009).lineTo(-0.109, 0.079).lineTo(-0.092, 0.162).lineTo(-0.021, 0...
9
129
0.136913
train_350e8ecc642effc3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.029), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.766, 0.089).lineTo(0.766, -0.089).lineTo(0.515, -0.089).lineTo(0.515, 0.089).lineTo(0.592, 0.089).lineTo(0.592, -0.012).lineTo(0.689, -0.012).lineTo(0.689, 0.089).lineTo(0.766, 0.089).clo...
6
60
0.457044
train_b62c8158d8774e92
import cadquery as cq import math result = cq.Workplane('XY').box(1.826, 1.437, 2) result = result.edges().fillet(0.073) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.351).extrude(3.652, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), nor...
10
128
2.901571
train_0e153dde2bfdc756
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.022, -0.018, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.111, 0.054).threePointArc((0.111, 0.107), (0.097, -0.107)).lineTo(-0.111, 0.054).close().extrude(2) result = result.cut(cq.Workplane(cq.Plane(origin=(0.031, 0.09, -0.007), normal=(0...
7
28
0.080783
train_12a5eac241841376
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.076, -0.014, 0.039), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.164, 0.173).threePointArc((0.115, -0.185), (-0.11, 0.015)).lineTo(-0.189, 0.152).threePointArc((-0.205, 0.179), (-0.134, 0.183)).lineTo(-0.055, 0.046).threePointArc((-0.035, -0.05...
10
85
0.043454
train_792abd418fd84e34
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.171, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.588, 0.606).threePointArc((0.71, 0.579), (0.762, 0.514)).lineTo(0.762, -0.517).threePointArc((0.712, -0.58), (0.594, -0.606)).lineTo(0.147, -0.606).threePointArc((0.044, -0.583), (0, -0.528...
11
143
0.89518
train_8bad2bd8c992f9a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.05, -0.017, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.684, 0.792).lineTo(0.155, 0.248).threePointArc((0.144, 0.173), (0.279, 0.14)).lineTo(0.8, 0.674).threePointArc((0.635, -0.792), (-0.575, -0.765)).lineTo(-0.046, -0.22).threePointArc((-...
6
204
2.74716
train_6092e14ff0dc4c5b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.543, 0, 0.38), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(-0.22, -0.25).lineTo(-0.517, -0.25).lineTo(-0.517, 0.25).lineTo(-0.22, 0.25).lineTo(-0.22, 0.619).lineTo(0.22, 0.619).lineTo(0.22, 0.25).lineTo(0.517, 0.25).lineTo(0.517, -0.25).lineTo(0....
9
178
0.45728
train_c33d8d8b3e2bf4c8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.122), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.876, 0.553).threePointArc((0.963, 0.517), (1, 0.43)).lineTo(1, -0.456).threePointArc((0.971, -0.525), (0.902, -0.553)).lineTo(-1, -0.553).lineTo(-1, 0.553).lineTo(0.876, 0.553).close().ext...
11
219
0.415634
train_e28ef40146af4234
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.267), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.504).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.504).lineTo(-0.597, 0.504).lineTo(-0.597, 0.398).lineTo(0.597, 0.398).lineTo(0.597, 0.504).lineTo(1, 0.504).close().extrude(0.377, both=Tru...
12
58
0.477259
train_517cd68078505342
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.203, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.231).extrude(1.95) result = result.union(cq.Workplane(cq.Plane(origin=(-0.203, 0, 0.365), normal=(0.711, 0, 0.703), xDir=(0.703, 0, -0.711))).circle(0.139).extrude(0.796)) result = result...
14
145
0.281654
train_529ae6fde8aceaf3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.321), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.885).lineTo(1, -0.885).lineTo(-1, -0.885).lineTo(-1, 0.885).lineTo(-0.603, 0.885).lineTo(-0.603, -0.488).lineTo(0.603, -0.488).lineTo(0.603, 0.885).lineTo(1, 0.885).close().extrude(0.64...
5
17
0.979235
train_9f86ee9812cd0df0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.272), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.076, 2).extrude(0.543) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.272), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.314, -0.775).lineTo(0.314, -0.775).lineTo(-0.314, -0.824)...
11
26
1.086695
train_6b5e1b3ebd660515
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.98, -0.001, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.243, 1.774).lineTo(0.344, 1.245).lineTo(0.377, 0.717).lineTo(0.243, 0.188).threePointArc((0.036, -0.019), (-0.17, 0.188)).lineTo(-0.265, 0.584).lineTo(-0.377, 0.98).lineTo(-0.281, 1.37...
14
36
0.435147
train_1a835e08892961d1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.188, 0.197).lineTo(0.188, 0.028).lineTo(-0.125, 0.028).lineTo(-0.125, -0.028).lineTo(0.188, -0.028).lineTo(0.188, -0.197).lineTo(-0.188, -0.197).lineTo(-0.188, -0.141).lineTo(0.125, -0.141).li...
12
34
0.189416
train_9bf000e72bca9f58
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.375, 0.063, -0.189), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.268, 0.536).threePointArc((-0.268, 0.713), (-0.089, 0.892)).lineTo(0.089, 0.713).threePointArc((0.268, 0.357), (0.446, 0.357)).threePointArc((0.268, -0.892), (0.089, -0.713)).lin...
2
11
0.867708
train_d7ba36625b898264
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-1, -0.223).threePointArc((-0.956, -0.273), (-0.871, -0.295)).lineTo(-0.622, -0.295).threePointArc((-0.535, -0.317), (-0.498, -0.367)).lineTo(-0.498, -0.523).threePointArc((-0.465, -0.569), (-0.387, -0.588)).lineTo(-0.092, -0.588).threePointArc((-0.02...
7
208
1.957724
train_d78526e3d596a3ec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.124, 0.01, -0.29), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.07, 0.699).threePointArc((-0.011, 0.7), (0.635, 0.541)).threePointArc((0.67, 0.493), (0.856, -0.17)).threePointArc((0.827, -0.221), (0.365, -0.7)).threePointArc((-0.299, -0.571), (...
5
55
0.082356
train_ed042f0afc72c80f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.34, 0.021), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.508, 0.641).threePointArc((0.713, 0.548), (0.801, 0.328)).lineTo(0.801, -0.088).threePointArc((0.766, -0.176), (0.683, -0.214)).lineTo(0.519, -0.214).threePointArc((0.436, -0.251), (0.40...
10
135
0.610623
train_30ce1f8be3c1803b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0.043, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.229, 0.586).lineTo(0.594, 0.166).lineTo(0.348, -0.303).lineTo(-0.175, -0.5).lineTo(-0.594, -0.034).lineTo(-0.368, 0.563).lineTo(0.229, 0.586).close().extrude(2) result = result.cut(cq.Work...
3
25
1.170204
train_b5b7ad683d4e9440
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.945), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1).extrude(0.578) result = result.cut(cq.Workplane(cq.Plane(origin=(1, 0, -0.945), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.195, 0.585), (-0.692, 0.943), (-1.308, 0.943), (...
9
128
3.155422
train_dd069804db22145d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.759, 0, -0.341), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.386, 0.492).lineTo(0.386, 0.386).lineTo(1.517, 0.386).lineTo(1.517, 0).lineTo(0, 0).lineTo(0, 0.492).lineTo(0.386, 0.492).close().extrude(1, both=True) result = result.cut(cq.Workpla...
6
22
1.137154
train_a0be569d0b7623a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.02, -0.244), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.874).lineTo(1, 0.427).lineTo(0.234, 0.427).lineTo(0.234, -0.874).lineTo(-0.234, -0.874).lineTo(-0.234, 0.427).lineTo(-1, 0.427).lineTo(-1, 0.874).lineTo(1, 0.874).close().extrude(0....
21
230
0.994018
train_2cdbabbc134abcfa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.014, -0.205), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.61).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.61).lineTo(-0.894, 0.61).lineTo(-0.894, 0.098).lineTo(0.894, 0.098).lineTo(0.894, 0.61).lineTo(1, 0.61).close().extrude(0.244, both=True...
5
54
0.191775
train_b9fd4930e70036be
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.463).lineTo(1, -0.463).lineTo(-0.812, -0.463).lineTo(-1, -0.279).lineTo(-1, 0.26).lineTo(-0.793, 0.26).lineTo(-0.793, 0.463).lineTo(1, 0.463).close().extrude(0.213) result = result.cut(...
8
115
0.335146
train_44ec647b8b30eaf2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.022, -0.076, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.396).extrude(1.569) result = result.union(cq.Workplane(cq.Plane(origin=(-0.022, -0.076, 0.097), normal=(0.494, 0, 0.87), xDir=(0.87, 0, -0.494))).circle(0.583).extrude(0.791)) result...
10
69
1.063283
train_9c3359481d047b33
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.325, 0.259).threePointArc((0.35, 0.248), (0.361, 0.223)).lineTo(0.361, -0.174).threePointArc((0.335, -0.234), (0.275, -0.259)).lineTo(-0.275, -0.259).threePointArc((-0.335, -0.233), (-0.361, -...
6
75
0.443522
train_aee613b96c1732ce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.942, -0.632, -0.13), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.257, 1.364).lineTo(0.651, 0.786).lineTo(0.588, 0.102).lineTo(-0.12, -0.058).lineTo(-0.651, 0.432).lineTo(-0.451, 1.134).lineTo(0.257, 1.364).close().extrude(1.264) result = result...
8
60
1.947672
train_8888ac4bc54dc404
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.156), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.683, 0.313).lineTo(0.683, 0.191).lineTo(1, 0.191).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.191).lineTo(-0.683, 0.191).lineTo(-0.683, 0.313).lineTo(0.683, 0.313).close().extrude(0.681, both...
8
60
0.580791
train_eb4b964ee2413e37
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.419, -0.734, -0.577), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.215, 0.119).threePointArc((0.223, 0.116), (0.226, 0.107)).lineTo(0.226, 0.06).threePointArc((0.221, 0.048), (0.208, 0.042)).lineTo(0.156, 0.042).threePointArc((0.148, 0.039), (0....
11
258
1.334552
train_0a04b314023ad723
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.443, 0.688, -0.246), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.54, 0.311).threePointArc((0.591, 0.285), (0.613, 0.225)).lineTo(0.613, -0.13).threePointArc((0.567, -0.257), (0.46, -0.311)).lineTo(-0.58, -0.311).threePointArc((-0.603, -0.3), (-...
15
146
0.86575
train_33332cef3abe735e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.395, 0.235, -0.783), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.604, 0.244).lineTo(0.604, -0.316).lineTo(-0.039, -0.316).lineTo(-0.039, 0.244).threePointArc((0.042, 0.173), (0.122, 0.244)).threePointArc((0.203, 0.316), (0.283, 0.244)).threePoin...
8
90
1.241828
train_79cc7585703f93db
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.999), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.158, 0.568).threePointArc((0.379, 0.327), (0.378, -0.105)).threePointArc((0.156, -0.476), (-0.158, -0.568)).threePointArc((-0.379, -0.327), (-0.378, 0.105)).threePointArc((-0.156, 0.476), ...
6
45
0.895181
train_c19f0f9cd7f39006
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.066, 0.258, -0.149), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.069, 0.155).lineTo(0.093, 0.131).lineTo(0.093, 0.117).lineTo(0.069, 0.093).lineTo(0.04, 0.093).lineTo(0.031, 0.083).lineTo(0.031, 0.046).lineTo(0.016, 0.031).lineTo(-0.013, 0.031)...
16
278
0.435405
train_b5747a73b1089ab0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.2, -0.208, 0.296), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.058, 0.149).lineTo(0.036, 0.128).lineTo(0.126, 0.086).lineTo(0.132, -0.016).lineTo(0.091, -0.11).lineTo(-0.009, -0.149).lineTo(-0.111, -0.112).lineTo(-0.131, -0.011).lineTo(-0.132...
3
51
0.535021
train_fdc558331ce6e697
import cadquery as cq import math result = cq.Workplane('XY').moveTo(1, 0.774).lineTo(1, 0.354).lineTo(0.21, 0.354).lineTo(0.21, -0.774).lineTo(-0.21, -0.774).lineTo(-0.21, 0.354).lineTo(-1, 0.354).lineTo(-1, 0.774).lineTo(1, 0.774).close().extrude(0.549, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0, ...
11
108
1.335873
train_1cb4e54064fe1133
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.683, -1, -0.001), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.431, 1.42).threePointArc((0.477, 1.212), (0.431, 0.99)).threePointArc((0.39, 0.849), (0.443, 0.788)).threePointArc((0.584, 0.734), (0.717, 0.632)).threePointArc((0.749, 0.499), (0.67...
3
19
2.680358
train_44a23474d0ccb6d0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.387, -0.279, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.82).threePointArc((0.58, 0.58), (0.82, 0)).lineTo(0.464, 0).threePointArc((0.329, 0.329), (0, 0.464)).lineTo(0, 0.82).close().extrude(2) result = result.union(cq.Workplane(cq.Plan...
11
109
0.921499
train_f000379b549e5fa8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.876, -0.752, -0.876), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.752).threePointArc((1.236, 1.236), (1.752, 0)).lineTo(0.904, 0).threePointArc((0.639, 0.639), (0, 0.904)).lineTo(0, 1.752).close().extrude(1.752) result = result.union(cq.Work...
16
53
3.148685
train_42ebeac000a1237d
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(0.128, 0.976).threePointArc((0.178, 0.95), (0.199, 0.888)).lineTo(0.199, 0.618).threePointArc((0.23, 0.528), (0.305, 0.49)).lineTo(0.522, 0.49).threePointArc((0.572, 0.463), (0.595, 0.398))....
7
239
0.446615
train_ac5f149a2c158899
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.47, 0.137, 0.052), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.064, 0.195).threePointArc((0.12, 0.166), (0.096, 0.131)).lineTo(0.166, 0.12).threePointArc((0.195, 0.064), (0.155, 0.05)).lineTo(0.205, 0).threePointArc((0.195, -0.064), (0.154, -0.0...
4
74
1.138674
train_4f2c76d55fb88972
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.306, 0.355, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.098, 0.097).lineTo(0.098, 0.051).lineTo(0.022, 0.051).lineTo(0.022, -0.097).lineTo(-0.022, -0.097).lineTo(-0.022, 0.051).lineTo(-0.098, 0.051).lineTo(-0.098, 0.097).lineTo(0.098, 0.097)...
5
66
0.193969
train_d739883168ef19d6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.955).extrude(0.548) result = result.cut(cq.Workplane(cq.Plane(origin=(0.952, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.096, 0.415), (-0.36, 0.747), (-0.742, 0.931...
13
107
0.972887
train_41574eb77c354306
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.029, 0.05).lineTo(0.057, 0).lineTo(-0.029, -0.05).lineTo(-0.029, 0.05).close().extrude(1, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.172).extrude(0.35)) result = result.union(c...
4
11
0.007358