- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Spliting faces at discontinu ity result in insane faces.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-28-2011 08:14 AM
Spliting faces at discontinuity result in insane faces.
We are trying to split a face that contains a discontinuity; looking at the documentation (http://doc.spatial.com/index.php/Continuity) , we understand that we need to use
api_split_edge_at_disc (if there are discontinuity in the egdes)
and
api_split_face_at_disc (for the faces).
The edges are split with no issue in the original FACE,
but when we try to split the FACE the resulting split FACES are tested as insane with the following error : "pcurve direction != coedge direction" (INCONS_DIR).
pseudo code :
------------------
for all edges of the face
if (edges contain discontinuity )
split the edges (api_split_edge_at_disc)
check the face sanity : OK.
split the face. ( api_split_face_at_disc )
outcome is ok.
for all splitfaces
check the sanity : ERROR : pcurve direction != coedge direction
------------------
But, if I do not try to split the edges, the resulting faces from api_split_face_at_disc will be sane and no error will be reported.
The attached file :
bad_surface_JOURNAL_3D.scm : will load the SAT file after the split edge and will do the split faces.
bad_surface_JOURNAL_3D.sat : state after the split edge.
Thanks,
Maximilien Lincourt

