Sweep1 does not work with polycurves - [Please fix]

I’d like to create street segments by sweeping their profiles along a rail to blend different street widths. However, the Sweep1 component does not handle polycurves at all:

And for the whole street:


Sweep1 polycurve.gh (7.2 KB)

Shouldn’t this be fixed for Rhino 9?

Hi @Intuos,

In Rhino 8, use a Python or C# component that calls directly into RhinoCommon.

SweepSegmented.gh (9.2 KB)

– Dale

Can probably be done more simple


Sweep1 polycurveEW.gh (12.2 KB)

A native implementation (in Rhino 9) would, I assume, be noticeably faster, especially on larger numbers of sweeps (than the extend and intersection method).

Did you upload with such low resolution or did discourse downsample the image?

fixed

Very true, but this one is nice to puzzle on. FYI: another perspective. Have fun.


Sweep1 polycurveEW2.gh (13.2 KB)

That’s a very valid motive :grin:
Interesting solution.

will only work if both sections are attached in the middle to rail.

At their center. :wink: