The Graphics Window Toolbar Buttons and Navigation
Some of the toolbar buttons available on the Graphics window are different based on the space dimension of the Component. The buttons also correspond to domain, boundary, edge, and point level nodes that display under the physics interface, which are also based on the Component space dimension as shown in Table 6-4. The buttons in Table 6-5 are available in any space dimension.
In the tables there are links to the corresponding sections that contain instructions about how to do the listed tasks.
Zooming In and Out in the Graphics Window
Click the Zoom In button to zoom in. Click the Zoom Out button to zoom out.
To zoom into a general area of the geometry, click the Zoom Box button; then click and drag to highlight a section of the geometry to zoom into. Click the arrow to the right of the Zoom Box button to select Keep Enabled After Use if you want to continue to zoom using a box without having to click the Zoom Box button again.
Click the Zoom to Selection button to zoom into the selected geometric entities. This button is also available in connection with the selection lists for domains, boundaries, edges, and points. This zoom operation also updates the center of rotation and sets a manual rotation center, which will stay active until you click the Zoom Extents or the Go to Default 3D View button or otherwise change the mode of the rotation center.
Click the Zoom Extents button to zoom out and fit the complete geometry into the window.
Changing Views in the Graphics Window
Click the Go to XY View, Go to YZ View, and Go to XZ View buttons to change the view to the xy-, yz-, or xz-plane in a 3D Graphics window. The first click selects the plane view with a positive normal direction. A second click on the same button switches to a negative normal direction. A third click flips the direction in the plane, and a fourth click switches the normal again, so the clicks cycle through all four possible views for the chosen plane.
Click the Go to Default View button to change the view to the default view in a 3D Graphics window.
After creating a View under the Definitions node, click the down arrow next to the Go to View button () and select a user-defined view from the list.
Click the Rotate Right 90° and Rotate Left 90° buttons to rotate a geometry in a 3D Graphics window by 90° in the right (clockwise) or left (counterclockwise) direction.
Click the Show Axis Orientation button to toggle the display of the axis orientation indicator (triad) in the lower-left corner of the 3D Graphics window on or off.
Click the Show Grid button to toggle the display the grid box on or off in the 2D and 3D Graphics window.
Click the Show Legends button to toggle the display of the color legend and color scale on or off in 2D and 3D Graphics windows or to toggle the display of legends on or off in 1D Graphics windows.
Moving Around and Rotating a 3D Geometry
There are many options available for moving around the Graphics window and rotating 3D geometries, in addition to the buttons for changing views listed under Changing Views in the Graphics Window above.
Controlling the Rotation
As the default, there is an automatic rotation center, so that the rotation center switches if there is something observable in the screen center. The automatic rotation center is good for navigating the model but not always for working on a local area of a big model. For that purpose, you can switch to a manual rotation center. Click the middle mouse button to set a new rotation center if you want to temporarily fix the rotation center (a manual rotation center). Zooming to a point or a selection also sets a manual rotation center. If you middle-click somewhere in the Graphics window where there is no object, the rotation center switches back to the automatic mode. The manual rotation center is only temporary and is be reset to th automatic mode if you click the Zoom Extents, Go to Default View, Go to XY View, Go to YZ View, or Go to XZ View button. You can switch between automatic and manual modes by pressing the R key, and the rotation center icon will appear to indicate the current mode, if it is activated. See the preferences settings below for disabling the automatic rotation center and the middle-mouse clicking and controlling the visibility of the rotation center icon, if desired.
If you want to permanently lock the current rotation center (in rare cases you may need to do so; perhaps for creating snapshot images for a report), select the Lock rotation center check box in the View node’s Settings window. It locks the rotation center permanently, so you have to clear this check box to unlock it. The current locked rotation center will be saved in the model.
The automatic, manual, and locked modes have different rotation center icons on the screen when you rotate the object or perform any mouse operation:
The rotation center icon can be visible or hidden. You can specify the visibility in the Preferences dialog box, on the Graphics and Plot Windows page, as well as controlling if the automatic rotation center and the middle-click for specifying the rotation center should be active. Under Rotation center, the following settings are available:
Clear the Auto check box to turn off the automatic rotation center (which is active by default).
Clear the Set with mouse middle-click check box to turn off the automatic rotation center (which is active by default).
From the Visibility list, choose Always hide (the default) to never show the rotation center icon, Shown only on mouse action to show it only when you click the mouse or press R to change the rotation center, or Always show to make it visible always.
Setting the manual rotation point in the Graphics windows is only supported for the OpenGL renderer.
Constrained Rotation
To rotate around the x-, y-, and z-axis, use the X, Y, and Z keyboard shortcuts. If you press and hold the X key when rotating a 3D geometry, it will rotate around the x-axis only (lock the x-axis). In the same way, press and hold the Y and Z keys to rotate around the corresponding axis. You can switch the rotation while rotating with the left mouse button active; for example, press and hold the X key and then release it; then press and hold the Y key to switch between locking the x-axis and the y-axis without releasing the left mouse button.
Additional Tools for Moving, Zooming, and Rotating
In addition, the following list contains tools that are available for moving, zooming, and rotating geometries in the Graphics window. Except where stated otherwise, these tools are available for 3D geometries only.
In the Graphics window, click and hold down the mouse button while dragging it in any direction.
In the Graphics window, right-click and hold down the mouse button while dragging it in any direction. Available in all space dimensions.
In the Graphics window, click and hold down the middle mouse (scroll wheel) button and drag the mouse forward or back to zoom in and out (change the view angle of the camera in 3D). Available in all space dimensions.
In the Graphics window, click the middle mouse button.
Press Ctrl and click in the Graphics window. While holding down the key and button, drag the mouse in any direction.
Press Ctrl and right-click in the Graphics window. While holding down the key and button, drag the mouse in any direction.
Press Alt, then click in the Graphics window. While holding down the key and button, drag the mouse in any direction.
Press Alt, then right-click the mouse in the Graphics window. While holding down the key and button, drag the mouse in any direction.
Press Alt, then middle-click in the Graphics window. While holding down the key and button (scroll wheel), drag the mouse in any direction.
Press Ctrl+Alt, then click in the Graphics window. While holding down the keys and the button, drag the mouse in any direction. If you have not rotated the camera (using Ctrl+click), the effect is the same as when using Alt+click.
Lighting, Transparency, Projection, and Wireframe Rendering
The following are available for 3D models.
Click any plot under Results. In the Graphics window or any other plot window, click the Scene Light button to turn it on. Click again to turn scene light off. See Figure 6-13.
When creating a View, this action toggles the Scene light check box on the View page.
Click any plot under Results. In the Graphics window or any other plot window, click the Transparency button to turn it on. Click again to turn transparency off. See Figure 6-13.
When creating a View, this action toggles the Transparency check box on the View page. See User-Defined Views.
Click any plot under Results. In the Graphics window, click the Wireframe Rendering button to turn it on. Click again to turn the wireframe off. See Figure 6-13. Note that wireframe rendering only has effect when mesh rendering is turned off (for a view that normally shows the mesh).
When creating a View, this action toggles the Wireframe rendering check box on the View page. See User-Defined Views.
See also Preferences Settings to set the level of graphic detail to Wireframe and speed up the rendering of complex models or to improve visual appearance.
Figure 6-13: Scene light, transparency, and wireframe rendering examples.
Hiding and Showing Geometric Entities
Selecting an item in any Selection list highlights the corresponding geometric entities or objects in the Graphics window for selection or deselection. Only the geometric entities you can see in the Graphics window are available for selection; that is, hidden objects cannot be selected and selection methods vary based on the Component’s space dimension.
In the Graphics window, toggle the Click and Hide button (click to highlight and turn on and click again to turn off). When turned on, click a geometric entity or geometry object, and it is then hidden and added to the list of hidden entities or hidden geometries in the Hide for Geometry or Hide for Physics node under a View. In the Selection lists, (hidden) appears next to the entity number. When click and hide is active, the cursor changes to indicate that clicking now hides objects: . See Figure 6-14.
Clicking an Active button in the Settings window (that is, activating or deactivating the selection).
In 2D, clicking the Edit Object button.
When creating a View, right-click the View node and select Hide for Geometry or Hide for Physics, depending on the current node in the model tree. Select a Geometric entity level from the list to hide.
In the Graphics window, click the View Unhidden button to display any geometry objects, domains, boundaries, edges, or points not hidden.
In the Graphics window, click the View Hidden Only button to display only hidden geometry objects, domains, boundaries, edges, or points.
In the Graphics window, click the View All button to display all hidden and unhidden geometry objects, domains, boundaries, edges, or points.
In the Graphics window, click the Reset Hiding button to reset all hidden geometry objects, domains, boundaries, edges, or points to the default.
This removes any Hide for Geometry or Hide for Physics subnodes added to a View node (when in geometry mode, Hide for Physics subnodes are not removed).
When the View Hidden Only button (), View Unhidden button (), or View All button () is clicked on the Graphics window toolbar, it changes the view accordingly. The selection list on the Settings window details what is hidden or shown based on the button clicked. See Figure 6-14 and Figure 6-15 for examples based on the original geometry shown in About Highlighted Geometric Entities in the Graphics Window.
Figure 6-14: An example of the domains that display in the Graphics window when the View unhidden button is clicked. The selection list displays the detail that domains 4 and 7 are hidden in the Graphics window. Compare to Figure 6-15.
Figure 6-15: An example of the domains that display in the Graphics window when the View unhidden only button is clicked. The selection list displays the detail that domains 2, 3, 5, and 6 are hidden in the Graphics window. Compare to Figure 6-14.