How to calculate circular interpolation and linear interpolation using C# or other language
How to calculate circular interpolation and linear interpolation using C# or other language
Here is a good start https://docs.microsoft.com/en-us/dot...tframework-4.8
Jim Dawson
Sandy, Oregon, USA
the inputs are X,Y,I,J according to GM-codes...So that is confusing me
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
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