Draft Edit/cs: Difference between revisions

From FreeCAD Documentation
(Created page with "{{GuiCommand/cs|Name=Draft_Edit||Name/cs=Kreslení Úpravy|Workbenches=Modul kreslení, Architektura|MenuLocation=Draft -> Edit}}")
(Updating to match new version of source page)
 
(46 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
{{GuiCommand/cs|Name=Draft_Edit||Name/cs=Kreslení Úpravy|Workbenches=[[Draft Module/cs|Modul kreslení]], [[Arch Module/cs|Architektura]]|MenuLocation=Draft -> Edit}}


{{Docnav
==Description==
|[[Draft_PointLinkArray|PointLinkArray]]
|[[Draft_SubelementHighlight|SubelementHighlight]]
|[[Draft_Workbench|Draft]]
|IconL=Draft_PointLinkArray.svg
|IconR=Draft_SubelementHighlight.svg
|IconC=Workbench_Draft.svg
}}


<div class="mw-translate-fuzzy">
This tool allows you to edit graphically certain properties of the selected object, such as the vertices of a Wire, or the length and width of a Rectangle, or the radius of a Circle. It does nothing more than enter the object's edit mode, so other ways to enter edit mode (such as double-clicking the object in the Tree view) give the same result.
{{GuiCommand/cs|Name=Draft Edit||Name/cs=Kreslení Úpravy|Workbenches=[[Draft_Workbench/cs|Modul kreslení]], [[Arch_Workbench/cs|Architektura]]|MenuLocation=Draft -> Edit}}
</div>


<span id="Description"></span>
[[Image:Draft edit example.jpg|400px]]
==Popis==


<div class="mw-translate-fuzzy">
==How to use==
Tento nástroj umožňuje grafické úpravy určitých vlastností vybraného objektu, jako jsou vrcholy Drátu nebo délka a šířka obdélníku nebo poloměr kružnice. Nástroj nedělá nic jiného než že vstoupí do editačního módu, tj. stejný výsledek jako když do editačního módu vstoupíte jiným způsobem (jako je dvojklik na objekt v okně stromu).
</div>


[[Image:Draft_Edit_example.png]]
# Select a [[Draft Wire|wire]], [[Draft Line|line]], [[Draft Rectangle|rectangle]], [[Draft BSpline|bspline]] or [[Draft Circle|circle]]
{{Caption|4 objects in Draft Edit mode: a Draft Wire (red), a Draft Arc (black), a Draft BSpline (green) and a Draft BezCurve (magenta)}}
# Press the {{KEY|[[Image:Draft Edit.png|16px]] [[Draft Edit]]}} button, or double-click the object in the Tree panel, or use the {{KEY|[[Image:Std Edit.png|16px]] [[Std Edit]]}} tool.
# Click on a point you wish to move
# Click another point on the 3D view, or type a [[Draft_Coordinates|coordinate]]
# Press {{KEY|ESC}} or the {{KEY|'''Finish'''}} button


==Options==
==Usage==


See also: [[Draft_Snap|Draft Snap]] and [[Draft_Constrain|Draft Constrain]].
* The Edit tool only works on one selected object at a time.

* The Edit tool only works on Draft Wires, Rectangles, Circles and Arcs. Other object types must first be converted to Draft objects.
# 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.
* Click on an edit vertex to move it, click again to release it.
# There are several ways to invoke the command:
* Press {{KEY|X}}, {{KEY|Y}} or {{KEY|Z}} after a point to constrain the next point on the given axis.
#* 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.
* To enter coordinates manually, simply enter the numbers, then press {{KEY|ENTER}} between each X, Y and Z component.
#* Press the {{Button|[[Image:Draft_Edit.svg|16px]] [[Draft_Edit|Edit]]}} button.
* Press {{KEY|CTRL}} while drawing to force [[Draft_Snap|snapping]] your point to the nearest snap location, independently of the distance.
#* Select the {{MenuCommand|Modification → [[Image:Draft_Edit.svg|16px]] Edit}} option from the menu.
* Press {{KEY|SHIFT}} while drawing to [[Draft_Constrain|constrain]] your next point horizontally or vertically in relation to the last one.
#* Use the keyboard shortcut: {{KEY|D}} then {{KEY|E}}.
* Press {{KEY|ESC}} or the {{KEY|'''Cancel'''}} button or the {{KEY|[[Image:Draft Edit.png|16px]] [[Draft Edit]]}} button again to finish editing.
#* 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}}
* Pressing the {{KEY|[[Image:Draft AddPoint.png|12px]] [[Draft AddPoint|Add point]]}} button allows you to add points to Wires and BSplines by clicking on the segments
# If you have not yet selected an object: select an object in the [[3D_view|3D view]].
* Pressing the {{KEY|[[Image:Draft DelPoint.png|12px]] [[Draft DelPoint|Del point]]}} button allows you to remove points from Wires and BSplines by clicking on the points to remove
# The selected objects are marked with temporary nodes, and the [[#Main_task_panel|Main task panel]] opens. See [[#Options|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|Supported objects]] for more information.
#* Do one of the following:
#** On all operating systems: hold down {{KEY|E}} and click the node or edge. To use {{KEY|E}} you may have to click in the [[3D_view|3D view]] once to ensure that it has the focus.
#** On Windows: hold down {{KEY|Alt}} and click the node or edge.
#** On Linux: hold down {{KEY|Shift}}+{{KEY|Alt}}, {{KEY|Ctrl}}+{{KEY|Alt}} or {{KEY|Alt}}, and click the node or edge.
#** On macOS: hold down {{KEY|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|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.
# Optionally move a node:
#* Click the node in the [[3D_view|3D view]].
#* 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.
#* The result depends on the object and the selected node.
# Press {{KEY|Esc}} or the {{Button|Close}} button (the button at the top of the task panel, without the image) to finish the command.

<span id="Options"></span>
==Volby==

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===

* Press {{KEY|Esc}} or the {{Button|Close}} button to finish the command.

===Edit node task panel===

<div class="mw-translate-fuzzy">
* Nástroj Úpravy pracuje v daném čase pouze s jedním vybraným objektem.
* Nástroj Úpravy pracuje pouze s Dráty, Obdélníky, Kružnicemi a Oblouky. Jiné objekty musí být předem zkonvertovány do objektů Kreslení.
* Klikněte na upravovaný vrchol pro jeho posunutí a potom na něj klikněte ješte jednou pro jeho upuštění.
* Stiskněte klávesy {{KEY|X}}, {{KEY|Y}} nebo {{KEY|Z}} po zadání bodu, chcete-li získat vazbu na další bod v požadované ose.
* Chcete-li zadat souřadnice ručně, jednoduše zadejte číslo a potom stiskněte {{KEY|ENTER}} mezi každou z komponent X, Y a Z.
* Stisknutím klávesy {{KEY|CTRL}} během kreslení vynutíte [[Draft_Snap/cs|přichycení]] vašeho bodu k nejbližšímu uchopovacímu místu nezávisle na vzálenosti od něho.
* Stisknutím klávesy {{KEY|SHIFT}} během kreslení [[Draft_Constrain/cs|nastavíte vazbu]] bodu svisle nebo vodorovně v relaci k předchozímu bodu.
* Stisknutím tlačítka {{KEY|ESC}} nebo {{KEY|'''Cancel'''}} nebo ještě jednou {{KEY|[[Image:Draft Edit.png|16px]] [[Draft Edit/cs|Úpravy]]}} zrušíte editaci.
* Stisknutí tlačítka {{KEY|[[Image:Draft AddPoint.png|12px]] Přidat bod}} umožní přidat další bod do Drátu nebo B-křivky kliknutím na segmenty.
* Stisknutí tlačítka {{KEY|[[Image:Draft DelPoint.png|12px]] Smazat}} umožní smazání bodu z Drátu nebo B-křivky kliknutím na mazaný bod.
</div>

==Supported objects==

===[[Image:Draft_Line.svg|24px]] [[Draft_Line|Draft Line]] and [[Image:Draft_Wire.svg|24px]] [[Draft_Wire|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: {{Value|Delete point}}. At least two points must remain.
* 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]]===

* Center node context menu: {{Value|Move arc}}.
* Start node context menu: {{Value|Set first angle}}.
* End node context menu: {{Value|Set last angle}}.
* Mid node context menu: {{Value|Set radius}}.
* Edge context menu: {{Value|Invert arc}}.

===[[Image:Draft_Circle.svg|24px]] [[Draft_Circle|Draft Circle]]===

* No context menus for this object.

===[[Image:Draft_Ellipse.svg|24px]] [[Draft_Ellipse|Draft Ellipse]]===

* No context menus for this object.

===[[Image:Draft_Rectangle.svg|24px]] [[Draft_Rectangle|Draft Rectangle]]===

* No context menus for this object.

===[[Image:Draft_Polygon.svg|24px]] [[Draft_Polygon|Draft Polygon]]===

* No context menus for this object.

===[[Image:Draft_BSpline.svg|24px]] [[Draft_BSpline|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: {{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|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]]===

* If the start or end node of an open curve is moved so that they coincide, the curve is closed.
* Node context menu: {{Value|Delete point}}, {{Value|Make sharp}}, {{Value|Make tangent}} and {{Value|Make symmetric}}.
* 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]]===

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

===[[Image:Arch_Wall.svg|24px]] [[Arch_Wall|Arch Wall]]===

* A single node to control the height of the wall is displayed above the {{PropertyData|Placement}} of the wall.
* No context menus for this object.

===[[Image:Arch_Structure.svg|24px]] [[Arch_Structure|Arch Structure]]===

* No context menus for this object.

===[[Image:Arch_Window.svg|24px]] [[Arch_Window|Arch Window]]===

* No context menus for this object.

===[[Image:Arch_Space.svg|24px]] [[Arch_Space|Arch Space]]===

* No context menus for this object.

===[[Image:Arch_Panel_Cut.svg|24px]] [[Arch_Panel_Cut|Arch Panel Cut]]===

* No context menus for this object.

===[[Image:Arch_Panel_Sheet.svg|24px]] [[Arch_Panel_Sheet|Arch Panel Sheet]]===

* No context menus for this object.

===[[Image:Part_Box.svg|24px]] [[Part_Box|Part Box]]===

* No context menus for this object.

===[[Image:Part_Cylinder.svg|24px]] [[Part_Cylinder|Part Cylinder]]===

* No context menus for this object.

===[[Image:Part_Sphere.svg|24px]] [[Part_Sphere|Part Sphere]]===

* No context menus for this object.

===[[Image:Part_Cone.svg|24px]] [[Part_Cone|Part Cone]]===

* No context menus for this object.

===[[Image:Part_Line.svg|24px]] [[Part_Line|Part Line]]===

* No context menus for this object.

===[[Image:Sketcher_NewSketch.svg|24px]] [[Sketcher_NewSketch|Sketcher Sketch]]===

* Only sketches that contain a single unconstrained line can be edited.
* No context menus for this object.

==Preferences==

See also: [[Preferences_Editor|Preferences Editor]] and [[Draft_Preferences|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: {{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==
==Scripting==


<div class="mw-translate-fuzzy">
Not available. Each of the above object can be modified by changing its properties directly.
==Skriptování==
</div>


<div class="mw-translate-fuzzy">
<languages/>
Není dostupné. Každý z výše uvedených objektů může být upravován přímo změnou vlastností.
</div>


{{Docnav
|[[Draft_PointLinkArray|PointLinkArray]]
|[[Draft_SubelementHighlight|SubelementHighlight]]
|[[Draft_Workbench|Draft]]
|IconL=Draft_PointLinkArray.svg
|IconR=Draft_SubelementHighlight.svg
|IconC=Workbench_Draft.svg
}}

{{Draft Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 09:29, 21 April 2024

Kreslení Úpravy

Umístění Menu
Draft -> Edit
Pracovní stoly
Modul kreslení, Architektura
Výchozí zástupce
Nikdo
Představen ve verzi
-
Viz také
Nikdo

Popis

Tento nástroj umožňuje grafické úpravy určitých vlastností vybraného objektu, jako jsou vrcholy Drátu nebo délka a šířka obdélníku nebo poloměr kružnice. Nástroj nedělá nic jiného než že vstoupí do editačního módu, tj. stejný výsledek jako když do editačního módu vstoupíte jiným způsobem (jako je dvojklik na objekt v okně stromu).

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 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
  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, 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:
  6. 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.
  7. Press Esc or the Close button (the button at the top of the task panel, without the image) to finish the command.

Volby

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

  • Nástroj Úpravy pracuje v daném čase pouze s jedním vybraným objektem.
  • Nástroj Úpravy pracuje pouze s Dráty, Obdélníky, Kružnicemi a Oblouky. Jiné objekty musí být předem zkonvertovány do objektů Kreslení.
  • Klikněte na upravovaný vrchol pro jeho posunutí a potom na něj klikněte ješte jednou pro jeho upuštění.
  • Stiskněte klávesy X, Y nebo Z po zadání bodu, chcete-li získat vazbu na další bod v požadované ose.
  • Chcete-li zadat souřadnice ručně, jednoduše zadejte číslo a potom stiskněte ENTER mezi každou z komponent X, Y a Z.
  • Stisknutím klávesy CTRL během kreslení vynutíte přichycení vašeho bodu k nejbližšímu uchopovacímu místu nezávisle na vzálenosti od něho.
  • Stisknutím klávesy SHIFT během kreslení nastavíte vazbu bodu svisle nebo vodorovně v relaci k předchozímu bodu.
  • Stisknutím tlačítka ESC nebo Cancel nebo ještě jednou Úpravy zrušíte editaci.
  • Stisknutí tlačítka Přidat bod umožní přidat další bod do Drátu nebo B-křivky kliknutím na segmenty.
  • Stisknutí tlačítka Smazat umožní smazání bodu z Drátu nebo B-křivky kliknutím na mazaný bod.

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) and 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.

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) and Reverse 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 and Make symmetric.
  • Edge context menu: Add point, Open wire/Close wire (introduced in version 0.21) and Reverse 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 ÚdajePlacement 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 PohledLine 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

Skriptování

Není dostupné. Každý z výše uvedených objektů může být upravován přímo změnou vlastností.