Feature Request: Add horizontal split view

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Feature Request: Add horizontal split view

Post by microelly2 »

regis wrote: Fri Dec 08, 2017 3:10 pm No nknowledge in this sector, but just to say that is there a way to implement the blender like splitting of views, it is very easy and allows for many combinations?
Yes this will be possible, it seems to be possible to start a quad view and add the inventor representation of whatever we want into the 4 views for example.
User avatar
regis
Posts: 749
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: Feature Request: Add horizontal split view

Post by regis »

microelly2 wrote: Fri Dec 08, 2017 4:39 pm
regis wrote: Fri Dec 08, 2017 3:10 pm No nknowledge in this sector, but just to say that is there a way to implement the blender like splitting of views, it is very easy and allows for many combinations?
Yes this will be possible, it seems to be possible to start a quad view and add the inventor representation of whatever we want into the 4 views for example.
Amazing, I look forward.
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Feature Request: Add horizontal split view

Post by microelly2 »

phpBB [video]

it's still fresh and will be improved after testing,
buts it's already an interesting method to split complex model environments into simpler views.
it's in my nurbs workbench under menu workspace.
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Feature Request: Add horizontal split view

Post by microelly2 »

wmayer wrote: Tue Nov 28, 2017 3:03 pm Try this:

Code: Select all

Gui.createViewer(4)
After some steps I have some questions/requests

The Gui.createViewer-Object has the method fitAll, viewLeft ...
I think its better to have these methods for each view and not only as global method
So it is possible to display in each window another view direction

>> view=v.getViewer(2)
>>> rm=view.getSoRenderManager()
>>> c=rm.getCamera()

c has pointAt, scaleHeight
but I look for position, orientation setters an getters. because it would be possible to do fine changes by script.
User avatar
Joel_graff
Veteran
Posts: 1949
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Feature Request: Add horizontal split view

Post by Joel_graff »

That looks fantastic!
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails

pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
User avatar
Eneen
Posts: 61
Joined: Wed Aug 12, 2015 9:06 pm

Re: Feature Request: Add horizontal split view

Post by Eneen »

Maybe keyboard shortcut like "V, Q" or ctrl+alt+Q (blender) is possible?
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Feature Request: Add horizontal split view

Post by yorik »

Amazing Werner!
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Feature Request: Add horizontal split view

Post by triplus »

microelly2 wrote: Fri Dec 08, 2017 10:08 pm it's in my nurbs workbench under menu workspace.

Code: Select all

No module named workspace
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Feature Request: Add horizontal split view

Post by microelly2 »

triplus wrote: Wed Dec 13, 2017 7:17 pm
microelly2 wrote: Fri Dec 08, 2017 10:08 pm it's in my nurbs workbench under menu workspace.

Code: Select all

No module named workspace
sorry, the __init__py. was in .gitignore
should be available now.
wmayer
Founder
Posts: 20319
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Feature Request: Add horizontal split view

Post by wmayer »

The Gui.createViewer-Object has the method fitAll, viewLeft ...
I think its better to have these methods for each view and not only as global method
So it is possible to display in each window another view direction
That needs to be addressed in a future version.
c has pointAt, scaleHeight
but I look for position, orientation setters an getters. because it would be possible to do fine changes by script.
The orientation attribute is accessible but you just won't see in the pop-up menu. That's a limitation of pivy not to directly return it when querying an object's __dict__ attribute.
Post Reply