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_caaf196eb833b50d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.016, 0, -0.3), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.933, -0.012).lineTo(0.942, -0.045).lineTo(0.949, -0.077).lineTo(0.955, -0.111).lineTo(0.959, -0.144).lineTo(0.961, -0.178).lineTo(0.961, -0.211).lineTo(0.96, -0.245).lineTo(0.956, -0.279...
8
166
1.085876
train_85351c37072037c0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0, 0.938), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.575, 0.776).threePointArc((-0.3, 0.598), (-0.154, 0.646)).lineTo(0.634, 0.509).threePointArc((0.906, 0.321), (0.944, 0.017)).threePointArc((0.82, -0.378), (0.468, -0.583)).lineTo(0, ...
11
153
3.180259
train_12f128cd49ccd89d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.995), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.655, 1.99).lineTo(0.655, 1.756).lineTo(0.699, 1.756).lineTo(0.699, 1.4).lineTo(1, 1.4).lineTo(1, 0.461).lineTo(0.56, 0.461).lineTo(0.56, 0).lineTo(0, 0).lineTo(0, 1.99).lineTo(0.655, 1.99...
4
28
3.652675
train_246794a98abcc749
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.175, -0.004, -0.233), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.677, 0.593).lineTo(0.876, 0.009).threePointArc((0.947, -0.025), (0.85, -0.077)).lineTo(0.379, -0.428).lineTo(-0.285, -0.704).lineTo(-0.725, -0.327).lineTo(-0.715, -0.198).threePo...
8
41
2.540696
train_536e4ffc1e36ce43
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.822, 0.173).threePointArc((1, 0), (0.822, -0.173)).lineTo(0.274, -0.173).lineTo(-0.274, -0.173).lineTo(-0.822, -0.173).threePointArc((-1, 0), (-0.822, 0.173)).lineTo(-0.274, 0.173).lineTo(0.274, 0.173).lineTo(0.822, 0.173).close().extrude(0.166, bot...
5
28
0.218604
train_c269bf630a835bf2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.677, 2).lineTo(0.677, 1.659).lineTo(0.966, 1.659).lineTo(0.966, 0.944).lineTo(0.472, 0.944).lineTo(0.472, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.677, 2).close().revolve(angleDegrees=360, axisS...
3
9
2.676212
train_2f33b3e48e9b2372
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.153, -1, 0.016), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.205, 0.808).lineTo(0.25, 0.642).lineTo(0.695, 0.413).lineTo(0.631, -0.087).lineTo(0.364, -0.449).lineTo(-0.06, -0.501).lineTo(-0.408, -0.315).lineTo(-0.695, 0.023).lineTo(-0.561, 0.4...
9
26
2.632892
train_e3fefa8272ff3736
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.033, 0.29, 0.001), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.097, 0.144).threePointArc((0.13, 0.13), (0.144, 0.097)).lineTo(0.144, -0.078).threePointArc((0.13, -0.112), (0.097, -0.125)).threePointArc((0.077, -0.129), (0.058, -0.135)).lineTo(0....
3
35
0.136002
train_8100d8558a7f3752
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.164), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.252).lineTo(0.819, 0).lineTo(1, -0.252).lineTo(0.206, -0.252).lineTo(0.206, 0.252).lineTo(1, 0.252).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = re...
11
74
0.890956
train_9622faff0ac0d37a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.726, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.105, 1.717).threePointArc((0.718, 1.463), (0.969, 0.849)).lineTo(0.969, 0.603).threePointArc((0.718, -0.011), (0.105, -0.265)).lineTo(-0.105, -0.265).threePointArc((-0.718, -0.011), (-0.9...
10
85
3.840927
train_bccbb2ad764575ca
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.871), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.496, 1.742).lineTo(0.496, 0.317).lineTo(1, 0.317).lineTo(1, 0).lineTo(0.111, 0).lineTo(0.111, 1.742).lineTo(0.496, 1.742).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0...
5
19
1.976015
train_61c71b60303c2a5b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.262), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.952, 0.684).lineTo(0.952, 0).lineTo(-0.952, 0).lineTo(-0.952, 0.684).lineTo(-0.683, 0.684).lineTo(-0.683, 0.269).lineTo(0.683, 0.269).lineTo(0.683, 0.684).lineTo(0.952, 0.684).close().ext...
11
46
0.335121
train_f22ffd83f87301a5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.002, -0.107), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.91, 0.878).threePointArc((0.968, 0.862), (1, 0.829)).lineTo(1, -0.696).threePointArc((0.905, -0.826), (0.704, -0.878)).lineTo(-0.501, -0.878).threePointArc((-0.844, -0.788), (-1, -0.56...
6
83
0.830273
train_3d81124fa2d42f9d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.236, 0.112, -0.061), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.057, -0.114).threePointArc((0.284, 0.114), (0.398, 0.455)).threePointArc((0.512, 0.569), (0.626, 0.455)).threePointArc((0.512, -0.569), (-0.626, -0.114)).threePointArc((-0.626, 0....
13
101
0.286045
train_96dc84017888bc7e
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.571, 0.667).threePointArc((0.603, 0.654), (0.616, 0.624)).lineTo(0.616, -0.515).threePointArc((0.569, -0.622), (0.456, -0.667)).lineTo(-0.361, -0.667).threePointArc((-0.54, -0.595), (-0.616, -...
29
100
1.021724
train_f0deb1b41819fb53
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.193), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.68, -0.309).lineTo(0.579, -0.588).lineTo(0.42, -0.809).lineTo(0.221, -0.951).lineTo(0, -1).lineTo(-0.221, -0.951).lineTo(-0.42, -0.809).lineTo(-0.579, -0.588).lineTo(-0.68, -0.309).lineTo(...
12
454
1.061173
train_66d38f4a08632459
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.006, 0, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.34, 0.241).workplane(offset=2).rect(0.402, 0.153).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0.006, -0.038, 0.102), normal=(0, 0, -1), xDir=(1, 0, 0))).spline([(0.151, -0.03), ...
8
110
0.068254
train_732527d14ea2350e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.395, 0.145, 0.216), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.264, 0.249).threePointArc((0.264, 0.249), (0.529, 0)).threePointArc((0.264, -0.249), (-0.264, -0.249)).threePointArc((-0.529, 0), (-0.264, 0.249)).close().moveTo(0.131, 0.016).thre...
9
122
0.867281
train_3a0770920891fa94
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.934, -0.101).lineTo(0.992, -0.127).lineTo(0.982, -0.195).lineTo(0.918, -0.195).lineTo(0.893, -0.292).lineTo(0.945, -0.331).lineTo(0.92, -0.396).lineTo(0.858, -0.382).lineTo(0.813, -0.472)....
4
145
0.779484
train_00156369323e6577
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0.007, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.268, 0.858).threePointArc((0.523, 0.843), (0.664, 0.63)).lineTo(0.936, -0.384).threePointArc((0.924, -0.58), (0.76, -0.688)).lineTo(-0.377, -0.993).threePointArc((-0.531, -0.984),...
6
211
0.53836
train_7bce29544e1930b6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.157), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.319).lineTo(1, -0.319).lineTo(-0.064, -0.319).lineTo(-0.064, -0.106).lineTo(0.787, -0.106).lineTo(0.787, 0.106).lineTo(-0.064, 0.106).lineTo(-0.064, 0.319).lineTo(1, 0.319).close().extr...
2
11
0.294178
train_ae23692ceebe3d8f
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.019, 1).lineTo(0.43, 0.584).lineTo(0.43, -0.829).lineTo(0.266, -1).lineTo(-0.035, -1).lineTo(-0.43, -0.601).lineTo(-0.43, 0.697).lineTo(-0.131, 1).lineTo(0.019, 1).close().extrude(0.808) r...
10
115
0.861017
train_6afe55704dcae1af
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.137, 0.008, -0.541), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.477, 0.825).threePointArc((0.864, 0.233), (0.825, -0.477)).threePointArc((0.233, -0.864), (-0.477, -0.825)).threePointArc((-0.864, -0.233), (-0.825, 0.477)).threePointArc((-0.233, ...
14
160
1.675135
train_0e904768a5bf8aab
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.182).lineTo(0.899, 0).lineTo(1, -0.182).lineTo(0.202, -0.182).lineTo(0.202, 0.182).lineTo(1, 0.182).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.55, 0, 0), normal=(0...
11
29
0.705031
train_99750653b731754d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.871, 0.089, -0.308), normal=(-0.249, 0.152, -0.957), xDir=(0, 0.988, 0.157))).moveTo(0.111, 0.12).lineTo(0.176, -0.12).lineTo(-0.176, -0.12).lineTo(-0.111, 0.12).lineTo(0.111, 0.12).close().extrude(0.312, taper=-5.307, both=True) result = result...
23
296
0.949253
train_8b1ae5b891f4f439
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.115, 0.607, -0.449), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.299, 0.152).lineTo(0.299, -0.152).threePointArc((-0.019, 0), (0.299, 0.152)).close().extrude(0.487).union(cq.Workplane(cq.Plane(origin=(-0.115, 0.607, -0.449), normal=(0, 0, 1), x...
8
26
1.070934
train_94fe8ee82a8bfa0c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.999, -0.135, -0.02), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.486, 0.062).lineTo(1.486, 0).lineTo(0, 0).lineTo(0, 0.062).lineTo(1.486, 0.062).close().extrude(0.774, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0.487, -0.13...
5
62
0.373546
train_f978d847998445ec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.317), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.941, 0.635).lineTo(0.911, 0.47).lineTo(1, 0.222).lineTo(1, 0).lineTo(0.869, 0).lineTo(0.869, 0.19).lineTo(0.774, 0.47).lineTo(0, 0.513).lineTo(0, 0.635).lineTo(0.941, 0.635).close().revol...
7
43
0.702131
train_bae69e57cc7f7b5b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.511), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 1.021).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 1.021).lineTo(-0.846, 1.021).lineTo(-0.846, 0.154).lineTo(0.846, 0.154).lineTo(0.846, 1.021).lineTo(1, 1.021).close().extrude(0.303, both=Tru...
3
16
0.378396
train_ac79c6aeee79a0a2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.077, -0.144, -0.905), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.58, 0.383).lineTo(0.777, 0.31).lineTo(0.777, 0.067).lineTo(0.596, 0).lineTo(0.36, 0).lineTo(0.259, -0.037).lineTo(0.259, -0.333).lineTo(0.124, -0.383).lineTo(-...
11
258
1.190515
train_f2a4b422ea1e31aa
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.307), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.333, 1).lineTo(0.333, 0.333).lineTo(1, 0.333).lineTo(1, -0.333).lineTo(-0.333, -0.333).lineTo(-0.333, -1).lineTo(-1, -1).lineTo(-1, 0.333).lineTo(-0.333, 0.333).lineTo(-0.333, 1).lineTo(0....
27
388
1.29996
train_6d403051bdb51269
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.115, -0.108), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.677, 0.327).threePointArc((0.851, 0.131), (0.872, -0.131)).threePointArc((0.677, -0.305), (0.416, -0.327)).threePointArc((0.241, -0.131), (0.219, 0.131)).threePointArc((0.415, 0.305)...
17
455
0.497169
train_fa08fb400dc93d7b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.052, 0, -0.093), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.885, 0.214).lineTo(0.871, 0.188).lineTo(0.947, 0.075).lineTo(0.947, 0).lineTo(0.833, 0).lineTo(0.833, 0.064).lineTo(0.739, 0.188).lineTo(0, 0.099).lineTo(0, 0.214).lineTo(0.885, 0.214...
3
40
0.239152
train_a8c3e6acde6c7a91
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.109), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.67, 1).lineTo(0.995, 0.675).lineTo(0.995, -0.802).threePointArc((0.937, -0.942), (0.797, -1)).lineTo(-0.843, -1).threePointArc((-0.951, -0.956), (-0.995, -0.848)).lineTo(-0.995, 0.838).thr...
10
42
0.62635
train_8817737a7133b3f8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.388), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.244, 1).threePointArc((0.456, 0.912), (0.545, 0.699)).lineTo(0.545, -0.719).threePointArc((0.462, -0.918), (0.264, -1)).lineTo(-0.138, -1).threePointArc((-0.425, -0.88), (-0.545, -0.592))....
10
59
0.44213
train_17c39ebfe4e138dc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.371), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.427, 1.736).lineTo(0.427, 0.897).lineTo(1, 0.897).lineTo(1, 0).lineTo(0, 0).lineTo(0, 1.736).lineTo(0.427, 1.736).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0))...
11
82
2.485587
train_5612b7db4ff46224
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(6.592, 1.187, -45.76), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-1.529, 7.645).lineTo(0, 6.116).threePointArc((1.529, 6.116), (1.529, 4.587)).lineTo(1.529, 3.058).lineTo(1.529, 1.529).lineTo(7.645, 1.529).lineTo(1.529, -1.529).lineTo(1.529, -7.64...
12
7
0.326463
train_8fbbdafed9575123
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.232, -0.395, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.011, 1.054).lineTo(0.154, 0.8).threePointArc((0.243, 0.877), (0.285, 0.851)).threePointArc((0.278, 0.746), (0.319, 0.706)).threePointArc((0.313, 0.636), (0.388, 0.608)).lineTo(0.555...
6
61
0.508975
train_fe945d161a3ae8bc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.999, -0.159), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.135, 0.869).threePointArc((0.186, 0.658), (0.398, 0.062)).threePointArc((0.377, -0.57), (0.135, -0.869)).threePointArc((-0.186, -0.658), (-0.398, -0.062)).threePointArc((-0.377, 0.5...
4
25
1.186551
train_564e1f96c1afd9b7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.197, 0.102, -0.947), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.488, 0.045).threePointArc((0.507, -0.026), (0.436, -0.045)).threePointArc((0.417, 0.026), (0.488, 0.045)).close().sweep(cq.Workplane(cq.Plane(origin=(0.197, 0.102, -0.947), normal...
3
24
0.777695
train_192c2e8aa0890103
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.239), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.404, 1).threePointArc((0.55, 0.938), (0.611, 0.793)).lineTo(0.611, -0.531).lineTo(0.142, -1).lineTo(-0.265, -1).threePointArc((-0.51, -0.898), (-0.611, -0.654)).lineTo(-0.611, 0.766).lineT...
5
38
0.954497
train_c7ad4a94e2a58d37
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.55, 0), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.448, 0).threePointArc((0, -0.448), (-0.448, 0)).threePointArc((0, 0.448), (0.448, 0)).close().revolve(angleDegrees=270, axisStart=(-0.533, 0.551), axisEnd=(0.533, 0.551)) result = result.cu...
4
39
1.261229
train_7584cbf21e394375
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.526, 0, -0.172), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.115, 0.945).lineTo(-0.115, 0.473).lineTo(0.344, 0.473).lineTo(0.344, -0.473).lineTo(0.115, -0.473).lineTo(0.115, -0.945).lineTo(-0.115, -0.945).lineTo(-0.115, -0.473).lineTo(-0.344, ...
10
152
0.634863
train_cae98707b53c77c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.065, 0.251, 0.18), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.394, 0.682).threePointArc((0.192, 0.717), (0.682, 0.394)).threePointArc((0.717, -0.192), (0.394, -0.682)).threePointArc((-0.192, -0.717), (-0.682, -0.394)).threePointArc((-0.717, 0....
5
442
0.476521
train_0b4a76aadeb4bd5b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.445, -0.001, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.299, 0.992).threePointArc((0.538, -0.992), (-0.538, -0.256)).lineTo(0.299, 0.992).close().extrude(0.21, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.645, 0.355, 0),...
8
60
1.041494
train_f89a5aaf591fc9e3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.297), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.515, 1.97, 1.405) result = result.edges().fillet(0.212) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.297), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.131).extrude(3.029, both=Tru...
13
97
2.215492
train_3ef3f0e3caef9b7c
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.76).extrude(2) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0, 0.39), normal=(0.836, 0, 0.549), xDir=(0.549, 0, -0.836))).circle(0.214).extrude(1.777)) result = result.cut(cq.Workpla...
12
65
1.358692
train_4c82adf2d0ef2ab3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.389), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.67, 0.778).lineTo(0.67, 0).lineTo(-0.67, 0).lineTo(-0.67, 0.778).lineTo(-0.4, 0.778).lineTo(-0.4, 0.271).lineTo(0.4, 0.271).lineTo(0.4, 0.778).lineTo(0.67, 0.778).close().extrude(1, both=...
5
76
1.1341
train_68933b2ae318d6fd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.063, 0.151, 0.074), normal=(0.887, -0.186, -0.422), xDir=(0.205, 0.979, 0))).moveTo(0.264, 0.346).lineTo(0.264, -0.381).lineTo(-0.264, -0.381).lineTo(-0.264, 0.346).threePointArc((-0.22, 0.311), (-0.176, 0.346)).threePointArc((-0.131, 0.381), (...
7
53
1.082975
train_90d5d70e399f53bd
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.535), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.988, -0.137).lineTo(0.951, -0.27).lineTo(0.891, -0.397).lineTo(0.809, -0.514).lineTo(0.707, -0.618).lineTo(0.588, -0.707).lineTo(0.454, -0.779).lineTo(0.309, -0.831).lineTo(0.156, -0.863)....
15
69
2.688992
train_d2e5ea49f40dcb18
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.755).extrude(0.829) result = result.cut(cq.Workplane(cq.Plane(origin=(0.76, 0, -0.999), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.177, 0.486), (-0.624, 0.743), (-1.133...
7
47
1.656169
train_b786ed8067b85345
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.538, -0.533, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1.205).threePointArc((0.849, 0.849), (1.205, 0)).lineTo(0.658, 0).threePointArc((0.466, 0.466), (0, 0.658)).lineTo(0, 1.205).close().extrude(2) result = result.union(cq.Workplane(cq...
7
18
1.91354
train_51490d46123c1336
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.259, -1.189, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.352, 2.204).lineTo(0.036, 1.891).lineTo(0.455, 2.161).lineTo(0.509, 1.666).lineTo(1, 1.561).lineTo(0.683, 1.173).lineTo(0.949, 0.758).lineTo(0.458, 0.704).lineTo(0.352, 0.217).lineTo...
19
20
0.637053
train_901be15648ef99de
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(1.362, 0.981).lineTo(1.362, -1.394).lineTo(-1.362, -1.394).lineTo(-1.362, 0.981).threePointArc((-1.21, 1.394), (-1.058, 0.981)).threePointArc((-0.906, 0.57), (-0.759, 0.981)).threePointArc((...
12
225
0.809181
train_3443065e2a826b58
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.119, -0.488, 1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.621, 0.697).lineTo(0.621, -0.057).lineTo(-0.588, -0.057).lineTo(-0.601, 0.014).threePointArc((-0.621, 0.05), (-0.6, 0.085)).threePointArc((-0.604, 0.121), (-0.588, 0.155)).lineTo(-0.5...
32
1,009
1.391478
train_6de98271c7b7e63c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.066, -0.015, -0.009), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.934, 0.337).lineTo(0.934, 0.24).threePointArc((0.906, 0.213), (0.839, 0.202)).lineTo(-0.379, 0.202).threePointArc((-0.491, 0.183), (-0.538, 0.138)).lineTo(-0.538, -0.116).threePo...
11
162
0.108114
train_3be770c3b2d9c184
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.5, -0.989, -0.508), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.084, 1.496).lineTo(0.135, 1.127).lineTo(0.492, 1.023).lineTo(0.157, 0.861).lineTo(0.168, 0.489).threePointArc((0.124, 0.487), (0.097, 0.523)).threePointArc((0.075, 0.558), (0.034, ...
1
19
0.646534
train_5deaef06a691ff98
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.469), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.283, 0.265).lineTo(0.521, 0.026).lineTo(0.521, -0.084).threePointArc((0.468, -0.212), (0.341, -0.265)).lineTo(-0.521, -0.265).lineTo(-0.521, 0.034).lineTo(-0.292, 0.265).lineTo(0.283, 0.26...
10
59
0.833178
train_dff8ceab26846e6b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.64, -0.791, -0.005), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.451, 1.598).threePointArc((0.548, 1.392), (0.537, 1.14)).threePointArc((0.514, 0.958), (0.583, 0.856)).threePointArc((0.744, 0.762), (0.881, 0.615)).threePointArc((0.88, 0.443), (...
2
35
3.449659
train_35cd67f04af0b633
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.538), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 1).lineTo(0.704, 0.704).lineTo(1, 0).lineTo(0.704, -0.704).lineTo(0, -1).lineTo(-0.704, -0.704).lineTo(-1, 0).lineTo(-0.704, 0.704).lineTo(0, 1).close().extrude(0.688) result = result.cut...
6
59
2.095315
train_7363e18b37b23eb4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.262, 0.158, 0.003), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.2, 1.25).threePointArc((0.433, 1.225), (0.582, 1.039)).threePointArc((0.656, 0.822), (0.758, 0.657)).threePointArc((0.907, 0.494), (0.985, 0.282)).threePointArc((0.906, 0.07), (0.7...
18
20
0.858711
train_aaa263363824621c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.332, 0.123, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.193, 0.719).threePointArc((0.652, 0.133), (0.459, -0.585)).threePointArc((-0.193, -0.719), (-0.652, -0.133)).threePointArc((-0.459, 0.585), (0.193, 0.719)).close().sweep(cq.Workpla...
9
82
0.810481
train_b0f7eb35942a7b09
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, -0.009, -0.131), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(2.047, 0.498).lineTo(2.047, 0.338).lineTo(0.449, 0.338).lineTo(0.449, -0.498).lineTo(-0.449, -0.498).lineTo(-0.449, 0.338).lineTo(-2.047, 0.338).lineTo(-2.047, 0.498).lineTo(2.047,...
9
86
0.537097
train_06560b8c6bd0030d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.166, -0.099, -0.222), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.69, 0.094).threePointArc((0.373, 0.821), (0.69, -0.213)).lineTo(0.689, -0.757).threePointArc((0.628, -0.821), (0.365, -0.767)).lineTo(0.361, -0.153).lineTo(0.411, -0.085).threeP...
9
90
0.427891
train_28a0193d57600a2d
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.115, 0.994).threePointArc((0.228, 0.976), (0.339, 0.946)).threePointArc((0.446, 0.905), (0.548, 0.853)).threePointArc((0.642, 0.788), (0.722, 0.706)).threePointArc((0.786, 0.612), (0.834, 0.51)).threePointArc((0.867, 0.405), (0.888, 0.299)).threePoi...
2
42
2.514372
train_8130883f30f81455
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.742, 2).lineTo(0.742, 1.013).lineTo(0.53, 1.013).lineTo(0.53, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.742, 2).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = ...
8
46
0.741259
train_989a0178c8d3beee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.092), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.556, 1).lineTo(0.556, -1).lineTo(-0.556, -1).lineTo(-0.556, 1).lineTo(0.556, 1).close().extrude(0.183) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.127, 0.709, 0), normal=(0, -1, 0...
7
26
0.31088
train_545ecbc66dd34695
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.026, -0.001, -0.105), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.609, -0.109).threePointArc((0.195, 0.98), (0.609, -0.185)).lineTo(0.609, -0.89).threePointArc((0.552, -0.98), (0.366, -0.89)).lineTo(0.366, -0.128).threePointArc((0.517, 0.29), ...
5
37
0.219608
train_2d6c437edb76c3c5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.555, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.281, 0.355).lineTo(0.281, -0.108).threePointArc((0, -0.389), (-0.281, -0.108)).lineTo(-0.281, 0.355).threePointArc((0, 0.637), (0.281, 0.355)).close().extrude(2) result = result.cut(cq.Wo...
3
20
1.900269
train_cf4a455042d705c8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.119, 0.021, -0.625), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.88, 0.12).lineTo(0.88, 0.088).threePointArc((0.85, 0.08), (0.78, 0.077)).lineTo(0.334, 0.077).threePointArc((0.267, 0.074), (0.239, 0.067)).lineTo(0.239, -0.064).threePointArc((0....
10
182
0.325145
train_e6edf6352b2131b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.42, -0.236, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0, 0.839).threePointArc((0.596, 0.596), (0.839, 0)).lineTo(0.295, 0).threePointArc((0.209, 0.209), (0, 0.295)).lineTo(0, 0.839).close().extrude(2) result = result.union(cq.Workplane(cq....
6
54
1.029607
train_9789494e24dd8866
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.211, 0, -0.911), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.732, 0.525).lineTo(0.789, 0.467).lineTo(0.789, -0.069).lineTo(0.753, -0.105).lineTo(0.624, -0.105).lineTo(0.579, -0.149).lineTo(0.579, -0.454).lineTo(0.509, -0.525).lineTo(0.439, -0.52...
4
324
1.575866
train_43aa66e79712a6ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.013, -0.017, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.466, 0.513).threePointArc((-0.071, 0.564), (-0.021, 0.165)).threePointArc((0.819, -0.133), (0.987, -0.192)).threePointArc((-0.138, -0.174), (-0.306, -0.115)).threePointArc((-0.592, -0...
15
76
0.721417
train_2810dca525689526
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.352, 0, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.648, 0.366).lineTo(0.648, -0.352).threePointArc((0.644, -0.361), (0.635, -0.366)).lineTo(-0.61, -0.366).threePointArc((-0.637, -0.354), (-0.648, -0.327)).lineTo(-0.648, 0.349).lineTo(-...
11
41
0.431857
train_c5d6fa6af28d3157
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.263, 0.597).threePointArc((-0.218, 0.578), (-0.199, 0.534)).lineTo(-0.199, 0.312).threePointArc((-0.165, 0.233), (-0.087, 0.199)).lineTo(0.84, 0.199).threePointArc((0.947, 0.154), (1, 0.048)).lineTo(1, -0.063).threePointArc((0.951, -0.158), (0.855,...
7
124
1.53799
train_c153cba8ff4eba59
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.533, 0, 0.41), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.067, 0.476).lineTo(0.29, 0.384).lineTo(0.476, 0.067).lineTo(0.384, -0.29).lineTo(0.067, -0.476).lineTo(-0.29, -0.384).lineTo(-0.476, -0.067).lineTo(-0.384, 0.29).lineTo(-0.067, 0.476)...
6
75
0.55227
train_66a72f2ff4e778c1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.903, 0.534).threePointArc((0.971, 0.506), (1, 0.439)).lineTo(1, -0.47).threePointArc((0.979, -0.515), (0.934, -0.534)).lineTo(-0.861, -0.534).threePointArc((-0.958, -0.494), (-1, -0.397))....
15
275
0.459889
train_9ff4baa6694be4df
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.04, -0.426, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.27).extrude(0.952) result = result.union(cq.Workplane(cq.Plane(origin=(-0.04, -0.426, -0.334), normal=(0.06, 0, 0.998), xDir=(0.998, 0, -0.06))).circle(0.435).extrude(1.333)) result =...
10
111
1.006633
train_fd1167035c92d14a
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.017, 1).lineTo(0.692, 0.722).lineTo(1, 0.025).lineTo(0.713, -0.702).lineTo(0.005, -1).lineTo(-0.691, -0.723).lineTo(-1, 0.012).lineTo(-0.698, 0.716).lineTo(0.017, 1).close().extrude(0.42, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(...
4
69
1.922722
train_26d3a5da3896c9ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.038, 0.001, -0.483), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.924, 0.965).lineTo(0.924, 0.066).lineTo(1.002, 0.066).lineTo(1.002, 0).lineTo(0.12, 0).lineTo(0.12, 0.965).lineTo(0.924, 0.965).close().revolve(angleDegrees=360, axisStart=(0, 0,...
7
79
1.427556
train_cc06d7be300fdc99
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.347, 0.527, -0.5), normal=(-0.681, 0.045, 0.731), xDir=(-0.067, -0.998, 0))).moveTo(0.133, 0.165).lineTo(0.133, 0.055).lineTo(0.2, 0.055).lineTo(0.2, -0.165).lineTo(0.133, -0.165).lineTo(0.133, -0.055).lineTo(0.067, -0.055).lineTo(0.067, -0.165)...
7
94
0.560238
train_f90140de3768f316
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.01, -0.327), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.264, 0.311).lineTo(0.264, -0.234).threePointArc((0.241, -0.288), (0.187, -0.311)).lineTo(-0.264, -0.311).lineTo(-0.264, 0.248).threePointArc((-0.245, 0.292), (-0.201, 0.311)).lineTo(0....
10
65
0.217057
train_383b93eca8d61e7b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.396, -0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.892, 1.205).extrude(0.162) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.396, -0.05), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.294, 0.354).lineTo(-0.294, 0.451).lineTo(0.294, ...
13
108
0.274864
train_30f1790b81529d1a
import cadquery as cq import math result = cq.Workplane('XY').box(1.528, 2, 1.91) result = result.edges().fillet(0.309) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.482).extrude(3.056, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), norm...
7
81
2.491264
train_a43ee7fd8a6720ad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.275, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.005, 0.327).lineTo(0.041, 0.255).lineTo(0.126, 0.268).lineTo(0.099, 0.187).lineTo(0.162, 0.129).lineTo(0.081, 0.099).lineTo(0.075, 0.014).lineTo(0.002, 0.058).lineTo(-0.069, 0.01).lineTo...
7
238
0.072058
train_05f134440cc58c14
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.096, 0.363, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.303, 2.026).threePointArc((0.112, 2.023), (0.496, 1.772)).threePointArc((0.748, 1.34), (0.799, 0.842)).threePointArc((0.636, 0.413), (0.303, 0.166)).threePointArc((-0.112, 0.169), (-0...
11
93
1.01588
train_7cdf8128782b2085
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.276, 0.476, 0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.09, 0.216).threePointArc((0.128, 0.202), (0.161, 0.18)).threePointArc((0.194, 0.145), (0.218, 0.103)).lineTo(0.244, 0.041).lineTo(0.247, -0.036).lineTo(0.232, -0.088).threePointArc...
2
38
0.261957
train_67ca5faaa9cb4ff9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.022, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.253, -0.09).threePointArc((-0.016, -0.145), (0.067, 0.084)).lineTo(0.136, 0.159).threePointArc((0.154, 0.164), (0.167, 0.131)).lineTo(0.092, 0.049).threePointArc((-0.001, -0.052), (0.079, ...
5
73
0.078887
train_9c73f6bddd1ed4ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.031, 0.571, 0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.265, 0.265).threePointArc((0.397, 0), (0.265, -0.265)).threePointArc((0, -0.397), (-0.265, -0.265)).threePointArc((-0.397, 0), (-0.265, 0.265)).threePointArc((0, 0.397), (0.265, 0....
8
91
0.0659
train_d68d3225b99c21ba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.934, 0.806, -0.079), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.192, 1.934).lineTo(0.326, 1.43).lineTo(0.842, 1.505).lineTo(0.581, 1.054).lineTo(1, 0.743).lineTo(0.496, 0.609).lineTo(0.571, 0.092).lineTo(0.12, 0.354).lineTo(-0.192, -0.065).lin...
5
164
1.316695
train_ccfd45e4d2061d23
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.277, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.281, 2).lineTo(0.281, 0.281).lineTo(0.457, 0.281).lineTo(0.457, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.281, 2).close().extrude(0.809, both=True) result = result.cut(cq.Workplane(cq.Plane(...
7
58
0.658022
train_9c008935c25f167b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.133, 0, -0.258), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.865, 0.064).lineTo(0.865, -0.08).lineTo(0.704, -0.08).lineTo(0.704, 0.064).threePointArc((0.713, 0.08), (0.722, 0.064)).threePointArc((0.731, 0.048), (0.74, 0.064)).threePointArc((0.7...
2
24
0.282144
train_d78d42d8dabab7f9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.123, 0.157, -0.192), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.138, 0.814).threePointArc((0.856, -0.814), (-0.821, -0.54)).lineTo(-0.854, 0.065).lineTo(-0.856, 0.244).threePointArc((-0.848, 0.276), (-0.825, 0.303)).lineTo(-0.138, 0.814).clos...
5
38
1.184363
train_1c5f57a2c72d5369
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.109), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.37, 1.781, 1.781) result = result.edges().fillet(0.192) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0.109), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.26).extrude(2.74, both=True)...
8
67
2.889295
train_07577d5a6b302ad7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.673, 0, -1.332), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.416).extrude(0.513) result = result.union(cq.Workplane(cq.Plane(origin=(-0.673, 0, -0.973), normal=(0.431, 0, 0.902), xDir=(0.902, 0, -0.431))).circle(0.387).extrude(2.001)) result = ...
7
10
0.235552
train_a36649f25c4c0e6f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.064, 0, -0.024), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.019, 0.107).threePointArc((0.138, 0.103), (0.215, 0.038)).threePointArc((0.165, -0.048), (0.019, -0.107)).threePointArc((-0.138, -0.103), (-0.215, -0.038)).threePointArc((-0.165, 0.0...
6
37
0.446235
train_09f5359bf9b1c202
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.004, -0.31), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.971).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.971).lineTo(-0.795, 0.971).lineTo(-0.795, 0.2).lineTo(0.795, 0.2).lineTo(0.795, 0.971).lineTo(1, 0.971).close().extrude(0.199, both=Tru...
13
149
0.630856
train_a3a4972721f13e3b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.084, -0.111, -0.672), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.017, 0.143).threePointArc((-0.005, 0.138), (0, 0.128)).lineTo(0, 0.1).threePointArc((0.005, 0.09), (0.017, 0.086)).lineTo(0.046, 0.086).threePointArc((0.061, 0.08), (0.067, 0.068...
9
106
0.085079
train_67226caa1b06587d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.058, 0.059, -0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.518, 0.236).threePointArc((0.798, 0.206), (0.916, 0.134)).lineTo(0.916, -0.086).threePointArc((0.742, -0.191), (0.333, -0.236)).lineTo(-0.436, -0.236).threePointArc((-0.773, -0.19...
17
228
1.031533
train_455300cb1bde0d07
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.213, 0, -0.183), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.787, 0.216).lineTo(0.787, -0.216).lineTo(-0.787, -0.216).lineTo(-0.787, 0.216).lineTo(0.787, 0.216).close().extrude(0.268) result = result.union(cq.Workplane(cq.Plane(origin=(0.077, 0...
8
26
0.149141