KCL: patternTransform for sketches (#4546)

KCL stdlib has a function `patternTransform` which works for 3D solids. This adds a similar function `patternTransform2d` which, as you might have guessed, is like `patternTransform` but for 2D. I know. I'm really, really really good at naming things.

This shares almost all of its implementation with 3D patterns via 💖the power of traits💖

This will assist with https://github.com/KittyCAD/modeling-app/issues/4543
This commit is contained in:
Adam Chalmers
2024-11-22 19:43:09 -06:00
committed by GitHub
parent b415349af6
commit 7b36a5d1ee
7 changed files with 2970 additions and 43 deletions

View File

@ -74,6 +74,7 @@ layout: manual
* [`patternLinear2d`](kcl/patternLinear2d)
* [`patternLinear3d`](kcl/patternLinear3d)
* [`patternTransform`](kcl/patternTransform)
* [`patternTransform2d`](kcl/patternTransform2d)
* [`pi`](kcl/pi)
* [`polar`](kcl/polar)
* [`polygon`](kcl/polygon)

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff