Open phil-barrett opened 4 years ago
Wow that was an evil test on the little pi. 😄
The arcs will be expanded to lines with a segment length of 0.3mm which would generate about 7.3 million line segments. That is a lot...
We could probably try to parse the extent of the work before loading it as a model to get some estimate on a suitable arc length.
Yeah, diabolical. It tends to choke renderers as well. Definitely not a realistic test, though. UGS seems to handle my other tests. If you guys want to parse far enough to say "won't run" or even just close without fixing, I would not think less of you.
Describe the bug Loading a very large GCode file chokes Platform running on RasPi.
To reproduce Steps to reproduce the behavior:
Expected behavior The GCode will load.
Screenshots If applicable, add screenshots to help explain your problem.
Version From the about box.
Hardware RasPi 3 model B running raspi buster (2020-02-12-rpd-x86-buster.iso image) - Rasberry Pi OS dl'd on 11/18/2020, grblHAL breakout board running grblHAL with COMPATIBILITY_MODE 1 set.
Additional context Running same file on ugs platform on a Win10 PC and connecting to the same grblHAL board has no problems.
Here is the file concentric circles as arcs fr5000.zip