You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
785 B
23 lines
785 B
/////////////////////////////////////////////////////////////////////////////////
|
|
// Lid for the housing box for UppSense first tries.
|
|
//
|
|
// Author: Maximilian Stiefel
|
|
// Last modification: 27.04.3017
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
// Vars
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
allowance = 1;
|
|
thickness = 5;
|
|
length = 80 + 2*allowance;
|
|
width = 50 + 2*allowance;
|
|
lid_depth = 5;
|
|
my_color = "DarkRed";
|
|
knob_r = 10;
|
|
knob_h = 20;
|
|
|
|
color(my_color, 0.8) union(){
|
|
cube([length + thickness, width + thickness, lid_depth]);
|
|
translate([length/2, width/2, lid_depth-1]) cylinder(r=knob_r,h=knob_h);
|
|
}
|
|
|