G02,G03 convert to G01

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: G02,G03 convert to G01

Re: G02,G03 convert to G01

by Nate » Fri Feb 24, 2017 5:23 pm

If you're already parsing the G code and doing some kind of compensation on G01, it seems like it easiest way would be to also compensate on the G02 and G03 calls as necessary.

Re: G02,G03 convert to G01

by ArtF » Fri Feb 24, 2017 1:38 pm

I dont think that would be practical in this case. A single G3 would require up to hundreds of G1's to replace it
depending on arc length, and resolution of arc segmentation..
  Not a trivial task IMO, something that CAN be done, but hard to add as a command.

Art

Re: G02,G03 convert to G01

by marklazarz » Fri Feb 24, 2017 1:29 pm

You could load the G-code into Notepad++ and use the find and replace command.

Mark

Re: G02,G03 convert to G01

by ArtF » Fri Feb 24, 2017 2:21 am

Hi Anatolli:

I dont know of any program that will convert from g2/g3 to g1's. Usually you can program the CAM program to
not put out G2/G3 if thats desired. Gearotic doesnt use them as output typically. Im not sure Ive seen anything that
will load and convert the code.. not in that way anyway..

Art

G02,G03 convert to G01

by satco » Thu Feb 23, 2017 9:00 pm

Hi Art,

In one application I use 4 axis CNC for welding. position of the end of tool depend from corner A. If NC programe has only G01 commands, my convertor read this file, calculate dx=f(A), dz=f(A), add it to coordinates and write new NC.

When NC has G02 and G03 commands... CAM give me NC with G02 and G03 commands.
In Mach3 I try to use formula axis correction and have bad result (I do not have user manual for it).

If it is possible to convert NC file with G01, G02 and G03 commands to  NC file with only G01 commands, I immediatly add axis correction.

Help please with this convertor.

Best regards,
Anatolii.

Top