Extrude adaptive profile along two curves!


(Torhild84) #1

I am having som trouble extruding a profile along 2 curves in gh. I have a profile, a hollow trapezoid, that I want to extrude along 2 3dcurves, i.e. the curves align with the lower corners of the trapezeoid, and the width of the trapezoid varies to follow the lines.
Is there any way to make an adaptive profile like this?
I have used Dynamo with Revit for this kind of problem earlier, but we are now considering to migrate to Tekla at my office, and I want to know if there is a possibility to do this kind of complex extrution in gh too. :slight_smile:

(Tom) #2


there is a component called “Sweep2”. However creating profiles isn’t as straightforward as most people think it is. It highly dependent on the properties of your profile- and rail curves and other factors. In addition to that, there are various ways in creating profiles, Rhino and Grasshopper may not return expected results. Sweep2 is rather the most basic functionality you can imagine for this kind of problem. Looking at your “3d curves” it may fail at the strong curved end of the upper curve.


For this shape you might consider copying and scaling the section “manually”. Assuming the section does not rotate (or rotates following either one of these curves). Create equally spaced planes on the curve the section follows. Calculate the distance between the centers of those planes with the intersection of those planes with the 2nd curve. Then scale (and rotate) the section to match. Lastly loft the sections together. Going through all this effort will give you more control over the final result.


Out of curiosity how would you do it in dynamo?

(Torhild84) #5

Thank you for the reply! Sweep2 didn’t work so well with this unfortunately.

(Torhild84) #6

It might be easies to use beam extruder in Tekla for this then, but it also require som manual work. Thanks for your reply!

(David S. Mavrov) #7

I suggest you use Geometry Gym. It will do the job very good, it has its own library too and ot top of it all there is a plug-in for Tekla.

(David S. Mavrov) #8


(Torhild84) #9

In Dynamo and Revit, I would make an adaptive component in Revit. That is a profile with adaptive points. I can then use Dynamo to make these point follow points on the lines and set out profiles at these points. I would then loft them together to make a solid. In the Dynamo-setup below I have imported the coordinates of points on the lines from an excel file.