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!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

easter egg of PartDesign Next: DAG View

Post by DeepSOIC »

I almost forgot! Tanderson69 made a new model tree in PartDesign Next. And for some reason, he made it extremely hidden.
triplus wrote:Tools -> Edit parameters ... -> BaseApp -> Preferences -> DAGView (Enabled true)

And after FreeCAD restart:

View -> Views -> DAG View
Enjoy!
Attachments
Size seems to be broken on high dpi setting in windows...
Size seems to be broken on high dpi setting in windows...
DAGView.png (144.09 KiB) Viewed 7526 times
User avatar
tanderson69
Veteran
Posts: 1626
Joined: Thu Feb 18, 2010 1:07 am

Re: easter egg of PartDesign Next: DAG View

Post by tanderson69 »

DeepSOIC wrote: And for some reason, he made it extremely hidden.
The idea is that developers and advanced users will turn this on and do good bug reports until it is solid.


as far as the windows DPI, Jurgen pointed it out a while ago viewtopic.php?f=20&t=11276&start=40#p93902 I wasn't experiencing the problem so I just made a parameter hack. Feel free to dig into this.
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: easter egg of PartDesign Next: DAG View

Post by chrisb »

DeepSOIC wrote:
triplus wrote: And after FreeCAD restart:

View -> Views -> DAG View
Enjoy!
After restart:
View -> Panels -> DAG View
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: easter egg of PartDesign Next: DAG View

Post by chrisb »

This view has the additional advantage that it works perfect on a mac and even on a Ubuntu in a virtual machine (otherwise wellknown issues with display overlays).
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
pablogil
Posts: 881
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: easter egg of PartDesign Next: DAG View

Post by pablogil »

How stable is this feature?
It would be great to have it as default as soon as possible, I think regular users will love it.
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: easter egg of PartDesign Next: DAG View

Post by chrisb »

It looks to me very stable until now and might well replace the tree at the left. There are two drawbacks for me: 1) At the crossing of lines (red circle) it is not immediately clear if there exists a dependency or not. 2.) In the standard dependency tree I can see expression dependencies as well (red circle again).
(At the left bottom you can see the rest of the annoying overlay window).
Attachments
dep.png
dep.png (116.24 KiB) Viewed 6861 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
tanderson69
Veteran
Posts: 1626
Joined: Thu Feb 18, 2010 1:07 am

Re: easter egg of PartDesign Next: DAG View

Post by tanderson69 »

pablogil wrote:How stable is this feature?
I had a crash a while ago renaming a feature. I took no time to investigate. There is at least 1 more major bug.
chrisb wrote:2.) In the standard dependency tree I can see expression dependencies as well (red circle again).
I don't think expressions existed when the dag view was created. I am not sure we should have expressions mixed in with the dag view?
chrisb wrote:1) At the crossing of lines (red circle) it is not immediately clear if there exists a dependency or not.
Agree it is a little busy, the arc is the clue. We could experiment with the arc radius to help this condition. Selecting features highlights connection lines, which also helps. Why are the DatumPlane and Sketch001 linked to both the box and Pocket001? This seems off to me.
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: easter egg of PartDesign Next: DAG View

Post by chrisb »

I attach the file here. It is nothing special, playing with Part WB Next.
Attachments
test3.FCStd
(48.89 KiB) Downloaded 87 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
tanderson69
Veteran
Posts: 1626
Joined: Thu Feb 18, 2010 1:07 am

Re: easter egg of PartDesign Next: DAG View

Post by tanderson69 »

Not sure what is going on, but I can't even generate a dependency graph with your file.
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: easter egg of PartDesign Next: DAG View

Post by chrisb »

I am not sure with which version it was created, but the file was last opened and the dependency graph was generated with this version:

OS: Ubuntu 14.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8594 (Git)
Build type: None
Branch: master
Hash: 3cf036de4cb9615f4443a7708bf7332f72daa94a
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply