diff options
author | Andrew Cady <d@jerkface.net> | 2019-03-13 01:58:39 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2019-03-13 01:58:39 -0400 |
commit | 77ec844f6ce0d1b7129c04e5dd31d2383680db4b (patch) | |
tree | d13cbe883d003e56cf6f0cdd7e42b73a1ca1e2d4 | |
parent | ee8373d9a9175f5f4f6553b9e253daf62e76610c (diff) |
stub out new shelf code
-rw-r--r-- | shelves.hs | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -1,8 +1,19 @@ | |||
1 | import Control.Lens | 1 | import Control.Lens |
2 | import Data.List | 2 | import GenSCAD (genscad) |
3 | import GenSCAD (genscad) | 3 | import Graphics.OpenSCAD |
4 | import Linear.V3 | 4 | import Linear.V3 |
5 | 5 | ||
6 | data Shelf | ||
7 | |||
8 | myShelf :: Shelf | ||
9 | myShelf = undefined | ||
10 | |||
11 | modelShelf :: Shelf -> Model3d | ||
12 | modelShelf = undefined | ||
13 | |||
14 | main :: IO () | ||
15 | main = draw $ modelShelf myShelf | ||
16 | |||
6 | shelf_thickness :: Double | 17 | shelf_thickness :: Double |
7 | shelf_thickness = 0.5 | 18 | shelf_thickness = 0.5 |
8 | shelf_width :: Double | 19 | shelf_width :: Double |
@@ -52,8 +63,8 @@ scadshelf = genscad $ shelves ++ sides | |||
52 | 63 | ||
53 | 64 | ||
54 | 65 | ||
55 | main :: IO () | 66 | -- main :: IO () |
56 | main = do putStrLn scadshelf | 67 | -- main = do putStrLn scadshelf |
57 | 68 | ||
58 | 69 | ||
59 | 70 | ||