-
IsPointInSurface bug?
Hi Steve -
I'm enjoying the new Python scripting capability in Rhino 5.0. The IsPointInSurface method is throwing an exception when I try to use it, however.
Message: 'module' object has no attribute 'coercepoint'
Traceback (most recent call last):
AttributeError: 'module' object has no attribute 'coercepoint'
I have asked the point that I picked (rs.GetPoint()) whether it was valid, e.g., rs.IsPoint(point); as well as the polysurface that I am working with whether it is closed rs.IsPolysurfaceClosed(polysurfObject). Both of these methods come back True.
Thanks,
Tim
-
Senior Member
Hi Tim,
Yep it's a bug/typo. The function should have called coerce3dpoint instead of coercepoint. This will be fixed in the next WIP.
Thanks,
-Steve
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules