Grasshopper

algorithmic modeling for Rhino

Hi all, sorry if this has been covered already. I'm writing a simple area-calculation definition (working in 2D w closed planar curves) and I want to simply place a text object on the center of the area, which will update as I drag control points around in rhino. It would also be nice to have dynamic dimensions locked to control points...

does anyone have an elegant solution to this, without using a lot of scripting?

thanks

Views: 1050

Replies to This Discussion

One thing you could do is to make the closed planar curves into planar surfaces...then use the area component (Surfaces.Analysis.Area ... denoted by the m2 icon). This gives you the area and area centroid...using a text tag component, you can feed the location (area centroid) and area... Is this what you were after?
Yep, that does it. It would be nice to be able to output a text object, but this is fine. Thanks.
Evan,
If I am not mistaken, the Text Tag and 3DText Tag can both be baked...one gives you Dots, and one gives you a text object...
Luis,

I couldn't find the option to bake the text tag and 3d text tag objects natively in GH. I remember struggling with the same issue a while ago, and I had to use one of Giulio's components to bake the text as Planar Surfaces.. Do you know of a way to baking text directly?

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service