586,076 active members*
3,954 visitors online*
Register for free
Login
IndustryArena Forum > Manufacturing Processes > Milling > calulating circular and linear interpolation
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2020
    Posts
    2

    calulating circular and linear interpolation

    How to calculate circular interpolation and linear interpolation using C# or other language

  2. #2
    Join Date
    Dec 2013
    Posts
    5717

    Re: calulating circular and linear interpolation

    Jim Dawson
    Sandy, Oregon, USA

  3. #3
    Join Date
    Feb 2020
    Posts
    2
    the inputs are X,Y,I,J according to GM-codes...So that is confusing me

  4. #4
    Join Date
    Dec 2013
    Posts
    5717

    Re: calulating circular and linear interpolation

    First you use the I and J to calculate the the arc start and end points

    vStartI = I
    vStartJ = J
    vStartK = K



    If WorkPlane = "XY" Then vRadius = System.Math.Sqrt(vStartI ^ 2 + vStartJ ^ 2)
    RadiansStart = Math.Atan2(vStartJ, vStartI)
    RadiansEnd = Math.Atan2(vEndJ, vEndI)
    End If
    Jim Dawson
    Sandy, Oregon, USA

  5. #5
    Join Date
    Jun 2015
    Posts
    4154

    Re: calulating circular and linear interpolation

    hy aqeel, i can help you, but please be more specific : define the set of initial data, and what you wish to do with it / kindly
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

Tags for this Thread

Posting Permissions

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