DAG view/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "File:FreeCAD_DAG_view_3D.png {{Caption|Modelowanie za pomocą kształtów 2D i 3D.}}")
(Created page with "{{Caption|Po lewej: obiekty pokazane w standardowym widoku drzewa. Po prawej: obiekty pokazane w widoku DAG.}}")
Line 20: Line 20:
[[File:FreeCAD_DAG_view_Tree_view.png]] [[File:FreeCAD_DAG_view.png|x500px]]
[[File:FreeCAD_DAG_view_Tree_view.png]] [[File:FreeCAD_DAG_view.png|x500px]]


{{Caption|Left: objects shown in the standard [[tree view|tree view]]. Right: objects shown in the DAG view.}}
{{Caption|Po lewej: obiekty pokazane w standardowym [[Tree_view/pl|widoku drzewa]]. Po prawej: obiekty pokazane w widoku DAG.}}


[[File:FreeCAD_DAG_view_Std_DependencyGraph.png]]
[[File:FreeCAD_DAG_view_Std_DependencyGraph.png]]

Revision as of 05:07, 16 December 2023

Wprowadzenie

Widok DAG jest skierowanym grafem acyklicznym (Directed Acyclic Graph), który pokazuje relacje między różnymi obiektami w dokumencie. Służy przede wszystkim do pokazania, w jaki sposób niektóre obiekty zależą od innych w złożonym modelu z wieloma funkcjami i odniesieniami, takimi jak te, które można utworzyć za pomocą środowiska pracy Projekt Części.

Widok DAG przypomina graf, który można utworzyć z repozytorium Git i jego gałęzi. Wraz ze standardowym widokiem drzewa i grafem zależności, widok DAG jest narzędziem do sprawdzania parametrycznej historii obiektów w dokumencie.

Przykład

Przedstawiony zostanie prosty model z różnymi widokami.

Modelowanie za pomocą kształtów 2D i 3D.

Po lewej: obiekty pokazane w standardowym widoku drzewa. Po prawej: obiekty pokazane w widoku DAG.

Relationships between the objects shown in the dependency graph.

Activating the DAG view

The DAG view was introduced in 0.17 as an experimental feature for power users and developers, so they could troubleshoot complex models; therefore, the DAG view is not available by default.

To use this view use the parameter editor. Create the following subgroup if it doesn't exist

  • BaseApp/Preferences/DockWindows/DAGView

then add the parameter Enabled of type Boolean, and set it to true.

Restart FreeCAD and activate DAG view: View → Panels → DAG view.

In the parameter editor you can also change some properties in the following subgroup

  • BaseApp/Preferences/DAGView
  • FontPointSize - Set size of text font and can help with readability with high DPI displays. Set to 0 for default font size.
  • SelectionMode
    • 0 - single click selects an item. Ctrl-click to add items to selection.
    • 1 - every click adds/removes item to selection.
  • Direction - the order in which items are displayed.
    • 1 - child on top, parent under it
    • -1 - parent on top, children under it

Odnośniki internetowe