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

Multiple plates #5077

Closed
wants to merge 2 commits into from
Closed

Conversation

jamincollins
Copy link
Contributor

Description

Fixes issue with attempting to create a large number of plates for a sizable bed (~400mm).
Corrects an enum update error

Screenshots/Recordings/Graphs

Without changes:
17x 400mm plates
image

With changes:
36x 400mm plates
image

Tests

Built and tested on Arch Linux.

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
@StuSerious
Copy link

you are on a roll with these QOL updates!

thank you ❤️

@jamincollins
Copy link
Contributor Author

I do have some help from a resource that's a quite a bit more skilled at C++ and OpenGL stuff than I am, but I'm learning.

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
@jamincollins
Copy link
Contributor Author

Updated the comments (with help) to reflect the change.

// with int64_t we don't have to worry anymore about the size of the int.
static constexpr double SCALING_FACTOR = 0.000001;
static constexpr double SCALING_FACTOR = 0.00001;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decreasing the precision here is not preferable.
I have plan to support large coords, it's not prioritized atm.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll see about reworking this to disable the button before the issue presents itself.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll see about reworking this to disable the button before the issue presents itself.

If this is in relation to the "add plate" button, note that disabling the button won't be a complete solution... because changing the printer type, or changing the size of the build plate for the current printer, can also cause this fault even without changing the number of plates...

@SoftFever
Copy link
Owner

@jamincollins
This is scale factor is used in all essential algorithms during the slicing.
It affects all calculations and will very likely cause precision issues

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

Successfully merging this pull request may close these issues.

None yet

5 participants