Is there anything in Grasshopper or the Rhino sdk that can find the
single rotation that transforms one orientation to another ?
(I know about the XForm Orient component, but that doesn't allow you to find scalar multiples of the transformation, eg for interpolating an object between two chosen reference planes, or applying the same transform multiple times)
I eventually solved it in Grasshopper with a rather elaborate geometric construction, but was wondering about an easier and more compact way through scripting. Are there any built in methods for getting rotation matrices or Euler angles, or would I have to start from scratch ?
Tags: