Draft Split/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Docnav/ru |Join |Upgrade |Draft_Module |IconL=Draft_Join.svg |IconC=Workbench_Draft.svg |IconR=Draft_Upgrade.svg }}")
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>
<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[Draft_Join/ru|Join]]
|[[Draft_Join/ru|Join]]
Line 8: Line 9:
|IconR=Draft_Upgrade.svg
|IconR=Draft_Upgrade.svg
}}
}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru
|Name=Draft Split
|Name=Draft Split
Line 18: Line 21:
|SeeAlso=[[Draft Join/ru|Draft Join]]
|SeeAlso=[[Draft Join/ru|Draft Join]]
}}
}}
</div>


==Описание==
==Описание==


The {{Button|[[Image:Draft Split.svg|16px]] [[Draft Split|Draft Split]]}} tool attempts to split an existing wire at a specified edge or point.
The {{Button|[[Image:Draft Split.svg|16px]] [[Draft_Split|Draft Split]]}} tool attempts to split an existing wire at a specified edge or point.


The counterpart to this tool is the {{Button|[[Image:Draft Join.svg|16px]] [[Draft Join|Draft Join]]}} operation.
The counterpart to this tool is the {{Button|[[Image:Draft Join.svg|16px]] [[Draft Join|Draft Join]]}} operation.
Line 37: Line 41:


==Scripting==
==Scripting==
{{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]].


The Split tool can be used in [[macros|macros]] and from the [[Python|Python]] console by using the following function:
The Split tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following function:


{{Code|code=
{{Code|code=
Line 45: Line 49:
}}
}}


<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[Draft_Join/ru|Join]]
|[[Draft_Join/ru|Join]]
Line 53: Line 58:
|IconR=Draft_Upgrade.svg
|IconR=Draft_Upgrade.svg
}}
}}
</div>


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

Revision as of 14:53, 1 December 2020

Draft Split

Системное название
Draft Split
Расположение в меню
Draft → Split
Верстаки
Draft
Быстрые клавиши
S P
Представлено в версии
0.18
См. также
Draft Join

Описание

The Draft Split tool attempts to split an existing wire at a specified edge or point.

The counterpart to this tool is the Draft Join operation.

Использование

  1. Press the Draft Split button or press S then P keys.
  2. Click on a wire where you want to split it

If the wire is open, you will create two wires, each ending at the point at which you clicked. If the wire is closed, the edge which you clicked will be turned into its own open wire, and the remainder will convert into an open wire.

Options

There are no options for this tool. Either it works with the selected objects or not.

Scripting

See also: Draft API and FreeCAD Scripting Basics.

The Split tool can be used in macros and from the Python console by using the following function:

split(wire, newPoint, edgeIndex)