Grasshopper

algorithmic modeling for Rhino

Has anyone used Grasshopper to set up or manipulate layouts and detail views in rhino? I'd be curious how you approached this and what you've used it for.

Views: 1453

Replies to This Discussion

Me too! If anyone has any cool tricks, let us know.

Hi

Try this Fuction that simply use rhino Command ,within VB component :

Public Shared Function AddDetail2(Projection As String, RendMode As String, top_left As Point2d, _ bottom_right As Point2d)


    rhinoapp.RunScript("_Detail _Add" & " _Projection=" & Projection & vbCr & top_left.tostring & vbCr & bottom_right.tostring & vbCr, True)

    rhinoapp.RunScript("_SelLast _Enter", True)
    rhinoapp.RunScript("_Detail _Enable _Enter", True)
    rhinoapp.RunScript("_SelNone _Enter _SelAll _Enter", True)

    rhinoapp.RunScript("_Zoom _Selected ", True)
    rhinoapp.RunScript("_SetObjectDisplayMode" & " _Mode=" & RendMode & " _Enter", True)
    rhinoapp.RunScript("_SelNone _Enter", True)
    rhinoapp.RunScript("_Detail _EnablePage _Enter", True)

  End Function

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