PDA

View Full Version : Aptsource to gcode



ngwagwa
02-01-2019, 10:14 PM
Hi,
I have been given a few CNC files in aptsource and need to convert them to Gcode. All is going well except for arc movements.

Has anyone got a routine to convert aptsource in the form of:

AUTOPS
INDIRV/ 0.878, -0.479, 0.000
TLON,GOFWD/ (CIRCLE/ 30.000, 30.000, 0.000,$
15.00000),ON,(LINE/ 30.000, 30.000, 0.000,$
37.191, 43.164, 0.000)
INDIRV/ -0.878, 0.479, 0.000
TLON,GOFWD/ (CIRCLE/ 30.000, 30.000, 0.000,$
15.00000),ON,(LINE/ 30.000, 30.000, 0.000,$
22.809, 16.836, 0.000)

into Gcode X,Y,I,J ?

I am using fortran (shows my age) but any language will do.

TIA