Case adjustments

This commit is contained in:
William Toohey
2017-03-04 15:44:01 +10:00
parent 58bf0fb288
commit 7de9e53bfa
11 changed files with 239625 additions and 14813 deletions
+220067 -2003
View File
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 145 KiB

After

Width:  |  Height:  |  Size: 7.7 MiB

+1 -1
View File
@@ -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 -1
View File
@@ -1,3 +1,3 @@
use <case.scad>;
bottom_plate();
bottom_plate_outline();
+5 -1
View File
@@ -1,3 +1,7 @@
use <case.scad>;
bottom_ring();
difference() {
bottom_ring_outline();
encoderHoles();
switches_fx();
}
+1 -1
View File
@@ -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
View File
@@ -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();
File diff suppressed because it is too large Load Diff
+3
View File
@@ -0,0 +1,3 @@
use <case.scad>;
top_plate_holes();
+3
View File
@@ -0,0 +1,3 @@
use <case.scad>;
top_plate_outline();
+1 -1
View File
@@ -1,3 +1,3 @@
use <case.scad>;
top_ring();
top_ring_outline();
+1
View File
@@ -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")