Draft SelectPlane/pl

Description
The Draft SelectPlane command selects the current Draft working plane. This is the plane in the 3D view where new Draft objects are created. A new working plane can be based on one of several presets or on a selection. The selection can be created before (pre-selection) or after (post-selection) starting the command.



Usage with pre-selection

 * 1) Do one of the following:
 * 2) * Select a single object. The following objects are supported:
 * 3) ** Draft WorkingPlaneProxies: the (the camera position) and the  (the saved visibility of objects) of the working plane proxy are also restored.
 * 4) ** Arch BuildingParts.
 * 5) ** Arch SectionPlanes.
 * 6) ** Std Parts: to avoid selecting subelements it is advisable to select these in the Tree view.
 * 7) ** Part Feature objects that have a single face. Part Planes for example.
 * 8) ** Objects that are not Part Feature objects and have a property.
 * 9) * Select one or more subelements. You can select:
 * 10) ** A flat face.
 * 11) ** Three vertices.
 * 12) ** A circular edge.
 * 13) ** Two straight edges that are co-planar but not co-linear.
 * 14) ** A straight edge and a vertex that does not lie on the (extended) edge.
 * 15) There are several ways to invoke the command:
 * 16) * Press the button in the Draft Tray. Depending on the current working plane this button can look different.
 * 17) * Select the option from the menu.
 * 18) * Use the keyboard shortcut: then.
 * 19) The working plane and the button in the Draft Tray are updated.

Usage with post-selection

 * 1) There are several ways to invoke the command:
 * 2) * Press the button in the Draft Tray. Depending on the current working plane this button can look different.
 * 3) * Select the option from the menu.
 * 4) * Use the keyboard shortcut: then.
 * 5) The  task panel opens. See Options for more information.
 * 6) Do one of the following:
 * 7) * Select a single object. See the previous paragraph for the supported objects.
 * 8) * Select one or more subelements. You can select:
 * 9) ** A flat face.
 * 10) ** Three vertices.
 * 11) Click anywhere in the 3D view to confirm the selection and finish the command.
 * 12) The working plane and the button in the Draft Tray are updated.

Usage with presets

 * 1) There are several ways to invoke the command:
 * 2) * Press the button in the Draft Tray. Depending on the current working plane this button can look different.
 * 3) * Select the option from the menu.
 * 4) * Use the keyboard shortcut: then.
 * 5) The  task panel opens. See Options for more information.
 * 6) Press any of the buttons to finish the command.
 * 7) The working plane and the button in the Draft Tray are updated.

Options

 * Press the button to align the working plane with the XY plane of the global coordinate system.
 * Press the button to align the working plane with the XZ plane of the global coordinate system.
 * Press the button to align the working plane with the YZ plane of the global coordinate system.
 * Press the button to align the working plane with the current 3D view. If the  checkbox is unchecked the working plane origin will match the origin of the global coordinate system, else it will match the center of the current 3D view.
 * Press the button to automatically align the working plane with the current 3D view whenever a Draft or Arch command requiring point input is started. This is equivalent to pressing the  button before using the command.
 * The defines the perpendicular distance between the calculated plane and the actual working plane.
 * Check the checkbox to put the origin of the working plane in the center of to the current 3D view. This option really only makes sense if the  button is used.
 * Select a vertex in the 3D view and press the button to move the working plane so that its origin matches the position of the selected vertex.
 * The defines the distance between grid lines.
 * The value determines where main grid lines are drawn. Main grid lines are slightly thicker than normal grid lines. For example if the grid spacing is  and there is a main line every, such a line will occur every.
 * The value determines the number of grid lines in the X and Y direction of the grid.
 * The is the maximum distance at which Draft Snap Grid detects the intersections of grid lines.
 * Press the button to use the origin of the current working plane as the center of the 3D view.
 * Press the button to reset the working plane to its previous position.
 * Press or the  button to abort the command.

Preferences
See also: Preferences Editor and Draft Preferences.


 * The grid settings in the task panel as well as several other grid settings are available as preferences:.
 * To use the grid the option must be selected. After changing this preference you must restart FreeCAD.
 * The Snapping radius can also be changed on-the-fly (see Draft Snap) or by changing:.

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

If the Draft Workbench is active the FreeCAD application object has a property which stores the current Draft working plane. You can access this property and apply transformations to it:

It is also possible to create planes independently of the Draft working plane. This can be useful for calculations and projections: