def addCube(elementNode, faces, inradius, vertexes):
 square = [complex((- inradius.x), (- inradius.y)), complex(inradius.x, (- inradius.y)), complex(inradius.x, inradius.y), complex((- inradius.x), inradius.y)]
 bottomTopSquare = triangle_mesh.getAddIndexedLoops(square, vertexes, [(- inradius.z), inradius.z])
 triangle_mesh.addPillarByLoops(faces, bottomTopSquare)

def addCube ( elementNode , faces , inradius , vertexes ) : square = [ complex ( ( - inradius . x ) , ( - inradius . y ) ) , complex ( inradius . x , ( - inradius . y ) ) , complex ( inradius . x , inradius . y ) , complex ( ( - inradius . x ) , inradius . y ) ] bottomTopSquare = triangle_mesh . getAddIndexedLoops ( square , vertexes , [ ( - inradius . z ) , inradius . z ] ) triangle_mesh . addPillarByLoops ( faces , bottomTopSquare )
add cube by inradius .