Point at Surface corners

Hi,

I have BSplinesurface with 4 “corners”. Surface is generate from twisted Solid and Plane intersection. Is it a way to extract coordinates of these corners? I tried to use Point.ByUVParametersOnSurface(Surface, U, V [, D [, WithinSurfaceBoundaries]] ) with U=1,V=0 but got internal error in GS. Does U,V cannot be equal to 1/0 then WithinSurfaceBoundaries is on? Is it any other option?

Thanks in advance

Parents
  • Hi Peter,

    Per se, Point.ByUVParametersOnSurface( ) works across the full range of valid U, V values from 0 to 1.  

    Attached is a test case demonstrating how this works.  

    I suspect that you are encountering a specific situation, perhaps a clipped BSplineSurface, where the U, V value pair lies outside the clipped surface boundaries (because the entire surface is parameterized 0 to 1 and the clipped surface must lie within that parameterization).

    The internal error is most likely an indication that this error condition has not been equipped with a specific error message.  

    A more specific analysis of the case you encounter is possible when you provide your concrete case.

    Thank  you,

        Volker

    PowerGC 436.32.BSplineSurfacePoint.dgn  https://communities.bentley.com/cfs-file/__key/communityserver-discussions-components-files/360/PowerGC-436.32.BSplineSurfacePoint.gct

       

Reply
  • Hi Peter,

    Per se, Point.ByUVParametersOnSurface( ) works across the full range of valid U, V values from 0 to 1.  

    Attached is a test case demonstrating how this works.  

    I suspect that you are encountering a specific situation, perhaps a clipped BSplineSurface, where the U, V value pair lies outside the clipped surface boundaries (because the entire surface is parameterized 0 to 1 and the clipped surface must lie within that parameterization).

    The internal error is most likely an indication that this error condition has not been equipped with a specific error message.  

    A more specific analysis of the case you encounter is possible when you provide your concrete case.

    Thank  you,

        Volker

    PowerGC 436.32.BSplineSurfacePoint.dgn  https://communities.bentley.com/cfs-file/__key/communityserver-discussions-components-files/360/PowerGC-436.32.BSplineSurfacePoint.gct

       

Children
No Data