I’ve been trying to import a curve from Revit and have multiple profiles along that curve, then make a solid by loft through all these profiles but somehow it show an error.
I tried many solutions, but without no result, someone can help me please.
This might be making some of your profile invalid. Try using medium scaling closer to the origin. This can be done by moving everything by the inverse of the vector formed by the point at the midpoint of the rail.
Depending on how the curve is built and how accurate my memory is for design script, this may work: Vector.Reverse(Point.AsVector(Curve.PointAtParameter(rail, 0.5)))
Hello! @JacobSmall you are right, your answer was the half of my solution, thank you so much.
The other half solution was from a post by Mr @ John. DeLeeuw] (Profile - John.DeLeeuw - Dynamo).
The solution is using Solid. BySweep Node:
*Profile was the first rails Profile .
*Path was a new polycurve. By Points (Point. ByCartesianCoordinates).