I have the following arrangement of same height cylinders in constanct distances and with constant diameter.
Anyone knowing whether I can make cylinders with increasing height as we reach the center of the arrangement. Something like a 3D Gaussian bell whith cylinders instead of points.
The code I am using to create them is the following:
import bpy, random
from math import radians
from mathutils import Vector
row = 10
column = 10
for i in range(row):
for j in range(column):
l = Vector()
r = Vector()
d = Vector()
l.x = i*7
l.y = j*7
l.z = 1.5
d = 3
for xyz in r:
r.xyz = radians(0)
bpy.ops.mesh.primitive_cylinder_add(vertices=36,
radius=1,
depth=d,
location=l,
rotation=r,
)
Thanks!