mirror of
https://github.com/mon/PocketVoltex.git
synced 2026-09-28 01:38:04 +03:00
Case adjustments
This commit is contained in:
+220067
-2003
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 145 KiB After Width: | Height: | Size: 7.7 MiB |
@@ -38,7 +38,7 @@ For tracks:
|
||||
Path->Combine
|
||||
Path->Stroke to path
|
||||
|
||||
For artwork:
|
||||
For artwork laser cutting output:
|
||||
Cross reference with altium to make layers for tracks
|
||||
1.5mm
|
||||
1.2mm
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
use <case.scad>;
|
||||
|
||||
bottom_plate();
|
||||
bottom_plate_outline();
|
||||
@@ -1,3 +1,7 @@
|
||||
use <case.scad>;
|
||||
|
||||
bottom_ring();
|
||||
difference() {
|
||||
bottom_ring_outline();
|
||||
encoderHoles();
|
||||
switches_fx();
|
||||
}
|
||||
@@ -2,6 +2,6 @@
|
||||
SET scad="C:\Program Files\OpenSCAD\openscad.exe"
|
||||
SET folder=outputs
|
||||
|
||||
for %%i in (bottom_plate,bottom_ring,top_plate,top_ring,holes_internal,holes_surface) DO (
|
||||
for %%i in (bottom_plate,bottom_ring,top_plate,top_plate_holes,top_plate_outline,top_ring,holes_internal,holes_surface) DO (
|
||||
%scad% -o "%folder%\%%i.dxf" "%%i.scad"
|
||||
)
|
||||
+49
-10
@@ -85,6 +85,13 @@ module switch(holetype){
|
||||
}
|
||||
}
|
||||
|
||||
module switches_fx() {
|
||||
for(i = [5:6]) {
|
||||
translate([switches[i][0], switches[i][1]])
|
||||
switch(holetype);
|
||||
}
|
||||
}
|
||||
|
||||
module switches() {
|
||||
for(sw = switches) {
|
||||
translate([sw[0], sw[1]])
|
||||
@@ -208,20 +215,40 @@ module board_encoderhole() {
|
||||
}
|
||||
}
|
||||
|
||||
module top_plate() {
|
||||
difference() {
|
||||
offset(delta = -wallOverlap)
|
||||
module top_plate_outline() {
|
||||
offset(delta = -wallOverlap)
|
||||
difference() {
|
||||
board();
|
||||
encoders();
|
||||
}
|
||||
switches();
|
||||
bolts();
|
||||
translate([macroHole[0], macroHole[1], 0])
|
||||
circle(d = macroDiam, center = true);
|
||||
}
|
||||
|
||||
module top_plate_holes() {
|
||||
switches();
|
||||
bolts();
|
||||
translate([macroHole[0], macroHole[1], 0])
|
||||
circle(d = macroDiam, center = true);
|
||||
}
|
||||
|
||||
module top_plate() {
|
||||
difference() {
|
||||
top_plate_outline();
|
||||
top_plate_holes();
|
||||
}
|
||||
}
|
||||
|
||||
module top_ring_outline() {
|
||||
difference() {
|
||||
board_encoderhole();
|
||||
offset(delta = -wallStrength)
|
||||
board_encoderhole();
|
||||
// Room for FX/START
|
||||
switches();
|
||||
};
|
||||
import("imports/RING_TOP_SUPPORTS.dxf");
|
||||
bolts_expansion();
|
||||
}
|
||||
|
||||
module top_ring() {
|
||||
difference() {
|
||||
union() {
|
||||
@@ -250,7 +277,7 @@ module artwork() {
|
||||
import("imports/Artwork.dxf");
|
||||
}
|
||||
|
||||
module bottom_ring() {
|
||||
module bottom_ring_outline() {
|
||||
difference() {
|
||||
union() {
|
||||
difference() {
|
||||
@@ -261,13 +288,25 @@ module bottom_ring() {
|
||||
import("imports/RING_BOT_SUPPORTS.dxf");
|
||||
bolts_expansion();
|
||||
}
|
||||
bolt_spacers();
|
||||
encoderHoles();
|
||||
translate([usbPos[0], usbPos[1], 0])
|
||||
usb();
|
||||
}
|
||||
}
|
||||
|
||||
module bottom_ring() {
|
||||
difference() {
|
||||
bottom_ring_outline();
|
||||
bolt_spacers();
|
||||
encoderHoles();
|
||||
// Room for FX
|
||||
switches();
|
||||
}
|
||||
}
|
||||
|
||||
module bottom_plate_outline() {
|
||||
board();
|
||||
}
|
||||
|
||||
module bottom_plate() {
|
||||
difference() {
|
||||
board();
|
||||
|
||||
+19493
-12795
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,3 @@
|
||||
use <case.scad>;
|
||||
|
||||
top_plate_holes();
|
||||
@@ -0,0 +1,3 @@
|
||||
use <case.scad>;
|
||||
|
||||
top_plate_outline();
|
||||
@@ -1,3 +1,3 @@
|
||||
use <case.scad>;
|
||||
|
||||
top_ring();
|
||||
top_ring_outline();
|
||||
@@ -22,6 +22,7 @@ $win = WinGetHandle("BemaniPC Input Configuration")
|
||||
WinActivate($win)
|
||||
ControlClick($win, "", "[CLASS:SysTabControl32; INSTANCE:1]")
|
||||
Send("{LEFT}{LEFT}{LEFT}{RIGHT}")
|
||||
Sleep(200)
|
||||
ControlCommand ($win,"", "ComboBox1","SelectString","Pocket Voltex LEDs")
|
||||
|
||||
$list = ControlGetHandle($win, "", "SysListView321")
|
||||
|
||||
Reference in New Issue
Block a user