Std ViewDimetric/fr: Difference between revisions

From FreeCAD Documentation
(Created page with "== Création de scripts ==")
(Created page with "La vue dimétrique peut être définie à partir de la Console Python.")
Line 21: Line 21:
== Création de scripts ==
== Création de scripts ==


The dimetric view can be set from the [[Python console|Python console]].
La vue dimétrique peut être définie à partir de la [[Python console/fr|Console Python]].


It is a method of the {{incode|ActiveView}} of the {{incode|ActiveDocument}}. The {{incode|ActiveView}} only exists when the graphical interface is available; it does not exist when FreeCAD is used in purely console mode.
It is a method of the {{incode|ActiveView}} of the {{incode|ActiveDocument}}. The {{incode|ActiveView}} only exists when the graphical interface is available; it does not exist when FreeCAD is used in purely console mode.

Revision as of 14:35, 1 December 2019

Std Vue dimétrique

Emplacement du menu
Affichage → Vues standards → Axonometric → Dimétrique
Ateliers
Tous
Raccourci par défaut
Aucun
Introduit dans la version
-
Voir aussi
Vue isométrique, Vue trimétrique

Description

La commande Dimétrique place la caméra dans la Vue 3D selon la projection axonometric dimetric avec une direction de vue [-0.3333, 0.8819, -0.3333].

Utilisation

  • Aller au menu Affichage → Vues standards → Axonometric → Dimétrique.

Création de scripts

La vue dimétrique peut être définie à partir de la Console Python.

It is a method of the ActiveView of the ActiveDocument. The ActiveView only exists when the graphical interface is available; it does not exist when FreeCAD is used in purely console mode.

import FreeCADGui as Gui
Gui.ActiveDocument.ActiveView.viewDimetric()

Gui.ActiveDocument.ActiveView.getViewDirection()