svenfraeys / sublimeblender Goto Github PK
View Code? Open in Web Editor NEWDevelop with Sublime Text 3 as an external script editor in Blender
Develop with Sublime Text 3 as an external script editor in Blender
when i move the SublimeBlenderAddon to the blender AddOn folder I cannot seem to recognize it in blender. has anybody tries using this in a mac?
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?
Hi thanks for your effort man, this amazing.
please add only execute selected line feature, may this come true ๐
Thanks a lot ๐
add a debug mode to the addon so it is easier to debug the issues of users
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.
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
Hi there,
Installing of the SublimeBlender package and the addon don't seem to work.
The Alt + P shortcut doesn't work I guess?
print output in blender and sublime.
This gives more option to the developer to choose where he wants the output.
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
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
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.
show a message for the user when opening the connection.
So users know that the connection is successfull or not
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' ()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.