Make the "bottom" argument a function parameter in the shared spiral() module.

This commit is contained in:
mmcwilliams 2020-08-20 08:35:47 -04:00
parent 03059f7c5c
commit 2116d3bfba
1 changed files with 2 additions and 2 deletions

View File

@ -43,9 +43,9 @@ function calcIncrement(spacing, fn) = spacing / fn;
* 8418 vectors at 60 rotations. This is an edge case, only appearing in OpenSCAD
* 2019.05 (and maybe earlier), but should be explored.
**/
module spiral (rotations = 40, start_d = 48, spacing = 2.075, fn) {
module spiral (rotations = 40, start_d = 48, spacing = 2.075, bottom = -7.1, fn) {
bottom = -7.1;
//bottom = -7.1;
w = 1.4;
top_w = .8;
top_offset = (w - top_w);