I’m working on a script for early-stage CO2 calculations.
The goal is to be able to take simple volume studies like this one > use Ladybug Tools to create rooms (thereby auto-defining if a surface is a wall or a roof, etc.) > save the sub-divided geometry on a separat layer in rhino > export data to the Real-Time LCA webapp using Speckle and make the CO2 calculations there.
When I delve further into the geometry, I can see that the problem is, that there are small unnecessary points along the edges.
My current workflow to simplify the geometry is to explode geometry > DupBorder > SelSrf and delete the old surfaces > SelCrv > SimplifyCrv > PlanarSrf > Join.
If I have multiple similar room type like in this project, I turn these into blocks so that I only have to go through this process for each block type. If that’s not the case, I will have to go through the process for every room in the model…
This beckons the question: Is there a simpler way of doing in this in either native Rhino og grasshopper?
I’ve tried dabbling with some things in grasshopper myself for one of the troublesome rooms, but all my efforts lead to Invalid Brep’s…
Just gave it a try, but doesn’t seem to do the trick
I used ShowEdges to display the edges of the polysurface, then used MergeAllEdges, but the result was unchanged. Am I doing it right?
I can show you what happens on my end, step-by-step.
This is how the HBrooms look like before editing:
Unfortunately, PointsOn doesn’t work for polysurfaces. So in the picture below, I’ve exploded the polysurfaces and extrusions and turned on the points. I don’t know how the architect has modelled this geometry, but it seems like som of the points are outside the geometry itself.
That is expected behavior for trimmed surfaces.
In this case, some of those surfaces are trimmed from planes that were a lot bigger. While that is no problem per se, you can use the ShrinkTrimmedSrf command to bring the edges closer to the trim curves.
I’ve looked at your file several times now, but I never found this one:
In the file you posted, I can’t find any object that has redundant edges.
The only one that comes close is this one:
… but the angle between the surfaces in that front face is too large for them to be considered as coplanar, and thus they can’t be simplified.
-wim
Thanks!
When I use a display mode where the isocurves are turned off for planar surfaces, I see that this surface displays isocurves, which means it’s not planar.