Std ViewTop/it: Difference between revisions

From FreeCAD Documentation
(Created page with "* Andare nel menu {{MenuCommand|Visualizza → Viste standard → 16px Dall'alto}}. * O premere il pulsante {{Button|File:Std_...")
(Created page with "== Script ==")
Line 22: Line 22:
* O premere {{KEY|2}} nel tastierino numerico della tastiera.
* O premere {{KEY|2}} nel tastierino numerico della tastiera.


== Scripting ==
== Script ==


The top view can be set from the [[Python console|Python console]].
The top view can be set from the [[Python console|Python console]].

Revision as of 18:14, 24 November 2019

Other languages:

Vista dall'alto

Posizione nel menu
Visualizza → Viste standard → Dall'alto
Ambiente
Tutti
Avvio veloce
2
Introdotto nella versione
-
Vedere anche
Vista frontale, Vista da destra

Descrizione

Vista dall'alto orienta la fotocamera della Vista 3D che guarda dall'alto verso il basso, nella direzione dell'asse Z negativo, [0.0, 0.0, -1.0].

La vista dall'alto imposta la telecamera dall'alto verso il basso, nella direzione dell'asse Z negativo.

Utilizzo

  • Andare nel menu Visualizza → Viste standard → Dall'alto.
  • O premere il pulsante Dall'alto.
  • O premere 2 nel tastierino numerico della tastiera.

Script

The top view can be set from the Python console.

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.viewTop()

Gui.ActiveDocument.ActiveView.getViewDirection()