Std AxisCross

From FreeCAD Documentation
Revision as of 19:58, 2 April 2020 by Roy 043 (talk | contribs) (Created. 'In progress' for now.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.


Std AxisCross

Menu location
View → Toggle axis cross
Workbenches
All
Default shortcut
None
Introduced in version
-
See also
None

Description

The Std AxisCross command toggles the axis cross in the active 3D view. The related setting also affects all new 3D views, including those belonging to new documents, but not the initial 3D view of existing documents.

The axis cross consists of three arrows indicating the positive X, Y and Z axis of the global coordinate system. Their common start point is the origin of the global coordinate system.

The axis cross (the letters are not part of the axis cross)

Usage

  1. Select the View → Toggle axis cross option from the menu.

Notes

  • FreeCAD can also display a smaller coordinate system in the corner of 3D views: Edit → Preferences... → Display → 3D View → Show coordinate system in the corner. See Preferences Editor.

Preferences

  • The axis cross setting is stored: Tools → Edit parameters... → BaseApp → Preferences → View → ShowAxisCross.

Scripting

See also: FreeCAD Scripting Basics.

To toggle the axis cross use the setAxisCross method of the ActiveView object. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.setAxisCross(True)
FreeCADGui.ActiveDocument.ActiveView.setAxisCross(False)