uilleann

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

Neale Pickett  ·  2026-04-05

stock.scad

 1include <BOSL2/std.scad>
 2
 3module stock(h, id, inset_h=0, inset_z=0) {
 4  inset_h = inset_h ? inset_h : 10;
 5  inset_z = inset_z ? inset_z : 15;
 6  od = id + 4.8;
 7
 8  diff() tube(h=h, id=id, od=od, rounding2=1, anchor=BOTTOM) {
 9    tag("remove") up(10) attach(BOTTOM) tube(h=inset_h, id=od-1.2, wall=5, chamfer=1);
10    tag("remove") down(10) attach(TOP) intersection() {
11      tube(h=10, id=od-0.4, wall=8);
12      xrot(90) linear_extrude(height=20, convexity=4) up(8) import("ruby.svg", center=true);
13    }
14  }
15}