Grasshopper

algorithmic modeling for Rhino

Hi,

I have kind of an odd question. 

I have a bunch of Curves in grasshopper (about 43K) that are being read from an SHP file. I need to internalize all of them, but the resulting grasshopper file is huge. I was wondering if there's a trick to make the file smaller.

I can't internalize the SHP file contents
because the SHP component takes in a file path, not file contents.

For example by somehow turning the curves into a string and internalize that text string. Then make a script that reconstructs the curves from the text string. I think this will be possible but I don't know if it makes the file any smaller.

other ideas?

for those who are wondering, I need this to be a small enough file to be hosted on a webpage. I'm looking at using ShapeDiver and there's a limit of 10MB for files. My file is  about 40MB

Views: 870

Attachments:

Replies to This Discussion

Update:

So I internalized the data from the read file component as text string and the resulting file size is much smaller. now the challenge is how to translate that (the lower yellow panel) back into curves?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service