From cb2b4e3522cb7f426ba5ad3e68deb9e6ccc581ec Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Tue, 28 Apr 2020 12:34:05 -0400 Subject: electron simulator (#531) --- lib/stitch_plan/stitch.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/stitch_plan/stitch.py') diff --git a/lib/stitch_plan/stitch.py b/lib/stitch_plan/stitch.py index 462634cb..ccbea12e 100644 --- a/lib/stitch_plan/stitch.py +++ b/lib/stitch_plan/stitch.py @@ -31,3 +31,6 @@ class Stitch(Point): def copy(self): return Stitch(self.x, self.y, self.color, self.jump, self.stop, self.trim, self.color_change, self.no_ties) + + def __json__(self): + return vars(self) -- cgit v1.2.3