1
0
Fork 0
Commit graph

10 commits

Author SHA1 Message Date
Joost De Cock
cbf258bb6e chore: Reconfigure packages 2022-02-16 20:45:38 +01:00
Nick Dower
6c16635046 Update path offset test to match new values. 2022-02-10 15:41:21 +01:00
Joost De Cock
6dad5ca833 chore(core): Always raise debug
Currently we check in many different places whether debug is enabled
prior to raising a debug event.

This changes that to always raise debug, but let the debug.raise()
method only store it on the pattern object if/when debug is
enabled.
2022-01-28 18:18:37 +01:00
Joost De Cock
a172dc6c9e chore(core): Removed debug message in tests 2021-06-22 18:27:42 +02:00
Joost De Cock
c463b10e43 fix(core): Fix bug in path.shiftAlong
This bug would be triggered by an edge-case where we have a path
that is made up of multiple curves/lines.

If the distance to shift lies just beyond the end of one segment,
yet the remaining distance is smaller than the step (by default
that means smaller than 1/25mm) no point would be returned.

This closes #1140
2021-06-22 18:24:11 +02:00
Joost De Cock
b51add044b fix(core): Make path.shiftAlong more precise. Closes #976 2021-04-28 19:39:17 +02:00
Joost De Cock
27493d755e fix(core): Path tests 2021-04-22 19:29:09 +02:00
Joost De Cock
64da7257de fix(core): Tests for path 2021-04-22 09:26:21 +02:00
Joost De Cock
88622f3514 🚧 Work on core tests 2019-05-31 14:51:59 +02:00
Joost De Cock
476f4b8088 📦 Renamed freesewing pkg to @freesewing/core 2019-04-19 10:09:50 +02:00
Renamed from packages/freesewing/tests/path.test.js (Browse further)