Hello,
I have a quick question with shatter.
I have a polygon with internal angles and horizontal lines, and as a result, the polygon’s internal angles intersect the lines and I lose part of them.
Do you have any idea how I can get the lines on the entire shape?
Thanks in advance
Pierre
shatter.gh (12.6 KB)
if your “hatch” curves traverse the whole trimming region both sides, I think a 0/1 Cull Pattern would be enough (like, for each shattered curve, take each second segment: discard take discard take and so on):
but for the general case I’d rather use Trim with Region to accomplish that task:
shatter_Re.gh (13.0 KB)
[I just noticed Trim with region does not give you the very first Line on top, probably because it is coincident with the top side of the trimming region, so it’s not “properly inside” ]
Thanks a lot perfect !
It doesn’t matter if there is no 1st curve
1 Like