MotionBuilder
Send selected Python code snippets or whole files from SublimeText to MotionBuilder via telnet.
Details
Installs
- Total 123
- Win 114
- Mac 0
- Linux 9
Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
MotionBuilderSublime
A Sublime Text 2/3 plugin.
Send selected Python code snippets or whole files from SublimeText to MotionBuilder via telnet.
Installation
Easy Install
You can install this plugin directly from Sublime Package Control:
https://packagecontrol.io/packages/MotionBuilder
Note: Due to current naming policies, the listed package name is MotionBuilder
- not MotionBuilderSublime
.
Manual Install
clone this repo into the
SublimeText2/3 -> Preference -> Browse Packages
directory:
git clone git://github.com/matthewkapfhammer/MotionBuilderSublime.git
Edit the
MotionBuilderSublime.sublime-settings
file, setting the port to match the commandPorts you have configured in MotionBuilder.Optionally edit the keymap file to change the default hotkey from ctrl+alt+shift+return to something else.
Note: Ideally you would make your custom changes to the user settings and not the default settings, so that they do not get overwritten when the plugin is updated.
Usage
To send a snippet, simply select some code in a Python script, and hit ctrl+alt+shift+return, or right click and choose “Send To MotionBuilder”. A telnet connection will be made to a running MotionBuilder instance on the configured port matching Python, and the code will be run in MotionBuilder's environment.
Beyond The Plugin
The function that sends a Python command to MotionBuilder can also be used in any external application.
See MotionBuilderSublime.py
-> telnet_write
Credits
MotionBuilderSublime is inspired by and primarily based on MayaSublime by Justin Israel.
Additional credit belongs to Chris Evans for sharing how to handle a telnet connection to MotionBuilder in his blog post, Creating Interactive MotionBuilder User Interface Tools.