We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
_
Data
File I-O
Geometry
Mesh
Mesh-Create
Topology
View/Display

Camera Control And Zoom To Geometry

Controls Rhino camera from Grasshopper, with the ability to Zoom to a given geometry

Inputs

NameIDDescriptionType
GeometryGGeometry to frame with Zoom option Leave empty for no zoom Ignored if Zoom option is falseGeometry
Viewport NameVName of the Rhino Viewport to control leave empty for active viewportText
Camera TypeCtCamera Type (attach a value list for autovalue, leave empty for viewport's) -1 - Viewport camera type (default) 0 - Perspective 1 - Parallel 2 - Two-point PerspectiveInteger
Display ModeDmSet Display Mode by Name Leave empty for Viewport's oneText
Camera locationCCamera location Leave empty for Viewport's onePoint
Target locationTTarget location Leave empty for Viewport's onePoint
LensLLens Leave empty for Viewport's oneNumber
Up VectoruUp Vector Leave empty for Viewport's oneVector
Zoom factorZfZoom factor zoom out < 0 > zoom in Ignored if G has no inputNumber
ZoomzZoom on the input Geometry use a Toggle Ignored if G has no inputBoolean
ActivateaTake control or release it back to Rhino use a ToggleBoolean

Outputs

NameIDDescriptionType
View Name OutputOView Name output (use with View Capture To File)Text

Site design © Robin Rodricks.   FroGH and associated data © 2024 Co-de-iT (Computational Design Italy).  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service