Draft Join: Difference between revisions

From FreeCAD Documentation
No edit summary
(Changed the 'Non-editable (topology) objects of types...' remark. This remark is not accurate. F.e. a line created with the Part_Primitives command cannot be joined but its point are parametric.)
Line 43: Line 43:


<!--T:14-->
<!--T:14-->
* 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|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== <!--T:8-->
==Scripting== <!--T:8-->

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)