Std ViewLeft/de: Difference between revisions

From FreeCAD Documentation
(Created page with "== Skripten==")
(Created page with "Die linke Ansicht kann über die Python Konsole eingestellt werden.")
Line 23: Line 23:
== Skripten==
== Skripten==


The left view can be set from the [[Python console|Python console]].
Die linke Ansicht kann über die [[Python console/de|Python Konsole]] eingestellt werden.


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 09:18, 1 April 2020

Std ViewLeft

Menüeintrag
Ansicht → Standardansichten → Links
Arbeitsbereich
Alle
Standardtastenkürzel
6
Eingeführt in Version
-
Siehe auch
AnsichtRückseite, AnsichtUnterseite

Beschreibung

Std AnsichtLinks versetzt die Kamera in die 3D Ansicht, von links schauend, nach rechts, in Richtung der positiven X Achse, [1.0, 0.0, 0.0].

Die linke Ansicht setzt die Kamera nach rechts schauend, in Richtung der positiven X Achse.

Anwendung

  • Gehe zum Menü Ansicht → Standardansichten → Links.
  • Oder drücke die Left Taste.
  • Oder drücke 6 im Ziffernblock der Tastatur.

Skripten

Die linke Ansicht kann über die Python Konsole eingestellt werden.

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

Gui.ActiveDocument.ActiveView.getViewDirection()