Draft Join/it: Difference between revisions
Renatorivo (talk | contribs) (Created page with "== Opzioni ==") |
No edit summary Tag: Manual revert |
||
(42 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav/it|[[Draft_Trimex/it|Tronca o Estendi]]|[[Draft Split/it|Dividi]]|[[Draft_Module/it|Draft]]|IconL=Draft_Trimex.svg|IconC=Workbench_Draft.svg|IconR=Draft_Split.svg}} |
|||
{{Docnav/it |
|||
|[[Draft_SubelementHighlight/it|Evidenzia sottoelemento]] |
|||
⚫ | |||
|[[Draft_Workbench/it|Draft]] |
|||
|IconL=Draft_SubelementHighlight.svg |
|||
|IconR=Draft_Split.svg |
|||
|IconC=Workbench_Draft.svg |
|||
}} |
|||
{{GuiCommand/it |
{{GuiCommand/it |
||
|Name=Draft Join |
|Name=Draft Join |
||
|Name/it=Unisci |
|Name/it=Unisci |
||
|MenuLocation= |
|MenuLocation=Modifiche → Unisci |
||
|Workbenches=[[ |
|Workbenches=[[Draft_Workbench/it|Draft]], [[Arch_Workbench/it|Arch]] |
||
|Shortcut=J O |
|Shortcut={{KEY|J}} {{KEY|O}} |
||
|Version=0.18 |
|||
⚫ | |||
|SeeAlso=[[Draft_Split/it|Dividi]] |
|||
}} |
}} |
||
<span id="Description"></span> |
|||
==Descrizione== |
==Descrizione== |
||
Il comando [[Image:Draft_Join.svg|24px]] '''Draft Unisci''' unisce [[Draft_Line/it|Draft Linee]] e [[Draft_Wire/it|Draft Polilinee]] in una singola polilinea. Questo comando è la controparte del comando [[Draft_Split/it|Draft Dividi]]. |
|||
The Join tool attempts to join all wires currently in the selection into a single wire. |
|||
<span id="Usage"></span> |
|||
The counterpart to this tool is the [[Draft Split]] operation. |
|||
⚫ | |||
# I punti finali delle [[Draft_Line/it|Draft Linee]] e/o [[Draft_Wire/it|Draft Polilinee]] da unire devono essere esattamente coincidenti. Se necessario, prima regolare i punti per assicurarsi che sia così. |
|||
⚫ | |||
# Selezionare due o più [[Draft_Line/it|Linee]] e/o [[Draft_Wire/it|Polilinee]]. |
|||
# Esistono diversi modi per invocare il comando: |
|||
#* Premere il pulsante {{Button|[[Image:Draft_Join.svg|16px]] [[Draft_Join/it|Unisci]]}}. |
|||
#* Selezionare l'opzione {{MenuCommand|Modifiche → [[Image:Draft_Join.svg|16px]] Unisci}} dal menu. |
|||
#* Usare la scorciatoia da tastiera: {{KEY|J}} quindi {{KEY|O}}. |
|||
<span id="Notes"></span> |
|||
# Select two or more wires that you wish to join together. |
|||
⚫ | |||
# Press the {{Button|[[Image:Draft Join.svg|16px]] [[Draft Join]]}} button or press {{KEY|J}} then {{KEY|O}} keys. |
|||
* [[Draft_Line/it|Linee]] e [[Draft_Wire/it|Polilinee]] possono anche essere unite con il comando [[Draft_Wire/it|Draft Polilinea]] o il comando [[Draft_Upgrade/it|Promuovi]]. |
|||
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. |
|||
* Per unire oggetti che non sono [[Draft_Line/it|Linee]] o [[Draft_Wire/it|Polilinee]] si può provare ad utilizzare su di essi una o più volte i comandi [[Draft_Upgrade/it|Promuovi]] e/o [[Draft_Downgrade/it|Declassa]]. |
|||
<span id="Scripting"></span> |
|||
⚫ | |||
==Script== |
|||
Vedere anche: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] e [[FreeCAD Scripting Basics/it|Script di base per FreeCAD]]. |
|||
There are no options for this tool. Either it works with the selected objects or not. |
|||
Per unire polilinee usare il metodo {{incode|join_wires}} ({{Version/it|0.19}}) del modulo Draft. Questo metodo sostituisce il metodo deprecato {{incode|joinWires}}. Questo metodo restituisce {{incode|None}}. |
|||
==Scripting== |
|||
{{Emphasis|See also:}} [[Draft API]] and [[FreeCAD Scripting Basics]]. |
|||
{{Code|code= |
|||
The Join tool can be used in [[macros]] and from the [[Python]] console by using the following functions: |
|||
⚫ | |||
}} |
|||
* {{incode|wires}} è un elenco di oggetti polilinea da unire. |
|||
Esempio: |
|||
{{Code|code= |
{{Code|code= |
||
import FreeCAD as App |
|||
⚫ | |||
import Draft |
|||
joinTwoWires(wire1, wire2) |
|||
doc = App.newDocument() |
|||
p1 = App.Vector(0, 0, 0) |
|||
p2 = App.Vector(500, 0, 0) |
|||
p3 = App.Vector(500, 500, 0) |
|||
p4 = App.Vector(0, 500, 0) |
|||
wire1 = Draft.make_wire([p1, p2]) |
|||
wire2 = Draft.make_wire([p2, p3]) |
|||
wire3 = Draft.make_wire([p3, p4]) |
|||
wire4 = Draft.make_wire([p4, p1]) |
|||
Draft.join_wires([wire1, wire3, wire2, wire4]) |
|||
doc.recompute() |
|||
}} |
}} |
||
{{Docnav/it|[[Draft_Trimex/it|Tronca o Estendi]]|[[Draft Split/it|Dividi]]|[[Draft_Module/it|Draft]]|IconL=Draft_Trimex.svg|IconC=Workbench_Draft.svg|IconR=Draft_Split.svg}} |
|||
{{ |
{{Docnav/it |
||
|[[Draft_SubelementHighlight/it|Evidenzia sottoelemento]] |
|||
|[[Draft Split/it|Dividi]] |
|||
|[[Draft_Workbench/it|Draft]] |
|||
|IconL=Draft_SubelementHighlight.svg |
|||
|IconR=Draft_Split.svg |
|||
|IconC=Workbench_Draft.svg |
|||
}} |
|||
{{Draft Tools navi{{#translation:}}}} |
|||
{{Userdocnavi |
{{Userdocnavi{{#translation:}}}} |
||
{{clear}} |
Latest revision as of 16:02, 8 December 2023
Unisci |
Posizione nel menu |
---|
Modifiche → Unisci |
Ambiente |
Draft, Arch |
Avvio veloce |
J O |
Introdotto nella versione |
0.18 |
Vedere anche |
Dividi |
Descrizione
Il comando Draft Unisci unisce Draft Linee e Draft Polilinee in una singola polilinea. Questo comando è la controparte del comando Draft Dividi.
Utilizzo
- I punti finali delle Draft Linee e/o Draft Polilinee da unire devono essere esattamente coincidenti. Se necessario, prima regolare i punti per assicurarsi che sia così.
- Selezionare due o più Linee e/o Polilinee.
- Esistono diversi modi per invocare il comando:
- Premere il pulsante Unisci.
- Selezionare l'opzione Modifiche → Unisci dal menu.
- Usare la scorciatoia da tastiera: J quindi O.
Note
- Linee e Polilinee possono anche essere unite con il comando Draft Polilinea o il comando Promuovi.
- Per unire oggetti che non sono Linee o Polilinee si può provare ad utilizzare su di essi una o più volte i comandi Promuovi e/o Declassa.
Script
Vedere anche: Autogenerated API documentation e Script di base per FreeCAD.
Per unire polilinee usare il metodo join_wires
(disponibile dalla versione 0.19) del modulo Draft. Questo metodo sostituisce il metodo deprecato joinWires
. Questo metodo restituisce None
.
join_wires(wires)
wires
è un elenco di oggetti polilinea da unire.
Esempio:
import FreeCAD as App
import Draft
doc = App.newDocument()
p1 = App.Vector(0, 0, 0)
p2 = App.Vector(500, 0, 0)
p3 = App.Vector(500, 500, 0)
p4 = App.Vector(0, 500, 0)
wire1 = Draft.make_wire([p1, p2])
wire2 = Draft.make_wire([p2, p3])
wire3 = Draft.make_wire([p3, p4])
wire4 = Draft.make_wire([p4, p1])
Draft.join_wires([wire1, wire3, wire2, wire4])
doc.recompute()
Draft
- Drafting: Line, Polyline, Fillet, Arc, Arc by 3 points, Circle, Ellipse, Rectangle, Polygon, B-spline, Cubic Bézier curve, Bézier curve, Point, Facebinder, ShapeString, Hatch
- Annotation: Text, Dimension, Label, Annotation styles, Annotation scale
- Modification: Move, Rotate, Scale, Mirror, Offset, Trimex, Stretch, Clone, Array, Polar array, Circular array, Path array, Path link array, Point array, Point link array, Edit, Subelement highlight, Join, Split, Upgrade, Downgrade, Wire to B-spline, Draft to sketch, Set slope, Flip dimension, Shape 2D view
- Draft Tray: Select plane, Set style, Toggle construction mode, AutoGroup
- Snapping: Snap lock, Snap endpoint, Snap midpoint, Snap center, Snap angle, Snap intersection, Snap perpendicular, Snap extension, Snap parallel, Snap special, Snap near, Snap ortho, Snap grid, Snap working plane, Snap dimensions, Toggle grid
- Miscellaneous: Apply current style, Layer, Manage layers, Add a new named group, Move to group, Select group, Add to construction group, Toggle normal/wireframe display, Create working plane proxy, Heal, Show snap toolbar
- Additional: Constraining, Pattern, Preferences, Import Export Preferences, DXF/DWG, SVG, OCA, DAT
- Context menu:
- Layer container: Merge layer duplicates, Add new layer
- Layer: Activate this layer, Select layer contents
- Text: Open hyperlinks
- Wire: Flatten
- Working plane proxy: Write camera position, Write objects state
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub