• Parameters

    • graph: FOLD

      a FOLD object. not modified.

    Returns FOLD

    a new FOLD graph with exploded faces, if no faces exist, the input graph will be returned, because technically, all faces are triangles.

    Description

    Create a modified graph which contains vertices, edges, and faces, but that for every face, all of its vertices and edges have been duplicated so that faces do not share vertices or edges. Edges are also duplicated so that they do not share vertices. Edge assignments and foldAngles will remain and be correctly re-indexed. Additionally, if you only provide a graph with only vertices_coords and faces_vertices, then a simple face-vertex only graph will be calculated.