-
Notifications
You must be signed in to change notification settings - Fork 5
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
Refactorings #38
Comments
This are just a couple of inconsistencies I noticed and wanted to tackle next. Feel free to add your own to track the changes that are needed to be made. Also can you please clarify which style is the preferred in the first and last points? @voneiden |
First) PEP 484 reads merely "As a shorthand for Not sure which one you refer to the last one as there have been a few edits.
Is that covered by 5d8aec3 ?
Yes, the class based is older structure and needs refactoring. Both were quite hastily bolted on the fluent api.
The self override in the middle of the method is certainly a bit unconventional and would be neat if there's some other way to handle this.
Not a high priority, but at least I like having them. |
For priority, the to_gcode overhaul could be pretty high on the list. One large inconsistency that exists is the precision (gcode_precision). There are multiple places all over that require rounding (gcode output, spline approximation, clipper offsetting) of values, and currently it's all hardcoded with placeholder values. Would be nice to get that sorted, but it's probably best to finalize it after the to_gcode overhaul is done. |
I think so. I will keep it on the list to check later as well. I will break this into separate issues for different groups |
pytest
due totyping
. Should we do anything about them?update_tool
to use shallow copies forself = self._add_operation("Tool Change", commands)
?The text was updated successfully, but these errors were encountered: