Poalr coordinates
Close
Login to Your Account
Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2016
    Country
    SLOVENIA
    Posts
    2
    Post Thanks / Like
    Likes (Given)
    3
    Likes (Received)
    0

    Default POLAR coordinates

    Hy

    I have come here for asking for some help with polar coordinates.

    I have a part witch i must turn. And i must use polar coodinates on secodn spindle. I have swis type lathe. I have two numbers to mil on a face of a bar. I have calcualted number 1 in excel and use one of free converters, it work fine. Then made a 8 and it was great. Then i put all this stuf in the cnc, and i broke a tool. Problem is with F parameter in every block. There is none. So spindle is behaving iradical. So i went back to the table and looked at polar velocity and polar acelaration equation. so,... Now i think that it wopud be best to find some program witch can do this for me. Becose this is a lot of calcualting in excel, ( i can do it but it take time).

    My question is. How to get points on the circle of teh center with equal spacing or equal degrees ( here is the firs prorblem you will never get equal of both) or how to calculate F parameter for every move in excel or in some program cad cam or somthing.

    What are you using for such programs to do this. I have seen this in esprit program once. There must be other options.

    Do you have eny sugestions.

    thank you for your answer ant time.

    STARODAVNI

  2. #2
    Join Date
    Jan 2017
    Country
    UNITED STATES
    State/Province
    Washington
    Posts
    31
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    6

    Default

    I don't squat about CNC controllers, g-code, or anything of the sort. However, I do know polar coordinates. It should be super easy to set up a program in excel, mathematica, C, or other program to covert the polar coordinates to cartesian coordinates.
    As you know, polar coordinates are written in (radius, angle). Angle can be given in degrees or radians. Conversion to cartesian coordinates (x,y) can be written as (r*cos(angle), r*sin(angle)) where r means radius.

    For a more thorough and visual explanation, refer to this link:
    Polar coordinate system - Wikipedia

  3. Likes starodavni liked this post
  4. #3
    Join Date
    Dec 2014
    Country
    CANADA
    State/Province
    British Columbia
    Posts
    697
    Post Thanks / Like
    Likes (Given)
    243
    Likes (Received)
    328

    Default

    Medsar, he needs the polar coordinates because he is using a rotary axis in substitution for a linear one. A "Y" coordinate does him no good if he has no Y axis.

  5. Likes starodavni liked this post
  6. #4
    Join Date
    Jan 2017
    Country
    UNITED STATES
    State/Province
    Washington
    Posts
    31
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    6

    Default

    It's kind of coming out that I know jack squat about CNC....

    Thanks Hazzert for explaining that because I just wasn't getting it. If this next attempt isn't helpful, then I'm just going to edit my responses to delete them because I'm not helping the community here...

    Could you take an x-y cartesian system and wrap it around a cylinder to convert to a polar coordinate system? If I understand it right, the example that is brought up by Starodavni would be a round bar of radius, r, where you are engraving letters or numbers on the surface. And I am assuming the layout/canvas of these numbers are in a cartesian coordinate system? Make the height (or y axis) of your layout/canvas the circumference of the rod and the x-axis however long you want it to be.

    For the translation to polar coordinates:
    Imagine that we are going to wrap the canvas/layout around the round bar.

    For the y-axis:
    First we set a zero:
    The y axis coordinate gets converted to polar coordinates by setting cartesian y=0 as polar (r,0).
    For every other y coordinate, we calculate the angle in polar coordinates by converting the y axis coordinate value to a length on an arc with radius, r (of our round bar), and solving the equation for the angle, theta.
    length = (theta/360 degrees)*2*pi*r
    y axis coordinate = (theta/360 degrees)*2*pi*r

    For the x-axis:
    The x-axis now becomes the height the round bar. I'm no CNC guy here....is that the z-axis? Basically, the cartesian x axis now becomes the movement the height (or length depending on how one thinks about it) of the bar/cylinder.

    One key distinction that all your units must be the same. i.e. only use mm or inches etc for all the lengths. This, too, can be set up in an Excel program.

  7. Likes starodavni liked this post
  8. #5
    Join Date
    Dec 2016
    Country
    SLOVENIA
    Posts
    2
    Post Thanks / Like
    Likes (Given)
    3
    Likes (Received)
    0

    Default

    Hy

    i have onl x axsis and c rotation.

    I have put koordinates of leters in excel and calculated points with equal distances. Then i used some free program to convert stuf.

    I need F parameter.

    N100 X10.0 C=100.0 F10.0
    N110 X11.0 C=150.0 F12.0

    i need F parameter,every move needs its own f becose of polar velocity and akcelaration vectors. If i put f in the start then spidnle behave iradical.

    I need soem equation to calculate polar velocity in excel and poalar axelaration or some program like solid cam or edgecam to do this math for me. But i dont have programs and i dont now, if do i need some post procesor to get out g code in edgecam. In solidcam i now that postprocesro its a must.

    I hope i exsplained the problem.

    Second problem i did is this. I need a circle. I draw circle in the center of cortazian system and calculated points on the circle. Then i moved this circle to of center of cartezian cooriante system, and do the code. Problem is that this points from center of kortezian koordiante system dont have equal angle from point to point and this is problem. I hopet to get equal distance from point to point and equal angle from point to point in polar system. But this is inposible. So it is a must to have F. I woud need some help with equation for excel spreed sheet. It woud be nice. We can post it on the forum for people to have.

    I now for the conversion from polar to kortezian thanks, and back again. I do this in excel. It is equation only one for al 4 quadrants. You make a table nad calcualtes 1000 blocks in a second.

    Do enyone now how to calculate point( x and y) on the circle of center with with radius R so that distance betwen points is constant. This is ealy inresting. this woud be realy helpful. s eny matematician here.

    Thank you guys for the help and suport.

  9. #6
    Join Date
    Sep 2008
    Country
    UNITED STATES
    State/Province
    Florida
    Posts
    289
    Post Thanks / Like
    Likes (Given)
    25
    Likes (Received)
    70

    Default

    Does your controller support polar interpolation (G112 on a Fanuc). If so, it will be easy to do face milling using X & C.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •