dune3d / dune3d

3D CAD application
https://dune3d.org
GNU General Public License v3.0
825 stars 24 forks source link

Improve navigation system. #100

Open matiasdelellis opened 3 weeks ago

matiasdelellis commented 3 weeks ago

I could never get used to FreeCAD, and with this application I achieved what I needed with a couple of hours of work. Thanks a lot!. 😄

In principle, the only feature request I can ask of you is to improve the navigation system. It cost me a lot, but mainly because I am working with the notebook's touchpad. 🤦🏻‍♂️

About FreeCAD, the only thing missing is the navigation cube, which helps a lot when you work on the Cartesian axes, but in principle a small change, which would be very useful, would be to be able to navigate with the arrow keys. 🤔

matiasdelellis commented 2 weeks ago

I'm familiarizing myself with the code to see what I can contribute.. I can't do much yet, but I found that the cube is part of opencascade.. 😬

carrotIndustries commented 1 week ago

Dune 3D isn't using opencascade's visualization features at all. We need to implement this in 2D using cairo.

matiasdelellis commented 1 week ago

Just commenting that I am using this and it is sufficient for my needs, but obviously I am doing something wrong. I have no experience in developing and using 3D tools so I still don't understand the use of the camera and perspectives. In particular seems that 90 degrees are being applied to a point that is moving and therefore rotating 4 times does not return exactly to the same camera view.

https://github.com/matiasdelellis/dune3d/commit/fe58180b094205fadd0cb624a3dd98b3b8010ab3

matiasdelellis commented 1 week ago

Well, It seems to be working fine, except that when sending two rotations quickly, when starting the second it cancels the first rotation and the second rotation is applied from where the first was canceled.

I don't know how to improve this, but would you accept a pull request in this state?