SALOME documentation central

OCC 3D Viewer

The functionalities of OCC viewer are available via its Viewer Toolbar. Buttons marked with small downward triangles have extended functionality which can be accessed by locking on them with left mouse button.

occviewer_toolbar.png

Viewer Toolbar


image77.png


Dump View - exports an object from the viewer in bmp, png, jpg or jpeg image format.

image88.png


Show/Hide Trihedron - shows or hides coordinate axes.

image96.png


Fit all - allows to select a point to be the center of a scene representing all displayed objects in the visible area.

image97.png


Fit area - resizes the view to place in the visible area only the contents of a frame drawn with pressed left mouse button.

image98.png


Zoom - allows to zoom in and out.

image99.png


Panning - if the represented objects are greater that the visible area and you don't wish to use Fit all functionality, click on this button and you'll be able to drag the scene to see its remote parts.

image100.png


Global panning - represents all displayed objects in the visible area.

view_rotation_point.png


Change rotation point - allows to to choose the point around which the rotation is performed.
set_rotation_point_dialog1.png
By default the rotation point is located in the Center of the bounding box of an object.
set_rotation_point_dialog2.png
Unchecking Use Bounding Box Center checkbox allows you to define the coordinates of the rotation point manually.

Set to Origin button restores the default rotation point coordinates.
Select Point from View button allows to select the rotation point in the 3D Viewer.


image89.png


Rotation - allows to rotate the selected object using the mouse.
image102.png
These buttons orientate the scene strictly about coordinate axes.

image91.png


Reset - restores the default position (isometric) of objects in the scene.

image103.png


Memorise view - saves the current position of objects in the scene.

image105.png


Restore view - restores the saved position of objects in the scene.

image86.png


Clone view - opens a new duplicate scene.

image106.png


Clipping - allows to create cross-section views (clipping planes) of geometrical objects.
clipping.png
  • Base point - allows to define the coordinates of the base point for the clipping plane.
    • Reset - returns the base point to coordinate origin.
  • Direction - allows to define the orientation of the clipping plane.
    • Invert - allows to select which part of the object will be removed and which will remain after clipping.
  • Preview - allows to see the results of clipping in the viewer.

occviewer_axialscale.png


Scaling - represents objects deformed (stretched or stuffed) along the axes of coordinates.

Note! OCC Viewer features a special Polyline Selection mechanism, which allows selecting an arbitraty part of the graphic area using a polygon frame, instead of the usual selection with a rectangular frame.

To produce a Polyline Selection, lock the right mouse button and draw the first side of the polygon, then change the direction by clicking the left mouse button add draw another side, etc. The whole selection frame is drawn with the locked right mouse button.

polyselection1.png

As a result, only the nodes within the frame are selected.

polyselection2.png