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.
32 lines
1.1 KiB
32 lines
1.1 KiB
7 years ago
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
// Spacer for PCBs.
|
||
|
//
|
||
|
// 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
|
||
|
|
||
|
spacer_height = 15;
|
||
|
spacer_diameter = 5;
|
||
|
spacer_hole_diameter = 3.2; // standard hole size for M3
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
// Action
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
difference()
|
||
|
{
|
||
|
cylinder(h = spacer_height, r = spacer_diameter/2, center = true);
|
||
|
translate([0, 0, 0])
|
||
|
cylinder(h = spacer_height + 2, r = spacer_hole_diameter/2, center = true);
|
||
|
}
|
||
|
|