I am sorry, "area flowstone" symbol is not yet supported, it is only in the TODO list :( This is main reason of your problems. OK, I will try to add it ASAP - it should be relatively easy. But I expect, that with area flowstone, there is definitely some orientation needed. Am I correct? This will take some time - there is some GUI in xtherion needed and we had no oriented area until now. Regards, S. Mike Lake wrote:
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