3D view/fr

Introduction
La vue 3D de FreeCAD est une instance d’une scène graphique Coin3D. Coin3D est une bibliothèque qui implémente le standard de description de scène OpenInventor 2.1.

Certain properties of the view, like background color, mouse navigation style, and zooming steps, can be configured in the preferences editor.



Actions
link actions were added in version 0.19.

Since the tree view lists most objects that are visible in the 3D view, many of the actions are the same to those that can be executed from the tree view.

When the default Start Workbench is active, right clicking on the 3D view shows only one command:
 * : different button styles to use with a 3-button mouse or laptop trackpad.

However, once a Workbench is loaded, there are additional commands:
 * : Make Link.
 * : Simple group, Group with links, Group with transform links.
 * : pans and zooms the view to fit all objects in the document on the screen.
 * : pans and zooms the view to tightly fit the currently selected object on the screen.
 * : as is, flat lines, shaded, wireframe, points, hidden line, no shading.
 * : isometric, front, top, right, rear, bottom, left, rotate left, rotate right.
 * : toggle measurement, clear measurement.
 * : docked, undocked, and fullscreen.

Additionally, depending on the workbench and object that is active, other contextual commands may become available.

For example, with the Part Workbench and one object selected:
 * : launches the dialog to change color and sizes of lines and vertices, and color of faces.
 * : makes the object visible or invisible in the 3D view.
 * : makes the object no longer selectable in the 3D view; use again this command to cancel its effect. It sets the object's attribute to  or . Change the property by toggling  in the property editor.
 * : expand the tree view to show the selected object in the hierarchy.
 * : assigns a random color to the object. It sets the object's attribute to a tuple  with tree random floats between 0 and 1. Change the property by modifying  in the property editor.
 * : removes the object from the document, and from the 3D view, by calling the document's method.

Another example, with the Draft Workbench and one object selected, it shows the same commands as with the Part Workbench, but also:
 * : object creation and modification commands from the Draft Workbench.
 * : additional contextual commands provided by the Draft Workbench.

Details
FreeCAD uses the Quarter library to use Coin3D in a Qt environment.

It is possible to interact directly with the 3D view scenegraph from the Python console by using the Python library Pivy.

For more information see the power user documentation:
 * Scenegraph, description of Coin3D.
 * Pivy, usage of Coin3D from the Python console.
 * Third party libraries used by FreeCAD.