Newly created geometrical objects are automatically displayed in the OCC 3D Viewer.
OCC 3D Viewer is described in the documentation on GUI module.
After the object has appeared in the Viewer, you can select it with left mouse click to change its presentation parameters and access to other useful options by right-clicking on the selected object.
-
Rename - allows to change the name of the geometric object.
-
Delete - irreversibly deletes the selected object from the viewer and from the Object Browser.
-
Display Mode - allows to select between Wireframe and Shading presentation.
-
Color - allows to change the filling color in the standard Select Color menu.
-
Transparency - allows to change the transparency of geometrical objects.
-
Isos - allows to change the number of isolines displayed within a shape.
-
Point Marker - allows to change the representation of geometrical vertices.
-
Auto color / Disable auto color - activates the auto color mode. When the auto color mode is enabled, the groups created on the sub-shapes of the selected geometrical object are automatically coloured by the unique colors. TUI Commands : go.SetAutoColor(enable), enabled = go.GetAutoColor()
-
Hide - allows to hide the selected geometrical object from the viewer. TUI Command : sg.EraseOnly(ID)
-
Hide all - allows to hide all objects from the viewer. TUI Command: sg.EraseAll()
-
Show Only - allows to display only the selected geometrical object. TUI Command: sg.DisplayOnly(ID)
-
Dump view - exports an object from the viewer in bmp, png, jpg or jpeg image format.
-
Change background - allows to redefine the background color. By default it is black.
Some of these functionalities are available through right-clicking on the viewer background:
-
Select Only provides a filter for exclusive selection of objects of a certain type.
The the following commands appear in the Object Browser context menu under certain conditions:
-
Create Group - allows creating groups of geometrical objects.
-
Hide Children / Show Children - hides / shows child sub-objects in the Object Browser, if the selected geometr object has child objects. When some child objects are hidden, the name of the parent object is hilghlighted with bold font.