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_51293820796b380c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.1, 0, -0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.843, 0.422).lineTo(0.843, -0.422).lineTo(-0.843, -0.422).lineTo(-0.843, -0.141).lineTo(0.563, -0.141).lineTo(0.563, 0.141).lineTo(-0.843, 0.141).lineTo(-0.843, 0.422).lineTo(0.843, 0.42...
5
40
1.128514
train_7277938a16c2c78b
import cadquery as cq import math result = cq.Workplane('XY').box(1.537, 2, 2) result = result.edges().fillet(0.071) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.555).extrude(3.077, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=...
9
52
2.463272
train_075949a84cbcea66
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.228), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.104, 0.589).threePointArc((0.17, 0.567), (0.199, 0.518)).lineTo(0.199, 0.365).threePointArc((0.227, 0.316), (0.295, 0.295)).lineTo(0.467, 0.295).threePointArc((0.558, 0.266), (0.597, 0.198...
4
64
0.575555
train_fb588c2eeeeac4f4
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.357, 0.541).threePointArc((0.486, 0.486), (0.541, 0.357)).lineTo(0.541, -0.202).threePointArc((0.44, -0.44), (0.202, -0.541)).lineTo(-0.367, -0.541).threePointArc((-0.489, -0.489), (-0.541, -0...
8
251
1.818246
train_67c3c12bee8351b1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.042, -0.689), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.736, 0.552).lineTo(0.736, -0.552).lineTo(-0.245, -0.552).lineTo(-0.245, 0).lineTo(-0.736, 0).lineTo(-0.736, 0.552).lineTo(0.736, 0.552).close().extrude(1.688, taper=5.603) result = res...
15
34
1.659833
train_7d2c8ff357f2f5af
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0, 0.106).lineTo(0.053, 0.092).lineTo(0.092, 0.053).lineTo(0.106, 0).lineTo(0.092, -0.053).lineTo(0.053, -0.092).lineTo(0, -0.106).lineTo(-0.053, -0.092).lineTo(-0.092, -0.053).lineTo(-0.106, 0).lineTo(-0.092, 0.053).lineTo(-0.053, 0.092).lineTo(0, 0....
2
16
0.075243
train_f7e7c315a9b86398
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.178, 1).lineTo(1.178, -1).lineTo(-1.178, -1).lineTo(-1.178, 1).lineTo(-0.288, 1).lineTo(-0.288, -0.071).lineTo(0.288, -0.071).lineTo(0.288, 1).lineTo(1.178, 1).close().extrude(1.896, both=...
7
524
1.874884
train_1f2f6290bb380dfe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.255, 0, -0.347), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.151, 0.898).lineTo(0.151, 0.617).lineTo(0.431, 0.617).lineTo(0.431, -0.722).lineTo(0.257, -0.722).lineTo(0.257, -0.898).lineTo(-0.157, -0.898).lineTo(-0.157, -0.623).lineTo(-0.431, -0...
6
58
0.878442
train_44f263f879e3a4c6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.042, -0.014, -0.198), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.674, 0.931).lineTo(0.416, -0.931).lineTo(-0.56, -0.874).threePointArc((-0.674, 0.216), (0.674, 0.931)).close().extrude(0.395, taper=-7.865) result = result.cut(cq.Workplane(cq.Pla...
13
8
0.885324
train_7a22b2df747edb95
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.069, -0.002, 0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.93, 0.08).lineTo(0.93, 0.026).lineTo(-0.312, 0.026).lineTo(-0.312, -0.026).lineTo(0.93, -0.026).lineTo(0.93, -0.08).lineTo(-0.93, -0.08).lineTo(-0.93, 0.08).lineTo(0.93, 0.08).clos...
20
378
0.152557
train_030398e50e5567f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.999, 0, -0.118), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.304, 0.032).lineTo(1.304, 0).lineTo(0, 0).lineTo(0, 0.032).lineTo(1.304, 0.032).close().extrude(0.859, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0.305, 0, -0.118...
9
29
0.396452
train_a4c1daed5d4603b7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.094, 0, -0.173), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.28, 0.86).lineTo(0.732, 0.531).lineTo(0.905, 0).lineTo(0.732, -0.531).lineTo(0.28, -0.86).lineTo(-0.28, -0.86).lineTo(-0.732, -0.531).lineTo(-0.905, 0).lineTo(-0.732, 0.531).lineTo(-0....
9
32
1.057265
train_781003bef1ddaf67
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.125), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.122, 2).extrude(0.25) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.125), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.396, -0.167).lineTo(0.396, -0.829).lineTo(-0.396, -0.829)....
14
56
0.242474
train_e77d2b8e3054e311
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.177), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.974, 0.605).lineTo(0.974, -0.595).threePointArc((0.969, -0.608), (0.956, -0.613)).lineTo(-0.959, -0.613).threePointArc((-0.969, -0.608), (-0.974, -0.598)).lineTo(-0.974, 0.595).threePointA...
10
31
0.514953
train_7cb8246c7efd3c8b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.635), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.523, 1.244).lineTo(0.523, 0.523).lineTo(2, 0.523).lineTo(2, 0).lineTo(0, 0).lineTo(0, 1.244).lineTo(0.523, 1.244).close().extrude(0.677, both=True) result = result.union(cq.Workplane(cq....
6
44
1.929752
train_4b449ada5f1d1358
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.188, -0.126), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1, 0.522).lineTo(1, 0).lineTo(-1, 0).lineTo(-1, 0.522).lineTo(-0.821, 0.522).lineTo(-0.821, 0.18).lineTo(0.821, 0.18).lineTo(0.821, 0.522).lineTo(1, 0.522).close().extrude(0.677, both=...
8
138
0.613209
train_4aa400c2f3127622
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.436, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.313, 2).lineTo(0.313, 0.313).lineTo(0.872, 0.313).lineTo(0.872, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.313, 2).close().extrude(0.499, both=True) result = result.cut(cq.Workplane(cq.Plane(...
10
56
0.782989
train_953be941775f0931
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.072, -0.098), normal=(0, 0, 1), xDir=(1, 0, 0))).workplane(offset=0).moveTo(0.178, 0.663).threePointArc((0.277, 0.628), (0.369, 0.579)).threePointArc((0.453, 0.516), (0.526, 0.442)).threePointArc((0.587, 0.357), (0.634, 0.264)).threePointArc...
3
60
0.312547
train_9c5c19de20655067
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.21), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.855, 0.419).lineTo(0.92, 0.276).lineTo(1, 0.147).lineTo(1, 0).lineTo(0.887, 0).lineTo(0.887, 0.126).lineTo(0.787, 0.276).lineTo(0, 0.306).lineTo(0, 0.419).lineTo(0.855, 0.419).close().revo...
6
46
0.48492
train_e5f3e483088b5e45
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.587, -0.143), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.669, 0.413).threePointArc((0.846, 0.341), (1, 0.164)).lineTo(1, -0.148).threePointArc((0.84, -0.335), (0.653, -0.413)).lineTo(-0.666, -0.413).threePointArc((-0.845, -0.34), (-1, -0.161...
16
118
0.453612
train_35e33c19be48ffe6
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.167, -0.125, -0.278), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.16, 0.24).lineTo(0.16, -0.08).lineTo(0, -0.08).lineTo(0, -0.24).lineTo(-0.16, -0.24).lineTo(-0.16, 0.24).lineTo(0.16, 0.24).close().extrude(0.17) result = result.cut(cq.Workplane(...
22
107
0.093018
train_a5a459dd3214fbbb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.026, 0.004), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.601, 0.428).lineTo(-0.118, 0.26).threePointArc((-0.087, 0.251), (-0.053, 0.244)).lineTo(0.084, 0.223).threePointArc((0.11, 0.222), (0.133, 0.228)).lineTo(0.254, 0.278).threePointArc((0...
6
76
1.157494
train_332178e7c797a3a0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.494, 0.122, 0.116), normal=(-0.631, 0.396, 0.666), xDir=(-0.532, -0.847, 0))).moveTo(0.291, 0.421).lineTo(0.407, -0.065).lineTo(0.439, -0.201).lineTo(-0.291, -0.421).lineTo(-0.323, -0.285).lineTo(-0.439, 0.201).lineTo(-0.383, 0.218).lineTo(-0.26...
15
193
0.336396
train_a353acb10693f0b0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.106, 0, -0.173), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.893, 0.851).lineTo(0.893, -0.851).lineTo(-0.893, -0.851).lineTo(-0.893, 0.851).lineTo(-0.403, 0.851).lineTo(-0.403, -0.459).lineTo(0.403, -0.459).lineTo(0.403, 0.851).lineTo(0.893, 0.8...
6
40
1.076293
train_00e6c63d073ad2bf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.108, -0.107, 0.284), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.221, 0.664).threePointArc((0.664, -0.664), (-0.664, -0.221)).lineTo(0.221, 0.664).close().extrude(0.372, both=True) result = result.union(cq.Workplane(cq.Plane(origin=(0.223, -0.22...
14
133
1.360147
train_7a5e2215855ca379
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.11), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.441, 0.383).lineTo(0.441, 0.281).lineTo(1, 0.281).lineTo(1, 0).lineTo(0.234, 0).lineTo(0.234, 0.383).lineTo(0.441, 0.383).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0,...
9
98
0.954641
train_48409316dd3378ad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.233, -0.204, 0.206), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.071, 0.494).threePointArc((0.121, 0.495), (0.162, 0.469)).threePointArc((0.183, 0.42), (0.185, 0.366)).threePointArc((0.187, 0.325), (0.209, 0.298)).threePointArc((0.251, 0.271),...
10
173
0.435247
train_3002853785ed5403
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.162), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.212, 0.63).lineTo(1.212, -0.63).lineTo(-1.163, -0.63).lineTo(-1.163, -0.581).lineTo(-1.212, -0.581).lineTo(-1.212, 0.63).lineTo(1.212, 0.63).close().extrude(0.241) result = result.union(cq...
13
33
0.348109
train_131ae7d4472a4ad8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, 0, 0.004), normal=(0.014, 0.001, 1), xDir=(0, -1, 0.001))).moveTo(0.999, 0.471).lineTo(0.999, 0.392).threePointArc((0.974, 0.367), (0.914, 0.357)).lineTo(-0.477, 0.357).threePointArc((-0.596, 0.337), (-0.646, 0.289)).lineTo(-0.646, -0.185)...
4
25
0.953482
train_258880cc572cce29
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.434, -0.689), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.967, 0.106).threePointArc((0.983, 0.058), (0.981, 0.008)).lineTo(0.928, -0.23).threePointArc((0.902, -0.296), (0.854, -0.347)).lineTo(0.671, -0.491).threePointArc((0.62, -0.519), (0.5...
8
149
1.472628
train_2b02aeec858ecd0b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.106, 0, -0.111), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.37, 0.593).threePointArc((0.441, 0.574), (0.471, 0.529)).lineTo(0.471, -0.197).threePointArc((0.424, -0.267), (0.313, -0.297)).lineTo(0.099, -0.297).threePointArc((0.03, -0.316), (0, -...
13
109
0.187606
train_ce3e14672f8c48f3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.187, 0.002), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.688, 0.806).threePointArc((0.868, 0.78), (0.944, 0.718)).lineTo(0.944, -0.625).threePointArc((0.787, -0.752), (0.417, -0.806)).lineTo(-0.597, -0.806).threePointArc((-0.841, -0.77), (-0....
17
234
0.714088
train_3a6493483ca268af
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.118), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.446).lineTo(1, -0.332).lineTo(0.877, -0.332).lineTo(0.877, -0.446).lineTo(-0.87, -0.446).threePointArc((-0.956, -0.41), (-1, -0.325)).lineTo(-1, 0.446).lineTo(1, 0.446).close().extrude(...
17
221
0.283021
train_d56d7980820a6eec
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.236), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.975).extrude(0.473) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.236), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.646, -0.145).lineTo(0.646, -0.145).lineTo(-0.646, -0.349)...
15
62
0.875813
train_c89b50a5ba43aaa9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.131, 0.031, -0.715), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.698, 0.693).lineTo(0.757, -0.693).threePointArc((-0.757, -0.685), (0.698, 0.693)).close().extrude(1.43, taper=7.154) result = result.union(cq.Workplane(cq.Plane(origin=(0.271, 0.39...
15
80
1.490541
train_14d503035271f9a4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.347, -0.463, -0.87), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.514, 0.304).lineTo(0.514, -0.304).threePointArc((-0.514, 0), (0.514, 0.304)).close().extrude(0.666) result = result.union(cq.Workplane(cq.Plane(origin=(0.076, -0.121, -0.537), norm...
18
177
1.443503
train_760014f9cf809f7b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.245, 0, -1), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.49, 2).lineTo(0.49, 0.49).lineTo(0.553, 0.49).lineTo(0.553, 0).lineTo(0, 0).lineTo(0, 2).lineTo(0.49, 2).close().extrude(0.593, both=True) result = result.cut(cq.Workplane(cq.Plane(origi...
10
42
0.42364
train_40fc14b9ac8a9bb5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.086, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).box(1.483, 1.826, 1.784) result = result.edges().fillet(0.064) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.086, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.151).extrude(2.965, both=Tr...
7
53
4.46808
train_bc1efee50858a8b3
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.116, 0.308).workplane(offset=2).rect(0.432, 0.382).loft() result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.505), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.13).extrude(0.919, both=Tru...
3
10
0.450354
train_3fe3a88bb46405fe
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.052, -0.163, 0.049), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.378, 0.632).threePointArc((-0.335, 0.614), (-0.316, 0.57)).lineTo(-0.316, 0.378).threePointArc((-0.298, 0.335), (-0.254, 0.316)).lineTo(0.738, 0.316).threePointArc((0.886, 0.254),...
17
91
0.184175
train_1a6c6b0fbe450267
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.008, 0, -0.669), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.185, 0.176).lineTo(0.185, -0.176).lineTo(-0.185, -0.176).lineTo(-0.185, -0.059).lineTo(0.111, -0.059).lineTo(0.111, 0.059).lineTo(-0.185, 0.059).lineTo(-0.185, 0.176).lineTo(0.185, 0....
18
587
0.17422
train_4b07f6e0b6aacdb5
import cadquery as cq import math result = cq.Workplane('XY').moveTo(-0.176, 0.879).threePointArc((-0.052, 0.817), (0, 0.672)).lineTo(0, 0.389).threePointArc((0.024, 0.322), (0.08, 0.294)).lineTo(0.9, 0.294).threePointArc((0.967, 0.261), (1, 0.182)).lineTo(1, -0.124).threePointArc((0.953, -0.244), (0.851, -0.294)).line...
11
148
0.660821
train_e4939ffbaa73d07e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.999), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.496, 2.06).lineTo(0.496, 0.102).lineTo(0.61, 0.102).lineTo(0.61, 0).lineTo(0.148, 0).lineTo(0.148, 2.06).lineTo(0.496, 2.06).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd...
11
62
0.900205
train_06b8f84204ff7faf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, 0, -0.5), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.183, 1).lineTo(0.183, 0.183).lineTo(2, 0.183).lineTo(2, 0).lineTo(0, 0).lineTo(0, 1).lineTo(0.183, 1).close().extrude(0.706, both=True) result = result.cut(cq.Workplane(cq.Plane(origin=(-0...
4
65
0.607278
train_4b2a37f29e024fad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.419, -0.716, -0.167), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.222, 1.381).threePointArc((0.346, 1.269), (0.358, 1.06)).lineTo(0.661, 1.021).threePointArc((0.591, 0.904), (0.47, 0.795)).threePointArc((0.551, 0.723), (0.701, 0.63)).threePoint...
5
112
1.977531
train_9ec99b3550e2c52e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.183, -0.467, -0.174), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.355, -0.089).lineTo(0.355, -0.178).lineTo(0.533, -0.267).lineTo(0.444, -0.444).lineTo(0.267, -0.267).lineTo(0.178, -0.355).lineTo(0.267, -0.533).lineTo(0.089, -0.533).lineTo(0.089...
22
815
0.883188
train_1f70a2a9a01a0542
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.005, 0, 0), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.027, 0.154).lineTo(0.121, 0.101).lineTo(0.157, 0).lineTo(0.121, -0.101).lineTo(0.027, -0.154).lineTo(-0.079, -0.137).lineTo(-0.148, -0.054).lineTo(-0.148, 0.054).lineTo(-0.079, 0.137).line...
6
33
0.075151
train_f6475e4ecab65bcf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.012, 0, 0.092), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.016, 0.984).threePointArc((0.207, 0.933), (0.368, 0.766)).threePointArc((0.496, 0.613), (0.68, 0.505)).threePointArc((0.899, 0.348), (0.987, 0.102)).threePointArc((0.841, -0.127), (0....
7
305
0.573667
train_65135d791b934ea8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.219), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(1, 0.989).lineTo(1, -0.989).lineTo(-1, -0.989).lineTo(-1, -0.66).lineTo(-0.667, -0.66).lineTo(-0.667, -0.33).lineTo(-0.333, -0.33).lineTo(-0.333, 0).lineTo(0, 0).lineTo(0, 0.33).lineTo(0.333...
5
59
0.695233
train_183faf08d870ecc2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.738, 0.383, 0.313), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.18, -0.138).lineTo(0.165, -0.308).lineTo(-0.161, -0.308).lineTo(-0.162, -0.235).lineTo(-0.176, -0.22).lineTo(-0.18, -0.131).threePointArc((0.002, 0.308), (0.18, -0.138)).close().swe...
16
220
0.958223
train_24bb2eed4c504319
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.193, -0.62), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.672, 0.807).lineTo(0.672, 0.115).lineTo(-0.48, 0.115).lineTo(-0.48, -0.115).lineTo(0.672, -0.115).lineTo(0.672, -0.807).lineTo(-0.672, -0.807).lineTo(-0.672, -0.577).lineTo(0.48, -0.577...
7
110
1.862209
train_cc3a031ad8c78722
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.284, 0, -0.222), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.147, 0.974).threePointArc((0.208, 0.947), (0.234, 0.883)).lineTo(0.234, 0.605).threePointArc((0.267, 0.524), (0.345, 0.489)).lineTo(0.6, 0.489).threePointArc((0.671, 0.457), (0.702, 0...
30
182
0.947319
train_4527af38e3aa8df9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.039, -0.797), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1, 0.799).lineTo(1, -0.799).lineTo(-1, -0.799).lineTo(-1, 0.799).lineTo(1, 0.799).close().extrude(0.444) result = result.union(cq.Workplane(cq.Plane(origin=(0, 0.039, -0.353), normal=(0,...
15
71
2.890633
train_1107ccfc4d26709b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.003, -0.03), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.25, 0.903).threePointArc((0.777, 0.769), (1, 0.452)).lineTo(1, -0.138).threePointArc((0.919, -0.253), (0.729, -0.301)).lineTo(0.271, -0.301).threePointArc((0.081, -0.35), (0, -0.465))....
10
134
1.30624
train_9e71fdcae35490b7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.191, 0.331, 0.021), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.083, 0.368).lineTo(0.225, 0.121).lineTo(0.035, -0.09).lineTo(-0.225, 0.026).lineTo(-0.195, 0.309).lineTo(0.083, 0.368).close().revolve(angleDegrees=180, axisStart=(-0.125, 0.382), a...
4
31
0.140639
train_318b041fe343ddd5
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.881, 0.653).threePointArc((1, 0), (0.881, -0.653)).lineTo(0.294, -0.653).lineTo(-0.294, -0.653).lineTo(-0.881, -0.653).threePointArc((-1, 0), (-0.881, 0.653)).lineTo(-0.294, 0.653).lineTo(0.294, 0.653).lineTo(0.881, 0.653).close().extrude(0.36, both...
6
6
1.807028
train_8dfbf85138eeee17
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.75), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.5, 0.987).lineTo(0.5, 0.329).lineTo(1, 0.329).lineTo(1, -0.987).lineTo(0.5, -0.987).lineTo(0.5, -0.329).lineTo(-1, -0.329).lineTo(-1, 0.987).lineTo(0.5, 0.987).close().extrude(1.5) result =...
21
211
4.518065
train_ca228b0d8138d2a5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.119, 0.001, -0.069), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.762, 0.887).threePointArc((0.846, 0.86), (0.881, 0.797)).lineTo(0.881, -0.63).threePointArc((0.78, -0.81), (0.541, -0.887)).lineTo(0.143, -0.887).threePointArc((-0.164, -0.789), (...
44
126
0.723941
train_bb2e054a9898361d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.016, -0.226), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.117, 0.584).threePointArc((0.515, 0.259), (1, -0.027)).threePointArc((0.326, -0.207), (-0.018, -0.584)).threePointArc((-0.707, -0.38), (-1, 0.036)).threePointArc((-0.517, 0.362), (0.11...
17
136
0.651397
train_a287fb3d7a575542
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.093, 0.291, -0.658), normal=(-0.507, -0.189, 0.841), xDir=(0.35, -0.937, 0))).moveTo(0.155, 0.156).lineTo(0.155, 0.076).lineTo(0.044, 0.076).lineTo(0.044, -0.156).lineTo(-0.155, -0.156).lineTo(-0.155, -0.076).lineTo(-0.044, -0.076).lineTo(-0.044...
8
96
0.926319
train_6d36bbefae763bed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.393), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.619, 1).threePointArc((0.692, 0.962), (0.725, 0.885)).lineTo(0.725, -0.775).threePointArc((0.659, -0.929), (0.506, -1)).lineTo(-0.578, -1).threePointArc((-0.682, -0.949), (-0.725, -0.845))...
6
47
0.57485
train_01f2f0cd449867d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.587, 0, -0.571), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.133, 1.563).lineTo(0.133, 0.133).lineTo(1.563, 0.133).lineTo(1.563, 0).lineTo(0, 0).lineTo(0, 1.563).lineTo(0.133, 1.563).close().extrude(1, both=True) result = result.cut(cq.Workpla...
8
62
1.049736
train_118bfe5e0edd139a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.052, -0.088, -0.199), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.82, 0.466).threePointArc((0.918, 0.424), (0.96, 0.323)).lineTo(0.96, -0.275).threePointArc((0.905, -0.409), (0.773, -0.466)).lineTo(-0.783, -0.466).threePointArc((-0.908, -0.411)...
15
66
0.639794
train_bb93e24501009984
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.56, 0, 0.336), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.15, 0.3).lineTo(0.319, 0.246).threePointArc((0.372, 0.224), (0.393, 0.174)).lineTo(0.38, 0.102).threePointArc((0.396, 0.057), (0.435, 0.03)).threePointArc((0.437, -0.006), (0.429, -0.0...
3
40
0.665601
train_953df19b9f40ecb0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.312, -0.325, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.54, 0.517).threePointArc((0.563, 0.508), (0.573, 0.485)).lineTo(0.573, 0.262).threePointArc((0.56, 0.231), (0.529, 0.218)).lineTo(0.255, 0.218).threePointArc((0.181, 0.187), (0.15, 0....
10
113
1.07865
train_c32b27e8d958df34
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.152, 0.016, -0.036), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.381, 0.64).threePointArc((0.456, -0.64), (-0.456, 0.32)).threePointArc((-0.15, 0.609), (0.381, 0.64)).close().extrude(4.227, both=True).intersect(cq.Workplane(cq.Plane(origin=(-0....
15
112
1.733644
train_3d7ae5f5ad5c4080
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.002, -0.001, -0.129), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.794, -0.129).lineTo(0.984, -0.182).lineTo(0.978, -0.21).lineTo(0.786, -0.173).lineTo(0.748, -0.297).lineTo(0.922, -0.389).lineTo(0.911, -0.416).lineTo(0.731, -0.338).lineTo(0.667...
2
119
0.532145
train_1606bf32a413de29
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.393, -0.703, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.384, 1.393).lineTo(0.384, 0.886).lineTo(0.899, 0.886).lineTo(0.899, -0.1).lineTo(0.384, -0.1).lineTo(0.384, -0.607).lineTo(-0.384, -0.607).lineTo(-0.384, -0.1).lineTo(-0.899, -0.1).li...
3
34
2.718165
train_9a3db811265dcc24
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.093, 0.235, 0.015), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.282, 0.765).threePointArc((-0.045, 0.56), (0.43, 0.151)).lineTo(0.649, -0.038).threePointArc((0.659, -0.054), (0.652, -0.071)).lineTo(0.473, -0.278).threePointArc((0.462, -0.285),...
1
15
0.694604
train_22e07c3be25cedc2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.097, 0, -0.127), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.627, 0.954).threePointArc((0.821, 0.902), (0.902, 0.78)).lineTo(0.902, -0.426).threePointArc((0.833, -0.529), (0.672, -0.573)).lineTo(0.45, -0.573).threePointArc((0.345, -0.601), (0.3...
9
55
0.967032
train_594d9548888b2f41
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.403), 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(0.806) result = result.cut...
4
20
1.932536
train_0ba1457bf73eb4ed
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.093), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.854, 0.987).lineTo(0.854, -1).lineTo(-0.845, -1).lineTo(-0.845, -0.991).lineTo(-0.854, -0.991).lineTo(-0.854, 0.991).lineTo(-0.845, 1).lineTo(0.84, 1).lineTo(0.84, 0.987).lineTo(0.854, 0.9...
2
16
0.449621
train_d16d45e78c12250b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.775), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.414, 0.814).threePointArc((-0.034, 0.719), (0.351, 0.512)).threePointArc((0.683, 0.227), (0.909, -0.093)).threePointArc((1, -0.398), (0.935, -0.643)).threePointArc((0.731, -0.788), (0.414...
7
53
2.590579
train_bc6b5dc81f7c89c9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.121, -0.43, -0.484), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.639, -0.25).lineTo(0.626, -0.297).lineTo(0.605, -0.342).lineTo(0.577, -0.383).lineTo(0.541, -0.42).lineTo(0.5, -0.452).lineTo(0.453, -0.477).lineTo(0.403, -0.496).lineTo(0.35, -0.5...
19
337
1.329118
train_269464c3ac70c89d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.127, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0.697, 0.127).threePointArc((0, -0.57), (-0.697, 0.127)).threePointArc((0, 0.824), (0.697, 0.127)).close().moveTo(0.122, 0.621).lineTo(0.307, 0.436).lineTo(0.122, 0.251).lineTo(-0.063, 0.436...
7
64
2.083932
train_23c76d30f3c2b01d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, -0.01, 0.297), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.288, 0.629).lineTo(-0.288, 0.242).lineTo(0.465, 0.242).lineTo(0.465, 0.066).lineTo(-0.465, 0.066).lineTo(-0.465, 0.629).lineTo(-0.288, 0.629).close().extrude(2) result = result.union(...
3
48
0.652067
train_538249b75520cf5a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.306, 0, 0.227), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.228, 0.602).lineTo(0.282, 0.127).lineTo(0.602, -0.228).lineTo(0.127, -0.282).lineTo(-0.228, -0.602).lineTo(-0.282, -0.127).lineTo(-0.602, 0.228).lineTo(-0.127, 0.282).lineTo(0.228, 0.60...
12
36
0.841915
train_a515fcdb8da075a8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.39, 0, -0.378), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.61, 0.755).lineTo(0.61, 0).lineTo(-0.61, 0).lineTo(-0.61, 0.755).lineTo(-0.337, 0.755).lineTo(-0.337, 0.272).lineTo(0.337, 0.272).lineTo(0.337, 0.755).lineTo(0.61, 0.755).close().extru...
7
84
0.56032
train_f99e2c7213322248
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.003, -0.002, -0.583), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.788, -0.178).lineTo(0.97, -0.251).lineTo(0.96, -0.289).lineTo(0.772, -0.238).lineTo(0.701, -0.402).lineTo(0.853, -0.525).lineTo(0.832, -0.558).lineTo(0.667, -0.455).lineTo(0.552,...
2
87
2.123237
train_cd45b1a14cfdc1fb
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.095, 0.11).lineTo(0.146, 0.058).lineTo(0.131, 0.037).lineTo(0.112, 0.021).lineTo(0.094, 0.005).lineTo(0.156, -0.058).lineTo(0.105, -0.11).threePointArc((0.086, -0.1), (0.067, -0.091)).lineTo(0...
6
65
0.070825
train_736a95354f702366
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.477, 1.168, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0, 2.167).threePointArc((0.707, 1.874), (1, 1.167)).threePointArc((0.707, 0.462), (0, 0.169)).threePointArc((-0.707, 0.462), (-1, 1.167)).threePointArc((-0.707, 1.874), (0, 2.167)).close...
15
6
2.992668
train_efe12dad901baea8
import cadquery as cq import math result = cq.Workplane('XZ').moveTo(1, 0.453).lineTo(0.748, 0).lineTo(1, -0.453).lineTo(0.389, -0.453).lineTo(0.389, 0.453).lineTo(1, 0.453).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisEnd=(0, 1, 0)) result = result.cut(cq.Workplane(cq.Plane(origin=(0.547, 0, 0), normal=(...
7
37
0.493442
train_0b7a707756ea0cd9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.167, -0.325, 0.364), normal=(0.011, 0.722, -0.692), xDir=(-1, 0.016, 0))).moveTo(-0.516, -0.339).lineTo(-0.195, -0.082).threePointArc((-0.127, 0.27), (0.263, 0.879)).lineTo(0.769, 0.69).lineTo(1.09, 0.948).lineTo(0.769, 0.69).lineTo(0.195, 0.52...
3
33
0.752248
train_6182595e3b655de2
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.009, -0.422, -0.152), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.601, 0.577).threePointArc((0.68, 0.545), (0.712, 0.466)).lineTo(0.712, -0.421).threePointArc((0.667, -0.531), (0.557, -0.577)).lineTo(-0.582, -0.577).threePointArc((-0.674, -0.539...
10
71
0.459108
train_0df287fe9f4ef8c9
import cadquery as cq import math result = cq.Workplane('XY').moveTo(0.009, 0.053).lineTo(0.042, 0.035).lineTo(0.054, 0).lineTo(0.042, -0.035).lineTo(0.009, -0.053).lineTo(-0.027, -0.047).lineTo(-0.051, -0.018).lineTo(-0.051, 0.018).lineTo(-0.027, 0.047).lineTo(0.009, 0.053).close().extrude(1, both=True) result = resul...
8
28
0.015146
train_988a332a42f6e991
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.1, 0.081, -0.299), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.402, 0.534).lineTo(0.402, 0.196).lineTo(0.233, 0.196).lineTo(0.233, 0).lineTo(0.124, 0).lineTo(0.124, 0.534).lineTo(0.402, 0.534).close().revolve(angleDegrees=360, axisStart=(0, 0,...
20
254
0.141733
train_9ca65106f52033ea
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.236), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.758, 1).lineTo(0.758, -1).lineTo(-0.758, -1).lineTo(-0.758, 1).lineTo(0.758, 1).close().extrude(0.471) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, -0.236), normal=(0, 0, 1), xD...
6
27
1.122481
train_0aa8bb9a75b305dc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.059, 0, -0.781), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.705, 1.561).lineTo(0.705, 0.121).lineTo(1, 0.121).lineTo(1, 0).lineTo(0.262, 0).lineTo(0.262, 1.561).lineTo(0.705, 1.561).close().revolve(angleDegrees=360, axisStart=(0, 0, 0), axisE...
5
111
2.001648
train_3519eb63355d7b72
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1.963, -0.056, 0.499), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(1.309, 0.13).lineTo(1.309, -0.147).lineTo(1.012, -0.147).lineTo(1.012, 0.13).threePointArc((1.041, 0.147), (1.071, 0.13)).threePointArc((1.101, 0.114), (1.13, 0.13)).threePointArc(...
9
113
1.072358
train_2429b16012bce3f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.673), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.838, 0.179).threePointArc((0.951, 0.132), (0.998, 0.017)).lineTo(0.998, -0.047).threePointArc((0.96, -0.141), (0.868, -0.179)).lineTo(-0.822, -0.179).threePointArc((-0.948, -0.127), (-0.99...
13
234
1.217662
train_76c20ced7e4e6380
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.185, 0, -0.002), normal=(1, 0, 0), xDir=(0, 1, 0))).moveTo(-0.663, 0.315).lineTo(-0.221, 0.408).lineTo(-0.177, 0.406).lineTo(-0.133, 0.404).lineTo(-0.088, 0.402).lineTo(-0.044, 0.401).lineTo(0, 0.401).lineTo(0.044, 0.401).lineTo(0.088, 0.402).l...
3
73
0.52991
train_4e9ded2d484a5603
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.004, -0.272, -0.512), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.859, 0.258).lineTo(1.077, -0.151).lineTo(0.864, -0.258).lineTo(-0.694, -0.258).lineTo(-1.077, -0.025).lineTo(-1.034, -0.016).lineTo(-0.996, 0.051).lineTo(-0.691, 0.059).lineTo(-0...
9
120
0.845708
train_ca19ef5942f1c9d8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.395, 0.363, -0.03), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.53, 0.475).lineTo(0.53, -0.475).threePointArc((-0.53, 0), (0.53, 0.475)).close().extrude(0.836) result = result.union(cq.Workplane(cq.Plane(origin=(0.555, 0.004, 0.388), normal=(1, ...
9
45
1.122951
train_df7ea205e3c772fd
import cadquery as cq import math result = cq.Workplane('XY').box(2, 1.056, 1.563) result = result.edges().fillet(0.208) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.405).extrude(4, both=True)) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=...
11
100
1.272874
train_a30ba2179cf52201
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.023, 0.375, 0.205), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.548, 0.62).threePointArc((0.569, 0.612), (0.579, 0.592)).lineTo(0.579, 0.43).threePointArc((0.562, 0.397), (0.525, 0.383)).lineTo(0.248, 0.383).threePointArc((0.169, 0.355), (0.136,...
6
107
0.952895
train_975d68532388693e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.199, 0.046, -0.072), normal=(0.47, 0.669, 0.576), xDir=(-0.818, 0.575, 0))).moveTo(0.493, 0.254).lineTo(0.493, 0.204).threePointArc((0.481, 0.188), (0.451, 0.181)).lineTo(0.139, 0.181).threePointArc((0.095, 0.171), (0.076, 0.147)).lineTo(0.076, ...
10
233
1.104932
train_11278efcdbd06c37
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.085, 0.356, 0.244), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.141, 0.59).threePointArc((-0.071, 0.643), (0.018, 0.56)).lineTo(-0.083, 0.15).lineTo(0.233, 0.255).threePointArc((0.321, 0.167), (0.271, 0.088)).lineTo(-0.054, -0.026).lineTo(0.14...
13
258
0.269808
train_4c90637314c23c15
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.802), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(1.01).extrude(1.042) result = result.cut(cq.Workplane(cq.Plane(origin=(1.01, 0, -0.802), normal=(0, 0, 1), xDir=(1, 0, 0))).pushPoints([(0, 0), (-0.135, 0.506), (-0.504, 0.875), (-1.01, 1.01...
5
54
3.08515
train_b70c0fed7d88f35d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.097, 0.199, 0.106), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.428, 0.603).threePointArc((-0.339, 0.565), (-0.301, 0.476)).lineTo(-0.301, 0.195).threePointArc((-0.243, 0.058), (-0.106, 0)).lineTo(0.753, 0).threePointArc((0.858, -0.045), (0.903...
21
240
0.942278
train_1c9faa287c673c56
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.097, -0.033, -0.973), normal=(0, -1, 0), xDir=(1, 0, 0))).moveTo(0.475, 1.86).lineTo(0.475, 1.524).lineTo(0.854, 1.524).lineTo(0.854, 1.267).lineTo(0.903, 1.267).lineTo(0.903, 0.318).lineTo(0.821, 0.318).lineTo(0.821, 0).lineTo(0, 0).lineTo(0, 1...
8
76
2.68249