Draft Move/it: Difference between revisions

From FreeCAD Documentation
(Created page with "== Agganciare, Vincolare, e altro ancora ==")
(Created page with "=== Preferenze ===")
Line 16: Line 16:
== Agganciare, Vincolare, e altro ancora ==
== Agganciare, Vincolare, e altro ancora ==


=== Preferences ===
=== Preferenze ===


Moving object around in 3D can be dreadful, and is most likely '''not''' what you want. FreeCAD comes with a lot more power to move object around, but first you must check your preferences to see how to activate those commands.
Moving object around in 3D can be dreadful, and is most likely '''not''' what you want. FreeCAD comes with a lot more power to move object around, but first you must check your preferences to see how to activate those commands.

Revision as of 18:33, 15 February 2016

Sposta

Posizione nel menu
Draft → Sposta
Ambiente
Draft, Architettura
Avvio veloce
M V
Introdotto nella versione
-
Vedere anche
Nessuno

Descrizione

Lo strumento Sposta sposta o copia gli oggetti selezionati da un punto ad un altro punto del piano di lavoro corrente. Se nessun oggetto è selezionato, viene chiesto di selezionarne uno.

Utilizzo

  1. Selezionare gli oggetti che si desidera spostare o copiare
  2. Premere il pulsante Template:KEY/it, o premere i tasti Template:KEY/it e Template:KEY/it
  3. Selezionare un primo punto nella vista 3D, oppure digitare le sue coordinate
  4. Selezionare un secondo punto nella vista 3D, oppure digitare le sue coordinate

Agganciare, Vincolare, e altro ancora

Preferenze

Moving object around in 3D can be dreadful, and is most likely not what you want. FreeCAD comes with a lot more power to move object around, but first you must check your preferences to see how to activate those commands.

Go to Edit -> Preferences -> DRAFT, then open the Grid and snapping tab.

You will see there several options:

File:Pref Draft Snapping.png

By default the option "Always snap (disable snap mod)" is activated, which means that the snapping tools will always be active (you don't need to press a key to activate them), note here what keys are assigned to activate the different modes, by default:

  • SHIFT activate the Constrain mode (move along an axis vector only)
  • Ctl activate the SNAP mode (cursor will snap on specific points)
  • Alt activate the ALT

Moving along a specific axis

In order to move along a specific axis, you must first select a working plane containing this axis (see the selecting working plane page for more information).

After selecting the first point to move, start to move roughly in the axis direction and hold the SHIFT key. FreeCAD will automatically find which axis you are trying to follow and stick to this axis.

(This tool is especially powerful if you want to align a point to another one, regarding to an axis only).

More on constrain move here

Snapping

If you have a point that you want to directly match on a solid, you can use snapping see the snapping page on how to activate the snap. Select the first point (using snap or not), and then hover to the second point until you see it highlighted.

By default the snapping mode is activated, but you may have it deactivated in the preferences (see preceding section), in that case, you will have to hold the Snapping key Ctrl by default.

Alt Mode

Alt mode allows you to copy and object instead of moving it only.

Opzioni

  • Premere Template:KEY/it, Template:KEY/it o Template:KEY/it dopo un punto per vincolare il punto successivo a un dato asse.
  • Per inserire manualmente le coordinate, è sufficiente inserire il numero, quindi premere Template:KEY/it per ogni componente X, Y e Z.
  • Premere Template:KEY/it oppure fare clic sulla casella di controllo per selezionare o deselezionare la modalità Template:KEY/it. Se la modalità Relativo è attiva, le coordinate del secondo punto sono relative al primo. In caso contrario, sono assolute, a partire dal punto di origine (0,0,0).
  • Premere Template:KEY/it oppure fare clic sulla casella di controllo per selezionare o deselezionare la modalità Template:KEY/it. Se la modalità Continua è attiva, lo strumento Sposta si riavvia dopo che è stato terminato o chiuso, permettendo di eseguire nuove copie o spostamenti senza dover ripetere il comando.
  • Premere Template:KEY/it o Template:KEY/it o attivare la funzione Template:KEY/it per creare una copia degli oggetti, invece di spostarli. Mantenendo premuto Template:KEY/it dopo aver cliccato il secondo punto, si possono inserire più duplicati, finché non si rilascia il tasto Template:KEY/it.
  • Premere Template:KEY/it mentre si disegna per agganciare forzatamente il proprio punto al punto di ancoraggio più vicino, indipendentemente dalla distanza.
  • Premere Template:KEY/it mentre si disegna per vincolare il secondo punto orizzontalmente o verticalmente rispetto al precedente.
  • Premere Template:KEY/it o premere il pulsante Template:KEY/it per uscire dal comando attivo.

Script

Lo strumento Sposta può essere utilizzato nelle macro e dalla console di Python utilizzando la seguente funzione:

move (FreeCAD.Object or list, Vector, [copymode])
  • Sposta l'oggetto dato o gli oggetti contenuti nella lista nella direzione e alla distanza indicata dal vettore.
  • Se CopyMode è True, gli oggetti reali non vengono spostati, ma vengono invece create delle loro copie.
  • Restituisce l'oggetto(i) (o delle loro copie se CopyMode era True)

Esempio:

import FreeCAD,Draft
Draft.move(FreeCAD.ActiveDocument.ActiveObject,FreeCAD.Vector(2,2,0))

Limitazioni

  • Per spostare o modificare il posizionamento di un oggetto che è basato su uno Schizzo, ad es. una Rivoluzione di PartDesign, si deve spostare lo schizzo originale con cui si è prodotto l'oggetto. Se si tenta di spostare direttamente l'oggetto derivato, questi ritorna automaticamente nella posizione definita dallo Schizzo