On Sun 25 Feb 2007, Stacho Mudrak wrote:
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.
I thought that I could add metapost macros and they would not need compiling into therion to work. Just like the many examples in the Wiki. So what your saying is that the tet 'clay' works because that key work is compiled in but 'flowstone' is not compiled in so a metapost macro of that name won't work. Is that right?
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.
Yes orientaion would be good but just flowstone for now with no orientation would be better than nothing. Thanks.
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
_______________________________________________ Therion mailing list Therion@speleo.sk http://www.speleo.sk/mailman/listinfo/therion
-- -- Mike Lake Caver, Linux enthusiast and interested in anything technical.