1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-01-17 05:28:14 +01:00

Documented insert_hole_length().

This commit is contained in:
Chris Palmer 2022-04-01 15:43:17 +01:00
parent 1a649060bd
commit b9f676a753
2 changed files with 2 additions and 1 deletions

View File

@ -1512,6 +1512,7 @@ Heatfit threaded inserts. Can be pushed into thermoplastics using a soldering ir
| Function | Description |
|:--- |:--- |
| `insert_boss_radius(type, wall)` | Compute the outer radius of an insert boss |
| `insert_hole_length(type)` | Length of the insert rounded to layer height |
| `insert_nose_length(type, d)` | The length before the second ring. |
### Modules

View File

@ -33,7 +33,7 @@ function insert_ring1_h(type) = type[6]; //! Height of the top and mi
function insert_ring2_d(type) = type[7]; //! Diameter of the middle ring
function insert_ring3_d(type) = type[8]; //! Diameter of the bottom ring
function insert_hole_length(type) = round_to_layer(insert_length(type));
function insert_hole_length(type) = round_to_layer(insert_length(type)); //! Length of the insert rounded to layer height
function insert_nose_length(type, d) = let( //! The length before the second ring.
length = insert_length(type),