CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ANSYS (http://www.cfd-online.com/Forums/ansys/)
-   -   CFD-Post: lock camera position and zoom (http://www.cfd-online.com/Forums/ansys/118047-cfd-post-lock-camera-position-zoom.html)

ziggo May 20, 2013 07:47

CFD-Post: lock camera position and zoom
 
Is there any way to edit and lock the camera position and zoom level?
This would allow me to reproduce the same viewpoint across different CFD-post windows.

mjgraf May 22, 2013 19:16

do you mean different instances of CFDpost? or the same instance and needing to adjust what is shown and take another picture?

same instance, create a figure, no need to create copies of the object.
double click on the figure after it is created and setup the view as you like.
the settings are saved now. Go back to view 1, right click the view copy camera from Figure ....

in some ccl there is a way to setup and propagate camera views but I dont recall the code at the moment.
Also keep in mind how you generate the hardcopy, fixed sized or viewer scale.

One comment I have is that the imaging in CFDpost just takes getting used to, especially if you have one viewer window size and your hardcopy dimensions are not the same aspect as this viewer window. You can get undesired results.

ziggo May 23, 2013 07:22

Thank your for the reply.

I meant both for one instance and for different instances. Will try out the figure method, sounds good.

Is there also a way to setup the camera position in the xyz-coordinate system? Such that I can input exact values of xyz and rotation?

granzoporo December 4, 2013 08:10

Viewpoint and zoom script
 
This script works for me:
(you run it from the command window in the CFD-post)


VIEW:View 1
Angular Coord Shift = 0.0
Auto Center = false
Axis Visibility = true
Border Visibility = false
Camera Mode = User Specified
Clip Scene = false
Coord Transform = Cartesian
Hide Difference Case = false
Highlight Type = Surface Mesh
Is A Figure = false
Projection = Orthographic
Ruler Visibility = true
Standard View = Isometric Y
CAMERA:
Option = Pivot Point and Quaternion
Pan = 0,0
Pivot Point = 0.332,-0.518,0
Rotation = 0, 0, 0
Rotation Quaternion = 0,0,0,0
Scale = 7
Send To Viewer = True
END
END

Pivot Point = center
Scale = zoom
Rotation and rotation quaternion define somehow (???) the orientation


All times are GMT -4. The time now is 23:02.