Today I investigated some problems we have with Snap to point and found two bugs in the way the points added to the scene are added to the Hinter Geometry list. I am currently investigating the code and testing for Points, and the first bug is in the way the point location is extracted: instead of using the Point3D interpreter, the TopToolsIndexedMapOfShape list is used and it returns the wrong point. The second issue is that the ExtractEdge method is called for points and a ‘mid point’ is added as well as the original point. For example, for (-1,375 ; -9,715 ; 0) the midpoint that was added was (-1,007 ; -9,714 ; 0). This would cause the Point Match conditions to be satisfied for both points, when it should only be done for the first one.
You must be logged in to post a comment.