Grasshopper

algorithmic modeling for Rhino

Explode 3D Fabrication into 2D parts on a single plane?

Hi All,

I am looking for guidance as per the title. If anyone has suggestions on a methodology or components I could use that would be excellent!

We are building a scale model of a dam using multiple flat panels, to physically test its spillway. 

I built the model in 3D in rhino and our fabricators have requested shop drawings, so I was hoping to use GH to rotate all the parts into a single plane for dimensioning.

Model looks like this:

I was thinking the following may work:

  1. Explode each piece and find the areas for each face.
  2. Find the face with the maximum area and work with that.
  3. Use face with max area as a reference plane
  4. Draw a vector along one edge of face with max area and use this to align with some reference vector.

Not quite sure how I will actually code this up yet, so would appreciate any input if anyone has any ideas.

Kind Regards

Lyndon

Views: 2034

Replies to This Discussion

You may be able to do this without Grasshopper - have you tried the Unroll Surface (_UnrollSrf) command in Rhino? 

Maybe extracting surfaces (_ExtractSrf) may help too.

Hi Kalin,

Unfortunately these commands wont help in my case. Since each of the individual parts are 3D and represent the material they will be built from.

I need to somehow unroll a a hole set of 3D objects.

Thanks for the suggestion.

Kind Regards

Lyndon 

Try Ivy

It's a plugin 

A quick look, and it appears this is for Mesh's so i doubt it will work for 3D solids. Have not tried it however - Kalin has given me a good solution i think.

I would guess the long ways about it would be to _ExtractSrf or _DupFaceBorder each object individually, then orient them however you need to.

Through Grasshopper, you could try these:

However, the projected faces still need to be moved around on the plane to avoid overlap.

I hope this helps!

Attachments:

Thanks Kalin,
I think your definition gets me most of the way there.

I need to retain the 3D geometry as some panels have chamfers on edges, but plugging the breps back into the geometry on the orient component should do that.

I might write something to space them out as well - and will upload once I am done.

Thank you for the help!

Thanks all for your assistance. 

I have the script up and running and it has saved us a bunch of time. I added labels to the original model (Coarse, but functional), rotated and separated all the parts and added labels and layer names to the exploded view. 

Model View:

Resulting 'explosion' :)

Thanks again for the help, I have attached the GH file for anyone else who may need this.

If anyone does, and gives it a tidyup it could certainly use aligning of the text labels applied to the model!

Cheers all!

LJ

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service