Notifications
Clear all

[Closed] Help needed for UVW stuff, please

I have a number of ideas for manipulating UVW clusters, mostly along the line of assisting manual organising/ packing.

Although I have a bit of programming knowledge and managed to code a Flash game by studying the help files, I find it very difficult to do the same in this case.

For instance, I want to calculate the angle of the selected edge. I already stuck at getSelectedVertices() for getting a bitarray. How do I get the U and V coordinates of the vertices from there?

Another question would be: How can I transform multiple UVW clusters in a selection, but each cluster with different offset? So far I’ve only found moveSelected(), which applies to the whole selection.

It seems MAXscript requires a lot more fundamentals and won’t allow that kind of “knowledge on demand” of approach I used with Flash.

I know this is kind of stupid to ask, but does anyone care to enlighten me, please? Pointers are very much appreciated. I think the algorithms aren’t too big a problem for me once I understand how to access the vertices and their coordinates (hopefully).

Thanks in advance!

Also, if anyone is interested in doing some UV scripting for commission, feel free to PM me. (I hope this is not against the forum rules)