From 54b920d93965882f4a09d99154ac34ebbde72df9 Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Tue, 4 Oct 2022 23:12:29 -0400 Subject: [PATCH] fix bug --- screws.scad | 1 + 1 file changed, 1 insertion(+) diff --git a/screws.scad b/screws.scad index a727802..0275df2 100644 --- a/screws.scad +++ b/screws.scad @@ -1411,6 +1411,7 @@ module nut(spec, shape, thickness, nutwidth, thread, tolerance, hole_oversize, ["threads_oversize", hole_oversize], ]); $screw_spec = spec; + shape = struct_val(spec, "shape"); pitch = struct_val(spec, "pitch") ; threadspec = pitch==0 ? undef : thread_specification(spec, internal=true, tolerance=tolerance); nutwidth = struct_val(spec, "width");