PoC laserwindow door

This commit is contained in:
Dejvino 2020-12-23 19:08:50 +01:00
parent dc84b366ab
commit d834467849

View File

@ -182,6 +182,21 @@ module frame(size) {
}
}
module laserwindow_door() {
door_size = [
get_holodisk_laserwindow_size().x,
1,
get_holodisk_laserwindow_size().z
];
door_pos = [
get_holodisk_laserwindow_pos_center().x,
get_holodisk_laserwindow_pos_center().y + door_size.y/2,
get_holodisk_laserwindow_pos_center().z
];
translate(door_pos) scale(0.98) down(door_size.z/2) xrot(anim(1,2)*-90) xrot(anim(6,7)*90) up(door_size.z/2) cube(door_size, center=true);
}
module bottom_cover() {
difference() {
linear_extrude(height=plate) {
@ -194,6 +209,7 @@ module frame(size) {
color("SaddleBrown") top_cover();
color("grey") walls();
color("gold") laserwindow_door();
color("Silver") slides();
color("SaddleBrown") bottom_cover();
color("SaddleBrown") front_plates();