Grasshopper

algorithmic modeling for Rhino

I'm trying to copy a text logo to points made in my definition.

 

How do I get the text to move to the points as one group?

 

In my definition I have the points split into 2 groups.  I'd like the text/logo's centerpoint to be used to distribute the logo at the points, but the logo doesn't stay together.

 

I must be missing something that is real obvious.

 

Thanks in advance.

 

 

Views: 417

Attachments:

Replies to This Discussion

Hi ryles,

 

sorry, haven't looked at your files yet. It should theoretically be possible to transform a set of objects as a whole. It just requires you layout the data structures exactly right.

 

As an experiment, I just added a new Geometry Type to Grasshopper called 'Geometry Group'. It should enable you to easily combine a collection of objects, transform them all in one go, then ungroup them again at the other end (or keep them grouped, either way they will preview and bake fine).

 

I don't know yet how well this will work, Grasshopper geometry has the assumption build in it's always a single distinct object. If this approach solves a bunch of common problems though I'll have to change that core assumption.

 

So far I've only added Group and Ungroup components, I can't seem to think of any others that might be useful. If you can, let me know.

 

Also, a group is a pretty inert sort of thing. You can transform it, but you won't be able to plug a group of curves into a Curve CP or Region Boolean component and make it work.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Sounds good David!

 

Any idea when the next release with this in it will be out, I've got a big project that this would make it a lot easier.

 

The files I uploaded are just a sample.

 

Thanks,

ryan

I think grouping would be a useful addition.  Thanks!

 

Perhaps it might be useful to have components to add or remove items from a group, but then I guess you'd need some kind of a "Group Viewer" to see what's in the group...

 

0.02

I can add stuff to sort items in a group, add items, insert items, remove items etc. All of these components would basically be the same as (Ungroup + PerformActionOnList + Regroup).

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Sold!

 

Out of curiosity, can Rhino show a list of objects in a group?  Something more compact that what "What" displays.

Filter items from a group, may be.

You mean remove items from a group by index? Like Cull? or what?

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Like if I have a group of named objects...  like Box1, Box2, Box3.

 

And I want to remove Box2 from the group.

How can you have named objects in Grasshopper?

--
David Rutten
david@mcneel.com
Poprad, Slovakia
No, just regular Rhino.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service