Skip to content

Visualizer arc tolerance#3127

Merged
breiler merged 2 commits into
winder:masterfrom
breiler:visualize-arc-tolerance
Jun 14, 2026
Merged

Visualizer arc tolerance#3127
breiler merged 2 commits into
winder:masterfrom
breiler:visualize-arc-tolerance

Conversation

@breiler

@breiler breiler commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

Previously when expanding arcs to be displayed in the visualizer we used a min segment length. This would cause a huge number of segments on larger arcs. With this change we use a choord tolerance. For large models with low curvature the chords barely deviates it will generate larger segments. For small models requires more subdivisions.

A test with a "normal" size model that was 200x200mm got 10x fewer segments without noticable differences.

Fixes: #2430
Fixes: #1477 (segment count went from 21632032 to 767032 segments)

@breiler breiler merged commit 1cc7d7c into winder:master Jun 14, 2026
1 check passed
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.

Improve the arc expander preprocessor UGS Platform on RasPi large GCode file problem

1 participant