Hi guys,
I created this script using Parakeet (I found it on Pinterest).
I would like to offset the curves on both directions and fillet them, but using the offset component doesnt work very well because the curves are seperated.
My desired result is in the atteched photo.
I have a script to do this but it runs in native Rhino, not GH. It shouldn’t be too hard to build a GH definition that offsets curves both sides and then adds arcs to the ends - just don’t have the time now. Someone probably has already done this.
You don’t. Save the script somewhere and then call RunPythonScript and browse to the script file. Then follow the command prompts. For more information on installing and running scripts, see here:
Too late, I ignored your last post. This works on single polylines and fails, as expected, where three segments meet. In some cases a Region Union might save the day but not all cases. The Combine component at the end is only to show the original curve when it fails.
One cheat would be via pipes and projections (of the pipes) so you get the curves.
You can project then unify projections, but you may as well use MeshShadow.
In this example I used a MeshPipe component because it’s faster than the regular pipe or the SubD multi-pipe: molecule.gh (133.2 KB)
NOTE:
I took care of self-intersecting curves out of habit/trauma, but you probably don’t need to, just pipe your joint or unjoint curves and you should be fine.