Difference between revisions of "Draft Edit"

From FreeCAD Documentation
Jump to navigation Jump to search
 
Line 7: Line 7:
 
|[[Draft_Module|Draft]]
 
|[[Draft_Module|Draft]]
 
|IconL=Draft_Scale.svg
 
|IconL=Draft_Scale.svg
 +
|IconR=Draft_SubelementHighlight.svg
 
|IconC=Workbench_Draft.svg
 
|IconC=Workbench_Draft.svg
|IconR=Draft_SubelementHighlight.svg
 
 
}}
 
}}
  
Line 17: Line 17:
 
|Workbenches=[[Draft_Module|Draft]], [[Arch_Module|Arch]]
 
|Workbenches=[[Draft_Module|Draft]], [[Arch_Module|Arch]]
 
|Shortcut={{KEY|D}} {{KEY|E}}
 
|Shortcut={{KEY|D}} {{KEY|E}}
 +
|Version=
 
|SeeAlso=[[Std_Edit|Std Edit]], [[Draft_AddPoint|Draft AddPoint]], [[Draft_DelPoint|Draft DelPoint]]
 
|SeeAlso=[[Std_Edit|Std Edit]], [[Draft_AddPoint|Draft AddPoint]], [[Draft_DelPoint|Draft DelPoint]]
|Version=
 
 
}}
 
}}
  
Line 24: Line 24:
  
 
<!--T:3-->
 
<!--T:3-->
The {{Button|[[Image:Draft_Edit.svg|16px]] [[Draft Edit|Draft Edit]]}} tool allows you to graphically edit certain properties of the selected object, such as:  
+
The {{Button|[[Image:Draft_Edit.svg|16px]] [[Draft_Edit|Draft Edit]]}} tool allows you to graphically edit certain properties of the selected object, such as:  
* the vertices of a {{Button|[[Image:Draft_Wire.svg|16px]] [[Draft Wire|Draft Wire]]}}  
+
* the vertices of a {{Button|[[Image:Draft_Wire.svg|16px]] [[Draft_Wire|Draft Wire]]}}  
* the length and width of a {{Button|[[Image:Draft_Rectangle.svg|16px]] [[Draft Rectangle|Draft Rectangle]]}}  
+
* the length and width of a {{Button|[[Image:Draft_Rectangle.svg|16px]] [[Draft_Rectangle|Draft Rectangle]]}}  
 
* the radius of a {{Button|[[Image:Draft_Circle.svg|16px]] [[Draft Circle|Draft Circle]]}}
 
* the radius of a {{Button|[[Image:Draft_Circle.svg|16px]] [[Draft Circle|Draft Circle]]}}
  
Line 64: Line 64:
 
<!--T:14-->
 
<!--T:14-->
 
Some objects allow you to insert or delete points:
 
Some objects allow you to insert or delete points:
* Press the {{Button|[[Image:Draft AddPoint.svg|16px]] [[Draft AddPoint|add point]]}} button, and then click on the wire or spline to add a new point.
+
* Press the {{Button|[[Image:Draft AddPoint.svg|16px]] [[Draft_AddPoint|add point]]}} button, and then click on the wire or spline to add a new point.
* Press the {{Button|[[Image:Draft DelPoint.svg|16px]] [[Draft DelPoint|remove point]]}} button, and then click on a point along the wire or spline to remove it.
+
* Press the {{Button|[[Image:Draft DelPoint.svg|16px]] [[Draft_DelPoint|remove point]]}} button, and then click on a point along the wire or spline to remove it.
  
 
==Scripting== <!--T:8-->
 
==Scripting== <!--T:8-->
{{Emphasis|See also:}} [[Draft API|Draft API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].
+
{{Emphasis|See also:}} [[Draft_API|Draft API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
  
 
<!--T:9-->
 
<!--T:9-->
Line 79: Line 79:
 
|[[Draft_Module|Draft]]
 
|[[Draft_Module|Draft]]
 
|IconL=Draft_Scale.svg
 
|IconL=Draft_Scale.svg
 +
|IconR=Draft_SubelementHighlight.svg
 
|IconC=Workbench_Draft.svg
 
|IconC=Workbench_Draft.svg
|IconR=Draft_SubelementHighlight.svg
 
 
}}
 
}}
  

Latest revision as of 16:05, 29 November 2020

Other languages:
Deutsch • ‎English • ‎Türkçe • ‎español • ‎français • ‎italiano • ‎polski • ‎română • ‎svenska • ‎čeština • ‎русский
Arrow-left.svg Previous: Draft Scale.svg Scale

Draft Edit.svg Draft Edit

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


Description

The Draft Edit.svg Draft Edit tool allows you to graphically edit certain properties of the selected object, such as:

It does nothing more than enter the object's edit mode. Another way to edit the object is by double clicking on the element in the tree view.

Draft edit example.jpg

Editing a wire, an arc and a cubic bezier curve. Context menu is displayed for a knot of the curve


Usage

  1. Select an object.
  2. Press the Draft Edit.svg Draft Edit button, or double-click the object in the tree view, or use the Std Edit.png Std Edit tool.
  3. Click on a point that you wish to move.
  4. Click another point on the 3D view, or type a coordinate and press the Draft AddPoint.svg add point button.
  5. Press Esc or the Close button to complete the current command.

Version 0.19 added new functionalities to Draft Edit such as multiple object editing and custom context menu. To display the context menu, user can press E key or Alt+Left click while overing an edit node or an edited object. Beware not every object contains custom options, so the context menu will be only displayed for supported objects.

The tool mostly works on Draft objects: Draft Wires, Draft Lines, Draft Rectangles, Draft Circles, Draft Arcs, Draft Polygons, and Draft BSplines. Other object types must first be converted to these objects.

Options

  • Press X, Y or Z after a point to constrain the next point on the given axis.
  • To enter coordinates manually, simply enter the numbers, then press Enter between each X, Y and Z component. You can press the Draft AddPoint.svg add point button when you have the desired values to insert the point.
  • Hold Ctrl while drawing to force snapping your point to the nearest snap location, independently of the distance.
  • Hold Shift while drawing to constrain your next point horizontally or vertically in relation to the last one.
  • Press Esc or the Close button or the Draft Edit.svg Draft Edit button again to finish editing.

Some objects allow you to insert or delete points:

  • Press the Draft AddPoint.svg add point button, and then click on the wire or spline to add a new point.
  • Press the Draft DelPoint.svg remove point button, and then click on a point along the wire or spline to remove it.

Scripting

See also: Draft API and FreeCAD Scripting Basics.

There is no programming interface available for the Edit tool. Each object is modified by changing its attributes directly.

Arrow-left.svg Previous: Draft Scale.svg Scale