GearHeads Corner
February 26, 2021, 01:50:30 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: convert cartesian XY G code to polar coordinates G code for a scara kinetic art  (Read 162 times)
0 Members and 1 Guest are viewing this topic.
Dan Mauch
Full Member
***
Posts: 112


View Profile
« on: February 01, 2021, 03:44:32 PM »

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

Dan Mauch
Logged
ArtF
Administrator
Hero Member
*****
Posts: 5720



View Profile
« Reply #1 on: February 11, 2021, 11:23:34 PM »

havent seen such a beast...
Logged
Hessel Oosten
Newbie
*
Posts: 42


View Profile
« Reply #2 on: February 12, 2021, 05:46:40 AM »

Dan,

As Art already mentioned such a program would be a real BEAST....   Wink

Isn't it possible for you to set your G-code X and Y coordinat es in 2 columns/rows in Excel and put the formulas beside it ?

=SQRT((B1*B1)+(B2*B2))     (Pythagora s; distance)

=ATAN(B2/B1)*57.2958    (Cartesian to Polar; angle)

Hessel
Logged
Mooselake
Hero Member
*****
Posts: 644



View Profile
« Reply #3 on: February 12, 2021, 07:56:48 AM »

Something like this perhaps?

Kirk
Logged
Dan Mauch
Full Member
***
Posts: 112


View Profile
« Reply #4 on: February 13, 2021, 12:56:00 PM »

  A friend of mine converted a cartessia n G code to polar. He says it was pretty simple. He created a couple macro's to pull upo the code into a spreadshe et, do the conversio n and then revert the format back to a polar text file. Best of all he said that if I needed to convert many files he woul;d write a program to do that. But before I have him do that I want to get the scara running with the new harmonoic drive Y axis.
Dan mauch
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!