Grasshopper

algorithmic modeling for Rhino

Hey everyone,

Is it possible to import an STL file direct from a path?

it would be very useful for me because you work only with one program.

I hope anybody have an idea.

Regards

Henne

Views: 3511

Replies to This Discussion

The STL import logic is not accessible other than using the Rhino _Import command.

I've requested that these algorithms become accessible via the SDK and it seems possible that during the course of Rhino6 you'll be able to use a RhinoCommon method which reads an TSL file and returns a RhinoDoc instance.

--

David Rutten

david@mcneel.com

Hi David-

Has this changed in the years since this initial posting? It would be great if Grasshopper could directly import STLs...

Thanks!

Andy

Ok Thanks for your answer.

When is Rhino 6 ready for download?

Regards

Henne

We don't know. We'd like to have a Rhino6 beta out before 2014, but I said 'during the course of Rhino6'. We agreed this would be a nice feature to have and we have an idea about how to implement it, but none of the code has been written yet.

--

David Rutten

david@mcneel.com

Try this.

Very barebones stl parsing; no normals, no colours, no materials, only binary stl, no error checking, based on wikipedia.

/ola

Attachments:

Thanks but i need the normals later.

Ok. With normals, even welded.

/ola

Attachments:

Oh man this is absolutely brilliant!
Thank you very very... much!
Regards
henne

Hello Ola,

This is a very old discussion, but I also used the code you passed to Henne. I Would like to know if there is a way to use the rotate3D (Rot3D) on the preview of this mesh. 

Thanks in advance for your comments.

Jose

Hi Jose,

Just connect the mesh output to the G input on Rot3D and the G output of Rot3D to the G input of Preview.

Then you need values for the other other three inputs of Rot3D, of course.

Did I understand your question correctly?

/ola

Yes,  Thanks.  I figured out that sometime after I wrote my question to you.

Thanks- works great!

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