+ Reply to Thread
Results 1 to 2 of 2

Thread: IsPointInSurface bug?

  1. #1

    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

  2. #2
    Senior Member Steve Baer's Avatar
    Join Date
    Apr 2010
    Location
    Seattle
    Posts
    1,464
    Blog Entries
    19
    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

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts