Std ViewRear/it: Difference between revisions

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


The rear view can be set from the [[Python console|Python console]].
La vista da dietro 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 18:00, 24 November 2019

Other languages:

Vista da dietro

Posizione nel menu
Visualizza → Viste standard → Da dietro
Ambiente
Tutti
Avvio veloce
4
Introdotto nella versione
-
Vedere anche
Vista dal absso, Vista da sinistra

Descrizione

Vista da dietro orienta la fotocamera della Vista 3D che guarda dalla parte posteriore verso la parte anteriore, nella direzione dell'asse Y negativo, [0.0, -1.0, 0.0].

La vista posteriore imposta la fotocamera da dietro in avanti, nella direzione dell'asse Y negativo.

Utilizzo

  • Andare nel menu Visualizza → Viste standard → Da dietro.
  • O premere il pulsante Da dietro.
  • O premere 4 nel tastierino numerico della tastiera.

Script

La vista da dietro 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.viewRear()

Gui.ActiveDocument.ActiveView.getViewDirection()