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

[Feature Request] Adaptive sketcher grid #7223

Closed
2 tasks done
wwmayer opened this issue Jul 20, 2022 · 2 comments
Closed
2 tasks done

[Feature Request] Adaptive sketcher grid #7223

wwmayer opened this issue Jul 20, 2022 · 2 comments
Labels
Feature FR for improvements or new features WB Part Related to the Part Workbench

Comments

@wwmayer
Copy link
Contributor

wwmayer commented Jul 20, 2022

Is there an existing request for this?

  • I have searched the existing requests

Forums discussion

https://forum.freecadweb.org/viewtopic.php?p=611312#p611312

Subproject(s) affected?

Part

Idea description

Currently the grid size of a sketch is hard-coded and the number of lines depends on the size of the sketch. The disadvantage is that if the sketch is fairly big but the grid size very small there will be many thousand of lines that slows down the rendering. And if additionally the 3D view is zoomed out then the grid will become useless as it's not possible any more to see the individual lines.

Now the idea is to have an adaptive grid that doesn't depend on the sketch size but on the screen size. If the user zooms in then the grid is recreated if the rendered width of a grid cell has doubled its size. And if the user zooms out the grid is recreated if the cell has halved its size.

This way the user could arbitrarily zoom in or out and will always have a sensible grid.

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@luzpaz luzpaz added Feature FR for improvements or new features WB Part Related to the Part Workbench labels Jul 20, 2022
@adrianinsaval
Copy link
Member

adrianinsaval commented Jul 21, 2022

+1000 and to add to the request it would be nice if the grid step adapted to be multiples of the chosen unit of measure, I've recently seen someone asking for this on the forum too.
As a bonus it would be nice if the grid was implemented as a general feature not necessarily sketcher specific, this way the same adaptive grid could be used in Draft WB and whoever else needs it. it's implemented in Part, it's already generalized, don't know if Draft is using it.

@PaddleStroke
Copy link
Contributor

I think this can be closed

@chennes chennes closed this as completed Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature FR for improvements or new features WB Part Related to the Part Workbench
Projects
None yet
Development

No branches or pull requests

5 participants