Draft Join/en: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 2: Line 2:
{{Docnav
{{Docnav
|[[Draft_Trimex|Trim/Extend (Trimex)]]
|[[Draft_Trimex|Trim/Extend (Trimex)]]
|[[Draft Split|Split]]
|[[Draft_Split|Split]]
|[[Draft_Module|Draft]]
|[[Draft_Module|Draft]]
|IconL=Draft_Trimex.svg
|IconL=Draft_Trimex.svg
Line 35: Line 35:
== Notes ==
== Notes ==


* Non-editable (topology) objects of types [[Image:Workbench_Part.svg|24px]] Edge and [[Image:Workbench_Part.svg|24px]] Wire cannot be joined (because they do not expose their Points). Try using {{Button|[[Image:Draft Upgrade.svg|16px]] [[Draft Upgrade]]}} on these objects first.
* To join objects that are not [[Draft_Line|Draft Lines]] or [[Draft_Wire|Draft Wires]] you can try using {{Button|[[Image:Draft_Upgrade.svg|16px]] [[Draft_Upgrade|Draft Upgrade]]}} on them one or more times first.
* 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==
==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 Join tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following functions:
The Join tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following functions:
Line 51: Line 50:
{{Docnav
{{Docnav
|[[Draft_Trimex|Trim/Extend (Trimex)]]
|[[Draft_Trimex|Trim/Extend (Trimex)]]
|[[Draft Split|Split]]
|[[Draft_Split|Split]]
|[[Draft_Module|Draft]]
|[[Draft_Module|Draft]]
|IconL=Draft_Trimex.svg
|IconL=Draft_Trimex.svg

Revision as of 11:03, 21 February 2021

Draft Join

Menu location
Draft → 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: Draft API 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)