Help Camera control

Good evening, I need your help. I would like to set the camera perfectly parallel to the object, I tried to use Camera Control but loading it on shape diver doesn’t let me open the model. How can I do?
prova camera.gh (693.9 KB)

I opened your definition and also could upload it to ShapeDiver without issues. However, I do not understand exactly your goal and what your specific issue is, could you please provide more details?

You can control the camera in the online viewer through the camera viewer settings: Camera settings

Thanks for the reply. I uploaded the .gh file as I would like it to be. in this file with the camera control command using the boolean toggle I can see the object in both perspectives regardless of where it is located. I can’t upload this file to shape diver. Do you have any advice on how to do this?
prova camera.gh (695.4 KB)

This definition does not work for several reasons:

  • It makes use of a 3rd party plugin which is not supported on ShapeDiver (froGH)
  • Even if we supported this plugin, the definition would not work. The components you are using are updating the viewport in Rhino, which has no connection to the ShapeDiver viewport.

In the future, we might add parametric ways to control the camera in the online viewer, but at the moment this is not possible. You can set a fixed camera position using the viewer settings. If you want end users to be able to control the camera, you will need to build an application using the viewer API.

Thank you. I don’t have the skills to write an api. I wanted to know if anyone could help me by writing a c script to solve this problem.

Hi

Are there any updates on this? My goal is to allow the user to manipulate the geometry layout in 2D and only render the 3D representation once they’re ready. I would like to parametrize the process, toggling between a “Top View” (for 2D editing) and a “Perspective View.” Is it possible to achieve this with a Grasshopper-only approach, without needing a “Designer Plus” subscription and/or additional external coding?

Something like this would be awesome:

This is still not possible without using the APIs at the moment. We are evaluating the best way to implement these features in the online viewer.

1 Like