07-27-2010 07:55 AM
I have a situation where frequently after projecting and imprinting a wire onto a face with api_project_wire_to_body, the imprinted edge is just short of the boundary of the face. The face is usually a nonplanar spline, and the edges are nonlinear curves. Is there an API function to extend an edge to the boundary of a face?
07-27-2010 08:07 AM
Can you please journal couple of example and upload the test files and scripts? Have you tried extending the edges before the imprint to see if that improves the result?
07-27-2010 09:06 AM
07-27-2010 10:42 AM
May be this is an issue with the api...but try this (define res (bool:project-wire-to-body wire1 sheet1 (bool:proj-options "tolerance" 1) )) . I think this is a large tolerance but it gives the desired result...
Here are the options
1) Review the failed cases and try to determine a tolerance that you can safely use in your application
2) Report the failed cases to Support for further review
Extend the edge after it is imprinted is not easy. One thing to try is to find the closest point from vertex on the edge and create a new edge and then imprint the same...but that involves work..