Hello,
Where did you get your XYZABC values from? It is important to remember that KUKA|prc uses the X-axis as the tool axis.
See attached an example how that may work, in this case with the exemplary values of Z= 208 and B=-90. B is that value, because if you look at the figure of the Custom Tool screen, X is facing "downwards", which would be 0/0/0. If the toolaxis is normal to the flange, the least rotation would be turning B by negative 90 degrees. Note that of course there are more valid combinations.
Also, take care to place your tool geometry as if the Rhino coordinate system were the flange coordinate system (where +X is facing "downwards"). The tool geometry should be only one single mesh, with not too many vertices in order to optimize the speed of Grasshopper. Having an extremely complex mesh may slow everything down.
Hope that helps, let me know if you still get stuck somewhere!
Best,
Johannes
Where did you get your XYZABC values from? It is important to remember that KUKA|prc uses the X-axis as the tool axis.
See attached an example how that may work, in this case with the exemplary values of Z= 208 and B=-90. B is that value, because if you look at the figure of the Custom Tool screen, X is facing "downwards", which would be 0/0/0. If the toolaxis is normal to the flange, the least rotation would be turning B by negative 90 degrees. Note that of course there are more valid combinations.
Also, take care to place your tool geometry as if the Rhino coordinate system were the flange coordinate system (where +X is facing "downwards"). The tool geometry should be only one single mesh, with not too many vertices in order to optimize the speed of Grasshopper. Having an extremely complex mesh may slow everything down.
Hope that helps, let me know if you still get stuck somewhere!
Best,
Johannes