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

3D view grid size #823

Open
ramaxa9 opened this issue Mar 24, 2023 Discussed in #816 · 2 comments
Open

3D view grid size #823

ramaxa9 opened this issue Mar 24, 2023 Discussed in #816 · 2 comments

Comments

@ramaxa9
Copy link

ramaxa9 commented Mar 24, 2023

Discussed in #816

Originally posted by ramaxa9 February 23, 2023
Hello!
The grid size is 600x600 mm. I set an a profile with my machine size 2000x1000 mm, but the grid size is still 600x600. Is it possible to increase grid size?

@cheton
Copy link
Collaborator

cheton commented Mar 26, 2023

Currently, the grid size in the Visualizer component cannot be changed as it is hardcoded in the current releases.

const IMPERIAL_GRID_COUNT = 32; // 32 in
const IMPERIAL_GRID_SPACING = 25.4; // 1 in
const IMPERIAL_AXIS_LENGTH = IMPERIAL_GRID_SPACING * 12; // 12 in
const METRIC_GRID_COUNT = 60; // 60 cm
const METRIC_GRID_SPACING = 10; // 10 mm
const METRIC_AXIS_LENGTH = METRIC_GRID_SPACING * 30; // 300 mm

However, you can still define visible limits for the 3D visualizer and determine the size of your working space by configuring the machine profile. I can realize that the grid size should be automatically resized according to the machine profile, but this workaround can be used until new changes are made.

See the attached images for reference.

image

image

@ramaxa9
Copy link
Author

ramaxa9 commented Mar 27, 2023

@cheton i have profile with my dimensions
this is not an a critical issue, it is quality of life feature xD

and the camera cut portion of a model in 3d View
image

and i think auto load "Default" profile is a good idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants