MotionBuilder
Send selected Python code snippets or whole files from SublimeText to MotionBuilder via telnet.
Details
Installs
- Total 128
- Win 119
- Mac 0
- Linux 9
Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 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.