Output all planes in same text format

Grasshopper automatically “translates” default planes to readable names, like “World XY”.

I am exporting a long list of planes to text files to use in another software. How can I prevent Grasshopper from this translation and just give me the normal values like for all other planes. I mean it’s kind of neat, but also a bit too simplified. I couldn’t find anything in settings.

I typically deconstruct the plane and text join the origin, x & y with a ;

I normally do that too, but since in the other software I import it in literally the same format, it seems silly to decompose, compose again as text.

Maybe @DavidRutten can add an option somewhere to not do any of the automatic translation stuff. It’s good for beginners, but after a while you know what a normal xy plane looks like in values.

Oh yeah, its actually quite a lot of work, since planes use ( ) normal brackets, but points use { } curly brackets. So you have to deconstruct twice.

It’s quite messy and very easy to get something wrong in there, just because of an “intelligent” feature.

I an see that being an issue, my use has always been for user text and rebuilding in GH. A good regex expression might be a solution.

Using Format is another way.

4 Likes

Heres a quick Python option (although it doesn’t round the values):

a = 'O('+str(x.Origin)+') Z('+str(x.Normal)+')'