aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrussm <russm@slofith.org>2015-07-05 20:43:51 +1000
committerrussm <russm@slofith.org>2015-07-05 20:55:34 +1000
commit56e30f81bc0fc570dd0424811180f4a543030833 (patch)
treedc0a2b47a349d1990f8b1754da2d37553566ef0b
parentf08e78d2a13e74dc894f241c473bb537aae8d582 (diff)
downloadnovena-mechanical-parts-56e30f81bc0fc570dd0424811180f4a543030833.tar.gz
novena-mechanical-parts-56e30f81bc0fc570dd0424811180f4a543030833.tar.bz2
novena-mechanical-parts-56e30f81bc0fc570dd0424811180f4a543030833.zip
first draft of the lower case in PostScript, ready to cut
-rw-r--r--simple-laptop-case/README.rst2
-rw-r--r--simple-laptop-case/case1.ps81
-rw-r--r--simple-laptop-case/case1.svg7
-rw-r--r--simple-laptop-case/lower_outline.svg7
-rw-r--r--simple-laptop-case/novena-senoko-top-only.svg10
5 files changed, 83 insertions, 24 deletions
diff --git a/simple-laptop-case/README.rst b/simple-laptop-case/README.rst
index 7a06513..b1e492d 100644
--- a/simple-laptop-case/README.rst
+++ b/simple-laptop-case/README.rst
@@ -8,3 +8,5 @@ Notes
-----
- Senoko sits 1.2mm lower than novena
+- SD card cutout position is currently just a guess and needs to be fixed
+- kerf is tunable - use the variable "k" to offset the laser path from the desired edge
diff --git a/simple-laptop-case/case1.ps b/simple-laptop-case/case1.ps
new file mode 100644
index 0000000..9050647
--- /dev/null
+++ b/simple-laptop-case/case1.ps
@@ -0,0 +1,81 @@
+%!PS
+
+% setup
+/mm { 360 mul 127 div } def
+0 setlinewidth
+/k 0 mm def % kerf
+<< /PageSize [ 600 mm 300 mm ] >> setpagedevice
+
+% page boundary
+1 0 1 setrgbcolor
+5 mm 5 mm moveto
+595 mm 5 mm lineto
+595 mm 295 mm lineto
+5 mm 295 mm lineto
+closepath
+stroke
+
+% cut base outline
+1 0 0 setrgbcolor
+/sdcutout {
+ /h exch def /w exch def /y exch def /x exch def /r exch def
+ x r sub y r sub r k add 0 90 arc
+ x w sub r add y r add r k sub 270 180 arcn
+ x w sub r add y h add r sub r k sub 180 90 arcn
+ x r sub y h add r add r k add 270 0 arc
+} def % r x y w h sdcutout -
+332.4 mm k add 225.7 mm moveto
+329.4 mm 225.7 mm 3.0 mm k add 0 90 arc % top right
+8.0 mm 225.7 mm 3.0 mm k add 90 180 arc % top left
+23.7 mm 23.7 mm 18.7 mm k add 180 270 arc % bottom left
+331.4 mm 6.0 mm 1.0 mm k add 270 0 arc % bottom right
+4 mm 332.4 mm 65 mm 8 mm 26 mm sdcutout
+closepath
+stroke
+
+% novena & senoko
+gsave % different coordinates, so we'll be changing the transform matrix
+270 rotate
+-170 mm 195 mm translate
+% etch outlines
+0 1 0 setrgbcolor
+-41.459858647 mm 9.55484991543 mm moveto
+-41.459858647 mm 130.554849215 mm lineto
+-0.459859421335 mm 130.554849215 mm lineto
+-0.459859421335 mm 9.55484991543 mm lineto
+closepath
+stroke
+0 mm 130.58000162 mm moveto
+150 mm 130.58000162 mm lineto
+150 mm 9.57999978 mm lineto
+0 mm 9.57999978 mm lineto
+closepath
+stroke
+/drillhole {
+ k sub 0 360 arc stroke
+} def % x y r drillhole -
+% cut drillholes
+1 0 0 setrgbcolor
+-38.4598596206 mm 127.554850137 mm 1.44999964 mm drillhole
+-3.45985850064 mm 127.554850152 mm 1.44999964 mm drillhole
+-38.4598595856 mm 49.554848657 mm 1.44999964 mm drillhole
+-3.45985847461 mm 69.554849313 mm 1.44999964 mm drillhole
+-19.4598594755 mm 27.054850485 mm 1.44999964 mm drillhole
+3 mm 127.580000000 mm 1.44999964 mm drillhole
+3 mm 109.580000440 mm 1.44999964 mm drillhole
+18.00000048 mm 106.579998820 mm 1.44999964 mm drillhole
+147.00000156 mm 127.580000000 mm 1.44999964 mm drillhole
+3 mm 73.579998780 mm 1.44999964 mm drillhole
+77.21900066 mm 45.198998900 mm 1.59999934 mm drillhole
+3 mm 12.579998860 mm 1.44999964 mm drillhole
+103.38100066 mm 71.360998900 mm 1.59999934 mm drillhole
+147.15000888 mm 88.335003560 mm 1.59999934 mm drillhole
+119.99999968 mm 56.579999760 mm 1.44999964 mm drillhole
+147.15000888 mm 63.335002760 mm 1.59999934 mm drillhole
+147.00000156 mm 56.579999760 mm 1.44999964 mm drillhole
+147.00000156 mm 12.579998860 mm 1.44999964 mm drillhole
+grestore % restore the original transform matrix
+
+% and we're done
+showpage
+quit
diff --git a/simple-laptop-case/case1.svg b/simple-laptop-case/case1.svg
deleted file mode 100644
index 5374f6e..0000000
--- a/simple-laptop-case/case1.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="337.4mm" height="233.7mm" viewBox="0 0 337.4 233.7" xmlns="http://www.w3.org/2000/svg" version="1.1">
-<g transform="translate(0,233.7) scale(1,-1)">
-<path id="Outline" d="M 332.4 225.7 A 3.0 3.0 0 0 1 329.4 228.7 L 8.0 228.7 A 3.0 3.0 0 0 1 5.0 225.7 L 5.0 23.7 A 18.7 18.7 0 0 1 23.7 5.0 L 331.4 5.0 A 1.0 1.0 0 0 1 332.4 6.0 L 332.4 225.7 Z " stroke="#ff0000" stroke-width="0.01" style="stroke-width:0.01;fill:#ffffff"/>
-</g>
-</svg>
diff --git a/simple-laptop-case/lower_outline.svg b/simple-laptop-case/lower_outline.svg
deleted file mode 100644
index 6dd358a..0000000
--- a/simple-laptop-case/lower_outline.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="337.4mm" height="233.7mm" viewBox="0 0 337.4 233.7" xmlns="http://www.w3.org/2000/svg" version="1.1">
-<g transform="translate(0,233.7) scale(1,-1)">
-<path id="Outline" d="M 332.4 225.7 A 3.0 3.0 0 0 1 329.4 228.7 L 8.0 228.7 A 3.0 3.0 0 0 1 5.0 225.7 L 5.0 23.7 A 18.7 18.7 0 0 1 23.7 5.0 L 331.4 5.0 A 1.0 1.0 0 0 1 332.4 6.0 L 332.4 225.7 Z " stroke="#191919" stroke-width="0.1" style="stroke-width:0.1;fill:#ffffff"/>
-</g>
-</svg>
diff --git a/simple-laptop-case/novena-senoko-top-only.svg b/simple-laptop-case/novena-senoko-top-only.svg
deleted file mode 100644
index 7a49c80..0000000
--- a/simple-laptop-case/novena-senoko-top-only.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="195.289056528mm" height="124.854348891mm" viewBox="0 0 195.289056528 124.854348891" xmlns="http://www.w3.org/2000/svg" version="1.1">
-<g transform="translate(43.3744572947,132.494600213) scale(1,-1)">
-<path id="Face004" d="M -41.459858647 9.55484991543 L -41.4598587013 130.554849215 L -0.459859421335 130.554849234 L -0.459859367036 9.55484993383 L -41.459858647 9.55484991543 Z M -38.4598596206 129.004849777 A 1.44999964 1.44999964 0 0 0 -38.4598596193 126.104850497 A 1.44999964 1.44999964 0 0 0 -38.4598596206 129.004849777 Z M -3.45985850064 129.004849792 A 1.44999964 1.44999964 0 0 0 -3.45985849934 126.104850512 A 1.44999964 1.44999964 0 0 0 -3.45985850064 129.004849792 Z M -38.4598595856 51.0048482968 A 1.44999964 1.44999964 0 0 0 -38.4598595843 48.1048490168 A 1.44999964 1.44999964 0 0 0 -38.4598595856 51.0048482968 Z M -3.45985847461 71.0048489525 A 1.44999964 1.44999964 0 0 0 -3.45985847331 68.1048496725 A 1.44999964 1.44999964 0 0 0 -3.45985847461 71.0048489525 Z M -19.4598594755 28.5048501253 A 1.44999964 1.44999964 0 0 0 -19.4598594742 25.6048508453 A 1.44999964 1.44999964 0 0 0 -19.4598594755 28.5048501253 Z " stroke="#191919" stroke-width="0.35 px" style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:#cccccc;fill-rule: evenodd "/>
-</g>
-<g transform="translate(43.3744572947,132.494600213) scale(1,-1)">
-<path id="Face129" d="M 0.0 130.58000162 L 150.00000064 130.58000162 L 150.00000064 9.57999978 L 0.0 9.57999978 L 0.0 130.58000162 Z M 3.0 129.02999964 A 1.44999964 1.44999964 0 0 1 3.0 126.13000036 A 1.44999964 1.44999964 0 0 1 3.0 129.02999964 Z M 3.0 111.03000008 A 1.44999964 1.44999964 0 0 1 3.0 108.1300008 A 1.44999964 1.44999964 0 0 1 3.0 111.03000008 Z M 18.00000048 108.02999846 A 1.44999964 1.44999964 0 0 1 18.00000048 105.12999918 A 1.44999964 1.44999964 0 0 1 18.00000048 108.02999846 Z M 147.00000156 129.02999964 A 1.44999964 1.44999964 0 0 1 147.00000156 126.13000036 A 1.44999964 1.44999964 0 0 1 147.00000156 129.02999964 Z M 3.0 75.02999842 A 1.44999964 1.44999964 0 0 1 3.0 72.12999914 A 1.44999964 1.44999964 0 0 1 3.0 75.02999842 Z M 77.21900066 46.79899824 A 1.59999934 1.59999934 0 0 1 77.21900066 43.59899956 A 1.59999934 1.59999934 0 0 1 77.21900066 46.79899824 Z M 3.0 14.0299985 A 1.44999964 1.44999964 0 0 1 3.0 11.12999922 A 1.44999964 1.44999964 0 0 1 3.0 14.0299985 Z M 103.38100066 72.96099824 A 1.59999934 1.59999934 0 0 1 103.38100066 69.76099956 A 1.59999934 1.59999934 0 0 1 103.38100066 72.96099824 Z M 147.15000888 89.9350029 A 1.59999934 1.59999934 0 0 1 147.15000888 86.73500422 A 1.59999934 1.59999934 0 0 1 147.15000888 89.9350029 Z M 119.99999968 58.0299994 A 1.44999964 1.44999964 0 0 1 119.99999968 55.13000012 A 1.44999964 1.44999964 0 0 1 119.99999968 58.0299994 Z M 147.15000888 64.9350021 A 1.59999934 1.59999934 0 0 1 147.15000888 61.73500342 A 1.59999934 1.59999934 0 0 1 147.15000888 64.9350021 Z M 147.00000156 58.0299994 A 1.44999964 1.44999964 0 0 1 147.00000156 55.13000012 A 1.44999964 1.44999964 0 0 1 147.00000156 58.0299994 Z M 147.00000156 14.0299985 A 1.44999964 1.44999964 0 0 1 147.00000156 11.12999922 A 1.44999964 1.44999964 0 0 1 147.00000156 14.0299985 Z " stroke="#191919" stroke-width="0.35 px" style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:#cccccc;fill-rule: evenodd "/>
-</g>
-</svg>