1
0
Fork 0
Commit graph

1031 commits

Author SHA1 Message Date
joostdecock
cc41573b6f chore(core): Linter fix 2023-04-15 15:34:39 +02:00
joostdecock
182c4f4d64 chore: Linter warnings 2023-04-15 15:31:25 +02:00
Enoch Riese
042d4e71a9 [vercel skip] chore (core) document and test Stack.home 2023-04-14 23:49:45 -04:00
Enoch Riese
444d82c527 [vercel skip] fix tests 2023-04-14 16:06:55 -04:00
Enoch Riese
62c747daea lint fixes 2023-04-14 15:48:16 -04:00
Enoch Riese
5311a9ed28 join matrix with commas, computed transformed point coords before mutating 2023-04-14 15:43:26 -04:00
Enoch Riese
29a0b08a1d use part transforms to calculate stack bounds instead of part bounds 2023-04-14 15:42:22 -04:00
dependabot[bot]
6d554317b3
chore(deps-dev): bump eslint from 8.37.0 to 8.38.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.37.0 to 8.38.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.37.0...v8.38.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 05:08:17 +00:00
dependabot[bot]
3a612d36ef
chore(deps-dev): bump mocha from 10.0.0 to 10.2.0
Bumps [mocha](https://github.com/mochajs/mocha) from 10.0.0 to 10.2.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.0.0...v10.2.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-11 05:41:24 +00:00
Joost De Cock
4cd3f44d73
Merge pull request #3787 from freesewing/dependabot/npm_and_yarn/typescript-5.0.4
chore(deps-dev): bump typescript from 5.0.3 to 5.0.4
2023-04-10 15:02:41 +02:00
joostdecock
5ba6e12469 fix(core): Make Path.clean() check for valid paths before returning
A path that has no drawing operations or only a move operation causes
problems with the path offset code.

This will cause Path.clean() to return false in such a case, which in
turn will cause Path.__asPath() to return false when called from the
offset code.

We check this return value in the offset code and do not push this
segment to the offsetted path.

This fixes #3038
This closes #3056
2023-04-10 11:27:07 +02:00
github-actions
a62138e1b6 [dependabot skip] chore(deps): bumped dependabot/npm_and_yarn/typescript-5.0.4 changes in config/dependencies.yaml 2023-04-10 05:03:59 +00:00
joostdecock
a7276ce95d wip(core): Work on supported part-level transforms in layouting
This is some initial work to support part-level (SVG) transforms when
layouting the pattern.

It updates the method that calculates the bounding box to calculate a
bounding box with transforms applied.
It also adds two new methods to utils to help with that, methods that
could be useful for other people trying to do fancy transform stuff.
2023-04-06 09:55:40 +02:00
dependabot[bot]
b9a3523e47
chore(deps-dev): bump eslint from 8.36.0 to 8.37.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.36.0 to 8.37.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.36.0...v8.37.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 17:17:57 +00:00
github-actions
b50a38a3d6 [dependabot skip] chore(deps): bumped dependabot/npm_and_yarn/autoprefixer-10.4.14 changes in config/dependencies.yaml 2023-03-23 05:22:48 +00:00
Joost De Cock
1698eda01a
Merge pull request #3635 from eriese/eriese-store-methods
chore (store plugin methods) Change method access to via store only
2023-03-18 15:09:11 +01:00
dependabot[bot]
c000223737
chore(deps-dev): bump eslint from 8.34.0 to 8.36.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.34.0 to 8.36.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.34.0...v8.36.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-17 05:27:54 +00:00
Joost De Cock
0b84449aa0 release: 3.0.0-alpha.8 2023-03-16 20:36:45 +01:00
Joost De Cock
d9fd752ec1 release: 3.0.0-alpha.7 2023-03-16 20:17:41 +01:00
dependabot[bot]
9baf3b53c3
chore(deps): bump bezier-js from 6.1.0 to 6.1.3
Bumps [bezier-js](https://github.com/Pomax/bezierjs) from 6.1.0 to 6.1.3.
- [Release notes](https://github.com/Pomax/bezierjs/releases)
- [Commits](https://github.com/Pomax/bezierjs/compare/v6.1.0...v6.1.3)

---
updated-dependencies:
- dependency-name: bezier-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 05:07:26 +00:00
Enoch Riese
98a90344f5 remove stale test 2023-03-12 13:04:00 -05:00
Enoch Riese
49748a7c00 store methods don't become properties on shorthand 2023-03-12 09:19:50 -05:00
Joost De Cock
dcb9833a9a
Merge branch 'develop' into eriese-hiding 2023-03-10 18:57:19 +01:00
Enoch Riese
a4a64bdb21 document and cleanup 2023-03-08 14:37:09 -06:00
Enoch Riese
7551f09b8d use presets for common hide configurations 2023-03-08 14:37:09 -06:00
Enoch Riese
ca80dfbfa3 implement and test final proposal 2023-03-08 14:37:09 -06:00
Enoch Riese
7ef3335212 [vercel skip] remove duplicated misnamed file 2023-03-05 15:18:34 -06:00
Enoch Riese
650a07b02c Merge branch 'eriese-progressive-parts' into eriese-cut-v3 2023-03-04 09:10:30 -06:00
Enoch Riese
503277f9ea fix part hiding for circumstances with only 2023-03-04 09:08:09 -06:00
Enoch Riese
714a1383ba a bit more testing and cleanup 2023-03-04 09:08:09 -06:00
Enoch Riese
a68f3678ea bit of cleanup 2023-03-04 09:08:09 -06:00
Enoch Riese
f5725cbfca more documentation 2023-03-04 09:08:09 -06:00
Enoch Riese
b419e6ce16 refactor and test part hiding 2023-03-04 09:08:09 -06:00
Enoch Riese
6ba2e4e885 change to bin-pack-with-constraints 2023-03-04 09:08:09 -06:00
Enoch Riese
dc998d4e98 add sinon for better testing 2023-03-04 09:08:09 -06:00
Enoch Riese
12ffb0a9c1 start of draft queue class 2023-03-04 09:08:09 -06:00
Enoch Riese
a1e818eb95 lint fixes and rename 2023-03-04 09:08:09 -06:00
Enoch Riese
a322e2108b document and refactor 2023-03-04 09:08:09 -06:00
Enoch Riese
863237ccfe move all pattern config resolution to separate class 2023-03-04 09:08:09 -06:00
Enoch Riese
6d20884ae3 add tests for runtime part adding 2023-03-04 09:08:09 -06:00
Enoch Riese
0e08ed7014 all part resolution business happens on a per-part basis 2023-03-04 09:08:09 -06:00
Enoch Riese
7edb045916 begin refactoring part resolution to handle one part at a time 2023-03-04 09:08:09 -06:00
Enoch Riese
f89fe5d276 fix part hiding for circumstances with only 2023-03-03 11:38:35 -06:00
Enoch Riese
91787c7705 add a way to have different grain and cutonfold configs by fabric or index 2023-03-02 09:36:09 -06:00
Enoch Riese
58b0633fd1 Merge branch 'eriese-progressive-parts' into eriese-cut-v3 2023-03-01 09:09:04 -06:00
Enoch Riese
b750562acc a bit more testing and cleanup 2023-03-01 08:44:55 -06:00
Enoch Riese
5e98141d06 bit of cleanup 2023-02-28 13:33:39 -06:00
Enoch Riese
488e4900d8 more documentation 2023-02-28 13:33:39 -06:00
Enoch Riese
e0f5d533ae refactor and test part hiding 2023-02-28 13:33:39 -06:00
Enoch Riese
a41164f821 change to bin-pack-with-constraints 2023-02-28 13:33:39 -06:00