MotionBuilder
Send selected Python code snippets or whole files from SublimeText to MotionBuilder via telnet.
Details
Installs
- Total 132
- Win 123
- Mac 0
- Linux 9
| Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 Packagesdirectory:
git clone git://github.com/matthewkapfhammer/MotionBuilderSublime.gitEdit the
MotionBuilderSublime.sublime-settingsfile, 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.