Std ViewTrimetric/it: Difference between revisions

From FreeCAD Documentation
(Created page with "== Script ==")
(Created page with "La vista trimetrica può essere impostata dalla Console Python.")
Line 21: Line 21:
== Script ==
== Script ==


The trimetric view can be set from the [[Python console|Python console]].
La vista trimetrica può essere impostata dalla [[Python console/it|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 11:12, 25 November 2019

Other languages:

Vista trimetrica

Posizione nel menu
Visualizza → Viste standard → Assonometria → Trimetrica
Ambiente
Tutti
Avvio veloce
Nessuno
Introdotto nella versione
-
Vedere anche
Vista isometrica, Vista dimetrica

Descrizione

Il comando Vista trimetrica orienta la camera della vista 3D in proiezione assonometria trimetrica, con una direzione di vista [-0.4095, 0.7094, -0.5735].

Utilizzo

  • Andare nel menu Visualizza → Viste standard → Assonometria → Trimetrica.

Script

La vista trimetrica può essere impostata dalla 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.viewTrimetric()

Gui.ActiveDocument.ActiveView.getViewDirection()