Grasshopper

algorithmic modeling for Rhino

Hi all,

Back in here after awhile of being too busy to do much...  I want to number a series of objects - they are slices obtained by sectioning a BRep.  I don't see much in the way of text or numbering tools in GH - maybe I missed something here...  I see the text tagger which I can bake into text dots - which will actually suffice for now, but aren't there any other methods?  Note in passing that there is no right click "Bake" menu item for Tag....

Auxiliary question: I am creating these numbers with the series component, from 0 to n step 1, n being determined by my list length (input into "T").  This always creates 1.0, 2.0,3.0 ...  when I would like it in integer form - 1,2,3...  I didn't see any way to "integerize" this aside from running the output from Series through a Params>Integer component...  might it be possible to have an integer output possibility with the Series component - or maybe I missed another way to do this...

As always, thanks,  --Mitch


Views: 2014

Replies to This Discussion

hey mitch,

see this definition for question number two. the Fx component support a command called "format" which allows a lot of stuff, including truncating floats.


best,frank
Attachments:
Hi Frank,

Thanks for that tip, I'll try to keep that in mind for future use. In my case just integerizing the number w/the integer component is easier... Pretty much finished with my first project here, will be starting on something else soon...

--Mitch
Mitch, there is also TextTag3d which bakes as text, not as dots (or is it the other way around)...in any case, there should be two texttag components, one bakes as dots, the other as text. Yes, casting a double to an integer with the params is a way to do this in some cases.
Ahhh, WAY better! I don't know why I didn't try that one, maybe it was the icon and the title 3D that threw me, I thought it would make some kind of text thingy hanging in space a little like what scribble does on the canvas...

Why is it 3D tag anyway? There's nothing 3D about it (yet) as far as I can see... If this makes text on a plane, it should be called PlaneText... :-)

Anyway, I like this better for this application than the regular tag that makes baked dots, so thanks, Luis.

I would wish for... the option to produce the text directly as curves and of course the choice of font - the second being hard I guess, but maybe one could cast 3 or 4 commonly used fonts into the component like with panels.

If text could be produced as curves, this component could have an output. (Or maybe we just need a new component to do all that)

Also, right click-bake on this component the same as for regular tag.

Thanks, --Mitch
Another question - is it possible to change the size of the Tag numbers on-screen? --Mitch
Mitch,

the 2D tags cannot be changed. There is a bug in Rhino somewhere that prevents me from doing this. You can however change the size of the 3D tags.

I hope we can get this fixed for Rhino 5.

--
David Rutten
david@mcneel.com
Poprad, Slovakia

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service