KCL: angledLineThatIntersects migrate to kwargs (#6296)

* KCL: Convert angledLineThatIntersects to use kwargs

* Update KCL tests and samples

* WIP

* Fix tsc and lint errors

* Fix missing cases

* Fix modifyAst unit tests

* Fix sketch unit tests

* Fix std unit tests

* Fix to not have extra docs

* Fix more unit tests

* Fix bench test

* Fix e2e tests to use new kw args

* tiny lint

* Fix adding constraint from UI to work

* Fix to use labeledArg constraints and use the correct order of args

* Fix selections e2e test

* Fix e2e test expectation

App was working as expected, but the e2e test was
expecting the old code, not the new code.

* Fix order of constraints in unit test

* Update docs

* Fix KCL formatting

* Update output

---------

Co-authored-by: Jonathan Tran <jonnytran@gmail.com>
This commit is contained in:
Adam Chalmers
2025-04-14 21:06:55 -05:00
committed by GitHub
parent d0e9b111af
commit 7fce38b212
27 changed files with 5291 additions and 652 deletions

View File

@ -94,40 +94,40 @@ flowchart LR
168["Segment<br>[759, 787, 12]"]
169["Segment<br>[795, 829, 12]"]
170["Segment<br>[837, 867, 12]"]
171["Segment<br>[875, 984, 12]"]
172["Segment<br>[992, 999, 12]"]
171["Segment<br>[875, 943, 12]"]
172["Segment<br>[951, 958, 12]"]
173[Solid2d]
end
subgraph path175 [Path]
175["Path<br>[1133, 1231, 12]"]
176["Segment<br>[1239, 1358, 12]"]
177["Segment<br>[1366, 1413, 12]"]
178["Segment<br>[1421, 1542, 12]"]
179["Segment<br>[1550, 1557, 12]"]
175["Path<br>[1092, 1190, 12]"]
176["Segment<br>[1198, 1317, 12]"]
177["Segment<br>[1325, 1372, 12]"]
178["Segment<br>[1380, 1501, 12]"]
179["Segment<br>[1509, 1516, 12]"]
180[Solid2d]
end
subgraph path182 [Path]
182["Path<br>[1654, 1751, 12]"]
183["Segment<br>[1759, 1878, 12]"]
184["Segment<br>[1886, 1934, 12]"]
185["Segment<br>[1942, 2063, 12]"]
186["Segment<br>[2071, 2078, 12]"]
182["Path<br>[1613, 1710, 12]"]
183["Segment<br>[1718, 1837, 12]"]
184["Segment<br>[1845, 1893, 12]"]
185["Segment<br>[1901, 2022, 12]"]
186["Segment<br>[2030, 2037, 12]"]
187[Solid2d]
end
subgraph path189 [Path]
189["Path<br>[1133, 1231, 12]"]
190["Segment<br>[1239, 1358, 12]"]
191["Segment<br>[1366, 1413, 12]"]
192["Segment<br>[1421, 1542, 12]"]
193["Segment<br>[1550, 1557, 12]"]
189["Path<br>[1092, 1190, 12]"]
190["Segment<br>[1198, 1317, 12]"]
191["Segment<br>[1325, 1372, 12]"]
192["Segment<br>[1380, 1501, 12]"]
193["Segment<br>[1509, 1516, 12]"]
194[Solid2d]
end
subgraph path196 [Path]
196["Path<br>[1654, 1751, 12]"]
197["Segment<br>[1759, 1878, 12]"]
198["Segment<br>[1886, 1934, 12]"]
199["Segment<br>[1942, 2063, 12]"]
200["Segment<br>[2071, 2078, 12]"]
196["Path<br>[1613, 1710, 12]"]
197["Segment<br>[1718, 1837, 12]"]
198["Segment<br>[1845, 1893, 12]"]
199["Segment<br>[1901, 2022, 12]"]
200["Segment<br>[2030, 2037, 12]"]
201[Solid2d]
end
subgraph path230 [Path]