Added kingpins and got them in the right places!

This commit is contained in:
Simon Brooke 2026-09-14 14:12:21 +01:00
parent 8e0e6adacb
commit 01d92421cf
3 changed files with 76 additions and 28 deletions

View file

@ -105,7 +105,12 @@ module front_bulkhead() {
cube([sheet_thickness, floor_width, e]);
}
module rear_bulkhead() {
module rear_bulkhead(fl=floor_length, fw = floor_width,
st = sheet_thickness, la = layback_angle_r,
msh = sill_max_height) {
translate([ (fl/2) + (msh/(2*sin(la))), 0, msh/2])
rotate([0, la, 0])
cube([st, fw, msh * 1/cos(la)], center=true);
}
module tub(fl=floor_length, fw=floor_width, st=sheet_thickness,
@ -124,7 +129,7 @@ module tub(fl=floor_length, fw=floor_width, st=sheet_thickness,
front_bulkhead();
rear_bulkhead();
rear_bulkhead(fl = fl, fw = fw, st = st);
}
// tub();