Draft Move/en: Difference between revisions
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
==Options== |
==Options== |
||
* |
* Press {{KEY|X}}, {{KEY|Y}} or {{KEY|Z}} after a point to constrain the next point on the given axis. |
||
* |
* To enter coordinates manually, simply enter the numbers, then press {{KEY|ENTER}} between each X, Y and Z component. |
||
* |
* Press {{KEY|R}} or click the checkbox to check/uncheck the {{KEY|'''Relative'''}} button. If relative mode is on, the coordinates of the next point are relative to the last one. If not, they are absolute, taken from the (0,0,0) origin point. |
||
* Press {{KEY|T}} or click the checkbox to check/uncheck the {{KEY|'''Continue'''}} button. If continue mode is on, the Move tool will restart after you finish or close it, allowing you to move or copy the objects another time without pressing the Move button again. |
|||
* Presiona {{KEY|T}} o selecciona la casilla para activar/desactivar el botón {{KEY|'''Continuar'''}}. Si el modo continuar está activado, la herramienta mover se reiniciará después de terminar, permitiendo mover o copiar los objetos otra vez sin volver a pulsar el botón de Mover. |
|||
* |
* Pressing {{KEY|ALT}} or {{KEY|C}} or clicking the {{KEY|'''Copy'''}} button will make a copy of the objects, instead of moving them. If you keep {{KEY|ALT}} pressed after clicking the second point, you will be able to place more copies, until you release the {{KEY|ALT}} key. |
||
* |
* Press {{KEY|CTRL}} while drawing to force [[Draft_Snap|snapping]] your point to the nearest snap location, independently of the distance. |
||
* |
* Press {{KEY|SHIFT}} while drawing to [[Draft_Constrain|constrain]] your next point horizontally or vertically in relation to the last one. |
||
* |
* Press {{KEY|ESC}} or the {{KEY|'''Cancel'''}} button to abort the current command. |
||
==Scripting== |
==Scripting== |
Revision as of 15:21, 13 February 2014
Draft_Move |
Menu location |
---|
Draft -> Move |
Workbenches |
Draft, Arch |
Default shortcut |
M V |
Introduced in version |
- |
See also |
None |
Description
The Move tool moves or copies the selected objects from one point to another on the current work plane. If no object is selected, you will be invited to select one.
How to use
- Select objects you wish to move or copy
- Press the Draft Move button, or press M then V keys
- Click a first point on the 3D view, or type a coordinate
- Click another point on the 3D view, or type a coordinate
Options
- Press X, Y or Z after a point to constrain the next 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 next point are relative to the last 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 Move tool will restart after you finish or close it, allowing you to move or copy the objects another time without pressing the Move button again.
- Pressing ALT or C or clicking the Copy button will make a copy of the objects, instead of moving them. If you keep ALT pressed after clicking the second point, you will be able to place more copies, until you release the ALT key.
- 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 next point horizontally or vertically in relation to the last one.
- Press ESC or the Cancel button to abort the current command.
Scripting
The Move tool can by used in macros and from the python console by using the following function:
move (FreeCAD.Object or list, Vector, [copymode])
- Moves the given object or the objects contained in the given list in the direction and distance indicated by the given vector.
- If copymode is True, the actual objects are not moved, but copies are created instead. Returns the object(s) (or their copies if copymode was True)
- A list of the moved object (or the copies) is returned
Example:
import FreeCAD,Draft
Draft.move(FreeCAD.ActiveDocument.ActiveObject,FreeCAD.Vector(2,2,0))