initialize mountPoints
prevent error in len() if mountPoints is not provided by caller
This commit is contained in:
@ -8,7 +8,7 @@ use <../rackEars.scad>
|
||||
Please also make sure that the correct rack frame preset is set in rackFrame.scad.
|
||||
*/
|
||||
|
||||
module bottomScrewTray(u, trayWidth, trayDepth, trayThickness, mountPoints, mountPointElevation, mountPointType, frontThickness, sideThickness, frontLipHeight, backLipHeight, trayLeftPadding, sideSupport=true) {
|
||||
module bottomScrewTray(u, trayWidth, trayDepth, trayThickness, mountPoints = [], mountPointElevation, mountPointType, frontThickness, sideThickness, frontLipHeight, backLipHeight, trayLeftPadding, sideSupport=true) {
|
||||
|
||||
lipThickness = sideThickness;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user