Draft WorkingPlaneProxy/pl

Description
The Draft WorkingPlaneProxy command creates a working plane proxy to save the current Draft working plane. A WP proxy can be used to quickly restore a working plane. The camera position and visibility of the objects in the 3D view are also saved in the WP proxy and can, optionally, be restored as well.



Usage

 * 1) Optionally change the working plane.
 * 2) Optionally change the 3D view.
 * 3) Optionally change the visibility state of objects in the document.
 * 4) There are several ways to invoke the command:
 * 5) * Press the button.
 * 6) * Select the option from the menu.
 * 7) A WP proxy is created.
 * 8) To align the working plane with a WP proxy, double-click the WP proxy in the Tree view or use it with the Draft SelectPlane command.

Context menu
For a Draft WorkingPlaneProxy these additional options are available in the Tree view context menu:


 * : updates the property of the WP proxy with the current 3D view camera settings.
 * : updates the property of the WP proxy with the current visibility state of objects in the document.

Properties
See also: Property editor.

A Draft WorkingPlaneProxy object is derived from an App FeaturePython object and inherits all its properties. It also has the following additional properties:

Data

 * : specifies the position of the WP proxy in the 3D view. See Placement.
 * : specifies the shape of the WP proxy.

View

 * : specifies the size of the arrow symbols displayed at the tip of the three axes.
 * : specifies the length and width of the WP proxy.


 * : specifies the color of all elements of the WP proxy.
 * : specifies the line width of the axes and arrow symbols.
 * : specifies if the is restored when the working plane is aligned with the WP proxy.
 * : specifies if the is restored when the working plane is aligned with the WP proxy.
 * : specifies the transparency of the face of the WP proxy.
 * : specifies the camera position and settings.
 * : specifies the visibility state of objects.

Scripting
See also: Autogenerated API documentation and FreeCAD Scripting Basics.

To create a Draft WorkingPlaneProxy use the method of the Draft module.

If the Draft Workbench is active the FreeCAD application object has a property which stores the current working plane. The from the  method of the  object can be used to create an aligned WP proxy. The of a WP proxy in turn can be used to realign the working plane.