STUMPED! relative matrix transforms using cSharp/gh


#1

Hi All,

I am stumped… at step 1… I am trying to simply make a mesh box orient itself toward a point using transformations/change of basis in Csharp grasshopper.

The ambition is to learn to do relative transformations (scale, move, rotate) and cobble together a simple L-system.

Might anyone have any advice on this, please?

ChangeOfBasis.gh(9.0 KB) ChangeOfBasis.3dm(32.6 KB)


(Dale Fugier) #2

A change-of-basis transformation is used for changing from one coordinate system to another (world plane to construction plane, for example). If you are trying to orient, just use a rotation transformation.


#3

Sorry for the late reply…

Thanks that worked very nicely.