Notifications
Clear all

[Closed] Get edges parallel faces in Unwrap_UVW modifier

I’m trying to find a way to get the faces on each side of an edge in the Unwrap_UVW modifier, but the only way I know how to do that is via:

polyOp.getFacesUsingEdge $ #{100}

However, that requires the edge index from the editable poly (which is different from the one in the modifier). I can’t find any function to get the editable poly index either.

Any ideas?

2 Replies

select edge and convert edge selection to poly

Was the first thing I tried. It works as expected and selects the parallel faces if you do it manually through the UI, but the only related function I saw in the documents required ALL of the faces associated edges to be selected otherwise the face wouldn’t be;

(modpanel.getCurrentObject()).edgeToFaceSelect()

And of course, the listener doesn’t show anything when you convert via the UI. -_-