A Matter of Orientation
So after probably nearly 8 hours of working on the “Normalizer” script, I was paging through the help file and found that rhino had a command “Orient” and “Orient3D”. Dumbfounded, I read on to find the script function that completes the same task - Orient an object using 2 sets of 3d points. Essentially the function that I was previously writing. In 20 mins of revisions, the thing works flawlessly with some pretty stunning results. (See below) I have also included the code for this, with lots of comments and code that was commented out to show how things progressed, and how simple and clean the holy grail of functions was. While frustrating, it was probably good of me to refresh some linear algebra for the work to come.
In summary, I started here with these renderings of the unintended results described in the previous post. While not what I was looking for, these forms do exhibit some rather interesting emergent patterns:
And the script functioning as intended (almost):
This is definitely moving in the right direction although the code needs a few tweaks here and there (for example, right now the normal vector is drawn, it would be interesting to control this). There are also some interesting possibilities for the Orient functions and their children. Furthermore, now with the normalizer script complete, I may try to introduce attractors to the routine in order to explore ideas from a couple weeks ago. I should have some mock-ups in the next week for my future installation, as I compile ideas around the site, and work these out in code.
Click Here to view the “Normalizer” source
October 12th, 2007 at 3:29 am
Very very intersting blog and post.
Arch. Graziano- Italy
http://andreagraziano.blogspot.com/
October 12th, 2007 at 6:39 am
Gratzie! Your site looks great, are you writing rbv as well?
October 12th, 2007 at 8:46 am
No, i’m studing rhinoscript on mcneel 101 book and i collect rvb script to analyze structure and command.
I’ve make a post about your blog.
If you need mail me.
Arch. Andrea Graziano