Hi there,
I'm trying to make cam paths for multiple parts, i got as far as making a grid of parts in an assembly, and was able to create toolpaths for all.
The thing is, it will make a pretty good nc file, with the right toolpaths, but it will actually only create one full toolpath, then for each duplicate of the part it will reference to the toolpath, instead of having a toolpath for each part.
Now this wouldn't normally be a problem, but my cnc software (planet-cnc) doesn't know how to handle it.
This is the nc code i'm getting:
https://pastebin.com/iyVD636A
If viewed on ncviewer.com you can see what i mean. It will mvoe to the position of the next part, but you don't see the toolpath for that position, which planet-cnc doesn't know how to deal with.
I hope i have been clear in my explanation, if not, i can always elaborate, or give some screenshots.
EDIT: So i've done some more digging, what i was reffering to are subroutines, now i found that planetcnc doesn't use the regular subroutines code (M98) But uses the O-codes.
Maybe someone is familair with planet-cnc, abecause i have edited the code to correspond with their O-codes, but now an error is thrown that there are "Too many subroutine levels" now i can't find anything about that, and am not sure what they mean by that.