gnea / grbl

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
https://github.com/gnea/grbl/wiki
Other
3.98k stars 1.59k forks source link

Path #1210

Open Yonaskassa opened 1 year ago

Yonaskassa commented 1 year ago

Hi Dear, ![Uploading 20230428_153604.jpg…]() As you have seen a design on UGS the path is not random moving, Cnc moves unnecessary fwd and bwd movment. How to make the path moving from the nearest to other side. Sorry for my english.

breiler commented 1 year ago

The picture wasn't uploaded properly

Yonaskassa commented 1 year ago

20230428_153604

breiler commented 1 year ago

This is not an issue with GRBL, you would be better served by using the UGS discussions: https://github.com/winder/Universal-G-Code-Sender

In the latest version of UGS I removed the automatic ordering of objects as a request from another user.

Each geometric object will be processed in the order they are listed in the entities list. However if you have one complex geometric path object with a lot of holes the ordering of how each hole is processed could probably be optimized. Did you import an SVG, could you attach a sample file?

Yonaskassa commented 1 year ago

Sure, Here is attached sample .svg file. Regards! Doors

breiler commented 1 year ago

Yeah, this should be more optimized. I have created this issue in UGS: https://github.com/winder/Universal-G-Code-Sender/issues/2209

breiler commented 1 year ago

There is a new nightly build available that should optimize this a bit: https://github.com/winder/Universal-G-Code-Sender/releases/tag/nightly