easter egg of PartDesign Next: DAG View

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
pablogil
Posts: 748
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: easter egg of PartDesign Next: DAG View

Postby pablogil » Mon Oct 10, 2016 7:04 am

Would it be difficult to add a new column for toggling selectability? something like the following:
DAGView.png
DAGView.png (28.01 KiB) Viewed 709 times
Blender has this feature inside the Outliner and it's very handy.
What do you think about it?
Thanks
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
wmayer
Site Admin
Posts: 14808
Joined: Thu Feb 19, 2009 10:32 am

Re: easter egg of PartDesign Next: DAG View

Postby wmayer » Mon Oct 10, 2016 7:10 am

For me the graphviz tool "dot" crashes. The content of the dependency graph is:

Code: Select all

digraph "" {
graph [
compound=true];
subgraph clusterDatumPlane {
graph [
bgcolor="#e0e0e0", style="rounded,filled"];
6[color=none, label=DatumPlane];
7[fontsize="8pt", label="superPlacement.Base.z", shape=box, style=dashed];
8[fontsize="8pt", label="superPlacement.Base.x", shape=box, style=dashed];
}
subgraph clusterBox {
graph [
bgcolor="#e0e0e0", style="rounded,filled"];
4[color=none, label=Box];
9[fontsize="8pt", label=Width, shape=box, style=dashed];
}
subgraph clusterSketch {
graph [
bgcolor="#e0e0e0", style="rounded,filled"];
17[color=none, label=Sketch];
18[fontsize="8pt", label="superPlacement.Base.x", shape=box, style=dashed];
19[fontsize="8pt", label="Constraints[10]", shape=box, style=dashed];
}
subgraph clusterSketch001 {
graph [
bgcolor="#e0e0e0", style="rounded,filled"];
20[color=none, label=Sketch001];
21[fontsize="8pt", label="Constraints[1]", shape=box, style=dashed];
}
0[label=Body, shape=Mrecord, style=filled];
1[label=Body001, shape=Mrecord, style=filled];
2[label=Body001Origin, shape=Mrecord, style=filled];
3[label=BodyOrigin, shape=Mrecord, style=filled];
5[label=CoordinateSystem, shape=Mrecord, style=filled];
10[label=Groove, shape=Mrecord, style=filled];
11[label=Pad, shape=Mrecord, style=filled];
12[label=Pad001, shape=Mrecord, style=filled];
13[label=Pad002, shape=Mrecord, style=filled];
14[label=Pocket, shape=Mrecord, style=filled];
15[label=Pocket001, shape=Mrecord, style=filled];
16[label=Pocket002, shape=Mrecord, style=filled];
22[label=Sketch002, shape=Mrecord, style=filled];
23[label=XY_Plane, shape=Mrecord, style=filled];
24[label=XY_Plane001, shape=Mrecord, style=filled];
25[label=XZ_Plane, shape=Mrecord, style=filled];
26[label=XZ_Plane001, shape=Mrecord, style=filled];
27[label=X_Axis, shape=Mrecord, style=filled];
28[label=X_Axis001, shape=Mrecord, style=filled];
29[label=YZ_Plane, shape=Mrecord, style=filled];
30[label=YZ_Plane001, shape=Mrecord, style=filled];
31[label=Y_Axis, shape=Mrecord, style=filled];
32[label=Y_Axis001, shape=Mrecord, style=filled];
33[label=Z_Axis, shape=Mrecord, style=filled];
34[label=Z_Axis001, shape=Mrecord, style=filled];
0 -> 3;
0 -> 4[lhead=clusterBox];
0 -> 5;
0 -> 17[lhead=clusterSketch];
0 -> 14;
0 -> 15;
0 -> 6[lhead=clusterDatumPlane];
0 -> 20[lhead=clusterSketch001];
0 -> 10;
1 -> 2;
1 -> 22;
1 -> 11;
1 -> 12;
1 -> 16;
1 -> 13;
2 -> 28;
2 -> 32;
2 -> 34;
2 -> 24;
2 -> 26;
2 -> 30;
3 -> 27;
3 -> 31;
3 -> 33;
3 -> 23;
3 -> 25;
3 -> 29;
4 -> 5[ltail=clusterBox];
6 -> 15[ltail=clusterDatumPlane];
7 -> 9[arrowsize=0.5, style=dashed];
8 -> 9[arrowsize=0.5, style=dashed];
10 -> 20[lhead=clusterSketch001];
10 -> 15;
11 -> 22;
12 -> 11;
13 -> 16;
14 -> 17[lhead=clusterSketch];
14 -> 4[lhead=clusterBox];
15 -> 14;
16 -> 12;
18 -> 9[arrowsize=0.5, style=dashed];
19 -> 9[arrowsize=0.5, style=dashed];
20 -> 15[ltail=clusterSketch001];
20 -> 6[lhead=clusterDatumPlane, ltail=clusterSketch001];
21 -> 9[arrowsize=0.5, style=dashed];
22 -> 24;
}
foadsf
Posts: 86
Joined: Fri Mar 06, 2015 10:02 pm
Contact:

Re: easter egg of PartDesign Next: DAG View

Postby foadsf » Wed Oct 16, 2019 9:38 am

chrisb wrote:
Sat Oct 08, 2016 10:57 pm
DeepSOIC wrote:
triplus wrote: And after FreeCAD restart:

View -> Views -> DAG View
Enjoy!
After restart:
View -> Panels -> DAG View
Following this discussion, I wanted to try this but I can't find

View -> Views -> DAG View

or

View -> Panels -> DAG View


what I did:
  1. menu bar -> Tools -> Edit Parameters ...
    2019-10-16_11-29-11.png
    2019-10-16_11-29-11.png (21.17 KiB) Viewed 68 times
  2. open BaseApp > Preferences > DAGView
  3. right click on the right panel , New Boolean item -> Name: Enabled -> value: true
    2019-10-16_11-32-13.png
    2019-10-16_11-32-13.png (42.45 KiB) Viewed 68 times
  4. restarted FreeCAD
  5. I can't find neither Views -> DAG View or Panels -> DAG View in the View dropdon menu
    2019-10-16_11-34-36.png
    2019-10-16_11-34-36.png (38.48 KiB) Viewed 68 times

P.S.1. from the wiki, I also tried the open BaseApp > Preferences > DockWindows > DAGView
2019-10-16_11-49-09.png
2019-10-16_11-49-09.png (36.6 KiB) Viewed 62 times
It didn't help either!

my environment is:

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16131 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 3129ae4296e40ed20e7b3d460b86e6969acbe1c3
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)