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

Closed
1 task done
Minecreator200 opened this issue Dec 27, 2024 · 6 comments · May be fixed by #8312
Closed
1 task done

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

Minecreator200 opened this issue Dec 27, 2024 · 6 comments · May be fixed by #8312
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"

@Minecreator200
Copy link
Author

Couldn't we just make it so it only does it if the small cube in the bottom left corner of the view is clicked? That's probably a good compromise.

@Noisyfox
Copy link
Collaborator

Noisyfox commented Jan 5, 2025

Couldn't we just make it so it only does it if the small cube in the bottom left corner of the view is clicked? That's probably a good compromise.

I remember saw similar behavior in some 3D modeling softwares, though I can't tell exactly which one.

@Minecreator200
Copy link
Author

Couldn't we just make it so it only does it if the small cube in the bottom left corner of the view is clicked? That's probably a good compromise.

I remember saw similar behavior in some 3D modeling softwares, though I can't tell exactly which one.

Yes, Blender does have this feature for example. Some like it, some don't. That's why I had the idea of the toggle switch in the settings.

@Noisyfox
Copy link
Collaborator

Noisyfox commented Feb 4, 2025

Please try #8312

@Minecreator200
Copy link
Author

See Noisyfoxes pull request #8312

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

Successfully merging a pull request may close this issue.

3 participants