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

FIX: CLI: fix an exception when parsing scale params #6969

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

uSyzex
Copy link
Contributor

@uSyzex uSyzex commented Sep 30, 2024

Description

This PR aims to solve an exception when using OrcaSlicer in CLI which caused the --scale option to not work.
All credits to @lanewei120 from BambuStudio for pushing it on BS repo.

Related commit on BS:
bambulab/BambuStudio@2d4655e#diff-2fa194122e892282ec589e51d5f7da65da83ec0488ced4b63930345d1273a353R3797
Related issue on BS:
bambulab/BambuStudio#4628
Related issue on Orca:
#6454
fixes #6454

Tests

./orca-slicer.exe --scale 2 --slice 1 --allow-newer-file test_model.stl --debug 5

The command above works again and scale the model then slice the scaled model. Before, the scale would not complete.

@uSyzex uSyzex marked this pull request as draft September 30, 2024 12:38
@uSyzex uSyzex marked this pull request as ready for review September 30, 2024 12:39
Copy link
Owner

@SoftFever SoftFever left a comment

Choose a reason for hiding this comment

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

LGTM
Thank you

@SoftFever SoftFever merged commit 9fbab14 into SoftFever:main Oct 7, 2024
10 of 15 checks passed
@uSyzex
Copy link
Contributor Author

uSyzex commented Oct 7, 2024

@SoftFever just saw I added one parenthesis too many, on 3587. Should I do another pull request ?
Sorry for the typo, should have double checked when pushing after compiling on my machine.

@uSyzex
Copy link
Contributor Author

uSyzex commented Oct 7, 2024

Nevermind, just saw you fixed it in 1c43b29

Thank you and sorry for the inconvenience.

@SoftFever
Copy link
Owner

Nevermind, just saw you fixed it in 1c43b29

Thank you and sorry for the inconvenience.

No 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.

Scaling option doesn't work in Orca Slicer CLI
2 participants