Sweep gets inverted half way along a curve

Hi

I am trying to sweep a box along a curve, but half way thru it flips and instead of being on the underside of the line, it is over the line.

Is there anybody that know what is going on?

Post your GH file please? How many section curves per rail do you have? I can see that you have multiple rails but can’t tell how many sections per rail? Looks like some of them need to be flipped.

Hi

Currently I have 2 curves that it sweeps across. I have tried to combine them, but I get the same result. The data is Internalized is quiet far from 0 in this drawing, because I use NTM coordinates. I have tried to flip curve, but that did not help.

Sweep problem.gh (10.2 KB)


Sweep problem_reV1.gh (14.3 KB)

That did the trick. Thank you so much.

Why you don’t use perp frames? and why the curves are so far from the origin

Way over-complicated?

Sweep_2021Mar1a
Sweep_2021Mar1a.gh (9.9 KB)

That seemed so much simpler. When I did not get it to work the first time I google the sweep object along curve and got a guide that told me to do it that way. It was a bit old but worked so I did not think much of it.
The reason I am so long away from the origin is because the end product is going to be delivered with coordinates using the NTM coordinates system. This is similar to the Universal Transverse Mercator (UTM) system, just on a smaller scale. The whole system is rigged up to use MySQL as a base and placing equipment related to roadworks, and then save it as an IFC file with information on the objects.

This looks similar to the one Seghier khaled suggested. And seem to work great. Thank you for helping me :slight_smile: