|
[Sponsors] |
May 20, 2013, 07:47 |
CFD-Post: lock camera position and zoom
|
#1 |
Member
Bart A.
Join Date: Feb 2012
Posts: 45
Rep Power: 0 |
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. |
|
May 22, 2013, 19:16 |
|
#2 |
Senior Member
Join Date: Dec 2009
Posts: 131
Rep Power: 19 |
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. |
|
May 23, 2013, 07:22 |
|
#3 |
Member
Bart A.
Join Date: Feb 2012
Posts: 45
Rep Power: 0 |
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? |
|
December 4, 2013, 08:10 |
Viewpoint and zoom script
|
#4 |
New Member
Davide Furlani
Join Date: Sep 2013
Location: Copenhagen
Posts: 4
Rep Power: 13 |
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 |
|
Tags |
camera, cfd - post |
|
|