1
0
Fork 0
Commit graph

9 commits

Author SHA1 Message Date
Joost De Cock
12692e1a64 chore: Changes required for ES6 version of bezier-js 2020-11-04 20:06:19 +01:00
Joost De Cock
75afc2d9c3 fix(core): Fixed edge-case in utils.pointOnCurve
If we were trying to find a point that lied on a part of a curve
that was a perfect horizontal line, no intersection would be found.
This fixes that.

 - Fixes https://github.com/freesewing/freesewing.org/issues/898
 - Fixes https://github.com/freesewing/freesewing.org/issues/899
 - Fixes https://github.com/freesewing/freesewing.org/issues/913
2020-08-09 09:50:49 +02:00
Joost De Cock
03da84b824 feat(core): Added new debug event type and debug system 2020-07-18 16:48:29 +02:00
Joost De Cock
d2bf45e63c fix(core): Properly escape quotes in units. Fixes #437 2020-07-12 15:10:18 +02:00
Joost De Cock
673743faae feat(core): Add support for injecting sample styles
This allows you to override the (path) styles when we
sample the pattern by setting `settings.sample.styles`.

This closes #380
2020-05-30 14:02:37 +02:00
Joost De Cock
224c9525e1 feat(core): Expose Bezier-js via utils
Since the bezier-js library is bundled with @freesewing/core, we
now expose it via utils. This way, people who want to use this
in their plugins or other code are not forced to import it again.
2020-04-18 11:38:08 +02:00
Joost De Cock
6710d76b08 🎨 Updated prettier config 2019-08-03 15:03:33 +02:00
Joost De Cock
54be0b691e Added utils.rad2deg to core 2019-07-11 16:49:02 +02:00
Joost De Cock
476f4b8088 📦 Renamed freesewing pkg to @freesewing/core 2019-04-19 10:09:50 +02:00
Renamed from packages/freesewing/src/utils.js (Browse further)