sine.py
import bpy
import math
for n in xrange(360):
    x = n
    y = math.sin(n * 20 * math.pi / 180.0) * 10
    bpy.ops.mesh.primitive_cube_add(location=(x * 10, y * 10, 1))
Sie können Sinuswellen mit Würfeln im 3D-Raum ausdrücken. Bitte verwenden Sie es, um eine 3D-Bühne zu erstellen.
Recommended Posts