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: custom module separation #26

Merged
merged 3 commits into from
Sep 13, 2022
Merged

Conversation

aruZeta
Copy link
Owner

@aruZeta aruZeta commented Sep 13, 2022

No description provided.

Notes:

There is a bug with the generated C code, where ranges make it not
work with the default value of `moSep`, so those have been removed and
added some checks, `checkParamInRange` to throw a Defect if the value
passed is not in the range they should be in.
Well, by default the value is 0.1 when drawing rounded modules, so
there is no need to actually set it to 0 or anything, this way there
is no need to check what the passed value is or if `moRad` and
`forceUseRect` are whatever value, since anyway `moSep` is only used
when one of both fit the same conditions in the first if of the func's
body.
@aruZeta aruZeta merged commit 84245f9 into develop Sep 13, 2022
@aruZeta aruZeta deleted the feature/custom-module-sep/1 branch September 13, 2022 16:05
@aruZeta aruZeta added feature This PR adds a new feature to the next major or minor release. roadmap This ISSUE or PR is part of the roadmap of the project. breaking change This PR adds main API breaking changes to the next major release. labels Sep 13, 2022
@aruZeta aruZeta mentioned this pull request Sep 15, 2022
3 tasks
@aruZeta aruZeta restored the feature/custom-module-sep/1 branch September 15, 2022 13:44
@aruZeta
Copy link
Owner Author

aruZeta commented Sep 15, 2022

I think it might be a better idea to set the separation to be a Percentage, as with alRad and moRad.

@aruZeta aruZeta deleted the feature/custom-module-sep/1 branch September 15, 2022 13:50
@aruZeta
Copy link
Owner Author

aruZeta commented Sep 15, 2022

Opened #29 for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change This PR adds main API breaking changes to the next major release. feature This PR adds a new feature to the next major or minor release. roadmap This ISSUE or PR is part of the roadmap of the project.
Projects
No open projects
Status: DONE
Development

Successfully merging this pull request may close these issues.

None yet

1 participant