Code Monkey home page Code Monkey logo

sublimeblender's People

Contributors

svenfraeys avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sublimeblender's Issues

namespace problems?

Hi,

the following sript works:

import bpy
import os
print(os.listdir('.'))

This one fails with 'os is not defined':

import bpy
import os

def go():
	print(os.listdir('.'))
	
go()

Any ideas?

Possible to only execute selected text?

The other day I was just thinking about making a similar package. Luckily I first did a quick search and found this one. Thank you very much!

I have one request: is it possible to add the functionality to only execute the selected text? That would be awesome.

Auto complete is slow some times and some times dosenot work

Its a great stuff. Thank you
It dose communication part very well and shows all the error and prints inside sublime. And i am able to Transformation scale etc i tried in test, also get applied in blender. Its great.
But the auto complete is slow or some times it dose not work.

Help me if i am doing some thing wrong. And by proper setting it would work ?

Ubuntu 12.04
Sublime 3
I am using blender 2.69.7

Blender seems to get the script but does not execute it.

After executing from Sublime, in Blender's window I get:

127.0.0.1 - - [20/Feb/2016 02:20:42] "GET /?scriptpath=C%3A%5CUsers%5CPLyczkowski%5CGoogle+Drive%5CBlender+Scripting%5CrTools%5CRTools36.py HTTP/1.1" 200 -

But the script is not executed.
Blender 2.76b, Windows 10 64

Missin bpy.context attributes

If you run print(bpy.context.active_object) from sublime, blender says:

AttributeError: 'Context' object has no attribute 'active_object'

i am new to python, so I don't know how to solve it. but in line 91 in your code you passing globals() and locals() to the exec() function:

exec(compile(open(scriptpath).read(), scriptpath, 'exec'), globals(), locals() )

and they return the current global and local dictionary, respectively to the current module. It seems to be http.server.BaseHTTPRequestHandler and not bpy, or am I wrong?

I am using Blender 2.72

Does not work

It appears this does not work in the latest version of Blender. It does not show in the search after installing. It did show in the Addons but does nothing.

fake_module: addon missing 'bl_info' gives bad performance!: ...

This Addon will not work with Blender 2.71 on Mac OS X (haven't tested on other platforms). The following error occurs when attempting to install:

fake_module: addon missing 'bl_info' gives bad performance!: '/Users/[redacted]/Library/Application Support/Blender/2.71/scripts/addons/SublimeBlender.py'

The user will only see the following in their information console:

Modules Installed from '/Users/[redacted]/path/to/SublimeBlender/SublimeBlender.py' into '/Users/[redacted]/Library/Application Support/Blender/2.71/scripts/addons' ()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.