Std ViewBottom/it: Difference between revisions

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


The bottom view can be set from the [[Python console|Python console]].
La vista dal basso 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 17:12, 24 November 2019

Other languages:

Vista dal basso

Posizione nel menu
Visualizza → Viste standard → Dal basso
Ambiente
Tutti
Avvio veloce
5
Introdotto nella versione
-
Vedere anche
Vista da dietro, Vista da sinistra

Descrizione

Vista dal basso orienta la fotocamera della Vista 3D che guarda dal basso verso l'alto, nella direzione dell'asse Z positivo, [0.0, 0.0, 1.0].

La vista dal basso imposta la telecamera dal basso verso l'alto, nella direzione dell'asse Z positivo.

Utilizzo

  • Andare nel menu Visualizza → Viste standard → Dal basso.
  • O premere il pulsante Dal basso.
  • O premere 5 nel tastierino numerico della tastiera.

Script

La vista dal basso 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.viewBottom()

Gui.ActiveDocument.ActiveView.getViewDirection()