]> git.armaanb.net Git - atreides.git/commitdiff
Deck Mark V
authorPhil Hagelberg <phil@hagelb.org>
Mon, 2 Mar 2020 16:13:44 +0000 (08:13 -0800)
committerPhil Hagelberg <phil@hagelb.org>
Mon, 2 Mar 2020 16:13:44 +0000 (08:13 -0800)
case/case.rkt
case/deck.rkt
case/pine64-fragment.svg
case/pine64.svg

index f20aa3e6f0cf395cf9fd961a07a87f97629ac906..7af8b30a8b26f2316152c820dcb7b72213eb2142 100644 (file)
@@ -24,7 +24,7 @@
 (define alps-switch-height 13.087)
 (define cherry-switch-width 13.62)
 (define cherry-switch-height 13.72)
-(define cherry? true)
+(define cherry? false)
 (define switch-height (if cherry? cherry-switch-height alps-switch-height))
 (define switch-width (if cherry? cherry-switch-width alps-switch-width))
 
index f2876cb462643818b3f380a9b5ccfadd167849a4..f7999f8ea2362a4ee8fa7fdd6463da4f5dd7b48f 100644 (file)
@@ -61,7 +61,7 @@
                                  ;; the bottom middle has only one screw but
                                  ;; two hull positions
                                  (list (list (/ width 2) mid-bottom))
-                                 (drop hull-coords 5))])
+                                 (take (drop hull-coords 5) 2))])
              `(circle ((r ,(number->string screw-radius))
                        (cx ,(number->string (first s)))
                        (cy ,(number->string (second s))))))))
 ;; screen viewable: 116x68
 
 (define screen-slots
-  (let ((x 170)
+  (let ((x 180)
         (y "-65"))
     (list `(rect ((x ,(format "~s" x))
                   (y ,y)
 ;; live-reload with:
 ;; qiv --watch deck-switch.svg
 
+;; TODO: headphone jack is missing
+;; TODO: check HDMI width
 (write-out-layer 'switch)
+;; TODO: flip the bottom horizontally!
+;; TODO: remove heat sink cutout
 (write-out-layer 'bottom)
index 3b31532f4641f4b499bfd8ee66c9880d4c6254da..e3f93084d1db182ecf0e887c265448ba2de71a2e 100644 (file)
@@ -1,5 +1,8 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-    <g id="g50">
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+    <g
+       id="g5839">
       <circle
          transform="scale(-1)"
          r="1.4013965"
@@ -9,6 +12,8 @@
          style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.09720702;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
       <circle
          transform="scale(-1)"
+         inkscape:transform-center-y="-28.849266"
+         inkscape:transform-center-x="-0.72123166"
          r="1.4013966"
          cy="-222.54997"
          cx="-123.93"
          cx="-5.530683"
          id="path847-1"
          style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.09720702;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
-      <!-- this hole already exists, but we can use it for alignment -->
-      <!-- <circle -->
-      <!--    transform="scale(-1)" -->
-      <!--    r="1.4013966" -->
-      <!--    cy="-222.54997" -->
-      <!--    cx="-5.530683" -->
-      <!--    id="path847-5" -->
-      <!--    style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.09720702;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> -->
+      <circle
+         transform="scale(-1)"
+         r="1.4013966"
+         cy="-222.54997"
+         cx="-5.530683"
+         id="path847-5"
+         style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.09720702;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
       <rect
          transform="scale(-1)"
          y="-288.11554"
          width="59.823772"
          id="rect880"
          style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.1762262;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
-      <rect
-         transform="scale(-1)"
-         y="-266.625"
-         x="-131.74718"
-         height="18.607777"
-         width="22.358181"
-         id="rect882"
-         style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.14999999;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
-      <rect
-         transform="scale(-1)"
-         y="-286.625"
-         x="-144.74718"
-         height="16.607777"
-         width="28.358181"
+      <path
          id="rect882"
-         style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.14999999;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+         d="M 131.74718,266.625 H 109.389 v -18.60778 h 22.35818 z"
+         style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.14999999;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+         inkscape:connector-curvature="0" />
       <rect
          transform="scale(-1)"
          y="-233.26974"
          width="14.857372"
          id="rect890-4"
          style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.14999999;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <rect
+         y="248.45453"
+         x="69.154579"
+         height="21.290863"
+         width="13.090864"
+         id="rect4524"
+         style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.10913721;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <rect
+         y="228.76283"
+         x="120.27613"
+         height="11.874357"
+         width="32.874359"
+         id="rect4572"
+         style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.12564273;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <rect
+         y="244.12321"
+         x="-11.856783"
+         height="26.210566"
+         width="19.713566"
+         id="rect4608"
+         style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.28643477;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <rect
+         y="270.05338"
+         x="116.05337"
+         height="16.893267"
+         width="29.893267"
+         id="rect5217"
+         style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.10673381;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
     </g>
-
-
index a715f5dd48e720200b78168528ed58683a05798b..51972f565aa171fe70ed99685e85f9670c14b6e8 100644 (file)
@@ -26,8 +26,8 @@
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
      inkscape:zoom="1.5180232"
-     inkscape:cx="310.28237"
-     inkscape:cy="111.81058"
+     inkscape:cx="290.35167"
+     inkscape:cy="122.18401"
      inkscape:document-units="mm"
      inkscape:current-layer="layer1"
      showgrid="false"
@@ -52,7 +52,7 @@
      inkscape:groupmode="layer"
      id="layer1">
     <g
-       id="g50">
+       id="g5839">
       <rect
          transform="scale(-1)"
          y="-296.8793"
          width="59.823772"
          id="rect880"
          style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.1762262;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
-      <rect
-         transform="scale(-1)"
-         y="-266.625"
-         x="-131.74718"
-         height="18.607777"
-         width="22.358181"
+      <path
          id="rect882"
-         style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.14999999;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+         d="M 131.74718,266.625 H 109.389 v -18.60778 h 22.35818 z"
+         style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.14999999;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+         inkscape:connector-curvature="0" />
       <rect
          transform="scale(-1)"
          y="-233.26974"
          width="14.857372"
          id="rect890-4"
          style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.14999999;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <rect
+         y="248.45453"
+         x="69.154579"
+         height="21.290863"
+         width="13.090864"
+         id="rect4524"
+         style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.10913721;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <rect
+         y="228.76283"
+         x="120.27613"
+         height="11.874357"
+         width="32.874359"
+         id="rect4572"
+         style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.12564273;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <rect
+         y="244.12321"
+         x="-11.856783"
+         height="26.210566"
+         width="19.713566"
+         id="rect4608"
+         style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.28643477;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <rect
+         y="270.05338"
+         x="116.05337"
+         height="16.893267"
+         width="29.893267"
+         id="rect5217"
+         style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.10673381;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
     </g>
   </g>
 </svg>