Grasshopper

algorithmic modeling for Rhino

hey guys,

i'm currently working on a small fabrication program which uses openNurbs for importing and exporting rhino files.

i am currently stuck in writing the import method. what i know is the exactly content of the rhino file which i am loading: 12 points. what i want are the coordinates of these 12 points. i am writing in c#.

so far i am loading the rhino file and checking the layertable and objectstable. from that i am able to get exactly these 12 points what i am looking for and i save them into an array (possible as IOnObject or OnXModel_Object).

from here i just dont know how i can access the coordinates of the points. i already though about casting to an On3dPoint but it is not working.

any suggestions would be very helpful,
thanks

Views: 413

Replies to This Discussion

I'd suggest asking this question on the plug-n/developers newsgroup. You'll likely get a better answer there.

http://news2.mcneel.com/scripts/dnewsweb.exe?cmd=xover&group=rh...
thanks, i'll do this

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service