mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 00:09:41 +00:00
fix bug
This commit is contained in:
parent
42f705b38a
commit
54b920d939
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue