views#

class ansys.fluent.core.solver.tui_231.main_menu.views(path, service)#

Bases: TUIMenu

Enter the view manipulation menu.

Methods:

auto_scale(*args, **kwargs)

Scales and centers the current scene without changing its orientation.

default_view(*args, **kwargs)

Resets view to front and center.

delete_view(*args, **kwargs)

Removes a view from the list.

last_view(*args, **kwargs)

Returns to the camera position before the last manipulation.

list_views(*args, **kwargs)

Lists predefined and saved views.

next_view(*args, **kwargs)

.

read_views(*args, **kwargs)

Reads views from a view file.

restore_view(*args, **kwargs)

Uses a saved view.

save_view(*args, **kwargs)

Saves the current view to the view list.

write_views(*args, **kwargs)

Writes selected views to a view file.

Classes:

camera(path, service)

Enters the camera menu to modify the current viewing parameters.

display_states(path, service)

.

auto_scale(*args, **kwargs)#

Scales and centers the current scene without changing its orientation.

class camera(path, service)#

Bases: TUIMenu

Enters the camera menu to modify the current viewing parameters.

Methods:

dolly_camera(*args, **kwargs)

Adjusts the camera position and target.

field(*args, **kwargs)

Sets the field of view (width and height).

orbit_camera(*args, **kwargs)

Adjusts the camera position without modifying the target.

pan_camera(*args, **kwargs)

Adjusts the camera target without modifying the position.

position(*args, **kwargs)

Sets the camera position.

projection(*args, **kwargs)

.

roll_camera(*args, **kwargs)

Adjusts the camera up-vector.

target(*args, **kwargs)

Sets the point to be the center of the camera view.

up_vector(*args, **kwargs)

Sets the camera up-vector.

zoom_camera(*args, **kwargs)

Adjusts the camera’s field of view.

dolly_camera(*args, **kwargs)#

Adjusts the camera position and target.

field(*args, **kwargs)#

Sets the field of view (width and height).

orbit_camera(*args, **kwargs)#

Adjusts the camera position without modifying the target.

pan_camera(*args, **kwargs)#

Adjusts the camera target without modifying the position.

position(*args, **kwargs)#

Sets the camera position.

projection(*args, **kwargs)#

.

roll_camera(*args, **kwargs)#

Adjusts the camera up-vector.

target(*args, **kwargs)#

Sets the point to be the center of the camera view.

up_vector(*args, **kwargs)#

Sets the camera up-vector.

zoom_camera(*args, **kwargs)#

Adjusts the camera’s field of view. This operation is similar to dollying the camera in or out of the scene. Dollying causes objects in front to move past you. Zooming changes the perspective effect in the scene (and can be disconcerting).

default_view(*args, **kwargs)#

Resets view to front and center.

delete_view(*args, **kwargs)#

Removes a view from the list.

class display_states(path, service)#

Bases: TUIMenu

.

Methods:

copy(*args, **kwargs)

.

delete(*args, **kwargs)

Delete object.

edit(*args, **kwargs)

Edit display-states object.

list(*args, **kwargs)

.

new(*args, **kwargs)

Create a new display-states object.

read(*args, **kwargs)

.

rename(*args, **kwargs)

Rename object.

restore_state(*args, **kwargs)

.

use_active(*args, **kwargs)

.

write(*args, **kwargs)

.

copy(*args, **kwargs)#

.

delete(*args, **kwargs)#

Delete object.

edit(*args, **kwargs)#

Edit display-states object.

list(*args, **kwargs)#

.

new(*args, **kwargs)#

Create a new display-states object.

read(*args, **kwargs)#

.

rename(*args, **kwargs)#

Rename object.

restore_state(*args, **kwargs)#

.

use_active(*args, **kwargs)#

.

write(*args, **kwargs)#

.

last_view(*args, **kwargs)#

Returns to the camera position before the last manipulation.

list_views(*args, **kwargs)#

Lists predefined and saved views.

next_view(*args, **kwargs)#

.

read_views(*args, **kwargs)#

Reads views from a view file.

restore_view(*args, **kwargs)#

Uses a saved view.

save_view(*args, **kwargs)#

Saves the current view to the view list.

write_views(*args, **kwargs)#

Writes selected views to a view file.