How To Unroll Surface For Material Yield

Hi all,

Like the title says, I am looking for help on how to unroll the surfaces of this “box” that I created, to look like my “target end result” for better material yield control if this were to be laser cut. See Picture below:

I am not sure the best way to control the orientation/snap of how one surface connects to another surface. I think part of it is the order that I BrepJoin my separate surfaces before I unroll them, but I haven’t discovered an order that achieves the result I need. See pic of object and script I am unrolling below:

Any help is greatly appreciated. Thank you!!

Grasshopper Script:

Controlling Object Unroll.gh (24.9 KB)

You need to unjoin the correct edges before unrolling.

1 Like

Controlling Object Unroll_rp0.gh (24.8 KB)

3 Likes

Exactly what I was looking for. Thank you so much Rajeev!

I want to start looking into code more, it gives so much flexibility on certain problem solving!

About unjoining edges with code…

1 Like