Std ViewRotateLeft/fr: Difference between revisions

From FreeCAD Documentation
No edit summary
(Created page with "==Script==")
Line 30: Line 30:
#* Utilisez le raccourci clavier: {{KEY|Shift}}+{{KEY|Gauche}}.
#* Utilisez le raccourci clavier: {{KEY|Shift}}+{{KEY|Gauche}}.


==Scripting==
==Script==


{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].

Revision as of 14:28, 25 April 2020

Std Rotation à gauche

Emplacement du menu
Affichage → Vues standards‏‎ → Rotation à gauche
Ateliers
Tous
Raccourci par défaut
Shift+Left
Introduit dans la version
-
Voir aussi
Std Rotation à droite

Description

La commande Std Rotation à gauche fait pivoter la caméra dans la vue 3D active dans la direction de la vue par incréments de 90 degrés vers la gauche (dans le sens antihoraire).

Utilisation

  1. Il existe plusieurs façons d'appeler la commande:
    • Sélectionnez l'option Affichage → Vues standards → Rotation à gauche dans le menu.
    • Sélectionnez l'option Vues standards → Rotation à gauche dans le menu contextuel de la vue 3D.
    • Utilisez le raccourci clavier: Shift+Gauche.

Script

See also: FreeCAD Scripting Basics.

To rotate the view to the left use the viewRotateLeft method of the ActiveView object. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.viewRotateLeft()
FreeCADGui.ActiveDocument.ActiveView.getCameraOrientation()