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

Parser metadata library #159

Open
sophiedeziel opened this issue Jun 3, 2024 · 0 comments
Open

Parser metadata library #159

sophiedeziel opened this issue Jun 3, 2024 · 0 comments

Comments

@sophiedeziel
Copy link
Collaborator

sophiedeziel commented Jun 3, 2024

GCode comments metadata from the slicer can provide valuable information to the library. However, slicers format the comments differently.

I'm suggesting a first implementation that would only take care of the layers split. Right now, the parser uses a tolerance algorithm based on z changes. I'm suggesting a library for prusa and/or cura that would parse the ;LAYER_CHANGE (prusa slicer) and ;LAYER:2 (Cura) comments when available and fallback to the tolerance algorithm only when the metadata is not available.

Eventually, we'll want the line types (outer wall, infill, etc) for features around those!

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

No branches or pull requests

2 participants