Search found 5 matches

by philiplb
Mon May 30, 2011 9:37 pm
Forum: Python
Topic: How to do something if a float-val changed?
Replies: 0
Views: 742

How to do something if a float-val changed?

Hi, this way I can easily set up a button and react on the click in the declared operator: self.layout.operator("my.operator", text='Push me!') But how can I get a float slider? As far as I can read http://wiki.blender.org/index.php/Dev:2.5/Py/Scripts/Cookbook/Code_snippets/Interface , I can add a s...
by philiplb
Sun May 22, 2011 8:30 pm
Forum: Coding Blender
Topic: A way to set the background image and texture from Python?
Replies: 2
Views: 2164

Cool, thank you. :)
by philiplb
Wed May 18, 2011 6:45 pm
Forum: Coding Blender
Topic: A way to set the background image and texture from Python?
Replies: 2
Views: 2164

A way to set the background image and texture from Python?

Hi, I want to create some image data in Python and directly set it as background image in the 3D view. (like seeing yourself from the webcam). Is this possible with the Python API? And additional: Can I also create/modifiy texturedata from memory? Like seeing yourself from the webcam on a quad. :) A...
by philiplb
Wed May 18, 2011 6:38 pm
Forum: Coding Blender
Topic: Blender Addon with own qt gui
Replies: 3
Views: 3814

Yep, this is what I guess, too. :)
Is there a Python call which lets Blender process his loop one step?
Something like
bpy.continue()
If so, I could call it from the C++ Extension regulary.
by philiplb
Tue May 17, 2011 11:45 pm
Forum: Coding Blender
Topic: Blender Addon with own qt gui
Replies: 3
Views: 3814

Blender Addon with own qt gui

Hi, currently, I'm trying to write a Blender with it's own native gui. For this, I've written an Python extension in C++ which offers a function to show the qt gui until it's closed. I know, I should use Blenders own UI, but for this case, it's more or less needed to have our own gui. :) It works fi...