Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8531

RhinoCommon Creating a Curve Section Library

$
0
0

@dimcic wrote:

Hi,

I would appreciate an advice on approaching a fairly common task. Namely, imagine having a structure with connected linear elements. And you would like to generate 3d beams (steel elements) with different cross sections parametrically - all from code. And, in time, you want to grow your “library” of those cross-section profiles. Now, what would be the most sensible way of approaching this?

The puristic approach would be to save every profile as a function - a set of instructions that generates the profile curves from scratch. That is “pure”, no external file needed, everything saved as text/code, but that is computationally expensive.

So, is there a way to save these cross section curves in separate (3dm) files and somehow access them from code? Open the file and extract the curves in the background, silently? (Although this sound as computationally expensive as well)

Or is there another way of saving curves and accessing them?

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8531

Trending Articles