test sega 2P layout, buttons fit pretty well
This commit is contained in:
parent
b47b192fd4
commit
23efe61eeb
@ -29,6 +29,9 @@ m4_bolt_hex_exterior_radius = 3.6 + hole_tolerance;
|
||||
// 24mm button
|
||||
small_button_radius = 12 + hole_tolerance;
|
||||
|
||||
// 30mm button
|
||||
big_button_radius = 15 + hole_tolerance;
|
||||
|
||||
// case dimensions
|
||||
frame_x = 185;
|
||||
frame_y = 210;
|
||||
@ -51,6 +54,10 @@ module button_24mm_hole() {
|
||||
cylinder(r=small_button_radius, h=100, $fn=50, center=true);
|
||||
}
|
||||
|
||||
module button_30mm_hole() {
|
||||
cylinder(r=big_button_radius, h=100, $fn=50, center=true);
|
||||
}
|
||||
|
||||
module frame_hex_bolt_hole() {
|
||||
scale([1, 1, 2]) cylinder(r=m4_bolt_hex_exterior_radius, h=frame_z, $fn=6, center=true);
|
||||
}
|
||||
@ -168,3 +175,24 @@ module frame() {
|
||||
frame_hex_bolt_hole();
|
||||
}
|
||||
}
|
||||
|
||||
/* LAYOUTS */
|
||||
|
||||
module sega_2p_p1() {
|
||||
translate([33, 145, 0]) button_30mm_hole();
|
||||
}
|
||||
|
||||
module sega_2p_plus_one() {
|
||||
// via slagcoin
|
||||
sega_2p_p1();
|
||||
translate([30.5, 11+9, 0]) sega_2p_p1();
|
||||
translate([30.5+36, 11+9, 0]) sega_2p_p1();
|
||||
translate([30.5+36+36, 11, 0]) sega_2p_p1();
|
||||
translate([0, -19-9-11, 0]) sega_2p_p1();
|
||||
translate([30.5, -19, 0]) sega_2p_p1();
|
||||
translate([30.5+36, -19, 0]) sega_2p_p1();
|
||||
translate([30.5+36+36, -19-9, 0]) sega_2p_p1();
|
||||
|
||||
// just my guesstimate on this one
|
||||
translate([0, -19-9-11-19-9-11, 0]) sega_2p_p1();
|
||||
}
|
||||
|
24
src/top-panel-sega-2p-plus-one.scad
Normal file
24
src/top-panel-sega-2p-plus-one.scad
Normal file
@ -0,0 +1,24 @@
|
||||
/* 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>
|
||||
|
||||
difference() {
|
||||
translate([top_plate_x/2, top_plate_y/2, 0]) topplate();
|
||||
sega_2p_plus_one();
|
||||
}
|
Loading…
Reference in New Issue
Block a user