great job, Frank! this might be worth considering a canon optimisation stage in the interpreter
(that'd be near the comment-free wastelands of the NCD code ;) -m Am 16.06.2013 um 14:16 schrieb Frank Tkalcevic <fr...@franksworkshop.com.au>: > I've added my script to the Wiki, > http://wiki.linuxcnc.org/cgi-bin/wiki.pl?LinesToArcs > > > > It will take a gcode file (only tested with Slic3r output) and convert the > many short line segments back to arcs. It can make a huge difference to > print speed and file size if there are lots of arcs. > > > > It's slow, but has been reliable over the last couple of months. > > > > Frank > > > > > > From: Frank Tkalcevic [mailto:fr...@franksworkshop.com.au] > Sent: Thursday, 28 March 2013 9:18 AM > To: Enhanced Machine Controller (EMC) (emc-users@lists.sourceforge.net) > Subject: convert g1s to g2/3s > > > > Does anyone know of a script that converts G1 line segments into G2/G3 > curves? In the src tree I found author.py which has an implementation of > the Douglas-Peucker simplification algorithm, but I can't see where it is > used. Is there a script anywhere that uses it? > > > > I want to use this to simplify the output of the 3d printer software Slic3r. > It only generates line segments which slows down my router. Most of my > shapes have circle shapes, so it would be nice to use G2/G3. > > > > I've tried a trial version of a program I found on the 'net, but it didn't > work because there are A axis moves on each line (A = extruder). > > > > Frank. > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users