refactor yBar to include better variables

This commit is contained in:
zhao
2023-01-16 22:36:55 -05:00
parent 8da68a8f84
commit a30f14ecb2
4 changed files with 20 additions and 14 deletions

View File

@ -14,7 +14,7 @@ railSideMountThickness = 2.5;
// Distance between the middle of a screw mount and the rail's vertical edges
railScrewHoleToInnerEdge = 5;
railScrewHoleToOuterEdge = 7;
railScrewHoleToOuterEdge = 9;
// Distance between the midpoint of the rail screw holes.
rackMountScrewWidth = maxUnitWidth + 2 * railScrewHoleToInnerEdge;
@ -30,7 +30,7 @@ frontFaceWidth = railScrewHoleToInnerEdge + railScrewHoleToOuterEdge;
railTotalWidth = frontFaceWidth;
railTotalDepth = railFrontThickness+sideSupportDepth;
mainRail();
*mainRail();
echo("Total Rail Height: ", railTotalHeight);