3D view/es

Introducción
La vista 3D de FreeCAD es una instancia de una Coin3D escenografía que forma la ventana más importante de la interfaz. Coin3D es una biblioteca que implementa el estándar de descripción de escenas OpenInventor 2.1.

Ciertas propiedades de la vista, como el color de fondo, el estilo navegación con ratón, y los pasos de zoom, pueden ser configurados en el editor de preferencias.



Acciones
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.

Detalles
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.
 * Coin3D C++ documentation.