- Project Rhea — online learning community where students teach other students. The tutorials here vary in detail and quality. Generally they are more that a definition at mathworld, less than a step by step. Good for getting the highlights on an unfamiliar topic
- Wolfram Mathworld — Like wikipedia, but only for Math. Go here when you have no idea what an "Isotopic Kernel is or why you would care. Mathworld will give you 80+ entries that are linked.
- Wikipedia Math Portal — the place to find everything math related on Wikipedia.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import MASH.editor; MASH.editor.updateMASHEditor() | |
import MASH.api as mapi | |
import pymel.core as pm | |
# there's no reason to use pm, force of habit | |
# best to use cmds for implementation | |
name = pm.ls(sl=1)[0].name() | |
MASH.deleteMashNode.deleteMashNode('MASH1') | |
network_mash = mapi.Network() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pymel.core as pm | |
layers = pm.ls(type="displayLayer") | |
for item in layers: | |
if 'defaultLayer' in item.name(): | |
pass | |
else: | |
current_viz = item.getAttr("visibility") | |
print(item, current_viz) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pymel.core as pm | |
import vo_maya.core.vo_export as voe | |
reload(voe) | |
def weights_to_xml(object, xmlpath): | |
xmlfilename = object.name().split(':')[1] + ".xml" | |
pm.deformerWeights(xmlfilename, path = xmlpath, ex = 1, deformer = object.listHistory(type = 'skinCluster')[0]) | |
def xml_to_weights(filename, xmlpath): | |
meshname = filename.split('.')[0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#assumes target objects are selected, but really they should be found from network nodes | |
root = pm.group(name = 'GenChar') | |
voe.import_references() | |
pm.select(root, r=1) | |
pm.mel.eval('searchReplaceNames "Fkel_" "Skel_" "hierarchy";') | |
pm.mel.eval('isolateSelect -state 1 modelPanel4;') | |
#double check which pane |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window -e -tlc 1 1 polyTexturePlacementPanel1Window; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pymel.core as pm | |
object1 = pm.spaceLocator(relative = 1, position = (0,1,0)) | |
object2 = pm.spaceLocator(relative = 1, position = (1,0,0)) | |
constraint = pm.parentConstraint(object1,object2, maintainOffset = True) | |
#so, this first one returns nothing from my object | |
pm.listHistory(allConnections = True, type = 'constraint') | |
object2.listHistory(allConnections = True, type = 'constraint') | |
#idk if the params are wrong or what, but it doesn't get me shit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pymel.core as pm | |
import vo_maya.core.vo_export as voe | |
reload(voe) | |
#replace namespace | |
voe.replace_target_namespace("mesh", "r") | |
voe.replace_target_namespace("rig", "r") | |
voe.replace_target_namespace("char", "r") |
NewerOlder