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.
Likely you’ll need to use another method to perform the loft then. Try generating a new curve from a corner of the rotated profiles, and use the Solid.ByLoft which allows defining the rail(s).
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! @jacob.small 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).