CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS

CFD-Post: lock camera position and zoom

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

Like Tree3Likes
  • 1 Post By mjgraf
  • 2 Post By granzoporo

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 20, 2013, 06:47
Default CFD-Post: lock camera position and zoom
  #1
Member
 
Bart A.
Join Date: Feb 2012
Posts: 45
Rep Power: 0
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, 18:16
Default
  #2
Senior Member
 
Join Date: Dec 2009
Posts: 131
Rep Power: 19
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.
CarlosCoronado04 likes this.
mjgraf is offline   Reply With Quote

Old   May 23, 2013, 06:22
Default
  #3
Member
 
Bart A.
Join Date: Feb 2012
Posts: 45
Rep Power: 0
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, 07:10
Default Viewpoint and zoom script
  #4
New Member
 
Davide Furlani
Join Date: Sep 2013
Location: Copenhagen
Posts: 4
Rep Power: 12
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
roi247 and pandaYang like this.
granzoporo is offline   Reply With Quote

Reply

Tags
camera, cfd - post

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:30.