1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-01 13:10:11 +02:00

Added missing documentation for sliding_t_nut().

This commit is contained in:
Chris Palmer
2021-09-03 15:47:15 +01:00
parent 5111ec04bc
commit 511729008d
2 changed files with 2 additions and 1 deletions

View File

@@ -2070,6 +2070,7 @@ If a nut is given a child then it gets placed on its top surface.
| `nut_and_washer(type, nyloc)` | Draw nut with corresponding washer |
| `nut_square(type, brass = false, nylon = false)` | Draw specified square nut |
| `nut_trap(screw, nut, depth = 0, horizontal = false, supported = false, h = 200)` | Make a nut trap |
| `sliding_t_nut(type)` | Draw a sliding T nut, T nut with a spring loaded ball or a hammer nut. |
| `wingnut(type)` | Draw a wingnut |
![nuts](tests/png/nuts.png)

View File

@@ -177,7 +177,7 @@ module sliding_ball_t_nut(size, w, h, r) {
}
}
module sliding_t_nut(type) {
module sliding_t_nut(type) { //! Draw a sliding T nut, T nut with a spring loaded ball or a hammer nut.
hammerNut = type[10];
size = [type[7], nut_square_width(type), nut_thickness(type, true)];
tab = t_nut_tab(type);