From: Ian Jackson Date: Sun, 5 Jul 2015 12:39:52 +0000 (+0100) Subject: pandemic-quarantines: xfig layers are numbers, wip X-Git-Tag: filamentspool-v2-release~181 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=6c924eca0e86f92539fa18c1d68fc1e780624dea pandemic-quarantines: xfig layers are numbers, wip --- diff --git a/Makefile b/Makefile index 06c09d4..c2c8972 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,7 @@ pandemic-counter-l%.eps: pandemic-counter-letters.fig fig2dev -D +$(notdir $*) -L eps <$< >$@.tmp @mv -f $@.tmp $@ -PANDEMICQUARANTINES_NUMBERS=35 +PANDEMICQUARANTINES_NUMBERS=1 2 PANDEMICQUARANTINES_DXFS=$(foreach l,$(PANDEMICQUARANTINES_NUMBERS), \ pandemic-quarantine-l$l.dxf) diff --git a/pandemic-quarantine-numbers.fig b/pandemic-quarantine-numbers.fig index cb7f846..1524380 100644 --- a/pandemic-quarantine-numbers.fig +++ b/pandemic-quarantine-numbers.fig @@ -9,4 +9,5 @@ Single 1200 2 2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5 1800 1800 2385 1800 2385 2385 1800 2385 1800 1800 -4 0 0 35 -1 14 24 0.0000 4 255 240 1980 2205 1\001 +4 0 0 1 -1 14 24 0.0000 4 255 240 1980 2205 1\001 +4 0 0 2 -1 14 24 0.0000 4 255 240 1980 2205 2\001 diff --git a/pandemic-quarantines.scad b/pandemic-quarantines.scad index e9b9eaa..5d210dc 100644 --- a/pandemic-quarantines.scad +++ b/pandemic-quarantines.scad @@ -3,12 +3,14 @@ prisml = 13; triedge = 13; +etchdepth = 1.5; + figboxsize = 13; -module Number(depth) { +module Number(number) { translate([-figboxsize/2, -figboxsize/2]) - import(file=str("pandemic-quarantine-l",depth,".dxf"), convexity=100); -} + import(file=str("pandemic-quarantine-l",number,".dxf"), convexity=100); +} module FaceTriangle(){ x = triedge / 2; @@ -24,4 +26,24 @@ module Body(){ linear_extrude(height=prisml) FaceTriangle(); } -Body(); +module NumberCut(number){ + translate([0,0, -etchdepth]) + linear_extrude(height= etchdepth + 1) + Number(number); +} + +module Etchings(){ + for (my=[0,1]) { + + } +} + +module Counter(){ + difference(){ + Body(); + Etchings(); + } +} + +Counter(); +//NumberCut(1);