Add convenience variables for visible panel edges

This commit is contained in:
Joel Ebel 2018-06-19 23:28:08 -04:00
parent f2c3de7712
commit b4d32de8fd

View File

@ -211,6 +211,11 @@ PanelHeight = Height - Thick*2 - PanelGap;
TopOfBoardWRTPanel = FootHeight + PCBThick - (PanelGap/2); TopOfBoardWRTPanel = FootHeight + PCBThick - (PanelGap/2);
LeftEdgeOfBoardWRTFPanel = LeftEdgeMargin - (PanelGap/2); LeftEdgeOfBoardWRTFPanel = LeftEdgeMargin - (PanelGap/2);
LeftEdgeOfBoardWRTBPanel = RightEdgeMargin - (PanelGap/2); LeftEdgeOfBoardWRTBPanel = RightEdgeMargin - (PanelGap/2);
// Visible panel edges
PanelBottomEdge = Thick - (PanelGap/2);
PanelTopEdge = PanelHeight - Thick + (PanelGap/2);
PanelLeftEdge = Thick - (PanelGap/2);
PanelRightEdge = PanelWidth - Thick + (PanelGap/2);
// Holes for front panel // Holes for front panel