Shapes & spaces

Convex polyhedron edge unfolding calculator with a nonoverlapping net witness

Search convex-polyhedron edge unfoldings through dual spanning trees and test face overlap under stated tolerances.

Your numbers

Valid JSON. Closed convex polyhedron vertices [x,y,z], cyclic convex polygon faces. Floating overlap predicates.
Valid JSON; preserve the shown array or object structure.

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

An edge unfolding cuts selected edges of a polyhedron so its faces can lie flat in one connected planar net. Faces stay rigid, and the remaining hinges preserve their shared edge lengths. A valid net must avoid positive-area overlap between face interiors.

THE FORMULAValidateclosed2manifoldconnectedmeshwithconvexpolygonfaces:eachundirectededge exactly2faces,planarfaceswithconsistentorientation,allverticesonehalfspaces eachface;exact/tolerancedeclared. Dualgraphfacesadjacentbyedge. Enumerateallspanningtreesuptoworkcap;rootface2D coordinates usingintrinsicframe, mapchild polygonacrosssharedhinge preservingedgelengths andplacingopposite side fromparent face; effectivelyunfolddihedral. Checkpositiveareainterioroverlapallpairs via robustconvexpolygonclip (sharedcut/noncutboundaryallowed; touchingboundarynotpositivearea). Returnfirstnonoverlapnet/tree andedgecertificate. Ifalltreesexhaustednone reportnoedgenetwithinmesh; ifcapexhaustedunresolvednotno-net. Conv

A worked example

With the prefilled inputs, edgeNetFound = Yes. Closed convex polyhedron vertices [x,y,z], cyclic convex polygon faces. Floating overlap predicates.

Good to know

Enumerates face-dual spanning trees until a nonoverlapping convex-face net is found or all trees exhausted. Floating planarity/convexity and area-overlap tolerances;boundary contacts allowed,no exact-predicate or general unfolding-existence theorem.

Cutting edges to flatten a polyhedron

An edge unfolding cuts selected edges of a polyhedron so its faces can lie flat in one connected planar net. Faces stay rigid, and the remaining hinges preserve their shared edge lengths. A valid net must avoid positive-area overlap between face interiors.

This calculator searches a bounded convex polyhedral surface. It does not solve unrestricted origami folding or allow arbitrary cuts through face interiors. The original geometry and adjacency determine which cuts are eligible.

Convex polyhedron edge unfolding calculator with a nonoverlapping net witnessRegular tetrahedron: a nonoverlapping star netface 0face 1face 2face 3Blue dashed: retained hingesside = 2√2; total area = 8√3; dual graph K₄ has 16 trees
Scroll across to see the full diagram.
Four rigid equilateral faces form a verified star net with no positive-area overlap. Every physical side has length2√2 and the total face area is8√3; the drawing uses one consistent display scale.

Compare with the Triangle mesh UV distortion calculator from supplied texture coordinates. Cutfaceadjacenciesandrigidlyunfoldfacesintoanexactedgepreservingnet; UVparameterizationgenerallydistortslengthsanddoesnotchoosecuttrees.

Supplying a valid closed surface

Closed convex polyhedron vertices [x,y,z], cyclic convex polygon faces. Floating overlap predicates.List the three-dimensional vertices and each face in consistent boundary order. This release accepts four through sixteen distinct vertices and four through eight faces, with three through eight vertices per face. Every edge must belong to exactly two faces, every vertex must be used and the sphere Euler identity must hold. Each face must be planar and convex, and the entire supplied polyhedron must satisfy the declared convexity checks.

A visually closed drawing can still contain duplicate faces, reversed adjacency or crossing polygon boundaries. These defects need rejection before unfolding. Planarity and convexity are checked with a tolerance scaled to the coordinate magnitude; this is floating geometry, not an exact-predicate certification. The first three vertices of every face must be noncollinear and its cyclic corners strictly convex.

A spanning tree of face hinges

Build the dual graph whose vertices are faces and whose edges represent shared polyhedron edges. A spanning tree selects hinges that keep every face connected without cycles. Cutting the other dual adjacencies allows recursive placement in the plane.

Different spanning trees can yield different nets, and a connected unfolding can still overlap. Enumerating a tree is therefore a candidate construction, not a success certificate. The search must test the geometric result after each recursive flattening.

Placing faces without stretching

Fix one face in a planar coordinate frame. Each neighboring face is unfolded across its shared hinge so the common edge coincides and the face lies on the appropriate side. Continuing along the tree places every face without changing its intrinsic edge lengths.

A two-dimensional reconstruction can use the face geometry directly, but it must preserve orientation consistently. Distances along every face edge and the area of each face provide checks. A visually approximate rotation that stretches a face cannot certify a net.

A regular-tetrahedron worked net

Use the four vertices whose coordinates are permutations of the stated alternating one and minus-one pattern. Every edge has length two times square root of two, and each face is an equilateral triangle of area twice square root of three.

The dual graph is K4 and has sixteen spanning trees. A star tree places three triangles around a central one without positive-area overlap. The net area is eight times square root of three, equal to the original total face area.

Overlap tests and the net diagram

Positive-area face intersection is the key rejection criterion. Shared edges and isolated touching boundary points are not interior overlap. The engine clips pairs of convex unfolded faces and rejects an intersection whose area exceeds its scaled floating tolerance. Boundary contact is allowed, but the test should not be described as exact zero-overlap arithmetic.

A static figure should label every face and distinguish retained hinges from cuts. The certificate can list its dual tree and per-face planar coordinates. That information lets another program verify edge lengths and pairwise overlap independently of the drawn image.

Complete search versus a work cap

If the tree search reaches its resource cap, the result is unresolved. It must not claim that no net exists. Exhausting all eligible trees would support a statement about that supplied mesh and exact search policy, not a blanket theorem about every convex polyhedron.

The general existence question for nonoverlapping edge unfoldings of convex polyhedra is not something this bounded browser search settles. Its output reports whether a candidate net was found, the number of complete dual trees tested, and the unfolded face coordinates, hinge edges and cut edges. The bounded work counter covers recursive choices and overlap tests rather than promising one hundred thousand fully enumerated trees. Enumerates face-dual spanning trees until a nonoverlapping convex-face net is found or all trees exhausted. Floating planarity/convexity and area-overlap tolerances;boundary contacts allowed,no exact-predicate or general unfolding-existence theorem.

A few questions, answered

Does every spanning tree give a valid net?

No; it gives a connected unfolding candidate that may overlap.

Do touching edges count as overlap?

Shared or touching boundaries are allowed; positive-area interior intersection is the problem.

What does a search timeout prove?

Only that the bounded search is unfinished, not that the polyhedron has no nonoverlapping net.

Can the calculator cut through a face?

No; the planned search uses existing polyhedron edges only.

Find your calculator

Start typing to explore the library.