Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align to selection problem #14775

Open
2 tasks done
Pendelf opened this issue Jun 18, 2024 · 2 comments
Open
2 tasks done

Align to selection problem #14775

Pendelf opened this issue Jun 18, 2024 · 2 comments
Labels
Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD Feature FR for improvements or new features

Comments

@Pendelf
Copy link

Pendelf commented Jun 18, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

When using the Alight to selection function, the camera rotates at a strange angle

Full version info

OS: Windows 11 build 22621
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37709 (Git)
Build type: Release
Branch: main
Hash: dd816a635ccacc39f29b1761c6ccfed21a90b646
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: Russian/Russia (ru_RU)
Installed mods: 
  * A2plus.backup1693145886.351258 0.4.60n
  * Assembly3.backup1697878740.3967428 0.12.0
  * Assembly4.backup1697878772.1268227 0.50.3
  * BIM.backup1704622292.3622465 2021.12.0
  * CurvedShapes.backup1704622353.7785401 1.0.5
  * Curves.backup1693145923.4219682 0.6.13
  * Design456.backup1712597574.1363904 0.0.1
  * dodo.backup1712597608.2771313 1.0.1
  * ExplodedAssembly
  * fasteners 0.5.21
  * FEMbyGEN 2.1.0
  * lattice2 1.0.0
  * LCInterlocking
  * Manipulator 1.5.7
  * PieMenu 1.5.1
  * Pyramids-and-Polyhedrons
  * sheetmetal.backup1704622370.7006474 0.3.12

Subproject(s) affected?

None

Anything else?

https://youtu.be/980MIwEzisA

Code of Conduct

  • I agree to follow this project's Code of Conduct
@maxwxyz
Copy link
Collaborator

maxwxyz commented Jun 18, 2024

What is the intended behavior? How should FreeCAD know the rotation the user currently likes?
@Rexbas FYI

@maxwxyz maxwxyz added Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD Feature FR for improvements or new features Missing: feedback If feedback is requested labels Jun 18, 2024
@Rexbas
Copy link
Contributor

Rexbas commented Jun 18, 2024

Right now, the camera always rotates to the same orientation for a given face. However, depending on the current camera orientation, the camera could move a lot to align to the face. This is not always the most optimal camera movement. I am planning to work on improving this in the next couple of weeks.

@maxwxyz maxwxyz removed the Missing: feedback If feedback is requested label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD Feature FR for improvements or new features
Projects
None yet
Development

No branches or pull requests

3 participants