From 3d4653fc0fc63a3aee2780740d8a384d01216a4e Mon Sep 17 00:00:00 2001 From: Chris Palmer Date: Wed, 24 Jul 2019 13:48:44 +0100 Subject: [PATCH] Added insert_boss_radius(). --- readme.md | 5 +++++ vitamins/insert.scad | 2 ++ 2 files changed, 7 insertions(+) diff --git a/readme.md b/readme.md index d39b311..f6d6966 100644 --- a/readme.md +++ b/readme.md @@ -889,6 +889,11 @@ Heatfit threaded inserts. Can be pushed into thermoplastics using a soldering ir | ```insert_ring3_d(type)``` | Diameter of the bottom ring | | ```insert_screw_diameter(type)``` | Screw size | +### Functions +| Function | Description | +|:--- |:--- | +| ```insert_boss_radius(type, wall)``` | Compute the outer radius of an insert boss | + ### Modules | Module | Description | |:--- |:--- | diff --git a/vitamins/insert.scad b/vitamins/insert.scad index e6590d4..9a34b1f 100644 --- a/vitamins/insert.scad +++ b/vitamins/insert.scad @@ -93,6 +93,8 @@ module insert_hole(type, counterbore = 0, horizontal = false) { //! Make a hole } } +function insert_boss_radius(type, wall) = corrected_radius(insert_hole_radius(type)) + wall; //! Compute the outer radius of an insert boss + module insert_boss(type, z, wall = 2 * extrusion_width) { //! Make a boss to take an insert render(convexity = 3) difference() {