8
$\begingroup$

I have little experience scripting thus far but want to develop my skills further. I am particularly interested in autocomplete features and looking to script geometry within one context for Rhino, Blender, and Processing. Atom handles Rhino and processing, but not sure how to make it work with Blender.

Edit: Is it possible to create an atom package for a bpy/bmesh autocomplete library and send scripts directly to blender?

Here is how Atom can be used with Rhino Python:

Atom with Rhino Python

Scripts can be executed within Atom.

$\endgroup$
  • 2
    $\begingroup$ Just to be sure, you're looking for an atom package for a bpy/bmesh autocomplete library? $\endgroup$ – gandalf3 Nov 4 '15 at 1:53
  • 2
    $\begingroup$ In theory, one can build blender as a python module, but last I heard it wasn't very good or easy to do. I'm not sure if this can plug into atom just by dropping it into the python module directory or if you'll have to build an autocomplete "dictionary" of sorts. (This is me just thinking out loud, for later research.) $\endgroup$ – Italic_ Nov 4 '15 at 6:43
  • 2
    $\begingroup$ There is a package for sublime: github.com/svenfraeys/SublimeBlender $\endgroup$ – p2or Nov 5 '15 at 13:28
  • 1
    $\begingroup$ related: blender.stackexchange.com/questions/31126/… $\endgroup$ – p2or Nov 5 '15 at 14:10
0
$\begingroup$

When I was doing this with sublime, I added a "build system" to sublime, essentialy "run this shell code on save", that would run a new headless (or not if directed to) blender instance that ran my script. It was slow but it did allow me to leverage an ide for writing my scripts. It's a bit like setting up a testing framework, and I would recommend additionally setting up a testing framework too so you can know if your script is working and still working without manually, visually inspecting your script results, if possible.

| improve this answer | |
$\endgroup$
  • $\begingroup$ Notably this is just one way you can approach this; Main comments have useful links as well to other setups^ $\endgroup$ – ThorSummoner Nov 6 '15 at 17:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.