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

New Setting: Automatically switch to orthographic mode when using sideview #7848

Open
1 task done
Minecreator200 opened this issue Dec 27, 2024 · 1 comment
Open
1 task done
Labels
enhancement New feature or request

Comments

@Minecreator200
Copy link

Minecreator200 commented Dec 27, 2024

Is there an existing issue for this feature request?

  • I have searched the existing issues

Is your feature request related to a problem?

I wouldn't say it's a problem, but think that it would be a great enhancement in user friendliness.
It would make placing objects way easier as opposed to perspective view.

Which printers will be beneficial to this feature?

All

Describe the solution you'd like

Whenever the setting is active and all camera angles are a multiple of 90deg switch to orthographic mode.
As already stated above, it would make placing objects way easier.

Pseudo-Code:

if (automaticChangeEnabled)
    Renderer.setCameraMode(
        (camera.rotX % 90 == 0 && camera.rotY % 90 == 0 && camera.rotZ % 90 == 0) ?
        CameraMode.ORTHOGRAPHIC :
        CameraMode.PERSPECTIVE
    );

Describe alternatives you've considered

No response

Additional context

No response

@Minecreator200 Minecreator200 added the enhancement New feature or request label Dec 27, 2024
@buzzhuzz
Copy link
Contributor

Having this feature implemented as proposed may result in jerky view since projection might be changed while orbiting build plate.

Better implementation might be "automatically switch to orthographic projection on setting camera view using Ctrl+<1..6>. Switch back to perspective on camera rotation"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants