3D view: Difference between revisions

From FreeCAD Documentation
m (removed "a")
(More information on right clicking)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

== Introduction ==
The [[3D view|3D view]] of FreeCAD is an instance of a Coin3D [[Scenegraph|scenegraph]]. Coin3D is a library that implements the OpenInventor 2.1 scene description standard.
The [[3D view|3D view]] of FreeCAD is an instance of a Coin3D [[Scenegraph|scenegraph]]. Coin3D is a library that implements the OpenInventor 2.1 scene description standard.


Line 7: Line 9:
{{Caption|By the default the 3D view shows a small widget with coordinate axes, and the navigation cube also with coordinate axes; the grid can be displayed and configured using the [[Draft Workbench|Draft Workbench]].}}
{{Caption|By the default the 3D view shows a small widget with coordinate axes, and the navigation cube also with coordinate axes; the grid can be displayed and configured using the [[Draft Workbench|Draft Workbench]].}}


== Actions ==
Since FreeCAD uses Qt as its graphical toolkit, FreeCAD uses the Quarter library to tie Qt with Coin3D.

When the default [[Start Workbench]] is active, right clicking on the 3D view shows only one command:
* [[Mouse Model|Navigation styles]]

However, once a [[Workbenches|Workbench]] is chosen, there are additional commands:
* Link actions: creates different types of [[Std_LinkMake|App::Link]] objects. {{Version|0.19}}
* [[Std_ViewFitAll|Fit all]]
* [[Std_ViewFitSelection|Fit selection]]
* Draw style menu: solid, wireframe, and point options.
* [[Std_View_Menu|Standard views]]: isometric, top, bottom, left, right.
* Measure menu: create some measurements.
* Document window: docked, undocked, and fullscreen.

Additionally, depending on the workbench and object that is active, other command menus may become available. For example, with the [[Part Workbench|Part Workbench]] and one object selected:
* Appearance: color and sizes of lines and vertices, and color of faces.
* Toggle visibility: hide or show.
* Toggle selectability: set to be able able to be selected or not. Change the property by toggling the {{PropertyView|Selectable}} in the [[Property editor|Property editor]].
* Go to selection: select the object in the tree view.
* Random color: assign a random color to the object.
* [[Std Delete|Delete]]: delete the object.

For example, with the [[Draft Workbench|Draft Workbench]] and one object selected:
* Draft.
* Utilities.

== Details ==

Since FreeCAD uses Qt as its graphical toolkit, 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|Python console]] by using the Python library Pivy.
Moreover, it is possible to interact directly with the 3D view scenegraph from the [[Python console|Python console]] by using the Python library Pivy.


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


{{Userdocnavi}}
{{Userdocnavi}}

Revision as of 03:25, 21 September 2019

Introduction

The 3D view of FreeCAD is an instance of a Coin3D scenegraph. Coin3D is a library that implements the OpenInventor 2.1 scene description standard.

By the default the 3D view shows a small widget with coordinate axes, and the navigation cube also with coordinate axes; the grid can be displayed and configured using the Draft Workbench.

Actions

When the default Start Workbench is active, right clicking on the 3D view shows only one command:

However, once a Workbench is chosen, there are additional commands:

Additionally, depending on the workbench and object that is active, other command menus may become available. For example, with the Part Workbench and one object selected:

  • Appearance: color and sizes of lines and vertices, and color of faces.
  • Toggle visibility: hide or show.
  • Toggle selectability: set to be able able to be selected or not. Change the property by toggling the ViewSelectable in the Property editor.
  • Go to selection: select the object in the tree view.
  • Random color: assign a random color to the object.
  • Delete: delete the object.

For example, with the Draft Workbench and one object selected:

  • Draft.
  • Utilities.

Details

Since FreeCAD uses Qt as its graphical toolkit, FreeCAD uses the Quarter library to use Coin3D in a Qt environment.

Moreover, 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: