# - cone (array) - import Geom as D import Converter as C a = D.cone((0, 0, 0), 1., 0.5, 1.) C.convertArrays2File(a, "out.plt")
def cone(center, Rb, Rv, H, N=100): """Create cone of NxNh points and of center C, basis radius Rb, vertex radius Rv and height H. Usage: cone((xc,yc,zc), Rb, Rv, H, N)""" a = Geom.cone(center, Rb, Rv, H, N) return C.convertArrays2ZoneNode('cone', [a])