This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
import math | |
radius = .3 # long diagonal of hexagon | |
layers = 12 # number of rings of hexagons in grid | |
def makePrimitiveCircle(objName, v, r, f, loc, rot, lvl, layers=[0]): | |
bpy.ops.mesh.primitive_circle_add( | |
vertices=v, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
import math | |
from mathutils import Vector, Matrix | |
radius = .3 | |
layers = 12 | |
height = .1 | |
def makePrimitiveCircle(objRing, objNum, v, r, f, loc, rot, lvl, layers=[0]): |