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!
User avatar
DeepSOIC
Posts: 6969
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

easter egg of PartDesign Next: DAG View

Postby DeepSOIC » Tue Apr 19, 2016 6:20 pm

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
DAGView.png
Size seems to be broken on high dpi setting in windows...
DAGView.png (144.09 KiB) Viewed 3152 times
User avatar
tanderson69
Posts: 1495
Joined: Thu Feb 18, 2010 1:07 am

Re: easter egg of PartDesign Next: DAG View

Postby tanderson69 » Tue Apr 19, 2016 7:48 pm

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
Posts: 18149
Joined: Tue Mar 17, 2015 9:14 am

Re: easter egg of PartDesign Next: DAG View

Postby chrisb » 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
chrisb
Posts: 18149
Joined: Tue Mar 17, 2015 9:14 am

Re: easter egg of PartDesign Next: DAG View

Postby chrisb » Sat Oct 08, 2016 11:10 pm

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).
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 » Sat Oct 08, 2016 11:30 pm

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
Posts: 18149
Joined: Tue Mar 17, 2015 9:14 am

Re: easter egg of PartDesign Next: DAG View

Postby chrisb » Sun Oct 09, 2016 9:29 am

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 2487 times
User avatar
tanderson69
Posts: 1495
Joined: Thu Feb 18, 2010 1:07 am

Re: easter egg of PartDesign Next: DAG View

Postby tanderson69 » Sun Oct 09, 2016 2:08 pm

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
Posts: 18149
Joined: Tue Mar 17, 2015 9:14 am

Re: easter egg of PartDesign Next: DAG View

Postby chrisb » Sun Oct 09, 2016 4:57 pm

I attach the file here. It is nothing special, playing with Part WB Next.
Attachments
test3.FCStd
(48.89 KiB) Downloaded 32 times
User avatar
tanderson69
Posts: 1495
Joined: Thu Feb 18, 2010 1:07 am

Re: easter egg of PartDesign Next: DAG View

Postby tanderson69 » Sun Oct 09, 2016 10:13 pm

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

Re: easter egg of PartDesign Next: DAG View

Postby chrisb » Sun Oct 09, 2016 10:39 pm

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