Blender 101

From bernie's
Jump to navigation Jump to search

Learning Blender

I'm slowly catching up and trying to learn blender so I'm just writing down a few things that frustrate me as an old maya/houdini user, and answer it as i go.

Some shortcuts

shift-a add objects

How do I animate text ?

Apparently you can't keyframe text easily. That sucks. However you can open up a python script, it seems you have to relaunch the script at every session.

# assumes you have a text object called 'Text'
import bpy

scene = bpy.context.scene
obj = scene.objects['Text']

def recalculate_text(scene):
    text = '--'
    cf = scene.frame_current
    if cf < 1800:
        text = ' '
    elif cf < 1920:
        text = 8
    elif cf < 2030:
        text = 5
    elif cf < 2180:
        text = 1
    elif cf < 2300:
        text = 2
   
    obj.data.body = f'{text}'

bpy.app.handlers.frame_change_pre.append(recalculate_text)

Will modify this if I find a more user friendly way of doing this.

How do I lock camera to view

This is kinda hidden amirite ? Shortcut to twirl/untwirl that little menu is 'n'

1PW3NEt.gif

Other random notes

  • The outliner forces sorting by alphabetical name ? Not by creation order.