In the attached test model I had to set the tolerance to 0.002 to be able to make it replace all. I would appreciate it someone with better know-how of float point tolerances could comment on the code. (it might be that the geometry from Revit simply has too much deviance - but I'm not sure.) If there are places where I can reduce precision loss in my code.
NOTE: In the test model, the third window from the top left looks similar to some of the others, but it doesn't have the same number of faces. NOTE: Inspect Comparison (Debug) will colour some of the edges of the definitions you inspect.Īlright, I got to playing with the plugin for a bit.