Triangulation Failed
Once Origami traced out all the paths in the dieline, but before it starts folding the shape, it converts the paths into the 3D mesh of flat, unfolded dieline.
Origami uses quite a smart algorithm to do so and in most cases everything works just fine. However, there is a chance that something goes wrong and Origami cannot convert paths to a 3D mesh. That’s when you get the “triangulation failed” error.
What To Do?
This is a tricky problem, but the root cause is almost always a misalignment of the elements. Something is not even in the shape, you just need to find what exactly is.
The quickest way to find out is to hide all the crease line and extra inner elements, so you get a flat dieline. It usually folds up this way and you can use that as a starting point.
Start showing crease lines one by one and checking if the shape still folds. Eventually, after adding another crease line, the error will return and that’s most likely the problem crease line.
Check if this line is properly aligned. Make sure if it is strictly vertical or horizontal (if it is designed to be like that). Make sure it begins and ends on cut lines’ vertices.
Additionally, make sure that this crease line is not shared between a few flaps. In that case consider splitting the line and assigning each flap its own crease line. Overall, we recommend avoiding sharing crease lines between flaps. Each flap is better to have its own crease line. This way Origami detects and shows errors better.
Once the problem is fixed, keep showing crease lines one by one and checking for folding errors. If it happens again, repeat the steps above to fix that line, too.
Once all the crease lines are back, show the inner elements to complete the shape.
If The Above Doesn’t Help
Check that you use the latest version of Origami. Check if there is a new beta version available, as the problem might be fixed there.
Make sure that you use the latest folding engine and that you fixed all the previous errors and warnings it reported.
Note that we do not accept reports for folding engines V1 and V2. Please only contact us if you have issues with the latest V3 folding engine.
Read more about folding engines
If nothing helps, please contact us directly. Please share your Illustrator project or saved Origami scene, so we can reproduce it here and suggest the further steps.
Want More Hints?
- Empty Layout — why there is no dieline visible?
- Path Is Not Closed — the dieline needs a solid, continuous outline path;
- Intersecting Holes — holes must not overlap;
- Overlapping Lines — cut and crease lines must not overlap, as well;
- Outside Hole — all holes must be inside the outline path;
- Invalid Crease — crease lines have limitations;
- Almost Vertical/Horizontal — crease line is probably misaligned;
- Impossible Shape — some shapes simply don’t exist;
- Misaligned Elements — ends must meet, perfectly;
- Elements Are Too Small — keep dieline paths simple;
- Interesting Curved Cuts — it might not be easy;
- Triangulation Failed — Origami fails to make a 3D mesh of a dieline;
- Z–Fighting — what to do with overlapping polygons.
Adobe and Adobe Illustrator are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.