Search found 33 matches

by batFINGER
Wed Sep 19, 2012 6:11 pm
Forum: Python
Topic: How to add a sound strip to a speaker from command line
Replies: 2
Views: 1325

PPS on a closer look at your post I see you mention using command line. Don't think context override will work either. BTW I've made some tools to make animating with speakers and sound a bit easier http://blenderartists.org/forum/showthread.php?236729-Speaker-Tools-(Audio-Visualiser-Driver-Lipsync-...
by batFINGER
Wed Sep 19, 2012 4:50 pm
Forum: Python
Topic: How to add a sound strip to a speaker from command line
Replies: 2
Views: 1325

Hi here is a sound clip added from the console. using the op and overriding the context, to make the NLA_EDITOR area context.area. It adds a new track and clip for each active track. >>> C.object bpy.data.objects['Speaker'] >>> C.screen.areas[5].type 'NLA_EDITOR' >>> context = C.copy() >>> context["...
by batFINGER
Fri Feb 18, 2011 2:56 pm
Forum: Python
Topic: [Solved] how to give an f-curve actual meaning? (data_path?)
Replies: 8
Views: 4741

i doubt very much that any fcurve.array_index has a value of 13 in "real life"
pompei2 wrote: btw, if only fcurve.data_path would return

Code: Select all

'pose.bones["Second"].rotation_quaternion[0]'
in this case the fcurve.array_index would be 0
by batFINGER
Fri Feb 18, 2011 11:56 am
Forum: Python
Topic: [Solved] how to give an f-curve actual meaning? (data_path?)
Replies: 8
Views: 4741

For quaternion rotation the array_index in the fcurve is

0,1,2,3 => w,x,y,z

too easy eh?
by batFINGER
Thu Feb 17, 2011 6:48 pm
Forum: Python
Topic: [Solved] how to give an f-curve actual meaning? (data_path?)
Replies: 8
Views: 4741

Edit: Having thought more about the "decoupling" you stated, it would all make sense if only the following (or similar) would work (but it doesn't): my_armature.path_resolve(dp) dp being "pose.bones['BoneName'].location" Maybe this is a bug? What do you think? Edit end. Works for me >>>dp = bpy.dat...
by batFINGER
Thu Feb 17, 2011 2:58 am
Forum: Python
Topic: [Solved] how to give an f-curve actual meaning? (data_path?)
Replies: 8
Views: 4741

Hi pompy.. For data_paths like rotation, location you need to also look at the array_index. 0 for x, 1 for y etc. I dont think you can get which object the action belongs to from the datapaths in the fcurves. ob = bpy.data.objects["Cube"] dp = bpy.data.actions[0].fcurves[0].data_path #let's say its ...
by batFINGER
Thu Feb 17, 2011 12:35 am
Forum: Animation
Topic: Stuck keyframes
Replies: 4
Views: 3159

Works ok for me frix.

I'm using a version i built last night though, so perhaps it's something that's been fixed. You can get up to date versions from http://graphicall.org
by batFINGER
Thu Feb 17, 2011 12:11 am
Forum: Animation
Topic: Stuck keyframes
Replies: 4
Views: 3159

Change the value then insert the keyframe.

You can change the value of an existing keyframe by changing the value then right clicking and selecting replace keyframe.
by batFINGER
Wed Feb 16, 2011 11:47 pm
Forum: Rendering
Topic: How to make an animation created in blender appear in webpag
Replies: 2
Views: 1690

Hi Mikey Very interested in this topic too. There are some really interesting possibilities available with the new html5 canvas element... and webGL http://slides.html5rocks.com/#slide25 http://www.craftymind.com/factory/html5video/CanvasVideo3D.html http://www.zynaps.com/jslab.xml?id=envmap http://...
by batFINGER
Wed Feb 16, 2011 8:23 pm
Forum: Interface & Tools
Topic: Projecting Vertices on to a Plane
Replies: 12
Views: 13275

I'm not sure why you think you have to flip to and from edit/object mode. Set up a vertex group, set up an x axis projection shrinkwrap modifier, have it visible in edit mode, and when you assign verts to the group they'll project to the plane in the x direction. When you remove verts from the group...
by batFINGER
Wed Feb 16, 2011 8:01 pm
Forum: Interface & Tools
Topic: Projecting Vertices on to a Plane
Replies: 12
Views: 13275

You can select vertex groups with the shriinkwrap modifier... for instance it's bloody handy to use in conjunction with the mirror modifier to keep edge on x=0 plane... and just the edge not the whole object.
by batFINGER
Wed Feb 16, 2011 7:16 pm
Forum: Interface & Tools
Topic: Projecting Vertices on to a Plane
Replies: 12
Views: 13275

Think you'll find the shrinkwrap modifier is exactly what you are looking for.. you can choose projection and which axes etc etc. The modifiers work in edit mode you have to hit the "use modifier in edit mode" button to visualise it. To make the changes that the modifier creates "real" you need to b...
by batFINGER
Wed Feb 16, 2011 5:10 pm
Forum: Interface & Tools
Topic: Projecting Vertices on to a Plane
Replies: 12
Views: 13275

Have a look at the shrinkwrap modifier.
by batFINGER
Wed Feb 16, 2011 2:36 am
Forum: Python
Topic: Polling for whether a custom property is set.
Replies: 2
Views: 1140

Cheers for that.. much nicer... don't really need to check for ARMATURE either now i think of it...
by batFINGER
Tue Feb 15, 2011 11:30 pm
Forum: Animation
Topic: A realistic sea and movement
Replies: 3
Views: 3696