calulating circular and linear interpolation

Results 1 to 4 of 4

Thread: calulating circular and linear interpolation

  1. #1
    aqeel's Avatar
    Join Date
    Feb 2020
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default calulating circular and linear interpolation

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



  2. #2
    Community Moderator Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    5717
    Downloads
    0
    Uploads
    0

    Default Re: calulating circular and linear interpolation

    Jim Dawson
    Sandy, Oregon, USA


  3. #3
    aqeel's Avatar
    Join Date
    Feb 2020
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default

    the inputs are X,Y,I,J according to GM-codes...So that is confusing me



  4. #4
    Community Moderator Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    5717
    Downloads
    0
    Uploads
    0

    Default 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
    Member deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    4131
    Downloads
    0
    Uploads
    0

    Default 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

    we are merely at the start of " Internet of Things / Industrial Revolution 4.0 " era : a mix of AI, plastics, human estrangement, powerful non-state actors ...


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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

calulating circular and linear interpolation

calulating circular and linear interpolation