Grasshopper

algorithmic modeling for Rhino

Is there a reason that the "Smash" command from Rhino hasn't been implemented into GH?... A search on the Forum doesn't turn up much on this command.

Is there a different way in GH to achieve the same result as the Rhino command?... Is there a plugin that contains it or something similar?

Thanks,

Jason

Views: 2209

Replies to This Discussion

Hi Jason,

there are three common reasons why a command in Rhino does not have a matching component in Grasshopper:

  1. It makes no sense (for example layer or material commands).
  2. It hasn't been exposed in the SDK (for example FilletEdge or Make2D). This is a leftover from the days when the SDK wasn't supposed to be a complete mirror of the UI, we're trying hard now to make sure all the geometry tools available through commands are also available through the SDK. Make2D is in the process of being redesigned and exposed, Smash has recently been exposed.
  3. Nobody has done the work.

I think in this case it's (3), as there now is an Unroller class in RhinoCommon.

I attached a file with a C# component which invokes the Unroller class. It also accepts optional curves and point to be unrolled along with the shape, but several options (like tolerances and spacing) are hard-coded.

Attachments:

David, as always, thanks for the great explanation and very appreciative of the GH file you provided!!

Will we be seeing unroll commands in the near future for GH?

Jason

Hello David,

Is there a way to unroll  closed surfaces like in Rhino?

Regards,

Thomas Takeuchi

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