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.
36 lines
1.4 KiB
36 lines
1.4 KiB
7 years ago
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
// LED illuminator to hide the LED from the receiver diode.
|
||
|
//
|
||
|
// Author: Maximilian Stiefel
|
||
|
// Last modification: 22.06.2017
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
// Includes
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
// Vars
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
$fa = 0.5; // minimum facet angle is now 0.5
|
||
|
$fs = 0.5; // minimum facet size is now 0.5 mm
|
||
|
|
||
|
holder_height = 14;
|
||
|
holder_diameter = 8.5;
|
||
|
holder_hole_diameter = 6.5; // LED with 5 mm diameter should fit in
|
||
|
holder_slot_width = 1;
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
// Action
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
difference()
|
||
|
{
|
||
|
cylinder(h = holder_height, r = holder_diameter/2, center = true);
|
||
|
union()
|
||
|
{
|
||
|
translate([0, 0, 0])
|
||
|
cylinder(h = holder_height + 2, r = holder_hole_diameter/2, center = true);
|
||
|
translate([0, holder_diameter/2, 0])
|
||
|
cube([holder_slot_width, 2*(holder_diameter-holder_hole_diameter), holder_height + 2], center = true);
|
||
|
}
|
||
|
}
|