Grasshopper

algorithmic modeling for Rhino

I have a number of planes and I would like to write them down into a txt file as matrices in, for example, this format:

0,0,0,0; 0,0,0,0; 0,0,0,0; 0,0,0,1

How? Thanks.

Views: 634

Replies to This Discussion

Matrices? (for some other CAD maybe?) or you actually mean DataTrees? (each quad of doubles in a branch, that is).

Thanks for your reply Peter, this is to orient a robot joint.

...

Thanks a lot Vicente,

It is useful to see the formatting but my question was, mostly, about getting to the actual matrix. You get a ready transform from Orient but all I have is a bunch of Planes output by Curve Frame component.

I'm using the orient component to get the transformation matrices from the world origin to a list of planes, which is what I think you want.

Your Curve Frame component output should be connected to the plane parameter in my definition.

I see. Many thanks.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service