Re: [Therion] Hatching profiles and extended elevations

2020-04-19 Thread Roger Schuster

Hi all,

thank you for your answer. The problem with the direction arrow at 
section lines is solved. I had missed the explanation in the Therion 
book because I always just checked the documentation in foot note 27.


Last night I had the idea to solve the problem with hatching using an 
area. If I draw one invisible border (with -clip off) around the profile 
and use this as area (type water for example, with -clip off) the 
pattern also fills the inner part of the profile which I don't like to 
have. Next I tried to draw a second invisible border just outside of the 
profile and applied the area to the "gap" between the inner and outer 
border but this results in really weird patterns. I guess it's because 
the inner border behaves like a pillar. Of course I played around with 
different orientations of the borders. It never works as expected.


Best regards,

Roger

Am 19.04.2020 um 00:38 schrieb Benedikt Hallinger:

Hello,
for the hatches:
maybe you could do a custom area symbol and use it with "clip off" 
option. I don't know if this is supported, but it might work. You 
could try it with some other area first...


And the section arrows are easy by a line option (see thbook p. 29):
"direction  ▷ can be used only with the 
section type.
It indicates where to put a direction arrow on the section line. None 
is default."



Am 2020-04-18 22:06, schrieb Roger Schuster:

Hello cavers,

at least in Germany it is/was usual to add hatching to extended
elevations and profiles (cross sections) like in the following
example:

I guess it will be difficult to do this in Therion because the
hatching is outside of the passage and will be clipped but anyway: Is
there a way to achieve this?

Is it possible to add an arrow to lines of type section indicating the
viewing direction like in this example:

Thank you!

Best regards,

Roger
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Hatching profiles and extended elevations

2020-04-19 Thread Martin Sluka via Therion

> 18. 4. 2020 v 22:06, Roger Schuster :
> 
> I guess it will be difficult to do this in Therion because the hatching is 
> outside of the passage and will be clipped but anyway: Is there a way to 
> achieve this? 

Simply add (custom) area like default water under your drawing (bottom of stack 
of commands in a particular scrap) with border invisible and "-clip off“ 
parameter. You may add any kind of area in such way (colorized, …)

Martin

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Hatching profiles and extended elevations

2020-04-18 Thread Tarquin Wilton-Jones via Therion
> for the hatches:
> maybe you could do a custom area symbol and use it with "clip off"
> option. I don't know if this is supported, but it might work. You could
> try it with some other area first...


Another option is to make the wall:bedrock line have rays pointing at an
angle (using a strict angle, not the angle of the line) but cutafter the
line itself. But I think this might be extremely tricky to implement,
and I can't think of an an easy way right now. The issue would be tight
corners, where it is simply not possible to do all the clipping correctly.

You could though define an area between the wall line itself, and a path
that you calculate (using sharp corner avoidance) outside the wall line:
https://therion.speleo.sk/wiki/metapost#shuttering_two_parallel_lines
Then fill that area using a hatching pattern. That could actually work,
and not be totally insane. However, your issue would be when you change
from one line to another - at that point, the fill areas might not match
up perfectly, and you might get unhatched gaps. It would only work for
lines that you have redefined to have that cool fill pattern. Maybe
someone will feel inspired to make a proof of concept...
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Hatching profiles and extended elevations

2020-04-18 Thread Benedikt Hallinger

Hello,
for the hatches:
maybe you could do a custom area symbol and use it with "clip off" 
option. I don't know if this is supported, but it might work. You could 
try it with some other area first...


And the section arrows are easy by a line option (see thbook p. 29):
"direction  ▷ can be used only with the 
section type.
It indicates where to put a direction arrow on the section line. None is 
default."



Am 2020-04-18 22:06, schrieb Roger Schuster:

Hello cavers,

at least in Germany it is/was usual to add hatching to extended
elevations and profiles (cross sections) like in the following
example:

I guess it will be difficult to do this in Therion because the
hatching is outside of the passage and will be clipped but anyway: Is
there a way to achieve this?

Is it possible to add an arrow to lines of type section indicating the
viewing direction like in this example:

Thank you!

Best regards,

Roger
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion