summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-03-13 01:58:39 -0400
committerAndrew Cady <d@jerkface.net>2019-03-13 01:58:39 -0400
commit77ec844f6ce0d1b7129c04e5dd31d2383680db4b (patch)
treed13cbe883d003e56cf6f0cdd7e42b73a1ca1e2d4
parentee8373d9a9175f5f4f6553b9e253daf62e76610c (diff)
stub out new shelf code
-rw-r--r--shelves.hs19
1 files changed, 15 insertions, 4 deletions
diff --git a/shelves.hs b/shelves.hs
index 8182e99..0484ff5 100644
--- a/shelves.hs
+++ b/shelves.hs
@@ -1,8 +1,19 @@
1import Control.Lens 1import Control.Lens
2import Data.List 2import GenSCAD (genscad)
3import GenSCAD (genscad) 3import Graphics.OpenSCAD
4import Linear.V3 4import Linear.V3
5 5
6data Shelf
7
8myShelf :: Shelf
9myShelf = undefined
10
11modelShelf :: Shelf -> Model3d
12modelShelf = undefined
13
14main :: IO ()
15main = draw $ modelShelf myShelf
16
6shelf_thickness :: Double 17shelf_thickness :: Double
7shelf_thickness = 0.5 18shelf_thickness = 0.5
8shelf_width :: Double 19shelf_width :: Double
@@ -52,8 +63,8 @@ scadshelf = genscad $ shelves ++ sides
52 63
53 64
54 65
55main :: IO () 66-- main :: IO ()
56main = do putStrLn scadshelf 67-- main = do putStrLn scadshelf
57 68
58 69
59 70