Draft Join: Difference between revisions

From FreeCAD Documentation
mNo edit summary
(Updated Docnav + MenuLocation)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

<!--T:20-->
<!--T:20-->
{{Docnav
{{Docnav
|[[Draft_SubelementHighlight|SubelementHighlight]]
|[[Draft_Trimex|Trim/Extend (Trimex)]]
|[[Draft_Split|Split]]
|[[Draft_Split|Split]]
|[[Draft_Module|Draft]]
|[[Draft_Module|Draft]]
|IconL=Draft_Trimex.svg
|IconL=Draft_SubelementHighlight.svg
|IconR=Draft_Split.svg
|IconR=Draft_Split.svg
|IconC=Workbench_Draft.svg
|IconC=Workbench_Draft.svg
Line 14: Line 15:
{{GuiCommand
{{GuiCommand
|Name=Draft Join
|Name=Draft Join
|MenuLocation=Draft → Join
|MenuLocation=Modification → Join
|Workbenches=[[Draft_Module|Draft]], [[Arch_Module|Arch]]
|Workbenches=[[Draft_Module|Draft]], [[Arch_Module|Arch]]
|Shortcut={{KEY|J}} {{KEY|O}}
|Shortcut={{KEY|J}} {{KEY|O}}
Line 46: Line 47:
* The counterpart to this tool is the {{Button|[[Image:Draft Split.svg|16px]] [[Draft_Split|Draft Split]]}} operation.
* The counterpart to this tool is the {{Button|[[Image:Draft Split.svg|16px]] [[Draft_Split|Draft Split]]}} operation.


==Scripting== <!--T:8-->
==Scripting==

{{Emphasis|See also:}} [[Draft_API|Draft API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
<!--T:8-->
See also: [https://www.freecadweb.org/api Autogenerated API documentation] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].


<!--T:9-->
<!--T:9-->
Line 62: Line 65:
<!--T:19-->
<!--T:19-->
{{Docnav
{{Docnav
|[[Draft_SubelementHighlight|SubelementHighlight]]
|[[Draft_Trimex|Trim/Extend (Trimex)]]
|[[Draft_Split|Split]]
|[[Draft_Split|Split]]
|[[Draft_Module|Draft]]
|[[Draft_Module|Draft]]
|IconL=Draft_Trimex.svg
|IconL=Draft_SubelementHighlight.svg
|IconR=Draft_Split.svg
|IconR=Draft_Split.svg
|IconC=Workbench_Draft.svg
|IconC=Workbench_Draft.svg
Line 73: Line 76:
{{Draft Tools navi{{#translation:}}}}
{{Draft Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 19:19, 18 March 2021

Draft Join

Menu location
Modification → Join
Workbenches
Draft, Arch
Default shortcut
J O
Introduced in version
0.18
See also
Draft Split

Description

The Draft Join tool attempts to join all selected Draft Lines and Draft Wires into a single wire.

Usage

  1. Select two or more lines or wires that you wish to join together.
  2. Press the Draft Join button or press J then O keys.

If the open end of a wire in your selection coincides with the open end of another wire in your selection, they will be joined into a single wire. The properties of the first wire in your selection will remain and the rest of the objects will be deleted.

Options

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

Notes

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

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

joinWires(wires)
joinTwoWires(wire1, wire2)