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
#maya.py [maya 2014] | |
#midi to animation script | |
import sys | |
import math | |
#sys.path.append('/Users/lg3bass/BW_MCP/BW_PROJECTS/BW_3D/MAYA_projects/MIDI_PY/midi/Up1_LR.mid') | |
#put the midiparser.py file in X:/Program Files/Autodesk/Maya2011/Python/lib so you don't need to specify the path explicitly | |
import midiparser | |
import pymel.core as pm | |
start_note="C,1" |
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 ngSkinTools.importExport import JsonImporter | |
from ngSkinTools.influenceMapping import InfluenceMapping | |
from ngSkinTools.mllInterface import MllInterface | |
from ngSkinTools.ui.events import LayerEvents | |
from ngSkinTools.ui.layerDataModel import LayerDataModel | |
def ngSkinToolsImport(fileName, targetMesh): | |
''' | |
loads a JSON file (previously exported with ngSkinTools exporter) and loads data onto provided mesh. |
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
// SPDX-License-Identifier: GPL-v3.0-or-later | |
pragma solidity >=0.8.0; | |
import 'https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol'; | |
import 'https://github.com/kalidao/kali-contracts/blob/main/contracts/libraries/Base64.sol'; | |
/// @notice Bind your Soul to an NFT Deed. | |
contract Soulbinder is ERC721("Soulbinder", "SOUL") { | |
/// ----------------------------------------------------------------------- | |
/// Soul Logic |
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
//SPDX-License-Identifier: MIT | |
pragma solidity >=0.8.0 <0.9.0; | |
import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
import "@openzeppelin/contracts/utils/Strings.sol"; | |
import "@openzeppelin/contracts/utils/Base64.sol"; | |
/** | |
* @title BuidlGuidl Tabard | |
* @author Daniel Khoo |