is auto gcode line format conversion possible
-
hello, please is it possible to save a collection of changes? i have .asc ext gcode programs for a cnc router that i want to use on my waterjet which has a txt ext . most of the coordinates are the same but there are different command lines, spaces line numbers i need to add. ideally once set up i would want to just apply all the changes to another pgm file automatically. is that possible with notepad?
sample code here to change into 1 below
H DX850.00 DY1000.00 DZ20.00 -A C0 R0 *MM /DEF
%
F1
G0 X=307.86 Y=380.32 Z=10.50 V1000 S1 T11
G3 X=329.34 Y=397.93 I=329.34 J=376.03 V2000
G3 X=351.25 Y=376.03 I=329.34 J=376.03 V2000
G3 X=329.34 Y=354.12 I=329.34 J=376.03 V2000
G3 X=310.02 Y=365.71 I=329.34 J=376.03 V2000
G1 X=315.14 Y=326.64 V2000
G1 X=348.97 V2000.
into this, it is a diffrent drawing but the sort of changes are the same just not cordinates on this%
N10 R1049=3
N15 M99
[1]
N20 <STL>
N25 M101
N30 G00 X0.00 Y0.00
N35 M50
N40 G01 G41 X331.180 Y0.000
N45 G01 X331.180 Y-287.250
N50 G01 X0.00 Y-287.250
N55 G01 X0.000 Y0.000
N60 G00 G40
N60 M51
thanks for your knowledge -
Have you looked at either of these?
I don’t know if either of those is capable of reading the formats you use and then writing the data in the other formats you want to use.
I found the above links using Google for
notepad++ cnc plugin
as it seems what you are asking for is an editor that has the ability to “save-as” your drawing in various formats.