Initial commit.
This commit is contained in:
21
models/skin/skin.scad
Normal file
21
models/skin/skin.scad
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
include <../../config.scad>;
|
||||
|
||||
module skin() {
|
||||
color("purple", 0.2) difference() {
|
||||
// Skin
|
||||
cube(R_SKIN, center = true);
|
||||
cube(R_SKIN - T_SKIN * [1, 1, 1], center = true);
|
||||
// Viewport
|
||||
translate([0, -R_SKIN[1] / 2 + T_SKIN / 2, W_SKIN_BORDER_FRONT / 2]) cube([R_SKIN[0] - 2 * W_SKIN_BORDER_FRONT, T_SKIN, R_SKIN[2] - W_SKIN_BORDER_FRONT], center = true);
|
||||
// Ventilation system access
|
||||
translate([R_SKIN[0] / 4, R_SKIN[1] / 2, -R_SKIN[2] / 4]) rotate([90, 0, 0]) cylinder(T_SKIN, D_VENT_DUCT / 2, D_VENT_DUCT / 2, center = true);
|
||||
translate([-R_SKIN[0] / 4, R_SKIN[1] / 2, -R_SKIN[2] / 4]) rotate([90, 0, 0]) cylinder(T_SKIN, D_VENT_DUCT / 2, D_VENT_DUCT / 2, center = true);
|
||||
}
|
||||
// Shopping
|
||||
echo(str("Mylar and canvas: Skin base and top ", R_SKIN[0], "mm x ", R_SKIN[1], "mm - x2"));
|
||||
echo(str("Mylar and canvas: Skin side ", R_SKIN[1], "mm x ", R_SKIN[2], "mm - x2"));
|
||||
echo(str("Mylar and canvas: Skin rear and front ", R_SKIN[0], "mm x ", R_SKIN[2], "mm - x2"));
|
||||
}
|
||||
|
||||
skin();
|
||||
Reference in New Issue
Block a user