Ejemplo n.º 1
0
def circle(position, radius=10.0, degree_steps=10):
    points = []
    face = []
    points = model_manipulation.generate_circle(radius, degree_steps)
    points = model_manipulation.add_offset(points, position)
    face = range(len(points))
    face.append(0)
    return points, face
Ejemplo n.º 2
0
def circle(raidus=10.0, degree_steps=20, position=(0,0,0)):
    points = model_manipulation.generate_circle(raidus, degree_steps)
    points = model_manipulation.add_offset(points, position)
    face = range(len(points))
    face.append(0)
    return points, face