Draft Edit

From FreeCAD Documentation
Revision as of 14:11, 14 June 2021 by Roy 043 (talk | contribs)
This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.

Draft Edit

Menu location
Modification → Edit
Workbenches
Draft, Arch
Default shortcut
D E
Introduced in version
-
See also
Std Edit

Description

The Draft Edit command puts selected objects in Draft Edit mode. In this mode the properties of objects can be edited graphically. Typically nodes can be moved and in some cases context menu options can be selected. The command can handle most Draft objects, but also some other objects. See Supported objects.

Supported Draft objects can also be put in Draft edit mode with the Std Edit command.

4 objects in Draft Edit mode: a Draft Wire (red), a Draft Arc (black), a Draft BSpline (green) and a Draft BezCurve (magenta)

Usage

See also: Draft Snap and Draft Constrain.

  1. Optionally select one or more objects. Note that although multiple objects can be in Draft Edit mode, objects can only be edited one at a time.
  2. There are several ways to invoke the command:
    • If you have not yet selected an object: double-click an object in the Tree view. This only work for supported Draft objects.
    • Press the Draft Edit button.
    • Select the Modification → Edit option from the menu.
    • Use the keyboard shortcut: D then E.
  3. If you have not yet selected an object: select an object in the 3D view.
  4. The selected objects are marked with temporary nodes, and the Main task panel opens. See Options for more information.
  5. Optionally use a node or edge context menu. These context menus are only available for some Draft objects. See Supported objects for more information.
    • Do one of the following:
      • On all operating systems: hold down E and click the node or edge. To use E you may have to click in the 3D view once to ensure that it has the focus.
      • On Windows: hold down Alt and click the node or edge.
      • On Linux: hold down Shift+Alt, or Ctrl+Alt, and click the node or edge.
      • On macOS: hold down Option and click the node or edge.
    • Select an option from the context menu.
  6. Optionally move a node:
    • Click the node in the 3D view.
    • The Move node task panel opens. See Options for more information.
    • Pick a new point in the 3D view, or type coordinates and press the Enter point button.
    • The result depends on the object and the selected node, and in some case on the option selected in the node context menu.
  7. Press Esc or the Close button to finish the command.

Options

The single character keyboard shortcuts mentioned here can be changed. See Draft Preferences.

Main task panel

  • Press O or the Close button to finish the command. If a single Draft Wire has been selected the wire is closed.
  • Press Esc or the Close button to finish the command.

Move node task panel

  • To manually enter coordinates enter the X, Y and Z component, and press Enter after each. Or you can press the Enter point button when you have the desired values. It is advisable to move the pointer out of the 3D view before entering coordinates.
  • To use polar coordinates enter a value for the Length and a value for the Angle, and press Enter after each.
  • Check the Angle checkbox to constrain the pointer to the specified angle.
  • The Relative checkbox has no purpose for this command.
  • Press G or click the Global checkbox to toggle global mode. If global mode is on, coordinates are relative to the global coordinate system, else they are relative to the working plane coordinate system. introduced in version 0.20
  • The Continue checkbox has no purpose for this command.
  • The Undo button has no purpose for this command.

Supported objects

Draft Line and Draft Wire

  • If the start or end node of an open wire is moved so that they coincide, the wire is closed.
  • Node context menu: delete point. At least two points must remain.
  • Edge context menu: add point, reverse wire (introduced in version 0.20).

Draft Arc and Draft Arc 3Points

  • Center node context menu: move arc.
  • Start node context menu: set first angle.
  • End node context menu: set last angle.
  • Mid node context menu: set radius.
  • Edge context menu: invert arc. Currently this does not work.

Draft Circle

  • No context menus for this object.

Draft Ellipse

  • No context menus for this object.

Draft Rectangle

  • No context menus for this object.

Draft Polygon

  • No context menus for this object.

Draft BSpline

  • If the start or end node of an open spline is moved so that they coincide, the spline is closed.
  • Node context menu: delete point. At least two points must remain for an open spline. For a closed spline the minimum number of points is three.
  • Edge context menu: add point.

Draft CubicBezCurve and Draft BezCurve

  • If the start or end node of an open curve is moved so that they coincide, the curve is closed.
  • Node context menu: make sharp, make tangent, make symmetric and delete point.
  • Edge context menu: add point.

Draft Dimension

  • Angular dimensions cannot be edited.
  • The start and end nodes of parametric dimensions cannot be moved.
  • No context menus for this object.

Arch Wall

  • A single node to control the height of the wall is displayed above the DataPlacement of the wall.
  • No context menus for this object.

Arch Structure

  • No context menus for this object.

Arch Window

  • No context menus for this object.

Arch Space

  • No context menus for this object.

Arch Panel Cut

  • No context menus for this object.

Arch Panel Sheet

  • No context menus for this object.

Part Box

  • No context menus for this object.

Part Cylinder

  • No context menus for this object.

Part Sphere

  • No context menus for this object.

Part Cone

  • No context menus for this object.

Part Line

  • No context menus for this object.

Sketcher Sketch

  • Only sketches that contain a single unconstrained line can be edited. Currently this does not work properly.
  • No context menus for this object.

Preferences

  • The color of the temporary nodes is the same as the color of the snap symbols. This color can be changed in the preferences: Edit → Preferences... → Draft → Visual settings → Visual Settings → Color. See Draft Preferences. Note that this color is not used for the temporary nodes displayed for Draft BezCurves. These nodes use the ViewLine Color of the curve instead.

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

There is no Python method to Draft Edit objects. To emulate the results of the command geometric properties of objects have to be modified.