From a9b834878b618a3aea6c343e71a2df3046bde3a7 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Tue, 29 May 2018 20:55:46 -0400 Subject: optimize path --- lib/svg/svg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/svg/svg.py') diff --git a/lib/svg/svg.py b/lib/svg/svg.py index 8921ccec..655ddc58 100644 --- a/lib/svg/svg.py +++ b/lib/svg/svg.py @@ -17,7 +17,7 @@ from ..utils import cache, Point stitch_height = 1.216 # This vector path starts at the origin and contains a placeholder (%s) for the stitch length. -stitch_path = "M0,0c0.386,0,0.417,0.302,0.428,0.607c0.012,0.306,-0.048,0.603,-0.428,0.607h-%sc-0.357,-0.002,-0.399,-0.3,-0.413,-0.607c-0.014,-0.305,0.067,-0.607,0.413,-0.607z" +stitch_path = "M0,0c0.4,0,0.4,0.3,0.4,0.6c0,0.3,-0.1,0.6,-0.4,0.6v0.2,-0.2h-%sc-0.4,0,-0.4,-0.3,-0.4,-0.6c0,-0.3,0.1,-0.6,0.4,-0.6v-0.2,0.2z" # This filter makes the above stitch path look like a real stitch with lighting. realistic_filter = """ -- cgit v1.2.3