Draft SelectPlane/fr: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
{{GuiCommand |
{{GuiCommand|Name=Draft SelectPlane|Workbenches=[[Draft Module|Draft]], [[Arch Module|Arch]]|MenuLocation=Draft → Utilities → Select Plane|Shortcut=W P}} |
||
==Description== |
==Description== |
||
Line 17: | Line 17: | ||
==Options== |
==Options== |
||
⚫ | |||
* Pressing the {{KEY|'''VIEW'''}} button will set the working plane as the view plane, perpendicular to the camera axis and passing through the (0,0,0) origin point. |
|||
⚫ | |||
* Pressing the {{KEY|'''AUTO'''}} will unset any current working plane. The next 2D operations will be view-dependent. |
|||
* Appuyez sur la touche {{KEY|VUE}} pour définir le plan de travail de la vue plan, perpendiculairement à l'axe de la caméra en passant par le point d'origine (0,0,0). |
|||
* You can also specify an offset value, which will set your working plane at a certain distance from the plane you select. |
|||
* Appuyer sur la touche {{KEY|NONE}} désactivera le plan de travail actuellement utilisé. Les prochaines opérations 2D seront dépendantes de la vue. |
|||
* You can hide and show the grid with the shortcut {{KEY|'''G'''}}{{KEY|'''R'''}} |
|||
* Vous pouvez également spécifier une valeur de décalage, ce qui placera votre plan de travail à la distance voulue par rapport au plan que vous sélectionnez. |
|||
==Script== |
==Script== |
Revision as of 13:37, 19 May 2015
Draft SelectPlane |
Menu location |
---|
Draft → Utilities → Select Plane |
Workbenches |
Draft, Arch |
Default shortcut |
W P |
Introduced in version |
- |
See also |
None |
Description
Le module Draft dispose d'un système de plan de travail qui vous permet d'indiquer un plan personnalisé dans l'espace 3D sur lequel la prochaine commande Draft aura lieu. Il existe plusieurs méthodes pour définir le plan de travail :
- Depuis une face sélectionnée
- Depuis la vue courante
- D'un préréglage : dessus, de face ou latéral.
- Aucun, auquel cas le plan de travail est adapté automatiquement à l'affichage actuel lorsque vous lancez une commande, ou à une face si vous commencez à dessiner sur une face existante.
Utilisation
- Pressez le bouton Plan de travail. Si votre bouton ne ressemble pas à celui-ci, consultez cette note.
Options
- To set the workplane to an existing face: select a face of an existing object in the 3D view, then press the SelectPlane button
- Pressing the VIEW button will set the working plane as the view plane, perpendicular to the camera axis and passing through the (0,0,0) origin point.
- Pressing the AUTO will unset any current working plane. The next 2D operations will be view-dependent.
- You can also specify an offset value, which will set your working plane at a certain distance from the plane you select.
- You can hide and show the grid with the shortcut GR
Script
L'objet plan de travail peut facilement être créé et manipulé dans les scripts et les macros. Vous pouvez créer vos propres plans de travail et les utiliser indépendamment du plan de travail courant.
Exemple :
import WorkingPlane
myPlane = WorkingPlane.plane()
Vous pouvez également accéder au plan de travail du projet actuel :
import FreeCAD
draftPlane = FreeCAD.DraftWorkingPlane
Pour déplacer ou faire pivoter le plan de travail (voir la page WorkingPlane API pour les méthodes disponibles) :
import FreeCAD
from FreeCAD import Vector
FreeCAD.DraftWorkingPlane.alignToPointAndAxis(Vector(0,0,0), Vector(1,1,1).normalize(), 17)
(Note : une commande Draft doit avoir été émise pour que la grille adopte les changements)
Le plan de travail a sa propre scripting API complète, avec des fonctions de positionnement, de conversions et de déplacements à votre convenance.