Sweep2Rails Issue

Hi Guys,

I’m having trouble on getting Sweep2Rails node working. As per attached image, I just need the corrugated-shaped NurbsCurve to sweep along the 2 rails (polyCurve). But for some reason it doesn’t allow me to make the sweep. I’ve tried rebuilding the rails into Curve, rebuilt the profile into Curve but none of the work.

Any help will be much appreciated :slight_smile:


The revit file and the script attached below
backup.dyn (75.9 KB)
Test Ceiling.rvt (680 KB)

Cheers
Hagani

Hi @Hagani_Ginting ,
It’s hard to tell for sure from the picture but it looks like your profile isn’t a closed curve.
What does the error say ?

Hi Mostafa,

it says SWEEP CANNOT SPLIT RAILS_CANNOT SPLIT PATH AND RAILS