mariSublime icon indicating copy to clipboard operation
mariSublime copied to clipboard

Send code to mari from Sublime Text using command port

Mari Sublime

Send code to mari from Sublime Text using command port


Sublime 2 & 3 compatible

Installation

PackageControl

  • In Sublime Text, ctrl+shit+p > Package Control: Install Package
  • Search for Mari

Manual

  • Download the zip file, extract the archive and rename the folder to mariSublime.
  • In sublime ctrl+shift+p > Browse Packages.
  • Place the extracted mariSublime folder in the packages folder.

Setup

Enable Command Port in mari

  • Use mari.app.enableCommandPort( not ( mari.app.commandPortEnabled() ) ) to toggle command port in mari
  • You should see a plug icon CommandPort
icon enabled in the lower left corner.

In sublime

  • Select a code snippet and press "ctrl+enter". Selected snippet will be executed in Mari.
  • ctrl+enter with out selection will execute the whole file.

Acknowledgements

  • https://github.com/justinfx/MayaSublime
  • https://github.com/svenfraeys/SublimeBlender

Issue/Feedback

log them in the github issues or hit me on twitter.

Like it?

:star: this repo.