Fixed insert_hole() convexity

This commit is contained in:
Chris Palmer 2019-06-14 13:13:15 +01:00
parent db3b191552
commit 3810b71b26
1 changed files with 11 additions and 10 deletions

View File

@ -78,7 +78,8 @@ module insert(type) { //! Draw specified insert
module insert_hole(type, counterbore = 0, horizontal = false) { //! Make a hole to take an insert, ```counterbore``` is the extra length for the screw module insert_hole(type, counterbore = 0, horizontal = false) { //! Make a hole to take an insert, ```counterbore``` is the extra length for the screw
h = insert_hole_length(type); h = insert_hole_length(type);
render() if(horizontal) { render(convexity = 2)
if(horizontal) {
teardrop_plus(r = insert_hole_radius(type), h = 2 * h); teardrop_plus(r = insert_hole_radius(type), h = 2 * h);
if(counterbore) if(counterbore)