- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
how to extend edge to boundary of face
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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?
Re: how to extend edge to boundary of face
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-27-2010 08:07 AM
Hello Zeer,
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?
Regards,
Yogesh
Re: how to extend edge to boundary of face
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-27-2010 09:06 AM
The edges were extended before the projection, but this did not seem to matter. I will attach a script and source files
Re: how to extend edge to boundary of face
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-27-2010 09:26 AM
Hello Zeer,
The api takes project_options which allows you to specify a tolerance - did you get a change to play with that?
Regards,
Yogesh
Re: how to extend edge to boundary of face
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-27-2010 09:31 AM
Tolerance was default.
Re: how to extend edge to boundary of face
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-27-2010 10:14 AM
If you observe how far the wire extends past the edge of the face in the example script, it does not seem likely that the tolerance setting is the issue.
Re: how to extend edge to boundary of face
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-27-2010 10:42 AM
Hello Zeer,
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..
Regards,
Yogesh

