Entries from 2014-04-01 to 1 month

Mapping On A Plane

# let u, v vectors on the plane. b the origin on it. # let a a point off plane. and n a normal of the plane. import sys import bmesh import numpy as np def mapOnPlane(a, b0, b1, b2): u = np.array([b1[0]-b0[0], b1[1]-b0[1], b1[2]-b0[2]]) v …

Seamed Line in Blender 2.6

bl_info = { "name": "Simple Liner", "category": "Add Curve", } import bmesh ########################################## # number of edges (vertices = edges + 1) n = 3 ########################################## def genVert(n): for i in range…