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
| proc change_current_active_handle( int $axis ){ | |
| string $cmd = ""; | |
| string $tool = ""; | |
| string $current_ctxt = `currentCtx`; | |
| switch( $current_ctxt ){ | |
| case "moveSuperContext": | |
| case "manipMoveContext": |
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
| typeId | typeName | classification | attributeCount | |
|---|---|---|---|---|
| 0x345dad01 | substance | texture/2d | 38L | |
| 0x346dad01 | substanceOutput | drawdb/shader/texture/2d/substanceOutput:texture/2d | 36L | |
| 0x41424141 | animBlendNodeAdditiveDA | animation | 12L | |
| 0x41424146 | animBlendNodeAdditiveF | animation | 12L | |
| 0x41424149 | animBlendNodeAdditiveI32 | animation | 12L | |
| 0x4142414c | animBlendNodeAdditiveDL | animation | 12L | |
| 0x41424153 | animBlendNodeAdditiveI16 | animation | 12L | |
| 0x4142424f | animBlendNodeBoolean | animation | 11L | |
| 0x41424641 | animBlendNodeAdditiveFA | animation | 12L |
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
| # -*- coding: utf-8 -*- | |
| import re | |
| import anyconfig | |
| from maya.api import OpenMaya as OpenMaya2 | |
| ############################################################################## |
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
| // Redmine Dashboard のチケット編集をページ遷移なしに | |
| // | |
| // https://github.com/Gera-IT/Redmine-Fast-Issues-Edit.git | |
| // redmine_overlay_issues_manager | |
| // | |
| // Path pattern: /rdb/taskboard.* | |
| // Type: JavaScript | |
| $(function() { | |
| var overlayTicketEdit = function() { |
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
| 945c945,946 | |
| #get inf bone list | |
| - #fullJointList = pm.skinPercent(meshSkinCluster,query=True, transform=None) | |
| + fullJointList = pm.skinCluster(meshSkinCluster, query=True, inf=True) | |
| if len(vertexList) > lagLimit: |
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
| ############################################################################### | |
| NUM_OUTPUTS = 333 | |
| NUM_INPUTS = 1 | |
| # this is the test code, softimage | |
| # no good | |
| # NUM_OUTPUT: 333 FPS: 9 | |
| # NUM_OUTPUT: 128 FPS: 22 |
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
| function select_execute(){ | |
| var title = "実行ファイルを選択する"; | |
| var initialDirectory = ""; | |
| var fileFilter = "py|js|vbs"; | |
| var filter = "Script Files(*.py;*.js;*.vbs)|*.py;*.js;*.vbs|All Files (*.*)|*.*||"; | |
| fileBrowser = XSIUIToolkit.FileBrowser; | |
| fileBrowser.DialogTitle = title; | |
| fileBrowser.InitialDirectory = initialDirectory; |
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
| /* | |
| * http://stackoverflow.com/questions/18279456/any-simplex-noise-tutorials-or-resources | |
| */ | |
| /* | |
| * A speed-improved simplex noise algorithm for 2D, 3D and 4D in kl. | |
| * | |
| * Based on example code by Stefan Gustavson ([email protected]). | |
| * Optimisations by Peter Eastman ([email protected]). | |
| * Better rank ordering method by Stefan Gustavson in 2012. |
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 cmds | |
| import maya.mel as mel | |
| DEFAULT_MAXIMUM_INFULENCE = 5 | |
| ############################################################################## | |
| #1頂点に影響するジョイントの上限チェックする | |
| ############################################################################## | |
| def check_maximum_influence(max=DEFAULT_MAXIMUM_INFULENCE): | |
| res = [] |