Distribute / Orient on surface

I have 3 objects - 1 extrusion (closed solid) & 2 flat surfaces. I have a .GH that works very well on the extrusion but I can’t figure out how to include the 2 simple surfaces in the distribution. My input component is brep and when I try to input multiple breps I only see the closed extrusion oriented. I have tried to adjust the data stream with Flatten (&etc) on the brep and orient components with no joy. I have tried working with the objects blocked and used the various block components with no success. Grouping fails as well.

Any ideas how to get this collection (attached) to distribute?

TIA
Robb
CrossBit.3dm (6.0 MB)

You’ll have to be careful about “Data Matching”. In this case many objects to one location(separated by graft)is fine.

Orient_re.gh (16.0 KB)

Thanks for the input… Graft seems to work perfectly in your example, but when I try it in my full script, I get many additional objects way out in space from the desired location. I’m not clear on what you mean by “Data Matching”. There is a fair bit of location data coming in to the B port on the Orient component. I can’t share my full .GH as there is a lot of proprietary stuff but I am open to other suggestions.

For now I can continue baking the individual geometries into the same locations but it would be great to have them all in one go.

See No. 3.


And It’s good to study about data tree before you advance further. See 1.4 and 1.5 in the Grasshopper Primer.

https://drive.google.com/file/d/1Zgc4NzQ-arbs9zwjG98oJClRNbMWds-M/view

Thanks for the link - I had not seen that primer before. I’ll read up on data trees.