Anyone knows how to call a function with a button inside a class? at the moment i have that code: #button calling functionsimport maya.cmds as cmdsimport maya.mel as melfrom functools import partial class B: text_entered="a" def __init__(self): self.create_window() def printText(self): print(self.text_entered) return def…
Greetings Adventurers. I've been working on this .357 mag for a little while and figured I should post some progress to try and get some feedback / insight. :) Here is the low poly with a basic diffuse, normals and spec/gloss. Wires. Low poly with AO / Normals. This is the high poly minus some surface details added to the…
Hi Guys. I've been working on Procedural Terrain Generation in Maya. Here is the Youtube demo https://www.youtube.com/watch?v=PZQyjntvO_g . If You have any ideas about what should I add, edit or remove I would be glad to hear more from You.
I'm currently optimising some very tri heavy meshes and wondered if something that can be scripted to sort a bunch of selected meshes based on their tri count. I have found this script that sounds like its the exact sort of thing I need but it doesnt seem to work.…
Hello, everyone. I've found a topic that is already leading me in the right direction: https://www.blender.org/forum/viewtopic.php?t=28466 However, this script only writes what vertex group contains what amount of vertices. What I would like to do is write out the vertex indices that are used within that vertex group to a…
Looking for a function which returns a list of all UV shells from a selected object. Most of the stuff I found on the internet is a bit hacky and doesn't end up working well. I read through the official docs and I couldn't find anything like this so it makes me wonder does it even exist. Basically I would need a list of…
hi, I wanna search for intersecting faces between two objects, and then delete or select them. I know Boolean can be similar, but the results I want is to avoid creating more Tris. I just want to select the components that intersect in the original objects. I thought it was a very simple and universal appeal when you're…
I use a simple toggle wires script to toggle the wireframe of the objects in my viewport on/off. However, I’d like to take this a step further: to any cutters visible in the scene (regular geo with its display type set to WIRE), also them vanish on/off too. I believe the quickest way would be to toggle the Show in Viewport…