Draft: Linea, segmento
Linea |
Posizione nel menu |
---|
Draft → Linea |
Ambiente |
Draft, Architettura |
Avvio veloce |
L I |
Introdotto nella versione |
- |
Vedere anche |
DWire |
Crea un segmento tra due punti nel piano di lavoro corrente. Il segmento assume il tipo di linea e il colore impostati in precedenza nella Barra dei comandi e modificabili tramite la stessa o nella scheda Vista combinata → Proprietà → Vista. Lo strumento Linea si comporta esattamente come lo strumento DWire di Draft, tranne che si disattiva dopo che sono stati definiti due punti.
Utilizzo
- Premere il pulsante Template:KEY/it o premere i tasti Template:KEY/it e Template:KEY/it
- Fare clic su un primo punto nella vista 3D, o digitare le sue coordinate
- Fare clic su un secondo punto nella vista 3D, o digitare le sue coordinate
Options
- Press X, Y or Z after the first point to constrain the second point on the given axis.
- To enter coordinates manually, simply enter the numbers, then press ENTER between each X, Y and Z component.
- Press R or click the checkbox to check/uncheck the Relative button. If relative mode is on, the coordinates of the second point are relative to the first one. If not, they are absolute, taken from the (0,0,0) origin point.
- Press T or click the checkbox to check/uncheck the Continue button. If continue mode is on, the Line tool will restart after you give the second point, allowing you to draw another line segment without pressing the Line button again.
- Press CTRL while drawing to force snapping your point to the nearest snap location, independently of the distance.
- Press SHIFT while drawing to constrain your second point horizontally or vertically in relation to the first one.
- Press CTRL+Z or press the Undo button to undo the last point.
- Press ESC or the Cancel button to abort the current Line command.
- If several connected Draft Lines are selected they can be transformed into a wire by pressing the Draft Upgrade Button.
Proprietà
Vista
Sono disponibili le Proprietà standard di visualizzazione.
Dati
File:DraftLineOptions it.png |
Template:KEY/it
|
Script
Lo strumento Linea può essere utilizzato nelle macro e dalla console di Python tramite la seguente funzione:
makeLine (Vector, Vector)
- Crea una linea tra i due vettori dati.
- Sono usati il tipo di linea e il colore correnti.
- Viene creato un nuovo oggetto.
Esempio:
import FreeCAD, Draft
Draft.makeLine(FreeCAD.Vector(0,0,0),FreeCAD.Vector(2,0,0))