Skip to content

Instantly share code, notes, and snippets.

@apertureless
Last active August 29, 2015 14:18
Show Gist options
  • Save apertureless/d667440e31b3f8bf4eba to your computer and use it in GitHub Desktop.
Save apertureless/d667440e31b3f8bf4eba to your computer and use it in GitHub Desktop.
ANI Praktium 0
# Wichtige Module Importieren
import bpy
import math
# Etwas Schreibarbeit sparen
objects = bpy.data.objects
context = bpy.context
ops = bpy.ops
ops.object.duplicate_move()
context.active_object.scale = (2, 2, 2)
context.active_object.location.x = -4
ops.object.duplicate_move_linked()
bpy.ops.transform.translate(value=(4, -6, 0))
bpy.ops.transform.rotate(value=(math.pi / 2), axis=(False, False, True))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment