Version: 6.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
Viewing geometrical objects

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.

dialog.png
  • 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.
  • Bring To Front - allows to bring to front of the viewer the selected geometrical object.
  • Clear Top Level State - allows to remove from the viewer foreground geometrical objects that have been placed there via Bring To Front command.
  • 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.
  • Deflection - allows to change the deflection coefficient of a shape.
  • Material - allows to change the material properties of a shape.
  • Point Marker - allows to change the representation of geometrical vertices.
  • Line Width - allows to change the width of edges and isolines.
  • 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)

    image18.png

  • Hide all - allows to hide all objects from the viewer. TUI Command: sg.EraseAll()

    image26.png

  • Show Only - allows to display only the selected geometrical object. TUI Command: sg.DisplayOnly(ID)

    image33.png

  • 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:

image22.png
  • 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:

ob_popup_menu.png
  • Create Group - allows creating groups of geometrical objects.
  • Hide Children / Show Children - hides / shows child sub-objects in the Object Browser, if the selected geometric object has child objects. When some child objects are hidden, the name of the parent object is hilghlighted with bold font.

  • Unpublish - unpublish the selected geometric object from the Object Browser and erase it from all viewers. To publish unpublished geometric objects select in the context menu of the Geometry root object Publish... item. The following dialog box will appear
publish_dlg.png

Switch the checkbox near the appropriate object and click Publish or Publish And Close button.

Copyright © 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS