Hello,
I’m trying to recreate a style of hachuring using GH & I’ve run into a few problems that I’m hoping someone could assist me in solving. The intended final product I hoped for would look similar to below:
I started by drawing a rather basic contour to generate the script, hoping to use it for more complex models. I then used Mosquito’s Flow mapping on each contour line to generate the curves. This is where two problems arise:
On the left we have the flow model condensing all of these curves to near intersections – this is too dense. On the right, there is a rather lack of flow curves running there. For the latter, I used Pufferfish’s tween node to generate infill curves to populate the area and then attempted to trim every other curve. The rather large problem with this is that the bounding curves for this tween inevitably get overpopulated; yet if I lower the factor, the center isn’t dense enough…see below:
For the former problem, I was able to isolate and trim some of the lines, yet I haven’t quite figured out how to have the original lines removed.
And I haven’t had the slightest clue how to deal with these valley-like situations:
It’d be much appreciated if someone with my knowledge could help with any of these problems. Or if you have a more logical way of doing this, please let me know!
Here is the in-progress GH script:
Hachure test2.gh (277.0 KB)