Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: docltf on July 17, 2007, 05:24:26 PM

Title: doing a mirror cut
Post by: docltf on July 17, 2007, 05:24:26 PM
MR GRAHAM

    i came to you first.i am going to carve out a rubber stamp.the code is finished.what is the best way to make mach mirror cut
    the program.i want the toolpath to look backwards too.i changed the dir from low to high but that did not quite get it.
    running latest mach3 ver 2.2

thanks bill
Title: Re: doing a mirror cut
Post by: Graham Waterworth on July 17, 2007, 08:37:17 PM
Try using a G51 x-1. at the start of your program and a G50 x1. at the end.

If you have any tool changes in the code you must set G51 at the start of the tool and clear it with G50 before the tool change.

The other way to do it is to set the scaling values on the program screen to -1. in X or Y.

Graham.
Title: Re: doing a mirror cut
Post by: docltf on July 18, 2007, 08:50:47 AM
thanks GRAHAM,i will try it out today.

bill
Title: Re: doing a mirror cut
Post by: docltf on July 18, 2007, 10:06:52 AM
GRAHAM
 
    i did what you said g0 x-1 y-1 same with scaling it flips left to right,bottom to top ok.but if i use g0 x-1 and flip it left
    to right the toolpath gets scrambled.i changed my IJ mode fraom absolute to inc thinking it would clean it up but it
    made no differance.the letters i am cutting are script style.what do you think,is there some more moves i can try.i
    have not tried to cut a part yet.

thanks bill
Title: Re: doing a mirror cut
Post by: Graham Waterworth on July 19, 2007, 11:40:22 AM
Post your g-code and let me have a look.

Graham.
Title: Re: doing a mirror cut
Post by: docltf on July 19, 2007, 03:29:55 PM
GRAHAM

          here is the code.i cut the part yesterday at 1/4 scale.i reversed the part by changing the X axis step pin.it ran perfect.
         
thanks bill
Title: Re: doing a mirror cut
Post by: Graham Waterworth on July 20, 2007, 10:15:50 AM
Have a look at my version of your code, run it in Mach normal and then mirror it.

DO NOT USE IT TO MAKE PARTS AS I HAVE NO IDEA IF ITS AS YOU NEED IT.

Look at the code and you will see the G02 and G03 lines are changed, this is why it works and yours did not.

Graham.
Title: Re: doing a mirror cut
Post by: docltf on July 20, 2007, 11:51:22 AM
GRAHAM

           thanks for the work. your version does what it is suppose to when you flip it around.the next thing would be is
           for you to tell me how to set my lcam so it will post g02 with R not IJ .i can't get my lcam set where it will post
           like yours.the version is the latest 2.01.

bill
Title: Re: doing a mirror cut
Post by: Brian Barker on July 21, 2007, 09:23:38 PM
I have the code for Lcam to output R's about 2/3's done and will add it to the list of things that Ineed to do :) I like R type programing ;) Also could you please try setting the scale to -1?

Thanks
Brian
Title: Re: doing a mirror cut
Post by: ART on July 22, 2007, 10:45:55 AM
Just one quick note here. With IJ code, the X and Y muct be scaled the same, so if you use -1 in the X, then you must use -1 in the Y as well. Shoudl work then..

Art
Title: Re: doing a mirror cut
Post by: docltf on July 22, 2007, 04:04:17 PM
ART
     i got a good look at you and the team as the family portrait of the last supper.LOOKING GOOD.i also want to thank
    the team for the wonderful work that is being done.Graham gave me some good pointers for moving the code with
    G and scale.Brian is working on the radius move.my part ran well with the current lcam and mach.so everything is
    good here.thanks team.

bill