initialize mountPoints

prevent  error in len() if mountPoints is not provided by caller
This commit is contained in:
2025-06-11 16:48:45 +00:00
parent 5bfb76a4ed
commit b23f5434be

View File

@ -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;