- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Split surface if closed
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-11-2011 01:00 AM
Hi
I am wondering how I could
1) detect if (sur)face is closed
2) split it into sub(sur)faces, which are not closed
Regarding 1) I think I can use face->equation().closed_u/v(), where face is a FACE pointer.
Regarding 2) I have searched through the documentation/forum but am unsure what would be the most generic/robust way to do it.
How about splitting a surface by creating two intervals in u/v coordinates using subset_u/v(), and the creating two FACEs from the resulting surface instances?
Alternatively, maybe I could extract/create a wire along an iso-line of u or v (u/v_param_line()) and imprint it on the surface ...
Any hints/ideas would be welcome.
Thanks
Bryn
Re: Split surface if closed
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-11-2011 04:06 AM
I think that api_split_face is what you are looking for.
Re: Split surface if closed
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-11-2011 05:21 AM
Hi Vi2
Thanks. I tried it and it worked. Looking up the documentation I also found "api_split_periodic_faces", which is useful.
Thanks
Bryn

