algorithmic modeling for Rhino
Hey, I'm stuck in data structures, please help!
There are N surfaces with curves inside offset from its edge (using clipper):
The point of this script is to give an offset pattern to a texture mapping (with human plugin).
That is why I want to now make new surface meshes out of the surfaces, according to the offset. Something (by no means exactly) like this:
How do I use do this?
H(o)i Wietse, what you are looking for is called 'Straight skeleton' (or 'Angular Bisector Network'), maybe knowing that helps in finding a working solution. I don't think I have one at the moment (nor do I recall ever seeing one at the forum), so please keep me posted about any insights about the subject.
Also I'm wondering if ClosedFillet type shouldn't be Miter(2) instead of Square(1)...
Thanks for the name and you are right about the ClosedFillet type, it's a much clearer structure.
This script works somewhat:
It however lacks the ability to distinguish between angles facing inwards and angles facing outwards. It instead takes the smallest angle and bisects that one.
If only we could make it bisect angles > 180 twice...
Looking at it again, the issue isn't
"It however lacks the ability to distinguish between angles facing inwards and angles facing outwards. It instead takes the smallest angle and bisects that one."
it's a bit more complicated -.-'
I am not sure, if it is the same problem/topic. But maybe this tutorial can help you? looking very similiar to your drawings.
the main problem by the clipper plugin is, that the offset componennt does not retain the list order before. very annoying. but still a great plugin :) you can try to sort it with the area of the curves...