Std Darstellungsart

From FreeCAD Documentation
Revision as of 16:57, 18 February 2020 by Maker (talk | contribs) (Created page with "Der Zeichenstil kann über die Python Konsole festgelegt werden.")

Std ZeichenStil

Menüeintrag
Ansicht → Zeichenstil
Arbeitsbereich
Alle
Standardtastenkürzel
Keiner
Eingeführt in Version
-
Siehe auch
SelBoundingBox

Beschreibung

Alle Objekte der 3D Ansicht werden in verschiedenen Zeichenstilen angezeigt, einschließlich durchgezogener Linien, Drahtgitter und als Punkte.

File:FreeCAD draw styles.svg

Verschiedene Zeichenstile: (0) wie vorhanden, (1) flache Linien, (2) schattiert, (3) Drahtgitter, (4) Punkte, (5) ausgeblendete Linie, (6) keine Schattierung.

Anwendung

  • Gehe zum Menü Template:MenuCommand/de, und wähle eine Option.
    • Wie vorhanden
    • Flache Linien
    • Schattiert
    • Drahtgitter
    • Punkte
    • Ausgeblendete Linie
    • Keine Schattierung
  • Oder drücke die entsprechende Schaltfläche in der Ansichtswerkzeugleiste.

Hinweise

  • The "Flat lines" style gives a solid color to the edges, and the faces are differently illuminated depending on the orientation of the view.
  • The "Shaded" style removes the color of the edges. This style is better when displaying objects that have many different faces with normals that are in different directions, particularly directions distinct to the X, Y, and Z axes.
  • The "Wireframe" style removes the color of the faces, leaving only the edges and vertices. This results in a see-through mode, so it is possible to see objects that are completely or partially hidden by other objects.
  • The "Points" style only shows the vertices where two edges connect. For solids that are made of relatively simple shapes, only a few vertices will be seen. This style is better when displaying meshes, as in this case typically there will be a lot of vertices. To improve visibility, with this style it could be helpful to increase the value of AnsichtPoint Size.
  • The "Hidden line" style shows the triangular faces and their edges as if the objects were converted to triangular meshes.
  • The "No shading" style gives a solid color to the edges, and all faces are equally illuminated regardless of the orientation of the view.

Skripten

Der Zeichenstil kann über die Python Konsole festgelegt werden.

The argument to the "Std_DrawStyle" command determines the style.

  • 0, As is
  • 1, Flat lines
  • 2, Shaded
  • 3, Wireframe
  • 4, Points
  • 5, Hidden line
  • 6, No shading
import FreeCADGui as Gui

Gui.runCommand('Std_DrawStyle', 0)
Gui.runCommand('Std_DrawStyle', 1)
Gui.runCommand('Std_DrawStyle', 2)
Gui.runCommand('Std_DrawStyle', 3)
Gui.runCommand('Std_DrawStyle', 4)
Gui.runCommand('Std_DrawStyle', 5)
Gui.runCommand('Std_DrawStyle', 6)