If I already have my G-Code, is there a utility that will replicate it at a given offset in X or Y so that I can produce multiple items from a single piece of material?
A good question. My current control, wincnc can do this, and quite handy if using cam software that can't (Vcarve....I also have mastercam that has such arrays built in).
I've thought there must be something, but have not tried to look....will post if I find something.
Another option would be to get a python programmer (or whatever language) to write a program to copy, translate, and paste the code based on the array you want. If the arcs are incremental, should be fairly easy to do, I'd just suggest that you put some thought into what exactly gets translated and what is only one time at the beginning and end. Guru.com or odesk would make quick work of a well-defined project.
Thanks for your replies. I didn't think that anyone had responded from the list of threads as it showed no replies.
@rcs60 I didn't want to do it by offsets as I was sure that it would end in tears.
I shall look at the other links when I have the chance.
I have actually managed to do it with EXCEL. A bit agricultural but it works.
I will now be able to replicate the proven code and then cut and paste to consolidate all the bits that use the same cutter.
I don't have any fancy software and use G-Simple to generate the code. This then takes a lot of manual text work so that, say, thread milling actually cuts a righthand thread! A lot of Xs and Ys!!!!!!
or #2 - Use a Gcode Editor such as Ezilathe's that has the mathematical functions required to offset selected code as required.
Designed for lathe, but the basic editor functions can be applied to Mill. (Find at CNCZone/Downloads/Post Files)
Thanks Stutank. I thought about temporary offsets but that still leaves me swapping tools like a madman unless I swap offsets for each position for each tool. Possible but I think I will mess it up.
I will investigate Ezilathe as that is what I was looking for in the first place. The only one that I found with the mathematical functions didn't seem to want to include them in a macro.