split lever panel and w/mount variant into two files

This commit is contained in:
Brian S. Stephan 2023-08-23 10:37:52 -05:00
parent cc7c5c5723
commit 21467010a7
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
2 changed files with 28 additions and 6 deletions

View File

@ -0,0 +1,27 @@
/* Copyright Brian Stephan 2023
*
* This file is part of bullet-system-stick.
*
* bullet-system-stick is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* bullet-system-stick is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* bullet-system-stick. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
use <top-panel-lever.scad>
module lever_panel_with_mount() {
lever_panel();
translate([0, -top_plate_y/2+25, -(top_plate_z/2) - 3]) pcb_mount();
}
lever_panel_with_mount();

View File

@ -33,9 +33,4 @@ module lever_panel() {
}
}
module lever_panel_with_mount() {
lever_panel();
translate([0, -top_plate_y/2+25, -(top_plate_z/2) - 3]) pcb_mount();
}
lever_panel_with_mount();
lever_panel();