1
0
Fork 0
Commit graph

23 commits

Author SHA1 Message Date
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
893099e283 chore(core): Updated test fixtures 2022-01-25 09:36:54 +01:00
Joost De Cock
c4c42b3198 chore(core): Adapted tests to removed scale CSS var 2022-01-15 19:28:40 +01:00
Joost De Cock
989b65f3c5 fix(core): Udpated tests for new scale setting 2021-12-29 09:09:49 +01:00
Joost De Cock
2eb7a23750 feat(core): Added the Attributes.setIfUnset() method 2021-11-21 17:18:10 +01:00
joostdecock
025cf9b88e feat(core): Snapping of percentage options
This commit implements the snapping of percentage options as
outlined in this proposal:

https://github.com/freesewing/freesewing/discussions/1331

Please refer to the link above for all details
2021-09-15 20:20:59 +02:00
joostdecock
3b9309d995 fix(core): Edge case in utils.beamsIntersect()
See #1206 for details

Closes #1206
Closes #1211
2021-07-14 18:01:04 +02: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
c197c4a4d1 chore(core): Added unit test for #971 2021-04-23 20:09:01 +02:00
Joost De Cock
96a80afe50 chore(core): Added unit test for dependency resolver bug 2021-04-22 20:03:36 +02:00
Joost De Cock
eda88bce4d fix(core): Svg tests 2021-04-22 19:29:37 +02:00
Joost De Cock
29551b8a34 fix(core): Utils tests 2021-04-22 19:29:28 +02:00
Joost De Cock
64968c8197 fix(core): Point tests 2021-04-22 19:29:18 +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
99ebd4dd06 chore: Removed console.log statement 2020-11-04 20:29:14 +01:00
Joost De Cock
7a67761a30 chore(core): Updated tests 2020-08-23 17:09:25 +02:00
Joost De Cock
6aa14f0613 🚧 Fixes to the part dependency resolver 2019-05-31 19:18:38 +02:00
Joost De Cock
d3a1ea6554 🔧 Reconfigure packages 2019-05-31 16:09:41 +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