Skip to content

handle an edge case in zgradient where z is not set#124

Open
kylegrover wants to merge 1 commit into
FullControlXYZ:masterfrom
kylegrover:bf-zgradient-edge-case
Open

handle an edge case in zgradient where z is not set#124
kylegrover wants to merge 1 commit into
FullControlXYZ:masterfrom
kylegrover:bf-zgradient-edge-case

Conversation

@kylegrover

Copy link
Copy Markdown

I was running into this when a sketch started with extruder off, then extruder on, before a point. resulting in an error. this should safely handle that case

I was running into this when a sketch started with extruder off, then extruder on, before a point. resulting in an error. this should safely handle that case
@AndyGlx

AndyGlx commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

I agree that this should be handled, but i think this would also be an issue for non-Z values, especially if another colour-type was chosen. I think a better solution is for the visualization function to identify if a path (points between extruder being turned off and on or vice versa contains no points, or only one point. I thought there was some kind of check for this.

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.

2 participants