Grasshopper

algorithmic modeling for Rhino

I'm running a routine that sends or receives mesh points as a String and I'm reaching a max send of about 2000 3D points.  Is there any way to get around this and send bigger packets without resorting to using a txt file?

 

Thanks.

Views: 242

Replies to This Discussion

You are doing this on your own machine or from one machine to another?  Which program are you communicating to/from?  How many points to you need to send/receive?

From Grasshopper to Processing.  The error shows up on the <UPD> Owl component and basically says that some limit has been reached somewhere. I've also reached the limit in processing, so I used a text file.  Ideally I'd like to be able to up to 20,000 points or so.  More than now.  I guess I could split it in into multiple ports?  Is there a way to increase a port? 

The receive function doesn't activate at all on the processing side when this limit is reached.

Thanks

 

// UPD Input

void receive( byte[] data, String ip, int port ) {

println("Receiving!");  

data = subset(data, 0, data.length); 

inputMessage = new String( data );
parseUPDMesh();}

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service