19. 4. 2020 v 13:46, Roger Schuster <roger@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