I find that PlanarUnion fails silently on me quite a lot. I have two surfaces that I am very certain it should manage since they were first created via a CurveBoolean on the same set of curves. When I try to do a PlanarUnion nothing happens but I get no errors or indications from Rhino that it has an issue with them. I can get to my desired result by applying DupBorder on the two surfaces then doing a CurveBoolean. I also have checked with Python that they are coplanar.
The uploaded file has two surfaces that don’t want to get unioned together.
In context what I am actually trying to do it union together a couple of hundred or so surfaces. Doing DupBorder on all of them then CurveBoolean on this thing with many holes would be rather painful when a single command should be getting me there.
I am using Rhino 7 on a Mac if that makes any difference.
Thanks! That helped that particular case. I have another case from the same model that exhibits some nondeterministic behavior from a PlanarUnion. I have attached a video. I select all 6 surfaces and do a planar union. Then I get the result I am looking for. Then I undo it and try again. This time one of the holes gets covered up. I undo, select, planar union, correct result. Rather odd. I did a -RebuildEdges on them all before copy/pasting to a new document.
Thanks for the speedy reply! I will play with that a little. I see now zooming in that those particular curves are pretty messy. I could have been a bit more careful there.
But I am a little concerned that Rhino is exhibiting different behavior on what should be two identical runs. And since the surfaces in question came from a CurveBoolean on the same set of curves I would be expecting the surface edges to line up nicely. I will go through my model and fix up the bit you highlighted and see if Rhino is a bit happier with it all.
On the example I moved some points around a little and now I am getting some new interesting behavior. I select all and PlanarUnion and sometimes everything just gets deleted. Other times I end up with a surface that has no shade so more or less looks like it would in Wireframe when in Shaded. I am sure I can work on fixing up the input a bit more but neither of the results are good and are also very unexpected.
Thanks for the help. I changed the file tolerance and I am getting somewhat better results with my larger model. It looks like I can amend my workflow to PlanarUnion, then DupBorder, then a cleanup on minor curve artifacts, then a PlanarSrf on everything gives me what I want.