Grasshopper

algorithmic modeling for Rhino

I'm trying to loft a group of joined curves that form triangles with a group of scaled down triangles. It is not working for me, I don't get an error out of the loft component, but I don't get any lofted surfaces either.

Views: 3120

Replies to This Discussion

Hard to say without seeing your code to examine the data being fed to 'Loft'?  There might be problems with your basic assumptions about lofting but one thing is for sure...  'Loft' wants a flat list of curves; it won't do anything if there is only one curve in each branch (list).

Here are the files. However, I'm using an output from a component called Diva to scale the triangles. Not many people are familiar with this component.

Attachments:

Not entirely sure what your goal is, but the issue is with your data tree structure.  In your case, before the loft component, you need to resolve the lists of curves.  I flattened the data to show a working example using your definition.

If you need the panels/faces sorted by some criteria, you will need to make sure that the curves you want to loft are sorted into corresponding data trees for each panel.

One suggestion might be to use the Merge component before feeding into the loft component.  Just a little neater and helps to see data structure when you hover over the output.

Chris, Thanks a lot. That worked. I've been using Grasshopper for quite some time now and I'm still struggling with the data tree stuff. 

sorry for the slightly misleading screenshot...you should only have the results of the merge component going into the loft component.

While it may seem like an extra step, I generally will try to use the merge component for multiple inputs going into one component, (it's a little tidier).  

In this case, you could also replace the loft component with the Boundary Surfaces component.  It may be a little faster.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service