Implementing Hyperbola in Grasshopper to get curvature lines of Ellipsoid

Hi, i want to make a dynamic model of the curvature lines of an ellipsoid, by intersecting it with its confocal Hyperbolics. To make them i wanted to use the hyperbola command rhino provides, but it is not available in grasshopper. Is there a way to implement already available commands into grasshopper via the script command?
And if it is possible, can someone point me in the right direction for sources to learn it.

Thanks in Advance.