UppSense17- Open Source sensor for chemical analysis based on fuoresence.
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.

25 lines
789 B

/////////////////////////////////////////////////////////////////////////////////
// Module for four holes along a rectangle for screw threads.
//
// Author: Maximilian Stiefel
// Last modification: 09.07.2017
/////////////////////////////////////////////////////////////////////////////////
module screw_holes(xdim, ydim, dia, depth)
{
/////////////////////////////////////////////////////////////////////////
// Vars
/////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////
// Action
/////////////////////////////////////////////////////////////////////////
union(){
for(x=[-1, +1])
for(y=[-1, +1])
translate([x*xdim/2, y*ydim/2, 0])
cylinder(r = dia/2, h = depth, center =true);
}
}