]> git.armaanb.net Git - atreides.git/commitdiff
Merge pull request #15 from cy384/master
authorPhil Hagelberg <technomancy@gmail.com>
Tue, 27 Jan 2015 01:39:33 +0000 (08:39 +0700)
committerPhil Hagelberg <technomancy@gmail.com>
Tue, 27 Jan 2015 01:39:33 +0000 (08:39 +0700)
Openscad option to split the spacer layer of the case into fourths.

README.org
atreus.rkt
case/openscad/README.org

index 4b74bb9326bca7b6714d73dc3033e8b2f313611c..ef19386c722bf0b36da3bdc81b8fa764f66db1fc 100644 (file)
@@ -104,25 +104,56 @@ that keys that go in different rows have a different shape. While you
 can use these for an Atreus, it's unlikely you'll find a set with the
 correct number for each row, so it's more wasteful.
 
+** Circuit Board
+
+The =atreus.rkt= program calculates switch and diode positions based
+on row/column counts, spacing, and rotation factors, and emits a
+=atreus.kicad_pcb= file. The board outline and traces are done by hand
+and are stored in the =header.rktd= and =traces.rktd= files
+respectively. The =atreus.kicad_pcb= file can be imported into [[http://kicad.org][Kicad]]
+which can export Gerber files suitable for fabrication. A copy of the
+Kicad PCB file is included in the repository if you don't want to
+recompile it using Racket. Recompiling is only required if you want to
+make changes to the procedurally-generated portions of the board.
+
+Unfortunately most PCB fabricators require a minimum order of 10 or
+so, making this impractical for one-offs. The PCB is not required, so
+for one-off boards it's usually more sensible to stick with a [[http://atreus.technomancy.us/assembly-hand-wired.pdf][hand-wired build]] instead.
+
 ** Case
 
 Layered laser-cut wood or acrylic. The original case (=case-mk-i.svg=)
 is slightly less wide and has a minor asymmetry with the screws on the
-bottom side. The [[http://geekhack.org/index.php?topic%3D54759.msg1304117#msg1304117][mark II case]] (in the =case= directory) is implemented
-programmatically in openscad, though dxf files are available as a
-convenience, which can be converted to SVG or EPS for laser cutting
-with Inkscape. Mark II features 8 screw holes and a kind of "stair
+bottom side. The [[http://geekhack.org/index.php?topic%3D54759.msg1304117#msg1304117][mark II case]] (in the =case/dxf= directory) is
+available as a DFX file that you can convert to SVG or EPS for a laser
+cutter using Inkscape. Mark II features 8 screw holes and a kind of "stair
 step" design around the top and bottom of the key clusters; mark I is
 pictured below.
 
+TODO: the logo is missing from some of the case files and needs to be added back in.
+
+There is also a programmatically-implemented version of the case
+written in OpenSCAD; it is more flexible (you can tweak the number of
+rows/cols, etc and recompile) but it doesn't match the canonical case
+exactly; in particular the screw holes are placed differently.
+
 [[./layers.jpg]]
 
-The bottom and top covers (black in the photo) should be cut in 3mm.
-The switch plate (frosted in the photo) can be cut in 4.5 or
-3mm. The spacer should be cut in 5mm; it needs to be at least as
-thick as the USB cable you connect to the microcontroller. I
-recommend using a USB cable with as thin a connector as you can
-find or sanding the connector down to the required thickness.
+The first two shapes in the case file are the top and bottom covers;
+these should be cut on 3mm acrylic (black in the photo). The third is
+the spacer that goes under the fourth, which is the plate on which the
+switches are mounted. These should be cut in 6mm, especially the
+spacer, which needs to be at least as thick as the mini USB cable you
+connect to the microcontroller. I recommend using a mini USB cable
+with as thin a connector as you can find or sanding the connector
+down to the required thickness. The switch plate could be thinner, but
+not under 3mm.
+
+On a 100W Epilog laser, the 3mm layers cut in about a minute and a
+half. I did a run with 6mm acrylic of the other layers which took
+nearly 6 minutes.
+
+Wood cases should be finished with sandpaper and finishding oil/wax.
 
 ** Firmware
 
index 2195de9e4f707eea146bb5b20c6232d7afd9a042..43c0ae3c156d685461659aba0150059ac2565802 100644 (file)
                  (curry read-string 999999)) op)
       (display ")" op))))
 
-(write-placement "/tmp/atreus.kicad_pcb")
+(write-placement "atreus.kicad_pcb")
index 0bde5137f6a3c5f8ec896cff686fe8aa3a480cf2..fb3430a96787b4f0e56e6bc7c7309d2475746c37 100644 (file)
@@ -23,4 +23,6 @@ To use, open this script in OpenSCAD, select *Compile and Render
 
 Use Inkscape to convert to SVG, if necessary.
 
-
+Please note that the OpenSCAD version of the case is not a direct port
+of the canonical DXF; the screw placement is a little bit different,
+and the curve of the bottom edge sticks out a bit more.