Grasshopper

algorithmic modeling for Rhino

how to export the contents of a list into seperate files ?

Hi everybody

im interested in exporting a list of curves as seperate files (bake then export)(in this case .ai files) to be used in a flash animation. please see attached .ghx

the attached grasshopper file is a test run, using a significantly smaller data set, but that still has a similar structure to the anticipated final definition:

1 - a list of points ( in the final version i will be referencing a .xls file)

2 - the creation of a data tree structure that allows for the creation of a given
number of curves with a given number of vertices

3 - the export of each curve as a seperate file ( this is where the problems are !)

The problem is that the definition repeatedly exports the last curve ( i think) in the list instead of exporting the individual curves as seperate files.

I found Marc Hoppermann's 'exportToDxf.ghx' on the forum which i have used here as you can see, i did a few simpler re-workings of it ( changing file type, object type) and it worked fine, but now that i have included it as part of a more complex definition it isn't working.

i guess the curve is repeatedly being over-written within the body of the script and not being stored properly....or maybeit is being deleted from the workspace before it has been exported....tho as a non-scripter im un able to tell what exactly im doing wrong ! - so i would really appreciate someones help ! - thanks in advance

I would also like to thank Vicente Soler, whos reply to an earlier post of mine allowed me to create the data tree structure portion of the definition.

cheers

louis

Views: 182

Attachments:

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service