First commit
This commit is contained in:
parent
b30ba76b39
commit
4f9173bfa7
2 changed files with 24 additions and 1 deletions
11
README.md
11
README.md
|
@ -1,3 +1,12 @@
|
|||
# Senkung
|
||||
|
||||
Senkung für Senkkopfschrauben als Modul
|
||||
Senkung für Senkkopfschrauben als Modul
|
||||
|
||||
usage:
|
||||
|
||||
use <countersunk_hole.scad>
|
||||
|
||||
difference(){
|
||||
cube([8,8,3.4]);
|
||||
translate([4, 4, 2.5]) countersunk_hole(2.5);
|
||||
}
|
||||
|
|
14
contersunk_hole.scad
Normal file
14
contersunk_hole.scad
Normal file
|
@ -0,0 +1,14 @@
|
|||
/ M3
|
||||
body_diameter=3.2; // screw body
|
||||
head_diameter=6.4; // screw head max
|
||||
depth=1; // head-rim clearance
|
||||
detail=50;
|
||||
|
||||
module countersunk_hole(hole_depth) {
|
||||
rotate([0, 180, 0]) {
|
||||
cylinder(h=depth, d1=head_diameter, d2=body_diameter, $fn=detail);
|
||||
cylinder(h=hole_depth, d=body_diameter, $fn=detail);
|
||||
translate([0, 0, -(depth)])
|
||||
cylinder(h=depth, d=head_diameter, $fn=detail);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue