Get HumanUI camera properties

I would like to know if there is a way to extract the camera properties, such as the location or the plane/direction of the camera. More or less it should be like the opposite of “Set 3D View Properties”.

In Grasshopper I created a component to extract those properties, here is an example.

import rhinoscriptsyntax as rs

myView = rs.ViewCamera(“Perspective”) # Get Plane Center
myRectangle = rs.ViewCameraPlane(“Perspective”) # Get Plane Viewport Plane

Point = myView
Plane = myRectangle

Any information is welcome :slightly_smiling_face:

This is not currently possible.

Thanks for answering!

Do you think it might be possible to implement that option in the next release of Human UI?

Cheers from Barcelona

I am no longer actively developing Human UI. However, it is an open source project, so if someone wants to implement this and put in a Pull Request I would be happy to integrate it.

That’s a pity. Manipulating camera with the help of Human UI could be handy.

You could use Human UI to manipulate the Rhino viewport, just not the human UI 3d viewport.