Embiggen the PCB and add examples to back panel.
Make the back margin 0 so the PCB is up against the back panel. Make use of the variables describing the panel with respect to the PCB to show how they can be used.
This commit is contained in:
parent
38932ba410
commit
50733f510c
@ -73,19 +73,19 @@ SnapTabs = 0; // [0:Screws, 1:Snaps]
|
||||
// - Longueur PCB - PCB Length
|
||||
PCBLength = 80;
|
||||
// - Largeur PCB - PCB Width
|
||||
PCBWidth = 60;
|
||||
PCBWidth = 144;
|
||||
// - Epaisseur PCB Thickness
|
||||
PCBThick = 1.6;
|
||||
// You likely need to maintain |Thick| margin on the left and right for tabs
|
||||
// and whatnot.
|
||||
// - Margin between front panel and PCB
|
||||
FrontEdgeMargin = 60;
|
||||
FrontEdgeMargin = 70;
|
||||
// - Margin between back panel and PCB
|
||||
BackEdgeMargin = 10;
|
||||
BackEdgeMargin = 0;
|
||||
// - Margin between left wall and PCB
|
||||
LeftEdgeMargin = 11;
|
||||
// - Margin between right wall and PCB
|
||||
RightEdgeMargin = 95;
|
||||
RightEdgeMargin = 11;
|
||||
// - Margin between top of PCB and box top.
|
||||
TopPCBMargin = 84;
|
||||
|
||||
@ -213,11 +213,34 @@ module FPanelText() {
|
||||
|
||||
// Holes for back panel
|
||||
module BPanelHoles() {
|
||||
CylinderHole(1,
|
||||
LeftEdgeOfBoardWRTBPanel + 16.4,
|
||||
TopOfBoardWRTPanel + 7,
|
||||
5);
|
||||
SquareHole(1,
|
||||
LeftEdgeOfBoardWRTBPanel + 37.3,
|
||||
TopOfBoardWRTPanel,
|
||||
39.2,
|
||||
12.55,
|
||||
1);
|
||||
}
|
||||
|
||||
|
||||
// Text for back panel
|
||||
module BPanelText() {
|
||||
LText(1,
|
||||
LeftEdgeOfBoardWRTBPanel + 16.4,
|
||||
TopOfBoardWRTPanel + 7 + 5,
|
||||
"Arial Black",
|
||||
4, "PWR"
|
||||
);
|
||||
LText(1,
|
||||
LeftEdgeOfBoardWRTBPanel + 37.3 + 39.2/2,
|
||||
TopOfBoardWRTPanel + 12.55 + 2,
|
||||
"Arial Black",
|
||||
4,
|
||||
"DATA"
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user