def addOffsetAddToLists(loop, offset, vector3Index, vertexes):
 vector3Index += offset
 loop.append(vector3Index)
 vertexes.append(vector3Index)

def addOffsetAddToLists ( loop , offset , vector3Index , vertexes ) : vector3Index += offset loop . append ( vector3Index ) vertexes . append ( vector3Index )
add an indexed loop to the vertexes .