Can Clipper2 offset a path non-uniformly? #866
-
I'd like to non-uniformly offset paths with Clipper2 to get a result similar to this one: I couldn't find anything in the documentation that would let me do this, but maybe I have looked at the wrong place. If this isn't possible with Clipper2 would anyone know another library that could do this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Check out the variable offset example, I think it may be what you are looking for: https://github.com/AngusJohnson/Clipper2/blob/main/CPP/Examples/VariableOffset/VariableOffset.cpp |
Beta Was this translation helpful? Give feedback.
-
This seem indeed to be what I am looking for, thank you very much! |
Beta Was this translation helpful? Give feedback.
Check out the variable offset example, I think it may be what you are looking for: https://github.com/AngusJohnson/Clipper2/blob/main/CPP/Examples/VariableOffset/VariableOffset.cpp