I am rewriting my routines to access to the unwrap_uvw modifier...
I am going to take advantage of it to include a function which selects shared vertices.

There is not a great difference to program it but I hesitate on the most practical way:
Does the function have to return the shared map vertices alone ? Or with all map vertices, including the shared map vertices ?

Could you explain the utility of the selection of shared map vertices?
That will give me an idea of the best way of returning the result.

Zbuffer

11 November 2005, 07:58 AM

Thanks for your input guys,
I just found a solution, kind of a hack:

i use
expandGeomVertexSelection()
and
contractGeomVertexSelection()
This does the trick !

so a fonction that would select the shared vertices for a single vertex :
uv=uv=modpanel.getcurrentobject()
...
fn getsharedvertices i =
(
uv.selectVertices (#{i})
uv.expandGeomVertexSelection()
uv.contractGeomVertexSelection()
s=uv.getselectedvertices()
return s
)

CGTalk Moderation

11 November 2005, 07:58 AM

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.

Follow Us On:

The CGSociety

The CGSociety is the most respected and accessible global organization for creative digital artists. The CGS supports artists at every level by offering a range of services to connect, inform, educate and promote digital artists worldwide. More about us on TheArtSociety.com