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_d8fea0ca84e87f16
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.121, -0.012, -0.766), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.177, 0.004).threePointArc((-0.148, 0.009), (-0.119, 0.012)).threePointArc((-0.075, 0.018), (-0.031, 0.021)).threePointArc((-0.036, 0.02), (-0.041, 0.018)).threePointArc((-0.02, ...
2
16
0.001481
train_934480726ffed072
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.254, 0.086, -0.068), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, 1.312).lineTo(-0.45, 1.052).lineTo(-0.45, -0.209).lineTo(0.45, -0.209).lineTo(0.45, 1.052).lineTo(0, 1.312).close().workplane(offset=0.207).moveTo(0, 1.242).lineTo(-0.408, 1.007)...
18
108
0.589191
train_afb26657c7ad0751
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.684, -0.536, -0.075), normal=(0, 1, 0), xDir=(0, 0, 1))).circle(0.022).sweep(cq.Workplane('YZ').spline([(-0.568, -0.112), (-0.558, -0.112), (-0.548, -0.11), (-0.538, -0.103), (-0.527, -0.09), (-0.517, -0.083), (-0.507, -0.081), (-0.497, -0.081)]...
18
167
0.396037
train_fc4bb561e3301c8b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.156, 0.039, -0.334), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.4, 0.289).extrude(0.219) result = result.union(cq.Workplane(cq.Plane(origin=(0.089, 0.015, -0.118), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.02).extrude(0.038)) result = result.ed...
10
81
0.066024
train_76358a1de00d129a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.209, 0.123, -0.124), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.334, 1.753).extrude(0.2) result = result.union(cq.Workplane(cq.Plane(origin=(0.209, 0.123, 0.076), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.046, 0.556).lineTo(0.054, 0.539).lineT...
14
113
0.384712
train_26687189e01b303a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.919), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.807, 2).extrude(1.838) result = result.cut(cq.Workplane(cq.Plane(origin=(0.401, 0.715, 0.046), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.503, 0.599).extrude(0.319)) result = result.cut(cq.Wo...
5
17
5.971018
train_2a7a0cad42d51099
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, -0.251), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.147).extrude(0.502) result = result.cut(cq.Workplane(cq.Plane(origin=(0, 0.251, -1.551), normal=(1, 0, 0), xDir=(0, 1, 0))).circle(0.083).extrude(0.937)) result = result.cut(cq.Workplane(...
15
80
0.798426
train_192ce7c18390ded3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.216, -0.014, 0.555), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.377, 0.437).threePointArc((0.545, 0.19), (0.567, -0.108)).lineTo(0.19, -0.545).lineTo(-0.377, -0.437).threePointArc((-0.545, -0.19), (-0.567, 0.108)).threePointArc((-0.437, 0.377...
18
117
0.670558
train_c13e70ba5147b90f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.015, 0.079), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, -0.282).threePointArc((-0.518, -0.214), (-1, -0.014)).lineTo(-1, 0.282).threePointArc((0, -0.032), (1, 0.282)).lineTo(1, -0.014).lineTo(1, -0.185).lineTo(1, -0.282).lineTo(0.789, -0....
19
171
0.103412
train_ad3a50e838db3cf3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.221, 1, 0.153), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.604).workplane(offset=0.576).circle(0.593).workplane(offset=0.433).circle(0.514).workplane(offset=0.537).circle(0.46).workplane(offset=0.465).circle(0.57).loft() result = result.edges(...
16
86
1.302269
train_671233d105905135
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.158, -0.031), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.49, -0.279).threePointArc((0, -0.769), (-0.49, -0.279)).lineTo(-0.49, 0.594).threePointArc((0, 1.084), (0.49, 0.594)).lineTo(0.49, -0.279).close().extrude(2) result = result.edges()....
4
24
2.988167
train_55ed72208be88c89
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.396, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0, 1.158).threePointArc((-0.224, 1.095), (-0.383, 0.925)).threePointArc((-0.419, 0.829), (-0.431, 0.728)).lineTo(-0.431, 0.065).threePointArc((-0.424, -0.011), (-0.405, -0.084)).threePointA...
18
92
1.002294
train_cba41a8b37dfface
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.192, 0, -0.634), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.616, 1.67).extrude(1.268) result = result.cut(cq.Workplane(cq.Plane(origin=(0.57, -0.133, 0.178), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.537, 0.726).extrude(0.468)) result = result.ed...
6
60
3.150792
train_9188684fddaca349
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.618, -0.609, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.661, 1.526).lineTo(0.004, 1.74).lineTo(-0.661, -0.307).lineTo(-0.004, -0.521).lineTo(0.661, 1.526).close().workplane(offset=0.265).moveTo(0.623, 1.473).lineTo(0.003, 1.674).lineTo(-0....
7
35
0.79417
train_65f29b69ee6066ce
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.049, -0.057, 0.138), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.463, -0.973).lineTo(-1.058, -0.973).lineTo(-0.474, -0.351).threePointArc((-0.485, -0.104), (-0.498, 0.145)).lineTo(0.281, 0.973).lineTo(1.058, 0.145).threePointArc((1.044, -0.10...
5
52
1.430382
train_553c6e6cee0b09e7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.799, -0.82, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.492, 0.201).lineTo(-0.492, -0.201).lineTo(0.492, -0.201).lineTo(0.492, 0.201).lineTo(-0.492, 0.201).close().sweep(cq.Workplane('XY').spline([(0.799, -0.563), (1.484, -0.74), (2.168, -...
1
6
0.312907
train_aacc41d641d8bb72
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.667, -0.126, -0.315), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.333, 0.023).lineTo(-0.333, 0.023).lineTo(0.333, 0.023).close().extrude(0.254) result = result.union(cq.Workplane(cq.Plane(origin=(0.849, -0.016, -0.075), normal=(0, 0, 1), xDir=(1...
3
16
0.001872
train_a41ed970e83744a9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.066, -0.748, -0.013), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(0.323, 0.313).lineTo(-0.01, 0.313).lineTo(-0.323, 0).lineTo(-0.323, -0.313).lineTo(0.323, -0.313).lineTo(0.323, 0.313).close().sweep(cq.Workplane('YZ').spline([(-0.99, -0.373), (-0....
10
42
0.532412
train_3de28b854747ac13
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0.001), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.628, 0.687).lineTo(1.001, 0.544).lineTo(0.987, 0.368).lineTo(-0.542, 0.503).lineTo(-0.628, 0.51).lineTo(-0.865, 0.531).lineTo(-0.952, 0.406).lineTo(-0.901, 0.297).lineTo(-0.664, 0.276).li...
7
62
1.2349
train_91b3e094456aa509
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.155, -0.158, -0.125), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.699, -0.657).lineTo(0.687, -0.643).lineTo(0.677, 0.667).lineTo(-0.696, 0.678).close().moveTo(-0.062, -0.002).lineTo(-0.139, 0.132).lineTo(-0.294, 0.134).lineTo(-0.37, 0.002).lin...
12
250
0.436235
train_3ea02b346c955ada
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.413, -0.482), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.343, 1.174).extrude(0.714) result = result.union(cq.Workplane(cq.Plane(origin=(0.106, 0.276, -0.255), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.5, 0.249).extrude(0.234)) result = result...
9
108
0.412264
train_be7015d61437a7e4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.254, -0.084), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.742, 1.461).extrude(0.945) result = result.union(cq.Workplane(cq.Plane(origin=(-0.313, -0.109, -0.387), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.768, 0.255).extrude(0.331)) result = res...
16
109
1.717685
train_75e66ffd78064070
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.9, -0.39), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.215, 1.461).lineTo(0.215, 0.683).lineTo(0.994, 0.683).lineTo(0.994, 0.144).lineTo(0.215, 0.144).lineTo(0.215, 0.511).lineTo(0.043, 0.511).lineTo(0.043, 0.683).lineTo(-0.994, 0.683).lineT...
16
65
1.206494
train_7d0938c9ed7aa551
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.145, -0.052, -0.062), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.813, 0.657).extrude(0.85) result = result.faces('<X').shell(-0.068) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.239, -0.055, 0.126), normal=(-1, 0, 0), xDir=(0, 0, 1))).mo...
15
82
0.304068
train_7bacaf081fa37190
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.017, -0.003, 0.067), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.074, 0).lineTo(0.267, 0).lineTo(0.267, -0.148).lineTo(0.86, -0.148).lineTo(0.86, 0.148).lineTo(-0.86, 0.148).lineTo(-0.86, -0.148).lineTo(-0.119, -0.148).lineTo(-0.119, 0).lineTo...
7
39
0.062982
train_47ec397674e71467
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.111, -0.241, 0.885), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.008, 0.037).lineTo(0.039, 0.037).lineTo(0.05, 0.007).lineTo(0.066, -0.037).lineTo(0.037, -0.037).lineTo(0.02, 0.007).lineTo(-0.066, 0.007).lineTo(-0.056, 0.037).lineTo(-0.008, 0.0...
1
34
0.001856
train_bb6aa285fd570425
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.637, 0.244, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.726, -0.136).threePointArc((-0.785, -0.251), (-0.826, -0.374)).lineTo(-1, -0.374).threePointArc((-0.967, -0.253), (-0.92, -0.136)).threePointArc((-0.692, 0.172), (-0.366, 0.374)).lineT...
4
19
0.064346
train_70f8a88912dba611
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.083, 0.045).lineTo(-0.087, 0.021).lineTo(-0.229, 0.021).lineTo(-0.241, -0.011).threePointArc((-0.163, 0.002), (-0.087, -0.022)).threePointArc((0, 0.002), (0.087, -0.022)).threePointArc((0.194,...
1
19
0.019371
train_72c456f0b02d73ab
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.333, 0, 0.535), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.465, -0.596).lineTo(-0.465, 1.232).lineTo(0.434, 1.232).lineTo(0.434, 1.262).lineTo(0.465, 1.262).lineTo(0.465, -0.596).lineTo(0.465, -0.566).lineTo(0.434, -0.566).lineTo(0.434, -0.59...
12
61
2.948465
train_b30c32664c837d31
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.078, 0.385, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.376, -0.049).lineTo(0.376, -0.049).lineTo(0.376, 0.746).lineTo(-0.376, 0.746).lineTo(-0.376, -0.049).close().extrude(0.783) result = result.edges().fillet(0.09) result = result.union(...
9
85
1.24395
train_5bea2e550cb17015
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.085, 1), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0, -0.685).lineTo(-0.685, -0.685).lineTo(-0.685, 0.685).lineTo(0.685, 0.685).lineTo(0.685, -0.685).lineTo(0, -0.685).close().extrude(2) result = result.edges().chamfer(0.369) result = result...
12
56
2.401172
train_dd8e7b026b9f7eac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.071, 0, 0.332), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.412, 0.53).threePointArc((0.182, 0.141), (0.412, -0.53)).lineTo(0.412, 0.321).lineTo(-0.412, 0.53).close().sweep(cq.Workplane('XZ').spline([(0.071, -0.603), (0.069, -0.564), (-0.025, -...
1
5
0.071222
train_a4772ffb92f5254e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.087, 0, 0.331), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.19, -0.535).lineTo(0.252, -0.428).lineTo(0.823, -0.428).lineTo(0.823, 0.143).lineTo(0.684, 0.535).lineTo(0.399, 1.029).lineTo(-0.095, 0.744).lineTo(-0.259, 0.648).lineTo(-0.077, 0.332)...
22
89
1.421126
train_3c0c6058165062f1
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.068, 0.071, -0.3), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.7, 0.004).lineTo(-0.442, 0.034).lineTo(0.7, 0.034).lineTo(0.7, 0.095).lineTo(-0.445, 0.095).lineTo(-0.7, 0.066).lineTo(-0.7, 0.004).close().extrude(0.141) result = result.edges().c...
13
85
0.009348
train_80ab5ee23b2a0388
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.42, 0, -0.367), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.967, 2).extrude(0.734) result = result.cut(cq.Workplane(cq.Plane(origin=(0.637, -0.084, -0.492), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.051).extrude(0.88)) result = result.union(resu...
3
8
2.640681
train_a1aa72175f9e01c0
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.023, 0.012, -0.25), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.977, 0.004).lineTo(0.519, 0.862).lineTo(-0.495, 0.855).lineTo(-1.023, -0.015).lineTo(-0.503, -0.887).lineTo(0.519, -0.876).close().moveTo(-0.148, 0.001).lineTo(-0.242, 0.167).lineTo...
15
158
0.337335
train_7e05cbc88667407e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.191, 0.129, 0.126), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.578, 0.258).threePointArc((0.782, 0.463), (0.578, 0.667)).lineTo(-0.374, 0.667).lineTo(-0.374, 0.871).threePointArc((-0.782, 0.463), (-0.374, 0.054)).lineTo(0.578, 0.054).lineTo(0....
23
78
0.871081
train_db4c58a81fce7138
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.572, -0.563, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.002, 1.072).lineTo(1, 0.072).lineTo(-1, 0.072).lineTo(-0.002, 1.072).close().extrude(0.973) result = result.faces('>Z').shell(-0.042) result = result.union(cq.Workplane(cq.Plane(orig...
4
20
0.280571
train_dcdfea9bccd861c3
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.124, -0.532), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(2, 1.233).extrude(1.002) result = result.union(cq.Workplane(cq.Plane(origin=(0 + 0.295 * math.cos(0.628 + 2 * math.pi * 0 / 4), 0.377 + 0.295 * math.sin(0.628 + 2 * math.pi * 0 / 4), 0.46...
33
52
2.313753
train_2a52910063e69f14
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.554, 1, -0.03), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.062, -0.022).lineTo(-0.05, 0.043).lineTo(0.012, 0.065).lineTo(0.062, 0.021).lineTo(0.05, -0.044).lineTo(0.049, -0.044).lineTo(-0.013, -0.065).lineTo(-0.062, -0.022).close().sweep(cq.Wo...
9
38
0.013344
train_90ef62a2a1c991cf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.525, -1, 0), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.423, 0.032).lineTo(-0.423, 1.018).lineTo(0.423, 1.018).lineTo(0.423, 0.666).lineTo(0.141, 0.666).lineTo(0.141, 0.032).lineTo(-0.423, 0.032).close().extrude(1.553) result = result.edges()...
26
147
0.626708
train_91ded678a0cfc7d5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.308, 0.354), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.621, 0.659).extrude(0.646) result = result.union(cq.Workplane(cq.Plane(origin=(-0.21, -0.312, 0.629), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.055, 0.652).extrude(0.086)) result = result...
5
22
0.237712
train_d5c87d5d23ef24ad
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.346, 0.084, 0), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.261, -0.32).lineTo(-0.261, 0.821).lineTo(0.261, 0.821).lineTo(0.261, -0.32).lineTo(-0.261, -0.32).close().extrude(0.564) result = result.edges().fillet(0.023) result = result.cut(cq.W...
19
12
0.001617
train_09c854885b4aa9ee
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.224, -0.17), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.479).workplane(offset=0.903).circle(0.465).workplane(offset=1.097).circle(0.511).loft() result = result.edges().fillet(0.328) result = result.union(cq.Workplane(cq.Plane(origin=(0.197...
13
64
1.006627
train_68965ee8abe921a7
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.001, -0.096), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(0.389, 0.126).lineTo(0.389, 0.319).lineTo(-0.197, 0.319).lineTo(-0.197, 0.905).threePointArc((-0.293, 1.002), (-0.389, 0.905)).lineTo(-0.389, 0.319).lineTo(-0.389, 0.126).lineTo(-0...
4
54
0.549403
train_e7e35052a1d39d58
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.137, 0.412, -0.153), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.826, 0.867).extrude(0.448) result = result.union(cq.Workplane(cq.Plane(origin=(-0.018, 0.515, -0.214), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.034).extrude(0.064)) result = resu...
12
57
0.4333
train_6674353cd6deaf7c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.606, -0.013, 0.277), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.105, 0.06).threePointArc((0, 0.165), (-0.105, 0.06)).lineTo(-0.105, -0.034).threePointArc((0, -0.139), (0.105, -0.034)).lineTo(0.105, 0.06).close().extrude(0.526) result = result....
6
61
0.105571
train_97a9db56c27d7073
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.056, 0, -0.447), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.887, 1.536).extrude(0.125) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.456, -0.108, -0.379), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.553, 1.844).extrude(0.027)) result = resu...
9
170
0.503129
train_90fde93716478d78
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.507, -0.036), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.02, -0.458).lineTo(0.258, -0.458).lineTo(0.258, 0.176).lineTo(0.292, 0.186).lineTo(0.184, 0.356).lineTo(0.165, 0.386).lineTo(0.097, 0.493).lineTo(-0.292, 0.493).lineTo(-0.125, 0.386)...
1
15
0.313455
train_0ffa12245cd2b163
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.233, -0.267, -0.35), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.363, 0.951).threePointArc((0.194, 0.882), (0.124, 0.713)).lineTo(-0.202, 0.713).threePointArc((-0.601, -0.252), (0.363, 0.148)).lineTo(0.363, 0.474).threePointArc((0.532, 0.544), ...
5
41
0.821119
train_7369f893293c9410
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.143, 0, -0.174), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.562, 0.213).lineTo(0.105, 0.346).lineTo(-0.562, 0.346).lineTo(-0.468, 0.857).lineTo(0.02, 0.857).lineTo(0.562, 0.213).close().revolve(angleDegrees=270, axisStart=(0, 0), axisEnd=(0.4...
10
56
0.722989
train_b4779340beba0c88
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.409, -0.396, 0.447), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.302, 0.291).lineTo(-0.302, 0.857).lineTo(0.302, 0.857).lineTo(0.302, 0.178).lineTo(-0.302, 0.178).lineTo(-0.302, 0.291).close().revolve(angleDegrees=270, axisStart=(-0.302, 0.29...
16
145
0.548477
train_b94d7f1a843fefdf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.394, -0.368, -0.2), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.446, 0.618).lineTo(0.446, -0.632).lineTo(-0.446, -0.632).lineTo(-0.446, 0.261).lineTo(-0.089, 0.261).lineTo(-0.089, 0.618).lineTo(0.339, 0.618).lineTo(0.339, 0.833).lineTo(0.089, ...
9
63
0.50114
train_d7a11de88ef1046c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.397, -0.487, -0.476), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.513).sweep(cq.Workplane('XZ').spline([(0.397, -0.476), (0.398, -0.125), (0.241, 0.158), (-0.012, 0.26), (-0.26, 0.14), (-0.406, -0.153), (-0.39, -0.504)])) result = result.edges(...
6
10
3.049367
train_09316d2529df9342
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1, -0.006, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(0.824).workplane(offset=0.969).circle(0.854).workplane(offset=1.031).circle(0.878).loft() result = result.edges().fillet(0.414) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.1, -0.41...
9
43
2.574668
train_4d8f9f9d4b4c62a5
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.073, 0.173), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.909, 0.461).threePointArc((-0.987, 0.493), (-0.954, 0.415)).lineTo(-0.954, -0.448).threePointArc((-0.922, -0.461), (-0.909, -0.493)).lineTo(0.909, -0.493).threePointArc((0.922, -0.46...
5
25
0.549762
train_9e41cceb5f872362
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.553, -0.195), normal=(1, 0, 0), xDir=(0, 0, 1))).circle(0.273).sweep(cq.Workplane('XY').spline([(-0.795, -0.784), (-0.477, -0.773), (-0.159, -0.677), (0.159, -0.428), (0.477, -0.333), (0.795, -0.321)])) result = result.edges().chamfer(0.039)...
17
128
0.377379
train_90a05bcd273ac005
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.03, -0.228, -0.994), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.275, 1.544).extrude(1.643) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.229, -0.198, -1.012), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.621, 0.243).extrude(0.716)) result = ...
25
368
2.028996
train_f660e29777e60397
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(1.253, 0, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.534, 1.253).lineTo(0.534, 1.253).lineTo(0.534, 0.308).threePointArc((0.38, 0.28), (0.225, 0.262)).threePointArc((0, 0.252), (-0.225, 0.262)).threePointArc((-0.38, 0.28), (-0.534, 0.308))....
7
113
2.114439
train_65158e118f812b55
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.421, -0.037, -0.144), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.555, 0.605).threePointArc((-0.128, -0.078), (0.555, -0.505)).threePointArc((0.329, -0.012), (0.464, 0.514)).threePointArc((-0.062, 0.379), (-0.555, 0.605)).close().extrude(1.138...
18
89
0.446332
train_106b3ed101cee222
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.355, -0.305, -0.144), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.423, -0.691).lineTo(0.424, -0.695).lineTo(0.418, 0.708).lineTo(-0.405, 0.697).close().moveTo(0.096, 0.003).lineTo(0.049, 0.085).lineTo(-0.05, 0.085).lineTo(-0.097, 0.001).lineTo...
9
104
0.235141
train_b33541884244ddfb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -1, -0.098), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(-0.176, -0.301).threePointArc((0, 0.301), (0.176, -0.301)).lineTo(0.176, -0.256).lineTo(0.176, -0.246).threePointArc((0, 0.256), (-0.176, -0.246)).lineTo(-0.176, -0.256).lineTo(-0.176, -0....
3
17
0.119878
train_591ac086d540bf2d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.178, 0.163), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.187, 0.242).lineTo(-0.518, 0.573).lineTo(0.518, 0.573).lineTo(0.187, 0.242).lineTo(0.187, -0.242).lineTo(0.518, -0.573).lineTo(-0.518, -0.573).lineTo(-0.187, -0.242).lineTo(-0.187, 0....
8
42
0.229312
train_a99ef686c3ea65c4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.001, -0.027, -0.138), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.037, 1.027).lineTo(-0.037, -0.973).lineTo(0.037, -0.973).lineTo(0.037, 1.027).lineTo(-0.037, 1.027).close().extrude(0.088) result = result.union(cq.Workplane(cq.Plane(origin=(0....
2
8
0.013083
train_ba2beba4bff63271
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.177, 0.297, -0.239), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.76, -0.002).lineTo(0.243, 0.703).lineTo(-0.584, 0.441).lineTo(-0.607, -0.445).lineTo(0.246, -0.711).close().moveTo(0.134, 0.224).lineTo(0.095, 0.321).lineTo(0, 0.359).lineTo(-0.09...
10
102
0.398337
train_c3e4095e66998c60
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.127, -0.47, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.53, 0.906).extrude(1.009) result = result.cut(cq.Workplane(cq.Plane(origin=(0.002, -0.636, -0.509), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.091).extrude(0.532)) result = result.cut(...
16
83
1.903488
train_618e22baddf38dcb
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.351, -0.162, -0.515), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.941, 1.29).extrude(0.904) result = result.union(cq.Workplane(cq.Plane(origin=(-0.902, 0.031, -0.11), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.197, 0.475).extrude(0.189)) result = ...
18
74
1.147247
train_69bc2212a91eefff
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.004, -0.015, -0.133), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.745, 1.007).lineTo(0.774, 1.015).lineTo(0.75, 0.664).lineTo(0.165, 0.652).lineTo(0.177, -0.985).lineTo(-0.172, -0.98).lineTo(-0.189, 0.669).lineTo(-0.765, 0.667).close().moveTo(...
7
67
0.235806
train_4eda2d8b0d21726f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.627, 0, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).circle(1).workplane(offset=0.712).circle(0.47).workplane(offset=0.541).circle(0.073).loft() result = result.faces('<X').shell(-0.093)
2
5
0.645394
train_be20fee1617edc50
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.089, 0, 0.269), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.25, 1).lineTo(-0.25, 1).lineTo(-0.25, -1).lineTo(-0.167, -1).lineTo(-0.167, -0.667).lineTo(0.25, -0.667).lineTo(0.25, 1).close().extrude(0.333) result = result.faces('>Z').shell(-0.01...
4
79
0.084712
train_50f6d77cf07b3a8b
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.133, 0.078, 0.876), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.039, 0.337).lineTo(-0.039, -0.295).lineTo(0.039, -0.295).lineTo(0.039, 0.337).lineTo(-0.039, 0.337).close().revolve(angleDegrees=270, axisStart=(-0.039, 0.337), axisEnd=(-0.039, 0....
19
252
0.060162
train_078e4b4eec7eaaaf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.489, 0, 0.022), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.054, 0.017).threePointArc((-0.027, -0.01), (-0.054, -0.036)).lineTo(0.035, -0.036).lineTo(0.035, -0.01).threePointArc((0.054, 0.036), (0.008, 0.017)).lineTo(-0.054, 0.017).close().sw...
6
20
0.008075
train_79b44af752deb3e4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.441, -0.352, -0.192), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.404, 1.288).lineTo(-0.404, -0.639).threePointArc((0, -0.575), (0.404, -0.639)).lineTo(0.404, 1.288).lineTo(0.133, 1.288).lineTo(-0.133, 1.288).lineTo(-0.404, 1.288).close().extr...
19
96
0.839989
train_260acb432e1b08c8
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, 0.174, -0.117), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.286, 1.652).extrude(0.234) result = result.cut(cq.Workplane(cq.Plane(origin=(0.259, 0.235, -0.035), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.207, 0.567).extrude(0.156)) result = result....
9
38
0.369711
train_1b7e1302e48f3252
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.877, -0.031), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.033, 0.045).lineTo(0.033, -0.045).lineTo(0.047, -0.045).lineTo(0.039, -0.059).lineTo(0.039, -0.123).lineTo(0.148, -0.123).lineTo(0.148, -0.045).lineTo(0.124, -0.045).lineTo(0.124, 0....
1
20
0.002462
train_5b92de7611cc3c86
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.261, 0.189, -0.159), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.011, 0.046).lineTo(0.011, 0.046).lineTo(0.011, -0.046).lineTo(-0.011, -0.046).lineTo(-0.011, 0.046).close().transformed(offset=(0.093, 0, 0.054), rotate=(20, 0, 0)).moveTo(-0.004...
9
180
0.74328
train_b67bcafe2899d460
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.032, -0.05, -1), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.447, 0.407).extrude(0.736) result = result.union(cq.Workplane(cq.Plane(origin=(0.087, -0.164, -0.349), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.104, 0.058).extrude(1.349)) result = res...
8
80
0.156475
train_cb345999c3765274
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.061, -1, -0.12), normal=(0, -1, 0), xDir=(0, 0, 1))).moveTo(0, -0.148).lineTo(0.148, 0).lineTo(0.295, 0).lineTo(0.295, 0.148).lineTo(0, 0.148).lineTo(-0.148, 0).lineTo(-0.148, 0.148).lineTo(-0.295, 0.148).lineTo(-0.295, -0.148).lineTo(0, -0.148)...
20
38
0.187959
train_3711a3772d41541c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.179, 0.206, -0.506), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.015, -0.138).lineTo(0.002, -0.138).lineTo(0.002, -0.144).lineTo(0.015, -0.144).lineTo(0.015, -0.138).lineTo(0.046, -0.138).lineTo(0.055, -0.129).lineTo(0.055, 0.002).lineTo(0.03...
15
125
0.389072
train_6f53892f131559be
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.301, 0.631, -0.025), normal=(0, 1, 0), xDir=(0, 0, 1))).moveTo(-0.031, -0.699).lineTo(-0.155, 0.693).lineTo(-0.093, 0.699).lineTo(0.155, -0.682).lineTo(-0.031, -0.699).close().sweep(cq.Workplane('XY').spline([(0.301, 0.411), (0.622, 0.499), (0.9...
13
52
0.125661
train_cfda64a64fce6093
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.122, 1, 0), normal=(0, -1, 0), xDir=(0, 0, 1))).circle(0.299).workplane(offset=0.596).circle(0.287).workplane(offset=0.727).circle(0.272).workplane(offset=0.677).circle(0.315).loft() result = result.edges().chamfer(0.283) result = result.union(...
3
11
0.458367
train_c54d45c711b6dfba
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.009, 0, -0.462), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.494, 0.338).extrude(0.699) result = result.union(cq.Workplane(cq.Plane(origin=(-0.009, 0, 0.215), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.396, 0.227).extrude(0.355)) result = result.u...
10
71
0.1566
train_26938098f6281171
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.414, -0.463, 0), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-1, 1.071).lineTo(-0.5, 1.071).lineTo(-0.5, 0.571).lineTo(0, 1.071).lineTo(1, 1.071).lineTo(0.5, 0.571).lineTo(1, 0.571).lineTo(1, 0.071).lineTo(-1, 0.071).lineTo(-1, 1.071).close().ext...
9
88
2.148738
train_e86435f0befae83e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.139, -0.042, -0.835), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.157, 0.132).lineTo(0.078, 0.178).threePointArc((0, 0.199), (-0.078, 0.178)).lineTo(-0.157, 0.132).lineTo(-0.157, 0.042).lineTo(-0.157, -0.049).lineTo(-0.078, -0.094).threePointArc...
25
340
0.055734
train_2ae0ef9c79344f38
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.108, 0.011, -0.472), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.174, 0.078).extrude(0.164) result = result.union(cq.Workplane(cq.Plane(origin=(-0.135, -0.004, -0.329), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.044, 0.018).extrude(0.28)) result =...
5
65
0.111667
train_be55d664d7b6f52d
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.015, 0.015, 0.023), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.781, -0.338).lineTo(-0.391, -1.015).lineTo(-0.781, -0.338).lineTo(-0.781, 1.015).lineTo(0, 1.015).lineTo(0.781, -0.338).close().extrude(0.347) result = result.edges().fillet(0.079)...
26
92
1.111507
train_acd676462d8839cf
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.127, -0.085, 0.218), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(-0.233, 0.807).threePointArc((-0.456, 0.779), (-0.664, 0.697)).lineTo(-0.743, 0.778).threePointArc((-0.838, 0.779), (-0.839, 0.685)).lineTo(-0.778, 0.622).threePointArc((-0.873, -0....
10
52
0.273704
train_0f81f785c348fe0a
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.06, 1.06).extrude(2) result = result.faces('>Z').shell(-0.124) result = result.edges().chamfer(0.047)
3
51
1.000772
train_ed23512e4c52689a
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.05, -0.227), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.236, 1.341).extrude(0.399) result = result.union(cq.Workplane(cq.Plane(origin=(0, -0.05, 0.168), normal=(0, 0, 1), xDir=(1, 0, 0))).circle(0.359).extrude(0.06)) result = result.union(cq....
10
60
0.572091
train_2a264b3846b900ac
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.045, 0.166, 1), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(-0.298, 0.171).lineTo(-0.277, -0.143).threePointArc((-0.213, -0.172), (-0.146, -0.194)).threePointArc((-0.06, -0.209), (0.028, -0.211)).threePointArc((0.04, -0.211), (0.052, -0.21)).line...
4
39
0.262065
train_ffa8675cedba37d9
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.161, -0.108, -0.137), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.138, 0.825).extrude(0.27) result = result.cut(cq.Workplane(cq.Plane(origin=(-0.081, -0.314, 0.003), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.365, 0.09).extrude(0.029)) result = re...
32
151
0.282282
train_29ae8ddb4f5abc3f
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.843, -0.158, 0.456), normal=(0, 0, -1), xDir=(1, 0, 0))).circle(0.157).transformed(offset=(0.168, -0.24, 0.063), rotate=(60, 0, 0)).circle(0.105).transformed(offset=(0.337, -0.119, 0.057), rotate=(60, 0, 0)).circle(0.232).transformed(offset=(0....
3
6
0.054183
train_4941665f88a7ec57
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.088, 0.464, -0.689), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.065, 1.072).extrude(1.181) result = result.union(cq.Workplane(cq.Plane(origin=(-0.341, 0.279, 0.482), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(0.093, 0.149).extrude(0.208)) result = ...
12
102
1.406874
train_daa0f4cbcdc88492
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.208, -0.149, -0.418), normal=(0, 0, 1), xDir=(1, 0, 0))).rect(1.585, 0.716).extrude(0.835) result = result.faces('>Z').shell(-0.054) result = result.union(cq.Workplane(cq.Plane(origin=(-0.111, 0.342, -0.204), normal=(0, 0, 1), xDir=(1, 0, 0)))....
6
77
0.330425
train_990cc74744ed3038
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-1, -0.021, 0.027), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(0.116, 0.415).threePointArc((0, 0.284), (-0.115, 0.415)).lineTo(-0.192, -0.197).threePointArc((-0.194, -0.222), (-0.192, -0.247)).threePointArc((0.003, -0.415), (0.193, -0.24)).threePo...
9
72
0.181077
train_2fa81d20e668699e
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0, -0.134, -0.762), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(0.473, 0.296).lineTo(-0.473, 0.296).lineTo(-0.365, 0.188).threePointArc((-0.284, 0.154), (-0.365, 0.12)).lineTo(-0.473, 0.012).lineTo(0.473, 0.012).lineTo(0.365, 0.12).lineTo(0.331, 0.1...
10
71
0.086689
train_94688158a1fcb191
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.242, -0.196, -0.151), normal=(-1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.263, -0.119).lineTo(-0.368, 0.064).lineTo(-0.067, 0.248).lineTo(0.368, 0.022).lineTo(0.368, -0.119).lineTo(-0.263, -0.119).close().extrude(0.631) result = result.edges().fillet(...
22
187
0.522656
train_d8b02677920c26e4
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(0.005, 0.005, 0.142), normal=(0, 0, -1), xDir=(1, 0, 0))).moveTo(0.071, -0.993).lineTo(0.03, -0.993).lineTo(0.03, 0.172).lineTo(0.051, 0.172).lineTo(-0.205, 0.277).lineTo(-0.31, 0.533).threePointArc((-0.411, 0.723), (-0.205, 0.787)).lineTo(0.051, ...
12
97
0.712101
train_78cac5ba2ba76bbc
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.43, 0.605, -0.077), normal=(1, 0, 0), xDir=(0, 0, 1))).moveTo(-0.33, 0.504).lineTo(-0.434, 0.547).lineTo(-0.434, 0.188).lineTo(-0.18, -0.066).lineTo(0.18, -0.066).lineTo(0.434, 0.188).lineTo(0.434, 0.547).lineTo(0.33, 0.504).lineTo(0.137, 0.698...
32
483
0.284265
train_425d7e20d935186c
import cadquery as cq import math result = cq.Workplane(cq.Plane(origin=(-0.007, 0, -0.061), normal=(0, 0, 1), xDir=(1, 0, 0))).moveTo(1.007, -0.02).lineTo(0.512, 0.842).lineTo(-0.53, 0.877).lineTo(-0.993, 0.026).lineTo(-0.498, -0.877).lineTo(0.532, -0.842).close().moveTo(-0.595, -0.203).lineTo(-0.051, -0.199).lineTo(-...
15
105
0.215751