From d83446784955f65757fbaa1124aea57b4edf8b04 Mon Sep 17 00:00:00 2001 From: Dejvino Date: Wed, 23 Dec 2020 19:08:50 +0100 Subject: [PATCH] PoC laserwindow door --- holodisk.scad | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/holodisk.scad b/holodisk.scad index 30c9c3d..371b1fa 100755 --- a/holodisk.scad +++ b/holodisk.scad @@ -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();