Draft Edit: Difference between revisions
(Marked this version for translation) |
(V0.22 -> V1.0) |
||
(26 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
|[[Draft_PointLinkArray|PointLinkArray]] |
|[[Draft_PointLinkArray|PointLinkArray]] |
||
|[[Draft_SubelementHighlight|SubelementHighlight]] |
|[[Draft_SubelementHighlight|SubelementHighlight]] |
||
|[[ |
|[[Draft_Workbench|Draft]] |
||
|IconL=Draft_PointLinkArray.svg |
|IconL=Draft_PointLinkArray.svg |
||
|IconR=Draft_SubelementHighlight.svg |
|IconR=Draft_SubelementHighlight.svg |
||
Line 15: | Line 15: | ||
{{GuiCommand |
{{GuiCommand |
||
|Name=Draft Edit |
|Name=Draft Edit |
||
|MenuLocation=Modification |
|MenuLocation=Modification → Edit |
||
|Workbenches=[[ |
|Workbenches=[[Draft_Workbench|Draft]], [[Arch_Workbench|Arch]] |
||
|Shortcut={{KEY|D}} {{KEY|E}} |
|Shortcut={{KEY|D}} {{KEY|E}} |
||
|SeeAlso=[[Std_Edit|Std Edit]] |
|SeeAlso=[[Std_Edit|Std Edit]] |
||
Line 40: | Line 40: | ||
# 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. |
# 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. |
||
# There are several ways to invoke the command: |
# There are several ways to invoke the command: |
||
#* If you have not yet selected an object: double-click an object in the [[Tree_view|Tree view]]. This only |
#* If you have not yet selected an object: double-click an object in the [[Tree_view|Tree view]]. This only works for supported Draft objects. |
||
#* Press the {{Button|[[Image:Draft_Edit.svg|16px]] [[Draft_Edit| |
#* Press the {{Button|[[Image:Draft_Edit.svg|16px]] [[Draft_Edit|Edit]]}} button. |
||
#* Select the {{MenuCommand|Modification → [[Image:Draft_Edit.svg|16px]] Edit}} option from the menu. |
#* Select the {{MenuCommand|Modification → [[Image:Draft_Edit.svg|16px]] Edit}} option from the menu. |
||
#* Select the {{MenuCommand|Utilities → [[Image:Draft_Edit.svg|16px]] Edit}} option from the menu. |
|||
#* Use the keyboard shortcut: {{KEY|D}} then {{KEY|E}}. |
#* Use the keyboard shortcut: {{KEY|D}} then {{KEY|E}}. |
||
#* For a single object: select the {{MenuCommand|Edit}} option from the [[Tree_view|Tree view]] context menu. This only works for supported Draft objects. {{Version|0.21}} |
|||
# If you have not yet selected an object: select an object in the [[3D_view|3D view]]. |
# If you have not yet selected an object: select an object in the [[3D_view|3D view]]. |
||
# The selected objects are marked with temporary nodes, and the [[#Main_task_panel|Main task panel]] opens. See [[#Options|Options]] for more information. |
# The selected objects are marked with temporary nodes, and the [[#Main_task_panel|Main task panel]] opens. See [[#Options|Options]] for more information. |
||
Line 55: | Line 55: | ||
#* Select an option from the context menu. |
#* Select an option from the context menu. |
||
#* If the selected option requires point input: |
#* If the selected option requires point input: |
||
#** The [[# |
#** The [[#Edit_node_task_panel|Edit node task panel]] opens. See [[#Options|Options]] for more information. |
||
#** Pick a point in the [[3D_view|3D view]], or type coordinates and press the {{Button|[[Image:Draft_AddPoint.svg|16px]] Enter point}} button. |
#** Pick a point in the [[3D_view|3D view]], or type coordinates and press the {{Button|[[Image:Draft_AddPoint.svg|16px]] Enter point}} button. |
||
# Optionally move a node: |
# Optionally move a node: |
||
#* Click the node in the [[3D_view|3D view]]. |
#* Click the node in the [[3D_view|3D view]]. |
||
#* The [[# |
#* The [[#Edit_node_task_panel|Edit node task panel]] opens. See [[#Options|Options]] for more information. |
||
#* Pick a point in the [[3D_view|3D view]], or type coordinates and press the {{Button|[[Image:Draft_AddPoint.svg|16px]] Enter point}} button. |
#* Pick a point in the [[3D_view|3D view]], or type coordinates and press the {{Button|[[Image:Draft_AddPoint.svg|16px]] Enter point}} button. |
||
#* The result depends on the object and the selected node. |
#* The result depends on the object and the selected node. |
||
# Press {{KEY|Esc}} or the {{Button|Close}} button to finish the command. |
# Press {{KEY|Esc}} or the {{Button|Close}} button (the button at the top of the task panel, without the image) to finish the command. |
||
==Options== <!--T:6--> |
==Options== <!--T:6--> |
||
<!--T:30--> |
<!--T:30--> |
||
The single character keyboard shortcuts |
The single character keyboard shortcuts available in the task panel can be changed. See [[Draft_Preferences|Draft Preferences]]. The shortcuts mentioned here are the default shortcuts. |
||
===Main task panel=== <!--T:31--> |
===Main task panel=== <!--T:31--> |
||
<!--T:32--> |
<!--T:32--> |
||
* Press {{KEY|O}} or the {{Button|[[Image:Draft_CloseLine.svg|16px]] Close}} button to finish the command. If a single [[Draft_Wire|Draft Wire]] has been selected the wire is closed. |
|||
* Press {{KEY|Esc}} or the {{Button|Close}} button to finish the command. |
* Press {{KEY|Esc}} or the {{Button|Close}} button to finish the command. |
||
=== |
===Edit node task panel=== <!--T:33--> |
||
<!--T:7--> |
<!--T:7--> |
||
Line 81: | Line 80: | ||
* To use polar coordinates enter a value for the {{MenuCommand|Length}} and a value for the {{MenuCommand|Angle}}, and press {{KEY|Enter}} after each. |
* To use polar coordinates enter a value for the {{MenuCommand|Length}} and a value for the {{MenuCommand|Angle}}, and press {{KEY|Enter}} after each. |
||
* Check the {{MenuCommand|Angle}} checkbox to constrain the pointer to the specified angle. |
* Check the {{MenuCommand|Angle}} checkbox to constrain the pointer to the specified angle. |
||
* Press {{KEY|R}} or click the {{MenuCommand|Relative}} checkbox to toggle relative mode. If relative mode is on, the coordinates of the picked point are relative to the original point, else they are relative to the coordinate system origin. {{Version|1.0}} |
|||
* The {{MenuCommand|Relative}} checkbox has no purpose for this command. |
|||
* Press {{KEY|G}} or click the {{MenuCommand|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 [[Draft_SelectPlane|working plane]] coordinate system. {{Version|0.20}} |
* Press {{KEY|G}} or click the {{MenuCommand|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 [[Draft_SelectPlane|working plane]] coordinate system. {{Version|0.20}} |
||
* The {{MenuCommand|Continue}} checkbox has no purpose for this command. |
|||
* Press {{KEY|S}} to switch [[Draft_Snap|Draft snapping]] on or off. |
* Press {{KEY|S}} to switch [[Draft_Snap|Draft snapping]] on or off. |
||
* The {{button|[[Image:Draft_UndoLine.svg|16px]] Undo}} button has no purpose for this command. |
|||
==Supported objects== <!--T:34--> |
==Supported objects== <!--T:34--> |
||
Line 93: | Line 90: | ||
<!--T:36--> |
<!--T:36--> |
||
* If the start or end node of an open wire is moved so that they coincide, the wire is closed. |
* If the start or end node of an open wire is moved so that they coincide, the wire is closed. |
||
* Node context menu: {{Value| |
* Node context menu: {{Value|Delete point}}. At least two points must remain. |
||
* Edge context menu: {{Value| |
* Edge context menu: {{Value|Add point}}, {{Value|Open wire}}/{{Value|Close wire}} ({{Version|0.21}}) and {{Value|Reverse wire}} ({{Version|0.20}}). |
||
===[[Image:Draft_Arc.svg|24px]] [[Draft_Arc|Draft Arc]] and [[Image:Draft_Arc_3Points.svg|24px]] [[Draft_Arc_3Points|Draft Arc 3Points]]=== <!--T:37--> |
===[[Image:Draft_Arc.svg|24px]] [[Draft_Arc|Draft Arc]] and [[Image:Draft_Arc_3Points.svg|24px]] [[Draft_Arc_3Points|Draft Arc 3Points]]=== <!--T:37--> |
||
<!--T:38--> |
<!--T:38--> |
||
* Center node context menu: {{Value| |
* Center node context menu: {{Value|Move arc}}. |
||
* Start node context menu: {{Value| |
* Start node context menu: {{Value|Set first angle}}. |
||
* End node context menu: {{Value| |
* End node context menu: {{Value|Set last angle}}. |
||
* Mid node context menu: {{Value| |
* Mid node context menu: {{Value|Set radius}}. |
||
* Edge context menu: {{Value| |
* Edge context menu: {{Value|Invert arc}}. |
||
===[[Image:Draft_Circle.svg|24px]] [[Draft_Circle|Draft Circle]]=== <!--T:39--> |
===[[Image:Draft_Circle.svg|24px]] [[Draft_Circle|Draft Circle]]=== <!--T:39--> |
||
Line 129: | Line 126: | ||
<!--T:48--> |
<!--T:48--> |
||
* If the start or end node of an open spline is moved so that they coincide, the spline is closed. |
* If the start or end node of an open spline is moved so that they coincide, the spline is closed. |
||
* Node context menu: {{Value| |
* Node context menu: {{Value|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: {{Value| |
* Edge context menu: {{Value|Add point}}, {{Value|Open wire}}/{{Value|Close wire}} ({{Version|0.21}}) and {{Value|Reverse spline}} ({{Version|0.21}}). |
||
===[[Image:Draft_CubicBezCurve.svg|24px]] [[Draft_CubicBezCurve|Draft CubicBezCurve]] and [[Image:Draft_BezCurve.svg|24px]] [[Draft_BezCurve|Draft BezCurve]]=== <!--T:49--> |
===[[Image:Draft_CubicBezCurve.svg|24px]] [[Draft_CubicBezCurve|Draft CubicBezCurve]] and [[Image:Draft_BezCurve.svg|24px]] [[Draft_BezCurve|Draft BezCurve]]=== <!--T:49--> |
||
Line 136: | Line 133: | ||
<!--T:50--> |
<!--T:50--> |
||
* If the start or end node of an open curve is moved so that they coincide, the curve is closed. |
* If the start or end node of an open curve is moved so that they coincide, the curve is closed. |
||
* Node context menu: {{Value| |
* Node context menu: {{Value|Delete point}}, {{Value|Make sharp}}, {{Value|Make tangent}} and {{Value|Make symmetric}}. |
||
* Edge context menu: {{Value| |
* Edge context menu: {{Value|Add point}}, {{Value|Open wire}}/{{Value|Close wire}} ({{Version|0.21}}) and {{Value|Reverse curve}} ({{Version|0.21}}). |
||
===[[Image:Draft_Dimension.svg|24px]] [[Draft_Dimension|Draft Dimension]]=== <!--T:51--> |
===[[Image:Draft_Dimension.svg|24px]] [[Draft_Dimension|Draft Dimension]]=== <!--T:51--> |
||
Line 205: | Line 202: | ||
<!--T:76--> |
<!--T:76--> |
||
* Only sketches that contain a single unconstrained line can be edited |
* Only sketches that contain a single unconstrained line can be edited. |
||
* No context menus for this object. |
* No context menus for this object. |
||
Line 214: | Line 211: | ||
<!--T:78--> |
<!--T:78--> |
||
* The color of the temporary nodes is the same as the color of the snap symbols. This color can be changed in the preferences: {{MenuCommand|Edit → Preferences... → Draft → |
* The color of the temporary nodes is the same as the color of the snap symbols. This color can be changed in the preferences: {{MenuCommand|Edit → Preferences... → Draft → Grid and snapping → Snap symbol color}}. Note that this color is not used for the temporary nodes displayed for [[Draft_BezCurve|Draft BezCurves]]. These nodes use the {{PropertyView|Line Color}} of the curve instead. |
||
* The size of the nodes depends on: {{MenuCommand|Edit → Preferences... → Display → 3D View → Marker size}}. {{Version|1.0}} |
|||
==Scripting== <!--T:25--> |
==Scripting== <!--T:25--> |
||
Line 229: | Line 227: | ||
|[[Draft_PointLinkArray|PointLinkArray]] |
|[[Draft_PointLinkArray|PointLinkArray]] |
||
|[[Draft_SubelementHighlight|SubelementHighlight]] |
|[[Draft_SubelementHighlight|SubelementHighlight]] |
||
|[[ |
|[[Draft_Workbench|Draft]] |
||
|IconL=Draft_PointLinkArray.svg |
|IconL=Draft_PointLinkArray.svg |
||
|IconR=Draft_SubelementHighlight.svg |
|IconR=Draft_SubelementHighlight.svg |
Latest revision as of 09:28, 21 April 2024
|
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.
- 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.
- 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 works for supported Draft objects.
- Press the
Edit button.
- Select the Modification →
Edit option from the menu.
- Use the keyboard shortcut: D then E.
- For a single object: select the Edit option from the Tree view context menu. This only works for supported Draft objects. introduced in version 0.21
- If you have not yet selected an object: select an object in the 3D view.
- The selected objects are marked with temporary nodes, and the Main task panel opens. See Options for more information.
- 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, Ctrl+Alt or 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.
- If the selected option requires point input:
- The Edit node task panel opens. See Options for more information.
- Pick a point in the 3D view, or type coordinates and press the
Enter point button.
- Do one of the following:
- Optionally move a node:
- Click the node in the 3D view.
- The Edit node task panel opens. See Options for more information.
- Pick a point in the 3D view, or type coordinates and press the
Enter point button.
- The result depends on the object and the selected node.
- Press Esc or the Close button (the button at the top of the task panel, without the image) to finish the command.
Options
The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts.
Main task panel
- Press Esc or the Close button to finish the command.
Edit 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.
- Press R or click the Relative checkbox to toggle relative mode. If relative mode is on, the coordinates of the picked point are relative to the original point, else they are relative to the coordinate system origin. introduced in version 1.0
- 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
- Press S to switch Draft snapping on or off.
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
,Open wire
/Close wire
(introduced in version 0.21) andReverse 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
.
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
,Open wire
/Close wire
(introduced in version 0.21) andReverse spline
(introduced in version 0.21).
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:
Delete point
,Make sharp
,Make tangent
andMake symmetric
. - Edge context menu:
Add point
,Open wire
/Close wire
(introduced in version 0.21) andReverse curve
(introduced in version 0.21).
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.
- No context menus for this object.
Preferences
See also: Preferences Editor and Draft 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 → Grid and snapping → Snap symbol color. 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.
- The size of the nodes depends on: Edit → Preferences... → Display → 3D View → Marker size. introduced in version 1.0
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.
- Drafting: Line, Polyline, Fillet, Arc, Arc by 3 points, Circle, Ellipse, Rectangle, Polygon, B-spline, Cubic Bézier curve, Bézier curve, Point, Facebinder, ShapeString, Hatch
- Annotation: Text, Dimension, Label, Annotation styles, Annotation scale
- Modification: Move, Rotate, Scale, Mirror, Offset, Trimex, Stretch, Clone, Array, Polar array, Circular array, Path array, Path link array, Point array, Point link array, Edit, Subelement highlight, Join, Split, Upgrade, Downgrade, Wire to B-spline, Draft to sketch, Set slope, Flip dimension, Shape 2D view
- Draft Tray: Select plane, Set style, Toggle construction mode, AutoGroup
- Snapping: Snap lock, Snap endpoint, Snap midpoint, Snap center, Snap angle, Snap intersection, Snap perpendicular, Snap extension, Snap parallel, Snap special, Snap near, Snap ortho, Snap grid, Snap working plane, Snap dimensions, Toggle grid
- Miscellaneous: Apply current style, Layer, Manage layers, Add a new named group, Move to group, Select group, Add to construction group, Toggle normal/wireframe display, Create working plane proxy, Heal, Show snap toolbar
- Additional: Constraining, Pattern, Preferences, Import Export Preferences, DXF/DWG, SVG, OCA, DAT
- Context menu:
- Layer container: Merge layer duplicates, Add new layer
- Layer: Activate this layer, Select layer contents
- Text: Open hyperlinks
- Wire: Flatten
- Working plane proxy: Write camera position, Write objects state
![](/images/thumb/9/94/User_hub.png/24px-User_hub.png)
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Assembly, BIM, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub