algorithmic modeling for Rhino
I have a bunch of breps, kindof like a web, that split eachother where they connect at the ends. Each Brep is then a branch with several surfaces. I want to remove the trimmed surfaces, but the only way I can think to do it is keeping the largest surface of each branch and removing the others.
So I sorted them (image below) and got the largest one, but the list is sorted differently now and doesn't match the original list of surfaces. How can I tell it to get the largest surface of each branch? Or maybe this is the wrong way to go about it.
Tags:
plug your surfaces into A of sort, plug a of sort into L of list item, then reverse L, set i as 0. You may need to graft but I cannot tell as your "fancy wires" are off or you are working with a flat list.
just attach the file.
*went out for a run, needed a break from the computer :)
and yes, that's exactly right Michael, brilliant. I was trying to make those last few steps too complicated. I also hadn't realized how the "optional list of values to sort synchronously worked", good things
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by