Changed block_base to match original design
This commit is contained in:
parent
28d37a547d
commit
42538d67fb
1 changed files with 34 additions and 27 deletions
|
@ -85,6 +85,12 @@ module profile_base() {
|
||||||
module block_base() {
|
module block_base() {
|
||||||
translate([0,0,h_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);
|
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)
|
pattern_linear(gridx, gridy, length)
|
||||||
render()
|
render()
|
||||||
difference() {
|
difference() {
|
||||||
|
@ -92,13 +98,13 @@ module block_base() {
|
||||||
mirror([0,0,1])
|
mirror([0,0,1])
|
||||||
union() {
|
union() {
|
||||||
hull() {
|
hull() {
|
||||||
rounded_square(length-0.5-2*r_c2-2*r_c1, h_base, r_fo3/2);
|
rounded_square(length-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, h_base-r_c1, r_fo2/2);
|
||||||
}
|
}
|
||||||
hull() {
|
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])
|
mirror([0,0,1])
|
||||||
rounded_square(length-0.5, h_bot/2, r_fo1/2);
|
rounded_square(length, h_bot/2, r_fo1/2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -118,6 +124,7 @@ module block_base() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
module profile_wall_sub() {
|
module profile_wall_sub() {
|
||||||
difference() {
|
difference() {
|
||||||
|
|
Loading…
Reference in a new issue