diff options
| author | Lex Neva <github.com@lexneva.name> | 2023-04-02 00:14:57 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2023-04-02 00:14:57 -0400 |
| commit | f57d61b6e68ac9d0047361cc6fd140064b22545d (patch) | |
| tree | e18ecdc9384e363c0ae1cedd37a45a2d6e5275e4 /lib/stitches/running_stitch.py | |
| parent | acdb911145972012cf8055c9accd31a235214ca7 (diff) | |
meander fixes
Diffstat (limited to 'lib/stitches/running_stitch.py')
| -rw-r--r-- | lib/stitches/running_stitch.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stitches/running_stitch.py b/lib/stitches/running_stitch.py index 1dbfcaaf..46f3a3e9 100644 --- a/lib/stitches/running_stitch.py +++ b/lib/stitches/running_stitch.py @@ -10,6 +10,8 @@ from copy import copy import numpy as np from shapely import geometry as shgeo + +from ..debug import debug from ..utils import prng from ..utils.geometry import Point from ..utils.threading import check_stop_flag @@ -246,6 +248,7 @@ def path_to_curves(points: typing.List[Point], min_len: float): return curves +@debug.time def running_stitch(points, stitch_length, tolerance): # Turn a continuous path into a running stitch. stitches = [points[0]] |
