add mount for a standard PS360+/RP2040ABB form factor PCB
This commit is contained in:
parent
f5ecdc9154
commit
facee903cf
@ -23,6 +23,9 @@ include <roundedcube.scad>
|
|||||||
// adjustments
|
// adjustments
|
||||||
hole_tolerance = 0.15;
|
hole_tolerance = 0.15;
|
||||||
|
|
||||||
|
// M3
|
||||||
|
m3_screw_selftap_radius = 1.3;
|
||||||
|
|
||||||
// M4
|
// M4
|
||||||
m4_bolt_radius = 2 + hole_tolerance;
|
m4_bolt_radius = 2 + hole_tolerance;
|
||||||
m4_bolt_countersink_radius = 6.1 + hole_tolerance;
|
m4_bolt_countersink_radius = 6.1 + hole_tolerance;
|
||||||
@ -91,6 +94,20 @@ module neutrik_d_mount() {
|
|||||||
translate([-9.5, -12, 0]) neutrik_d_screw_hole();
|
translate([-9.5, -12, 0]) neutrik_d_screw_hole();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module m3_mount_post() {
|
||||||
|
difference() {
|
||||||
|
cylinder(r=m3_screw_selftap_radius*4, h=8, $fn=6, center=true);
|
||||||
|
cylinder(r=m3_screw_selftap_radius, h=8*2, $fn=50, center=true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
module pcb_mount() {
|
||||||
|
translate([44, 18.5, 0]) m3_mount_post();
|
||||||
|
translate([44, -18.5, 0]) m3_mount_post();
|
||||||
|
translate([-44, 18.5, 0]) m3_mount_post();
|
||||||
|
translate([-44, -18.5, 0]) m3_mount_post();
|
||||||
|
}
|
||||||
|
|
||||||
/* PIECES */
|
/* PIECES */
|
||||||
|
|
||||||
module levermountbase() {
|
module levermountbase() {
|
||||||
|
@ -32,4 +32,9 @@ module left_lever_panel() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
left_lever_panel();
|
module left_lever_panel_with_mount() {
|
||||||
|
left_lever_panel();
|
||||||
|
translate([0, -top_plate_y/2+25, -(top_plate_z/2) - 3]) pcb_mount();
|
||||||
|
}
|
||||||
|
|
||||||
|
left_lever_panel_with_mount();
|
||||||
|
41
src/top-panel-lever.scad
Normal file
41
src/top-panel-lever.scad
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
/* 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>
|
||||||
|
|
||||||
|
// combine the lever mount and generic plate, with mounting holes
|
||||||
|
module lever_panel() {
|
||||||
|
difference() {
|
||||||
|
// base plate
|
||||||
|
union() {
|
||||||
|
translate([0,-20,0])
|
||||||
|
topplate();
|
||||||
|
translate([0, 0, -((top_plate_z/2)+(lever_mount_z/2))])
|
||||||
|
levermountbase();
|
||||||
|
}
|
||||||
|
// holes to mount the lever
|
||||||
|
levermountholes();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
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();
|
Loading…
x
Reference in New Issue
Block a user