I implemented (code attached) the possibility to set the Master/Slave Rigid-Body dependencies by specifying a (stright) line.
You use it by doing:
MASTer
LINEar (Xm(i),i=1,ndm) (Xsi(i),i=1,ndm) (Xsf(i),i=1,ndm)
RLINk (RLINK(i),i=1,ndf)
I don't know if this is useful for you but since it didn't take me much time and is very simple to add I though I might share it.
Best regards,
Miguel