So CPlane>Object , right? can you post an example of one that works for IP and not CPlane? It may be they use different tolerances for determining planarity…
it’s a script i had some help with from you and mitch. it prompts to select a planar surface to set the cplane on. here’s the script, maybe the tolerance on it is too tight? i’m not too sure how to troubleshoot it. there has been times where the script stopped because it said it was nonplanar. but i’ve dupped the border and made a planar surface fine.
here’s another oddity. try to set the cplane to planar surface, script throws error that it’s not planar. i extract the offending surface, untrim, and it reports as planar.
Hello - it looks to me like the check for planarity in the script is incorrect… still poking…
yeah, looks like a bug to me - if no tolerance is provided for the planarity check, it is supposed to use the model absolute tolerance but it seems to be using something more strict - if I specify the tolerance, in the script as the model absolute tolerance, it all works.
Yep, poking at it now… if I extract the face it works without tolerance as well. I’ll let the bigger brains have a look. Hm. Now it’s not the tolerance, it’s whether the face is attached to the rest of the brep or not, that seems to determine success… RH-62455 rs.IsPlanar() discrepancy