Maximilian Stiefel
7 years ago
19 changed files with 14444 additions and 10684 deletions
File diff suppressed because it is too large
Before Width: | Height: | Size: 25 KiB |
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 12 KiB |
@ -0,0 +1,24 @@ |
|||
///////////////////////////////////////////////////////////////////////////////// |
|||
// 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); |
|||
} |
|||
} |
@ -0,0 +1,30 @@ |
|||
///////////////////////////////////////////////////////////////////////////////// |
|||
// Module for four sinking holes, that cone-shaped screw heads can sink in. |
|||
// |
|||
// Author: Maximilian Stiefel |
|||
// Last modification: 09.07.2017 |
|||
///////////////////////////////////////////////////////////////////////////////// |
|||
|
|||
module screw_sinkings(xdim, ydim, dia1, dia2, depth) |
|||
{ |
|||
///////////////////////////////////////////////////////////////////////// |
|||
// Vars |
|||
///////////////////////////////////////////////////////////////////////// |
|||
|
|||
|
|||
///////////////////////////////////////////////////////////////////////// |
|||
// Action |
|||
///////////////////////////////////////////////////////////////////////// |
|||
union(){ |
|||
for(x=[-1, +1]) |
|||
for(y=[-1, +1]) |
|||
translate([x*xdim/2, y*ydim/2, 0]) |
|||
union() |
|||
{ |
|||
translate([0, 0, -depth + 0.1]) |
|||
cylinder(r = dia1/2, h = depth, center = true); |
|||
cylinder(r1 = dia1/2, r2 = dia2/2, h = depth, center = true); |
|||
} |
|||
} |
|||
|
|||
} |
Loading…
Reference in new issue