Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: takeshi on February 22, 2012, 09:21:31 PM

Title: combining gcode
Post by: takeshi on February 22, 2012, 09:21:31 PM
I searched manual and here for the answer. However, I cannot find one so..

I wish to combine several g codes tool paths into one batched job.
My part has drilled holes, a pocket, and an outer profile.. Right now I load each tool path for each step.
How can I combine all the tool paths into one so the job will run till complete?
Does mach3 have the ability to autoload or combine the paths?
I am not sure of the terminology used for this process.
Title: Re: combining gcode
Post by: HimyKabibble on February 22, 2012, 09:25:06 PM
It's called a text editor....
Title: Re: combining gcode
Post by: Overloaded on February 22, 2012, 09:31:16 PM
You can copy and paste all of the operations to one .txt file, then remove the M30's from the end of all but the last one and replace them with an M6 to allow you to change tools.
 
 
Title: Re: combining gcode
Post by: takeshi on February 22, 2012, 10:23:48 PM
thank you.
I was praying that an easier way to do it would be around.
Looks like I will write  a utility to do this auto..
Title: Re: combining gcode
Post by: Bill_O on February 23, 2012, 07:52:26 AM
are you still looking for a way to do this?
i have made a setup that you load 2 files and it opens and runs them in order.
you need to be able to do some custom screens and macros and custom buttons but it works well

bill
Title: Re: combining gcode
Post by: takeshi on February 23, 2012, 01:55:34 PM
yes, i am still looking for a way.. Any assistance is appreciated for sure.
Title: Re: combining gcode
Post by: mrprecise44 on February 23, 2012, 02:07:33 PM
Takeshi:

One Cam program that will produce your various machining operations into a total program is CamBam. You can try out the demo for 40 sessions. It is a superb program for Cam, but not a full-on Cad program. It can do Cad, but that is not it's basic function. For Cad, there is a superb, free, full featured program, DraftSight, by Dassault Systemes, the maker of Solid Works.   
Title: Re: combining gcode
Post by: takeshi on February 23, 2012, 02:21:50 PM
d'loading DraftSight
thank you..
Title: Re: combining gcode
Post by: Rubyg01 on January 18, 2017, 12:16:10 PM
Do you want to combine different programs into one and run them all at once to save loading multiple jobs and making toolchanges? This is a program which I wrote to combine x no programs together. It needs one reference point on the bed and then several other offsets where the items are to be placed. I tried using the G52 but could not get it working correctly so all the programs have had the x,y cords changed to suit the offset. The last tool is in head 2 so this will show offset from the image.