[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Therion] Help with a flowstone symbol for ASF.
From: |
Mike Lake |
Subject: |
[Therion] Help with a flowstone symbol for ASF. |
Date: |
Sun, 25 Feb 2007 12:31:22 +1100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hi all
I am trying to do a flowstone symbol for the ASF.
In thconfig I have this:
layout mypage
scale 1 200
base-scale 1 100
symbol-set ASF
code metapost
beginpattern(pattern_flowstone_ASF);
pickup PenC;
draw (-.5u,.5u){dir -70} .. {dir 70}(.5u,.5u);
patternxstep(1.0u);
patternystep(0.5u);
endpattern;
def a_flowstone_ASF (expr Path) =
T:=identity;
thclean Path;
thfill Path withpattern
pattern_flowstone_ASF;
enddef;
endcode
symbol-assign area flowstone ASF
endlayout
Im getting this errori when I run therion:
therion: error -- thconfig [76] -- thconfig [76] -- unknown symbol
specification -- area flowstone
The pattern Im wanting is based on this
draw (-.5u,.5u){dir -70} .. {dir 70}(.5u,.5u);
which looks like this \__/
and what I would like to have is this:
\__/\__/\__/\__/\__/\__/\__/\__/
\__/\__/\__/\__/\__/\__/\__/\__/
\__/\__/\__/\__/\__/\__/\__/\__/
\__/\__/\__/\__/\__/\__/\__/\__/
I see in the thArea.mp that some patterns are done using the mpattern
package and use a beginpattern (e.g. pattern_water_UIS) while others seem to
just use a for loop
(e.g. a_sand_UIS) and dont use the mpattern package.
Should one use the mpattern macro over more complex mpost code if its
suitable?
Mike
--
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
_______________________________________________
Therion mailing list
address@hidden
http://www.speleo.sk/mailman/listinfo/therion