CFD Online URL
[Sponsors]
Home > Forums > ANSYS

CFD-Post: lock camera position and zoom

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 20, 2013, 07:47
Default CFD-Post: lock camera position and zoom
  #1
Member
 
Bart A.
Join Date: Feb 2012
Posts: 45
Rep Power: 4
ziggo is on a distinguished road
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.
ziggo is offline   Reply With Quote

Old   May 22, 2013, 19:16
Default
  #2
Senior Member
 
Join Date: Dec 2009
Posts: 129
Rep Power: 9
mjgraf is on a distinguished road
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.
mjgraf is offline   Reply With Quote

Old   May 23, 2013, 07:22
Default
  #3
Member
 
Bart A.
Join Date: Feb 2012
Posts: 45
Rep Power: 4
ziggo is on a distinguished road
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?
ziggo is offline   Reply With Quote

Old   December 4, 2013, 08:10
Default Viewpoint and zoom script
  #4
New Member
 
Davide Furlani
Join Date: Sep 2013
Location: Copenhagen
Posts: 4
Rep Power: 3
granzoporo is on a distinguished road
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
granzoporo is offline   Reply With Quote

Reply

Tags
camera, cfd - post

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 17:04.