uilleann

3d printable Uilleann bagpipes
git clone https://git.woozle.org/neale/uilleann.git

uilleann / pickett-d
Neale Pickett  ·  2025-11-27

sigil.scad

 1use <MCAD/regular_shapes.scad>
 2
 3module sigil(d, stamp, rot=0) {
 4  // Sigil
 5  translate([0, 0, 4]) intersection() {
 6    cylinder_tube(50, d/2+0.5, 1);
 7    union() {
 8      rotate([90, 0, -90]) {
 9        linear_extrude(height=d, convexity=4) {
10          translate([-4, 0]) import("ruby.svg");
11          // XXX: when this is in openscad prod, add center to import and remove translate
12        }
13      }
14      rotate([90, 90, -160]) {
15        linear_extrude(height=d, convexity=10) {
16          text(stamp, size=2, halign="right", valign="center");
17        }
18      }
19    }
20  }
21}