This file contains hidden or 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
| # Name: | |
| # easy_dewarp_reference_frames.py | |
| # | |
| # Author: | |
| # Hyuk Ko ([email protected]) | |
| # | |
| # Copyright (C) 2019 Hyuk Ko. All rights reserved. | |
| # | |
| # | |
| # 3DE4.script.name: Easy Dewarp Reference Frames... |
This file contains hidden or 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 maya.cmds as mc | |
| """ 로케이터 리스트 """ | |
| loc_list = mc.ls(selection=True) # [u'locator1', u'locator2', u'locator3'] | |
| for loc in loc_list: | |
| """ 사각뿔 콘생성 """ | |
| polycone = mc.polyCone(subdivisionsAxis=4)[0] |
This file contains hidden or 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
| # | |
| # | |
| # 3DE4.script.name: Flip Tracking Direction | |
| # | |
| # 3DE4.script.version: v1.0 | |
| # | |
| # 3DE4.script.comment: This tool will flip the tracking dirction of one selected point. | |
| # | |
| # 3DE4.script.gui: Manual Tracking Controls::View |
This file contains hidden or 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 shelf_Matchmove () { | |
| global string $gBuffStr; | |
| global string $gBuffStr0; | |
| global string $gBuffStr1; | |
| shelfButton | |
| -enableCommandRepeat 1 | |
| -enable 1 | |
| -width 35 |
This file contains hidden or 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
| # | |
| # | |
| # 3DE4.script.name: XZ Plane Flip | |
| # | |
| # 3DE4.script.version: v1.0 | |
| # | |
| # 3DE4.script.gui: Orientation Controls::Edit::Align Multiple Points | |
| # | |
| # 3DE4.script.comment: Align multiple selected points to XZ Plane. The operation requieres at least 3 Points. | |
| # |
This file contains hidden or 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
| """ | |
| Usage | |
| 1. Select Camera | |
| 2. Select Object Point Group(s) | |
| 3. Run Script | |
| """ | |
| import maya.cmds as mc | |
| selCamTrans = mc.ls(selection=True, long=True)[0] |
This file contains hidden or 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
| # BSD 3-Clause License | |
| # | |
| # Copyright (c) 2019, Hyuk Ko. | |
| # All rights reserved. | |
| # | |
| # Redistribution and use in source and binary forms, with or without | |
| # modification, are permitted provided that the following conditions are met: | |
| # | |
| # * Redistributions of source code must retain the above copyright notice, this | |
| # list of conditions and the following disclaimer. |
This file contains hidden or 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 template | |
| try: | |
| t.close() | |
| t.deleteLater() | |
| except: | |
| pass | |
| t = template.Template() | |
| t.show() | |
| """ |
This file contains hidden or 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
| # | |
| # Name: | |
| # atomClipboard.py | |
| # | |
| # Author: | |
| # Hyuk Ko | [email protected] | github.com/kohyuk91 | |
| # | |
| """ | |
| import atomClipboard |
This file contains hidden or 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
| from maya import cmds | |
| def main(): | |
| window = "graphEditor1Window" | |
| try: | |
| if cmds.workspaceControl(window, q=True, floating=True): | |
| cmds.warning("There is no docked '{0}'.".format(window)) | |
| return | |
| except: |