mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-30 08:19:36 +00:00
Fix type of struct returned by nut_info()
nut_info() returns a struct with type `nut_info`. The documentation, however, mentiones that the struct is of type `screw_info`. This might be a copy-paste issue.
This commit is contained in:
parent
af79314a08
commit
4bf0e764a6
1 changed files with 1 additions and 1 deletions
|
@ -1884,7 +1884,7 @@ function screw_info(name, head, drive, thread, drive_size, shaft_oversize, head_
|
||||||
// .
|
// .
|
||||||
// Field | What it is
|
// Field | What it is
|
||||||
// ------------------ | ---------------
|
// ------------------ | ---------------
|
||||||
// "type" | Always set to "screw_info"
|
// "type" | Always set to "nut_info"
|
||||||
// "system" | Either `"UTS"` or `"ISO"` (used for correct tolerance computation).
|
// "system" | Either `"UTS"` or `"ISO"` (used for correct tolerance computation).
|
||||||
// "origin" | Module that created the structure
|
// "origin" | Module that created the structure
|
||||||
// "name" | Name used to specify threading, such as "M6" or "#8"
|
// "name" | Name used to specify threading, such as "M6" or "#8"
|
||||||
|
|
Loading…
Reference in a new issue