help G-code optimization
Shop › Forum › Makelangelo Polargraph Art Robot › help G-code optimization
- This topic has 10 replies, 3 voices, and was last updated 5 years, 11 months ago by Dan.
-
AuthorPosts
-
2018-04-02 at 03:39 #19604VladimirParticipant
What to use to optimize G-code?
Idling takes up to 40% of the time.
https://github.com/euphy/polargraph/wiki/Vector-Optimizer
This optimizer does not fit, but the idea is excellent …2018-04-02 at 09:14 #19605DanKeymaster40% of the time in which drawings?
For example, in DXF files if you select “optimize dxf on load” it will sort the lines to be vastly more efficient.
2018-04-02 at 09:46 #19606VladimirParticipantI’m preparing files in ngc format with the size of 80 mb and more, so out of 10 hours of drawing 4 hours goes to idle moves…
2018-04-02 at 09:48 #19607DanKeymaster40% of the time in which drawings?
2018-04-02 at 09:51 #19608DanKeymasterMore generally, after generating gcode a script could re-arrange all pen-up moves to try and find nearest neighbors.
afaik this is a np-complete problem, nobody has a best solution that works in known finite time.
2018-04-02 at 10:23 #19609VladimirParticipantfrom 10 hours of drawing – 4 hours of idling
2018-04-12 at 12:12 #19679DanKeymasterPlease send me the image and the steps you are taking. I will see what I can do.
2018-04-15 at 01:11 #19696raphmannParticipantdxf-export has a bug.
A script to sort ngc-code would be perfect.
Raphael
2018-04-15 at 16:19 #19701DanKeymaster@raphmann you’ll have to provide more detail than “dxf-export has a bug.” how do i recreate it?
2018-04-16 at 05:47 #19706raphmannParticipantWhen I open a svg-file in Makelangelo, I would like to save it as dxf. When I
open this dxf-file in Makelangelo again (I would like to use “DXFOptimizeOnLoad”), no
image or drawing appears. In the lower field of the Software there is written:FielTypeDXF2…
Converting temp 1258299040791194320.ngc
Done!
3 line segments.
28.300001cm
Estimated draw time 0s
Completed2018-04-16 at 10:19 #19708DanKeymasterSVG support in Makelangelo is very limited. I would try opening the file in Inkscape (free), make sure to “ungroup” and “convert to path” all objects, then save to dxf and load in makelangelo.
3 line segments in the file sounds very small. Looks like one pen up, one move to start, and one move back home.
-
AuthorPosts
- You must be logged in to reply to this topic.