Search found 26 matches
You can control an object's size, rotation and location using the size, rot and loc attributes: import Blender for obj in Blender.Object.GetSelected(): print 'name is ',obj.name print ' location = ',obj.loc print ' rotation = ',obj.rot print ' size = ',obj.size print The rotation gives the Euler ang...
- Tue Dec 06, 2005 11:14 pm
- Forum: Python
- Topic: Beginner question: modifing a 3D text string
- Replies: 2
- Views: 1693
This should get you started. Select your text object, then run this script using Alt-P: import Blender Blender.Window.EditMode(0) text = Blender.Object.GetSelected().getData() if type(text) == Blender.Types.Text3dType: text.setText('Hello\nWorld') Blender.Window.EditMode(1) Blender.Window.EditMod...
- Tue Dec 06, 2005 10:58 pm
- Forum: Python
- Topic: New Mesh module -> setting face UV
- Replies: 5
- Views: 2943
Ok, that makes sense. The BPy faceUV code basically does the same thing as the blender UI code, which calls a function make_tfaces(). This function returns immediately if there are no faces.
The Armature API code has changed a lot due to the Blender armature redesign. Certainly you shouldn't get crashes. I'd suggest posting a sample script or blend in the bug tracker so someone can look at it.
- Mon Nov 28, 2005 7:08 pm
- Forum: Testing Builds
- Topic: bf-blender / Linux AMD64 2.40RC1 (2005/11/28) RC BUILD
- Replies: 9
- Views: 11431
Note: These builds have been removed. Use the final 2.40 release builds from this post. These are EXPERIMENTAL builds for Linux AMD64 for Blender 2.40RC1. Please test these builds and report any issues with them. For Systems with Python 2.4: Hardware Accelerated (Dynamic) - Software GL (Static) For ...