anoah
06-17-2003, 07:29 AM
Hi all,
Well I have managed to find and run the script to go from a Eagle board file to Gcode. Now the only problem I have is how do I mirror the GCode? The program works fine for the top copper but I need to mirror the bottom to have the traces in the correct orientation.
Thanks for your help!
Albert
CAMmando
06-18-2003, 11:08 AM
Assuming you disnt generate the code from a CAM system (in which case mirroring in the CAM system and reposting would be easiest), and assuming your control wont do it... Use an editor such as cimco, editcnc (you can search for free downloads or 30 day trial versions of these editors) they have a function that does this automaticaly.
If you are simply miroring about the X axis, all non-zero X values and I values get the sign changed from positive to negative or vice versa. The editors I mentioned also have a backplot feature that will display graphicaly the edited toolpath.
Try this link
http://www.editcnc.com/cnc-programming.html
CAM teh "left ... left ... left . right . left"
abasir
06-18-2003, 08:13 PM
In Eagle CAM, set the mirror option ON when doing the bottom side. This will automatically mirror your trace.
Another way is to reverse the direction setting in your CNC software; that how I do it if I can do it at source application.
speedracer
06-19-2003, 08:09 AM
I agree with CAMmando. Just follow his link and the rest should be history.
Try G51 X0 Y0 I-1000 J-1000
This will scale around point X0 Y0, with a scale factor of 100% (full size) and the - (minus sign) means it will mirror it in this plane.
So to mirror in X but not in Y use I-1000 J1000. Or just leave the J out. G51 X0 I-1000
Use G50 to cancel G51.
Atom.
Kookaburra
07-08-2003, 01:33 AM
There is also a very basic way that I have done and tested before in word pad.
Select Search and Replace from the menu.
Check match whole word.
Find X-
Replace with V$
Then find X
Replace with X-
Then find V$
And replace with X
Do this also with your I values in arcs
FYI this is a great way to change the axis integers if you are wishing to convert a Z plane program to an X or a Y plane program on a universal milling machine.
Kookaburra,
Mighty interesting! Haven't thought doing things this way. Normally i do mirroring, rotation etc on the machine....that's the nice thing of wire eroders, but if the machine can't do it, well.....
Klox