hi i want reverse tool path. it is 2.5 axis motion i did not say --mirror etc motion need to start from bottom point of part and end on the top of part .
On Sun, Mar 11, 2018 at 12:16 AM, Chris Albertson <albertson.ch...@gmail.com > wrote: > You want to mirror the g-code file. I'm wondering why. If you have > g-code you likely also have the CAD model and can just flip the part > over and create another g-code file. > > But let's say you only have the g-code file. All you need to do to > make a mirror image (reflected on the X axis) is to treat every (X,Y) > point as a vector and multiply each by a matrix that looks like the > one below > > 1, 0 > 0, -1 > > That's it. This is actually a round about way to say "flip the sign > of every Y value in your file > > It the line of symmetry looks different, perhaps it is a 30 degree > angle then the above four number change. > > If you forgot Linear Algebra or never took the class Khan Academy has > a very good intro level course free on-line. He assumes yu know only > 8th grade algabra and if yo've forgotten that he covers it also in > another free online class. > > > On Sat, Mar 10, 2018 at 4:23 PM, Gregg Eshelman via Emc-users > <emc-users@lists.sourceforge.net> wrote: > > I've been trying to find a program or online converter that can take a > non-symmetric G-Code and mirror image it to cut the opposite shape while > still running around it clockwise. There is one for Windows that can split > code in half and rotate it so that with proper fixturing a mill can be used > to work on stuff larger than its X and/or Y axes, but it does not mirror. > It also can do 3D probing and map G-Code to non-planar surfaces. You'd > think mirroring would be an obvious feature to add to such a program but > the author is for some reason not interested. > > > > On Saturday, March 10, 2018, 3:27:12 PM MST, Chris Albertson < > albertson.ch...@gmail.com> wrote: > > > > In general it might not make sense to run the toll path backwards. > > Foe example what if there was a tool change? Or in the case of a 3D > > printer there would be plastic in the path and the extruder would > > crash. Ans does reverse means the spindle goes backwards too. I'm > > still thinking about what might happen if there are more than there > > axis involved. > > > > But irregardless if it would make sense, it would not be hard to write > > software that would "flip" a g-code file around so it runs bottom to > > top. > > > > Some code just don't make sense to run in reverse order. For example > > in the normal case you might start the spindle spinning then do some > > work then turn it off. Doing this in reverse order is nonsensical: > > Turn the spindle off do some stuff then turn it on. That does not > > seem useful. > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > _______________________________________________ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > > -- > > Chris Albertson > Redondo Beach, California > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users