I have this file which has zoning areas as meshes and colorised. I am using an api to get this information and rhino3dm to bake them into a rhino file. The problem is smaller meshes get hidden underneath bigger ones and this is problem because I need the smaller meshes to be visible on top. Is there a way to do this?
I’ll attach my ghx file which actually does the sorting and creation of the meshes. zoning.ghx (85.2 KB)
PlanB: Since R Methods related with Mesh Bool ops (including Split) … well … work when they work, a rational solution (case: planar flat Meshes) is to extract the inner/outer Boundaries (as Curves) and then do something like this:
Sample ANY collection (overlapping or not - makes no difference at all) of valid closed curves/polylines/cats/dogs/whatever into a GH Crv Param component, internalize data and post a gh def containing ONLY that Param (or your Crvs or your Meshes in a R5 format file).
Forget all the rest (for instance how to re-assosiate the results with any kind of original meta data etc etc).
UPDATE: your things are like these: meaning a LOT of colinear vertices. Meaning that an other far more suitable C# is the thing to use first: I’ll test one (out of many available related with Polylines etc etc) soon.