From 4bf0e764a696da456a6cb759f2d4e78c15abc199 Mon Sep 17 00:00:00 2001 From: Christof Laenzlinger <6319634+laenzlinger@users.noreply.github.com> Date: Mon, 29 May 2023 22:10:26 +0200 Subject: [PATCH] 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. --- screws.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screws.scad b/screws.scad index 3ae6d11..1636d4a 100644 --- a/screws.scad +++ b/screws.scad @@ -1884,7 +1884,7 @@ function screw_info(name, head, drive, thread, drive_size, shaft_oversize, head_ // . // 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). // "origin" | Module that created the structure // "name" | Name used to specify threading, such as "M6" or "#8"