Navigation Cube
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Navigation Cube
Hi,
I've started to work on implementing (experimentally at first) a navigation cube,
something along these lines:
Now that I can compile the code I think I've managed to locate where and
how this could be implemented in a couple of work full weekends by
hacking View3DInventorViewer.
But instead of that I think that the work done by @ickby on transparent
Qt widgets on top of the 3D scene view and that of course would be great
way to go:
https://youtu.be/wrOP7sLqwiM
https://github.com/ickby/FreeCAD_sf_master
Especially if and when I would like to have the popup menu there. The
cube as such looks easy enough to implement without real widgets
by just hand coding the graphics and mouse actions but I draw the limit
at re-creating a popup menu.
Now that Qt5 is in FreeCAD this should be viable but I'm not sure I could
or would like to take on this kind of side project (carrying on to conclusion
of the great work @ickby started).
Any thoughts on this?
I've started to work on implementing (experimentally at first) a navigation cube,
something along these lines:
Now that I can compile the code I think I've managed to locate where and
how this could be implemented in a couple of work full weekends by
hacking View3DInventorViewer.
But instead of that I think that the work done by @ickby on transparent
Qt widgets on top of the 3D scene view and that of course would be great
way to go:
https://youtu.be/wrOP7sLqwiM
https://github.com/ickby/FreeCAD_sf_master
Especially if and when I would like to have the popup menu there. The
cube as such looks easy enough to implement without real widgets
by just hand coding the graphics and mouse actions but I draw the limit
at re-creating a popup menu.
Now that Qt5 is in FreeCAD this should be viable but I'm not sure I could
or would like to take on this kind of side project (carrying on to conclusion
of the great work @ickby started).
Any thoughts on this?
Re: Navigation Cube
I think the cube alone is a good short term goal. The projection dropdown and maybe even navigation style dropdown could then be integrated as a second step down the line.
Re: Navigation Cube
@agryson
Thanks, I agree and that is my plan.
But I'm trying to think about the next step because logically if the next
step would be doing the menu with real widgets then implementing
the first step with real widgets (as opposed to hand crafting the
functionality) would also make sense as it would be a bit easier
and cleaner. But that would require implementing the widget stuff first...
wbr Kusti
Thanks, I agree and that is my plan.
But I'm trying to think about the next step because logically if the next
step would be doing the menu with real widgets then implementing
the first step with real widgets (as opposed to hand crafting the
functionality) would also make sense as it would be a bit easier
and cleaner. But that would require implementing the widget stuff first...
wbr Kusti
Re: Navigation Cube
Any updates?nyholku wrote: ↑Sun Jan 22, 2017 1:55 pm But I'm trying to think about the next step because logically if the next
step would be doing the menu with real widgets then implementing
the first step with real widgets (as opposed to hand crafting the
functionality) would also make sense as it would be a bit easier
and cleaner. But that would require implementing the widget stuff first...
wbr Kusti
Re: Navigation Cube
I've made some progress that I've not yet pushed but life has intervened and I expect really to get back to this after the gardening season is over but what I could do is to push what I've got to canvas comments.
wbr Kusti
wbr Kusti
Re: Navigation Cube
The way i see it you do plan to finish this effort? And the code you already have is more or less a standalone piece of code/functionality? If that is correct and as a lot of end users are expressing interest. In my opinion it makes sense to upstream the code and for more users to start using it and providing feedback (by using daily builds). The cube is what the users are likely really after. And if i remember correctly that part worked reasonably good in the test i made a few months back. Therefore don't worry all that much about the menu part for now.
Last edited by triplus on Mon May 29, 2017 2:18 pm, edited 1 time in total.
Re: Navigation Cube
Sure, how do I upstream?
Re: Navigation Cube
Well you should fork FreeCAD. Add your contribution and create a pull request.
That is more or less it for now.
That is more or less it for now.
Re: Navigation Cube
Ok, I will push my latest changes and create a PR, I will try to do that next weekend. Thanks.
Re: Navigation Cube
+1
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs