def addMeldedPillarByLoops(faces, indexedLoops):
 if (len(indexedLoops) < 1):
  return
 if (len(indexedLoops[(-1)]) < 1):
  addFacesByMeldedConvexLoops(faces, indexedLoops)
  return
 addFacesByLoopReversed(faces, indexedLoops[0])
 addFacesByMeldedConvexLoops(faces, indexedLoops)
 addFacesByLoop(faces, indexedLoops[(-1)])

def addMeldedPillarByLoops ( faces , indexedLoops ) : if ( len ( indexedLoops ) < 1 ) : return if ( len ( indexedLoops [ ( - 1 ) ] ) < 1 ) : addFacesByMeldedConvexLoops ( faces , indexedLoops ) return addFacesByLoopReversed ( faces , indexedLoops [ 0 ] ) addFacesByMeldedConvexLoops ( faces , indexedLoops ) addFacesByLoop ( faces , indexedLoops [ ( - 1 ) ] )
add melded pillar by loops which may be concave .