Hi Amit,
I tried it here and it seems to be working properly for me.
I built all libraries in VS 2015 and then added that class to gcodeinterpreter project and then rebuilding it.
good.
But after that when i am trying to move A axis and C axis, there is no movement in X, Y, Z.
That actually should depend on where you are. If your position happens to be on the center of rotation of the A/C Axis then there should be no movement in XYZ.
I'm thinking the wrong Kinematics Class is being selected. The behavior you are observing would occur if the CKinematics3Rod class was selected. That is the result if Kinematics is to be used but the name in the Kinematics.txt file doesn't match any of the defined types. That's why I asked you to set a breakpoint and verify the correct class is called.
Maybe you miss typed the name in the Kinematics.txt ?? It should be 5AxisTableAC with no quotes
Or the code change in CCoordMotion was not made correctly to select the new class. Did you miss adding an "else". It should be like:
Code:
if (strstr(s, "5AxisTableAC") != NULL)
Kinematics = new CKinematics5AxisTableAC;
else if (strstr(s, "5AxisTableBC") != NULL)
Kinematics = new CKinematics5AxisTableBC;
else if (strstr(s, "5AxisGimbalAB") != NULL)
Kinematics = new CKinematics5AxisGimbalAB;
else if (strstr(s, "GeppettoExtruder") != NULL)
Kinematics = new CKinematicsGeppettoExtrude;
else if (strstr(s, "Geppetto") != NULL)
Kinematics = new CKinematicsGeppetto;
else
Kinematics = new CKinematics3Rod;
On a side note I hadn't realized the code I sent has this defined:
ASaddleZCenterpoint = 4.000; //Machine Z coordinate of A rotation axis
This assumes the XYZ Origin is on the surface of the platen and the A rotation axis is 4 inches above that point. You will likely need to change that.
HTH
Regards