Skip to content

dashed_plotter: use rotational direction while closing - #187

Merged
vancluever merged 1 commit into
mainfrom
dashed-plotter-clockwise-close
Sep 19, 2026
Merged

vancluever merged 1 commit into
mainfrom
dashed-plotter-clockwise-close

Conversation

@vancluever

Copy link
Copy Markdown
Owner

When processing the joins for dashed closes where the on segment traverses both the last point and the initial point, this ensures that the caps are plotted correctly to prevent twisting and other artifacts. This was ultimately caused by the fact that when we do the close we ultimately transfer the main plotter state in part to the initial segment state (aka the initial polygon), but we missed transferring any existing clockwise state.

When processing the joins for dashed closes where the on segment
traverses both the last point and the initial point, this ensures that
the caps are plotted correctly to prevent twisting and other artifacts.
This was ultimately caused by the fact that when we do the close we
ultimately transfer the main plotter state in part to the initial
segment state (aka the initial polygon), but we missed transferring any
existing clockwise state.
@vancluever vancluever added the bug Something isn't working label Sep 19, 2026
@vancluever
vancluever merged commit 6aad0bf into main Sep 19, 2026
2 checks passed
@vancluever
vancluever deleted the dashed-plotter-clockwise-close branch September 19, 2026 17:48
@vancluever

Copy link
Copy Markdown
Owner Author

Fixes #182

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant