3D view: Difference between revisions

From FreeCAD Documentation
(Link to the Link commands.)
Line 30: Line 30:
* {{MenuCommand|Link actions}}: [[Std LinkMake|Make Link]].
* {{MenuCommand|Link actions}}: [[Std LinkMake|Make Link]].
** {{MenuCommand|Make Link group}}: [[Std_LinkMakeGroup|Simple group]], [[Std_LinkMakeGroup|Group with links]], [[Std_LinkMakeGroup|Group with transform links]].
** {{MenuCommand|Make Link group}}: [[Std_LinkMakeGroup|Simple group]], [[Std_LinkMakeGroup|Group with links]], [[Std_LinkMakeGroup|Group with transform links]].
* {{MenuCommand|[[Std_ViewFitAll|Fit all]]}}: pan and zoom the 3D view to fit all objects in the document in the screen.
* {{MenuCommand|[[Std_ViewFitAll|Fit all]]}}: pans and zooms the view to fit all objects in the document on the screen.
* {{MenuCommand|[[Std_ViewFitSelection|Fit selection]]}}: pan and zoom the 3D view to fit the currently selected object in the screen.
* {{MenuCommand|[[Std_ViewFitSelection|Fit selection]]}}: pans and zooms the view to tightly fit the currently selected object on the screen.
* {{MenuCommand|Draw style}}: solid, wireframe, and point options.
* {{MenuCommand|[[Std_DrawStyle|Draw style]]}}: as is, flat lines, shaded, wireframe, points, hidden line, no shading.
* {{MenuCommand|[[Std_View_Menu|Standard views]]}}: isometric, top, bottom, left, right.
* {{MenuCommand|[[Std_View_Menu|Standard views]]}}: [[Std_ViewIsometric|isometric]], [[Std_ViewFront|front]], [[Std_ViewTop|top]], [[Std_ViewRight|right]], [[Std_ViewRear|rear]], [[Std_ViewBottom|bottom]], [[Std_ViewLeft|left]], [[Std_ViewRotateLeft|rotate left]], [[Std_ViewRotateRight|rotate right]].
* {{MenuCommand|Measure}}: create some measurements on the 3D view with the selected objects, or clear the measurements on the screen.
* {{MenuCommand|Measure}}: create some measurements on the 3D view with the selected objects, or clear the measurements on the screen.
* {{MenuCommand|Document window}}: docked, undocked, and fullscreen.
* {{MenuCommand|Document window}}: docked, undocked, and fullscreen.

Revision as of 04:58, 27 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.

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

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 by loading the Draft Workbench.

Actions

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

  • Navigation styles: different button styles to use with a 3-button mouse or laptop trackpad.

However, once a Workbench is loaded, 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: launch the Appearance dialog to change color and sizes of lines and vertices, and color of faces.
  • Toggle visibility: hide or show.
  • Toggle selectability: set to be able to be selected or not. Change the property by toggling 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.

And with the Draft Workbench and one object selected:

  • Draft: creation and modification commands from this workbench.
  • Utilities: auxiliary commands from this workbench.

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:

Template:Interface