开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Converting XY cartesian G code to Polar G code


 

Has anyone created a excel spreadsheet or know of a program that will take XY g code and convert it to polar coordinate g code using G 16. I\m building a scar robotic arm and nbeed such a program.

Dan Mauch


 

开云体育

Can this help?

?

?

J

?


From: [email protected] [mailto:[email protected]] On Behalf Of Dan Mauch
Sent: Monday, February 01, 2021 3:35 PM
To: [email protected]
Subject: [MachCNC] Converting XY cartesian G code to Polar G code

?

Has anyone created a excel spreadsheet or know of a program that will take XY g code and convert it to polar coordinate g code using G 16. I\m building a scar robotic arm and nbeed such a program.

Dan Mauch


 

Years ago I wrote a C program to translate polar data to XY gcode. I have also written several C code programs to post process gcode and manipulate the XYZ values or build gcode files from data. It wouldn't be hard to write a C post processor to convert XYZ gcode with something like a "G9999 X0 Y0" to define center in the source to polar.


 

Thanks but I knew how to convert cartesian to polar but I have several thousand lines of cartesian G code that I want converted so one line at a time wouldn't work for me.
dan


 

The problem is that I am 79 and don't want to have to learn how to program in C .? Are you willing to write the post?
Dan


 

开云体育

Can this help?

?

mathsisfun.com/polar-cartesian-coordinates.html

?

J

?

?


From: [email protected] [mailto:[email protected]] On Behalf Of Dan Mauch
Sent: Monday, February 01, 2021 3:35 PM
To: [email protected]
Subject: [MachCNC] Converting XY cartesian G code to Polar G code

?

Has anyone created a excel spreadsheet or know of a program that will take XY g code and convert it to polar coordinate g code using G 16. I\m building a scar robotic arm and nbeed such a program.

Dan Mauch