1
0
Fork 0
Commit graph

394 commits

Author SHA1 Message Date
joostdecock
aa9555cb63 fix(core): Proposal to fix #3781
This is an (untested) fix for #3781
It ensures a part's freeId is inherited when the part is injected.
2023-04-15 17:54:56 +02:00
joostdecock
b33a739f54 Merge branch 'develop' into annotations 2023-04-15 15:47:00 +02:00
joostdecock
3cbb59e30f chore(core): Linter fix 2023-04-15 15:37:48 +02:00
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
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
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
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
Enoch Riese
d1f4d875c5 add sinon for better testing 2023-02-28 13:33:39 -06:00
Enoch Riese
ade6ad97f1 start of draft queue class 2023-02-28 13:33:39 -06:00
Enoch Riese
4a924536f9 lint fixes and rename 2023-02-28 13:33:39 -06:00
Enoch Riese
69c21412f1 document and refactor 2023-02-28 13:33:39 -06:00
Enoch Riese
5945483f86 move all pattern config resolution to separate class 2023-02-28 13:33:39 -06:00
Enoch Riese
49ae4ec61a add tests for runtime part adding 2023-02-28 13:33:39 -06:00
Enoch Riese
34fc6953e2 all part resolution business happens on a per-part basis 2023-02-28 13:33:39 -06:00
Enoch Riese
e1990bbb99 begin refactoring part resolution to handle one part at a time 2023-02-28 13:33:39 -06:00
Enoch Riese
22baf5ea05 Merge branch 'eriese-progressive-parts' into eriese-cut-v3 2023-02-23 19:18:16 +02:00