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.
52 lines
1.5 KiB
52 lines
1.5 KiB
/////////////////////////////////////////////////////////////////////////////////
|
|
// Legs for the glass slide holder.
|
|
//
|
|
// Author: Maximilian Stiefel
|
|
// Last modification: 29.06.2017
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
// Includes
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Dimesnions
|
|
include <dimensions.scad>
|
|
use <dimensions.scad>
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
// Vars
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
// Action
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
module legs()
|
|
{
|
|
difference()
|
|
{
|
|
union()
|
|
{
|
|
// Legs at the left
|
|
for(y = [0, 1])
|
|
translate([glass_slide_width/2 - leg_pos_x, -y*leg_distance,0])
|
|
cylinder(r = leg_outer_dia/2, h = leg_height);
|
|
// Legs at the right
|
|
for(y = [0, 1])
|
|
translate([-glass_slide_width/2 + leg_pos_x, y*leg_distance, 0])
|
|
cylinder(r = leg_outer_dia/2, h = leg_height);
|
|
}
|
|
union()
|
|
{
|
|
// Legs at the left
|
|
for(y = [0, 1])
|
|
translate([glass_slide_width/2 - leg_pos_x, -y*leg_distance, -0.01])
|
|
cylinder(r = leg_inner_dia/2, h = leg_drill_depth);
|
|
// Legs at the right
|
|
for(y = [0, 1])
|
|
translate([-glass_slide_width/2 + leg_pos_x, y*leg_distance, -0.01])
|
|
cylinder(r = leg_inner_dia/2, h = leg_drill_depth);
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
|