Added insert_boss_radius().

This commit is contained in:
Chris Palmer 2019-07-24 13:48:44 +01:00
parent b40c076d23
commit 3d4653fc0f
2 changed files with 7 additions and 0 deletions

View File

@ -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_ring3_d(type)``` | Diameter of the bottom ring |
| ```insert_screw_diameter(type)``` | Screw size | | ```insert_screw_diameter(type)``` | Screw size |
### Functions
| Function | Description |
|:--- |:--- |
| ```insert_boss_radius(type, wall)``` | Compute the outer radius of an insert boss |
### Modules ### Modules
| Module | Description | | Module | Description |
|:--- |:--- | |:--- |:--- |

View File

@ -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 module insert_boss(type, z, wall = 2 * extrusion_width) { //! Make a boss to take an insert
render(convexity = 3) render(convexity = 3)
difference() { difference() {