MathLabs
Step 6 of 6: Beyond the sphere: why non-convex and toroidal solids can fail
In plain words

A coffee mug and a doughnut are famously the "same shape" to a topologist because both have exactly one hole running through them; a solid built like a picture frame, with a rectangular tunnel cut through its middle, is secretly a doughnut wearing a disguise. The whole flattening trick from Step 1 needed the surface to have no holes at all, so a framed shape breaks the proof at its very first move, not at some later technicality.

χ=V−E+F=2−2g,e.g. g=1 (a hole through the solid)  ⟹  V−E+F=0\chi = V - E + F = 2 - 2g, \qquad \text{e.g. } g=1 \text{ (a hole through the solid)} \implies V - E + F = 0
Detailed analysis

The argument built in Steps 1–5 rests entirely on one assumption used at the very first move: the polyhedron's surface, once punctured, can be flattened onto the plane without any edges crossing, which is only possible when the surface was a topological sphere to begin with. Convex polyhedra always have this property, but so do many non-convex ones (a dented cube, say) — convexity itself is never used anywhere in the argument, only sphere-like topology.

Terms in this step
Genus
A whole number gg counting how many holes/handles a surface has: g=0g=0 for a sphere, g=1g=1 for a torus (doughnut), and so on.
Euler characteristic
The quantity χ=V−E+F\chi=V-E+F computed from any polyhedral (or triangulated) surface; Steps 1–5 show it depends only on the surface's topology, not on its particular shape.