From a58e8e6d586cf1fe4e8d5a8a7285f09499b3e082 Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Sun, 13 Sep 2020 22:44:17 +0200 Subject: [PATCH] fix copy/paste comment stuff --- extensions/fablabchemnitz/paperfold.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/extensions/fablabchemnitz/paperfold.py b/extensions/fablabchemnitz/paperfold.py index ae09979d..90298c4e 100644 --- a/extensions/fablabchemnitz/paperfold.py +++ b/extensions/fablabchemnitz/paperfold.py @@ -12,7 +12,7 @@ from inkex import Transform, TextElement, Tspan, Color """ Extension for InkScape 1.0 -Import any DWG or DXF file using ODA File Converter, sk1 UniConvertor, ezdxf and more tools. +Paperfold is another flattener for triangle mesh files, heavily based on paperfoldmodels by Felix Scholz aka felixfeliz. Author: Mario Voigt / FabLab Chemnitz Mail: mario.voigt@stadtfabrikanten.org @@ -20,6 +20,15 @@ Date: 13.09.2020 Last patch: 13.09.2020 License: GNU GPL v3 +To run this you need to install OpenMesh with python pip. + +The algorithm of paperfoldmodels consists of three steps: + - Find a minimum spanning tree of the dual graph of the mesh. + - Unfold the dual graph. + - Remove self-intersections by adding additional cuts along edges. + +Reference: The code is mostly based on the algorithm presented in a by Straub and Prautzsch (https://geom.ivd.kit.edu/downloads/proj-paper-models_cut_out_sheets.pdf). + Module licenses - paperfoldmodels (https://github.com/felixfeliz/paperfoldmodels) - MIT License