diff --git a/extensions/fablabchemnitz_path_intersections.inx b/extensions/fablabchemnitz_path_intersections.inx index cfe26438..26ca0bb8 100644 --- a/extensions/fablabchemnitz_path_intersections.inx +++ b/extensions/fablabchemnitz_path_intersections.inx @@ -15,4 +15,4 @@ - + \ No newline at end of file diff --git a/extensions/fablabchemnitz_path_intersections.py b/extensions/fablabchemnitz_path_intersections.py index 7000b824..6c07412f 100644 --- a/extensions/fablabchemnitz_path_intersections.py +++ b/extensions/fablabchemnitz_path_intersections.py @@ -248,9 +248,8 @@ class IntersectionChecker(Checker): subpaths.append(raw[prev:]) seg = [] for simpath in subpaths: - closed = False if simpath[-1][0] == 'Z': - closed = True + simpath[-1][0] = 'L' if simpath[-2][0] == 'L': simpath[-1][1] = simpath[0][1] else: simpath.pop() for i in range(len(simpath)): @@ -421,4 +420,4 @@ class Precut(inkex.Effect): if __name__ == "__main__": logging.basicConfig(stream=sys.stderr, level=logging.WARNING, format="%(levelname)s %(message)s") - Precut().run() \ No newline at end of file + Precut().run()