Search found 894 matches

by CoDEmanX
Sun Sep 15, 2013 12:00 am
Forum: Python
Topic: Select_circle function in Edit Mode via Python
Replies: 3
Views: 1724

the operator requires the view 3d as context, but if you run from text editor or pyconsole, it's either of these. put your code inside of the main function of the operator template, then hit spacebar over view 3d, find your op and run it. Note that i suggest you look into bmesh module, as it makes i...
by CoDEmanX
Sat Sep 14, 2013 11:55 pm
Forum: Interface & Tools
Topic: Deleating Clips On VSE Crashes Blender
Replies: 2
Views: 453

crash on delete bug was fixed in 2.68a
by CoDEmanX
Wed Sep 11, 2013 12:56 pm
Forum: Interface & Tools
Topic: Sampling a color in Vertex Paint Mode?
Replies: 4
Views: 3489

i wouldn't consider it a bug, but a design limitation. The eyedropper requires a context (basically the connection to a FloatVectorProperty, subtype color), which we obviously can't set or override with python. The only way to invoke it seems to be the eyedropper button, which is part of the c-writt...
by CoDEmanX
Wed Sep 11, 2013 12:55 pm
Forum: Interface & Tools
Topic: Blender without Game Engine
Replies: 1
Views: 913

blender can be build without game engine, you could also just remove the render engine from the drop down i guess. Not sure though about logic editor and pyconsole, to fully remove every trace it would take some effort - and files might not be compatible with official blender if you removed two edit...
by CoDEmanX
Tue Sep 10, 2013 9:51 pm
Forum: Interactive 3d
Topic: Blender Open Source
Replies: 1
Views: 1729

1. the game engine is not entirely free or under a permissive license like MIT or FreeBSD, better be careful!

2. the content will be yours, you can use it for commercial products without fees.

4. Parts of blender / game engine are already C++, others are C. So generally not a problem
by CoDEmanX
Tue Sep 10, 2013 9:41 pm
Forum: Interface & Tools
Topic: Sampling a color in Vertex Paint Mode?
Replies: 4
Views: 3489

paint.sample_color is bound to S key according to input settings, but has no visible effect. The eyedropper can't be bound to a key, but you can use it by clicking on the brush color field, then the eyedropper button.
by CoDEmanX
Tue Sep 10, 2013 12:31 am
Forum: Interface & Tools
Topic: preview .blend files in windows folders
Replies: 3
Views: 1674

At least on windows 7, that should happen by default. Check you settings
by CoDEmanX
Tue Sep 10, 2013 12:28 am
Forum: Coding Blender
Topic: Updating Code
Replies: 2
Views: 3153

Between 2.49 and 2.6x, almost every changed for scripts. So it is not simple to update, you rather need to rewrite everything... better go with the old blendet
by CoDEmanX
Mon Sep 09, 2013 2:00 am
Forum: Python
Topic: Can a modifier be implemented purely in python
Replies: 1
Views: 394

No, you can't
by CoDEmanX
Fri Sep 06, 2013 10:42 pm
Forum: Python
Topic: rotation command?
Replies: 7
Views: 1274

the BGE module is only available while game engine is running, you can't test BGE-specific code "outside"

localOrientation or worldOrientation are the relevant ones, yes. They return a 3x3 rotation matrix. Not sure about the axis in bge, but -Y of the matrix might be the forward vector.
by CoDEmanX
Thu Sep 05, 2013 3:01 pm
Forum: Python
Topic: rotation command?
Replies: 7
Views: 1274

well, either post BGE script questions here with a note that it's about BGE or use the Interactive 3D section: http://www.blender.org/forum/viewforum.php?f=13 see this page for rotation in bge: http://www.blender.org/documentation/blender_python_api_2_68_2/bge.types.KX_GameObject.html?highlight=worl...
by CoDEmanX
Wed Sep 04, 2013 8:45 pm
Forum: Python
Topic: rotation command?
Replies: 7
Views: 1274

oh is it about the game engine?
by CoDEmanX
Wed Sep 04, 2013 2:34 pm
Forum: Python
Topic: rotation command?
Replies: 7
Views: 1274

Depends... do you mean the object rotation or the orientation of a mesh's data?

Object rotation can be read, from matrix_world.to_3x3() or the appropriate rotation_* attribute (depends on mode)

You can assign to these attributes, or use the transform.rotate operator. Angle.is.given in radians.
by CoDEmanX
Wed Sep 04, 2013 2:28 pm
Forum: User Questions that really belong on blenderartists.org
Topic: 2.49 to 2.68 transition advice needed
Replies: 5
Views: 4951

2. Google for that name, it is only available on two websites as it is not an official one

3. I worry you need to create your own to be up to date, use the user prefs > input to find out what is bound to what key
by CoDEmanX
Tue Sep 03, 2013 9:40 pm
Forum: Interface & Tools
Topic: REQUEST: Vertex Groups
Replies: 3
Views: 618

I see... well, there is no distinct "add vertex to vertex group" operator, only the "Assign" button - which assigns the set weight to all selected vertices. It adds unassigned vertices to the selected vertex group, but always sets the weight as set below the "Assign" button. Try the following: Desel...