Changed block_base to match original design

This commit is contained in:
Ruud Swinkels 2022-09-14 18:44:37 +02:00
parent 28d37a547d
commit 42538d67fb

View file

@ -85,6 +85,12 @@ module profile_base() {
module block_base() {
translate([0,0,h_base])
rounded_rectangle(gridx*length-0.5+0.002, gridy*length-0.5+0.002, h_bot/1.5, r_fo1/2+0.001);
// translate([0,0,h_base])
intersection(){
rounded_rectangle(gridx*length-0.5+0.002, gridy*length-0.5+0.002, h_base+h_bot/2, r_fo1/2+0.001);
pattern_linear(gridx, gridy, length)
render()
difference() {
@ -92,13 +98,13 @@ module block_base() {
mirror([0,0,1])
union() {
hull() {
rounded_square(length-0.5-2*r_c2-2*r_c1, h_base, r_fo3/2);
rounded_square(length-0.5-2*r_c2, h_base-r_c1, r_fo2/2);
rounded_square(length-2*r_c2-2*r_c1, h_base, r_fo3/2);
rounded_square(length-2*r_c2, h_base-r_c1, r_fo2/2);
}
hull() {
rounded_square(length-0.5-2*r_c2, r_c2, r_fo2/2);
rounded_square(length-2*r_c2, r_c2, r_fo2/2);
mirror([0,0,1])
rounded_square(length-0.5, h_bot/2, r_fo1/2);
rounded_square(length, h_bot/2, r_fo1/2);
}
}
@ -117,6 +123,7 @@ module block_base() {
}
}
}
}
}
module profile_wall_sub() {