Shapes & spaces

Polyhedron edge unfolding calculator from a chosen face tree

Unfold an outward-oriented convex triangular polyhedron along a supplied face-adjacency tree, retaining face lengths and reporting planar overlaps.

Your numbers

Enter finite values within the stated bounds; coordinate rows may use commas.
One row of three zero-based vertex indices per face.
One pair of zero-based face indices per uncut shared edge.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Unfold an outward-oriented convex triangular polyhedron along a supplied face-adjacency tree, retaining face lengths and reporting planar overlaps.

THE FORMULAOne connected face tree has F−1 uncut hinges; each face is developed by edge lengths.

A worked example

The default right tetrahedron unfolds into four triangles with total area(3+√3)/2≈2.3660254 and no interior overlaps for the chosen tree.

Good to know

Closed outward-oriented convex triangular mesh, at most30faces and100vertices; valid spanning tree of shared face edges. Floating unfolding and planar overlap-area checks; a chosen tree can produce overlaps.

A chosen net rather than a promised universal net

An edge unfolding cuts selected mesh edges and hinges neighboring faces into a common plane. This calculator uses the face tree you provide. It does not search every possible cut pattern or claim that the first chosen tree must produce a nonoverlapping printable net.

The distinction matters even for convex polyhedra. A valid connected tree describes a development of the whole surface, but developed faces can cover the same planar region. Overlaps are therefore an output to inspect, not an error that is hidden by moving or shrinking a face.

Four triangles in a chosen tetrahedron net4 faces, 3 hingesRigid face developmentOverlap count = 0
Scroll across to see the full diagram.
The tree fixes which shared edges remain hinges; overlaps must be checked after development.

Compare this with the Polyhedral solid volume centroid and inertia calculator from mesh. Develop a polyhedral surface into a plane along user-chosen uncut hinges and report overlaps, rather than calculate volume or mass moments.

Preparing the solid and its face tree

Enter spatial vertices and outward-oriented triangular faces using zero-based indices. Every mesh edge must belong to exactly two faces, and every face plane must support the convex solid with the remaining vertices on its inward side. An open patch is not a closed polyhedron here.

Each tree row names two faces whose shared edge will remain uncut. The list must contain exactly one fewer link than faces and must connect all faces. A link between nonadjacent faces cannot act as a hinge, even if the two triangles happen to be close in space.

The right-tetrahedron worked example

The default solid uses the origin and the three coordinate unit points. Three faces are right triangles of area one-half. The sloping opposite face is equilateral with side square root of two and area square root of three over two.

Adding those four areas gives three-halves plus square root of three over two, approximately 2.3660254038. The selected three hinges develop the four faces without a positive-area overlap. Choosing another tree changes the net's layout but must not change any individual face edge length or the summed area.

Placing one triangle and developing its neighbors

The first face is placed with one edge along a planar axis. Its third vertex follows from the cosine rule and a nonnegative triangle height. This fixes an arbitrary rigid placement of the net; translating or rotating the entire result would describe the same unfolding.

For each adjacent child face, the two shared vertices already have coordinates. Distances from the child's third vertex to those endpoints determine two possible planar positions. The position across the hinge from the parent's third vertex is chosen, corresponding to opening the surface into the plane.

Why coordinates are returned per face

A cut can separate two copies of the same original mesh vertex in the net. Returning just one planar position for each spatial vertex would incorrectly glue those copies back together. The result therefore stores a separate triple of planar coordinates for every face.

Shared positions agree across retained hinges, while positions on cut edges can differ. Use the supplied face order and tree links when drawing the development. The shape of a single face remains a rigid copy of its spatial triangle, regardless of how many copies of a vertex appear elsewhere.

Detecting planar face overlaps

Every pair of developed triangles is clipped in the plane, and a positive intersection area above the tolerance is reported as an overlap. Two faces meeting along an intended hinge have a zero-area shared segment and are not counted as covering each other's interiors.

Very small slivers near contact depend on coordinate scale and finite arithmetic. The overlap result is a numerical check of the chosen development, not an exact symbolic certificate for a manufactured cutting pattern. In particular, printed line thickness and folding tabs require additional clearances beyond this geometric model.

Checks before using a net

Compare all three planar edge lengths of every developed triangle with its original spatial lengths. Their summed areas must agree with the original surface area. These checks verify local rigidity independently of whether the net happens to overlap or extend far outside a convenient sheet size.

For a printable design, inspect the reported overlap pairs, choose another face tree if necessary and add suitable tabs and tolerances separately. This calculator reports the mathematical development. It does not optimize paper usage, design a folding sequence or certify that a physical material will fold without interference.

A few questions, answered

Will every face tree give a nonoverlapping net?

No. The calculator develops the chosen tree and explicitly reports overlapping face interiors.

Why are vertex coordinates repeated?

Cut edges can separate planar copies of one spatial vertex, so each face needs its own coordinates.

Can I use an open mesh?

No. This page requires a closed outward-oriented convex triangular polyhedron.

Are touching edges counted as overlap?

Zero-area contact alone is not an interior overlap; positive clipped area above tolerance is reported.

Find your calculator

Start typing to explore the library.