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
global proc exportFbxWithName(){ | |
string $path, $oSel[],$sel, $output; | |
string $result = `promptDialog | |
-title "ファイルパス" | |
-message "UE4向けにアセットを書き出す場所" | |
-button "OK" -button "Cancel" | |
-defaultButton "OK" -cancelButton "Cancel" | |
-dismissString "Cancel"`; |
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
#softimage | |
#PlugInフォルダに直接入れてください | |
#ショートカットからTOG_WireShadeを Shift+F TOG_WireShadeをShift+ctrl+Fに登録するとZbrush風になります | |
import win32com.client | |
from win32com.client import constants | |
null = None | |
false = 0 | |
true = 1 |
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
app = Application | |
oSel = app.Selection | |
#選択オブジェクトのポリゴンを全て選択する | |
#選択ポリゴンの周囲エッジを選択 | |
#ゴテツさんの厚みつけを適応する | |
#生成したエッジを選択してベベルを実行する | |
app.SelectGeometryComponents() |
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
# -*- coding: utf-8 -* | |
import maya.cmds as cmds | |
def MirrorMesh(): | |
sellist = cmds.ls(selection=1,type="transform", l=1) | |
sellist = getMeshNode(sellist) | |
if len(cmds.ls("Sym_gr")) == 0: | |
parentLoc = cmds.spaceLocator() | |
parentLoc = cmds.rename(parentLoc,"Sym_gr") | |
else: |
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
# -*- coding: utf-8 -*- | |
import maya.cmds as mc | |
class SymIns: | |
def __init__(self, oGr, oIns, oNull): | |
self.oGr = oGr | |
self.oIns = oIns | |
self.oNull = oNull | |
#シンメトリモデルの管理用ノードに親子付け |
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
# -*- coding: utf-8 -*- | |
import maya.cmds as mc | |
def GroupNull(oName,oNull): | |
oList = mc.ls(sl=True) | |
#もし何も選択してないならエラー | |
if oList == []: | |
print ("Need select Objects") | |
else: |