[Therion] Hatching profiles and extended elevations
Martin Sluka
martinsluka at mac.com
Sun Apr 19 15:41:32 CEST 2020
> 19. 4. 2020 v 13:46, Roger Schuster <roger at r-schuster.de>:
>
> 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.
Check attached images. The trick is, the real scrap (section in this case) is filled by a colour white in this case). So the upper scrap clip the underlying background scrap. And I use wall:invisible as border for background scrap. I apologize myself, but it is 7 years now.
Martin
hatch.thconfig:
layout hatch
code metapost
beginpattern(pattern_hatch);
draw origin--10up withpen pensquare scaled (0.02u);
patternxstep(.18u);
patterntransform(identity rotated 125);
endpattern;
def a_u_hatch (expr Path) =
T:=identity;
thclean Path;
thfill Path withpattern pattern_hatch;
enddef;
def a_u_white (expr p) =
T:=identity;
thfill p withcolor (1, 1, 1);
enddef;
endlayout
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20200419/b043d729/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sni?mek obrazovky 2020-04-19 v?15.37.10.png
Type: image/png
Size: 72759 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20200419/b043d729/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sni?mek obrazovky 2020-04-19 v?15.35.51.png
Type: image/png
Size: 35402 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20200419/b043d729/attachment-0001.png>
More information about the Therion
mailing list