Commit graph

15 commits

Author SHA1 Message Date
Kim
6e520e745a
Add intersect aggregator (#102)
* Added intersect aggregator

* Addressed stylistic PR feedback

* Set the rotation of the intersected point to the second point’s rotation

* Revert "Set the rotation of the intersected point to the second point’s rotation"

This reverts commit d210a98f79a8866519fc9695487a9ea235167b8b.

* Adjusted aggregate function to not need axis1 and axis2 parameters

* Add assert to check for exactly 2 parts

* Add unit tests for the aggregate intersect method

* Change the assert string to use ${name.length}

* Change test group name to align with style guide

* Update intersect logic to consider negative Y axis

---------

Co-authored-by: Marco Massarelli <60667061+ceoloide@users.noreply.github.com>
2023-07-19 23:00:44 +02:00
Luke Kershaw
e0eb43566f
Expand test coverage (#77)
* ignore line endings in cli tests
* ignore line endings in integration tests
* expand code coverage for `choc` footprint
* expand code coverage for `chocmini` footprint
* expand code coverage for `mx` footprint
* expand code coverage for `pad` footprint
* expand code coverage for rest of footprints
* expand code coverage for `anchor.js`
* expand code coverage for `units.js`
* expand code coverage for `points.js`
* expand code coverage for `filter.js`
* expand code coverage for `outlines.js`
* expand code coverage for `pcbs.js`
* expand code coverage for `ergogen.js`
* expand code coverage for `kle.js`
* more code coverage for `outlines.js`
* expand code coverage for `cases.js`
2023-01-23 10:02:08 +01:00
Bán Dénes
5006f5b862 Missing const for web deployment 2022-12-18 12:38:08 +01:00
Bán Dénes
3aef729465 Allow points/anchors to resist special mirror treatment 2022-12-04 12:24:17 +01:00
Bán Dénes
5e68bdb630 Outlining improvements 2022-05-29 20:25:52 +02:00
Bán Dénes
d23bd71b7a Support orient/rotate towards other points 2022-02-27 13:44:24 +01:00
Bán Dénes
6dc6b5d8e9 Anchor recursivization 2022-02-27 11:11:45 +01:00
Bán Dénes
6504b2b952 Outlines rewrite in progress 2022-01-09 22:56:05 +01:00
Bán Dénes
38a8fc5be8 Anchor affect bugfix, partially fixes #33
The mirroring part still has design inconsistencies because of rectangles being laid out by their bottom left corner, but as a breaking change, this will be addressed separately, later...
2021-12-12 14:51:24 +01:00
Bán Dénes
0ec16dbaf6 Minor fix for mirrored anchor rotations 2021-11-27 21:06:23 +01:00
Bán Dénes
26128f8db7 Support full anchors in outline shapes 2021-07-18 16:03:45 +02:00
Bán Dénes
9baae154cb Add unit test for assertions 2021-05-22 19:06:57 +02:00
Bán Dénes
c7b86c7556 Add unit test for anchors 2021-05-22 17:58:26 +02:00
Bán Dénes
83addc0879 Unit refactor done 2021-01-01 21:46:01 +01:00
Bán Dénes
cd90705ba1 Refactor, units, tests 2021-01-01 00:50:04 +01:00