While I can use offset loose, I’d rather not have to. Does anyone have any suggestions? I would also be open to any suggestions about rejoining curves with the original seam if that is a possible solution. See attached for a snipping of the script
The Clipper plugin is often superior but it does move the seam from the yellow points to the blue points (below). Seams can be adjusted though, as I’ve tried to do, but I’m having a mental block getting data trees to match up so it’s not working correctly (highlighted green points) yet.
gh-offset_2020Dec10b.gh (13.1 KB) (DEPRECATED due to error, see below)
If no one else solves it (and you can use Clipper?), I may sleep on it and figure it out later.
P.S. Ding! Ding! Ding! Got it, at least the data tree matching, but it missed one of the corners, finding a closer adjacent corner point instead. Oh! I know why…
Thanks for sharing your solution. Clipper seems like a viable workflow, though I would certainly need for it to work on every corner, 100% of the time, with a variety of geometries (going into an optimizer - hence the complexity at the beginning for later on safety precautions, which I have omitted from the script).
Automagicaly, eh? That’s optimistic. I added a missing value for the Dup(Duplicate Data) ‘N’ input, which is the number of offset values being used, and replaced my two sliders with your four offsets.
However, Clipper doesn’t accept negative offset values, it has two outputs, ‘C’ and ‘H’, where ‘C’ are “out” offsets and ‘H’ (Holes) are “in” offsets. I suggest you install and experiment with it before deciding. Note all the inputs to PolyOffset and how they affect the results.
Adjusting the seams for multiple offsets may require an iterative method more complex than what I’ve done so far.