107adc77b3
Allow the origin of rotation to be specified ( #7608 )
...
* pass axis origin to endpoint
* fmt
* fix lint errors
* update sim tests with new transform endpoint
* added missed files
* revert cargo.toml
* implement review requests
* fmt
* revert unnecessary custom origin
2025-06-27 00:38:18 +01:00
c7f0a6c2a0
Upgrade to ts-rs 11.0 for TS type fixes ( #7581 )
...
* Bump ts-rs from 10.1.0 to 11.0.1
* Fix breaking changes
* Fix tsc errors
* Update output
* Upgrade to kittycad-modeling-cmds 0.2.124 for ts-rs update
* Update parser snaps
* Update output of gridfinity_bins_stacking_lip sample
* Fix missing field in TS unit tests
* Fix tsc type error with fixed_size_grid project setting
2025-06-24 18:38:43 +00:00
7486d25cf1
Change KCL stdlib floating-point results to not be platform dependent ( #7499 )
...
* Add libm dependency
* Change to use libm for trig functions
* Remove redactions for floating point
* Update output
* Use clippy to prevent stdlib math sneaking back in
---------
Co-authored-by: Adam Chalmers <adam.chalmers@zoo.dev >
2025-06-17 01:34:50 +00:00
383b38c2d2
Add operations for variable declarations ( #7451 )
...
* Add operations for variable declarations
* Update output
* Change to use OpKclValue
* Update output after merge
2025-06-12 16:38:12 +00:00
9a549ff379
Track artifact commands and operations per-module ( #7426 )
...
* Change so that operations are stored per module
* Refactor so that all modeling commands go through ExecState
* Remove unneeded PartialOrd implementations
* Remove artifact_commands from KclError since it was only for debugging
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-11 01:30:48 +00:00
f6a3a3d0cd
Change to use nodePath instead of sourceRange for Operations ( #7320 )
...
* Add NodePath to operations
* Change to use nodePath to get pathToNode instead of sourceRange
* Add additional node path unit test
* Update output
* Fix import statement NodePaths
* Update output
* Factor into function
2025-06-05 12:24:34 -04:00
08781ff010
Add transform operations to the Feature Tree ( #7307 )
...
* Add transform operations
* Update output
* Add scale icon
2025-06-02 10:32:36 -04:00
9dfb67cf61
Declare appearance function in KCL ( #7220 )
...
Move appearance to KCL
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-05-27 23:25:27 +00:00
b19acd550d
Type check and coerce arguments to user functions and return values from std Rust functions ( #6958 )
...
* Shuffle around function call code
Signed-off-by: Nick Cameron <nrc@ncameron.org >
* Refactor function calls to share more code
Signed-off-by: Nick Cameron <nrc@ncameron.org >
* Hack to leave the result of revolve as a singleton rather than array
Signed-off-by: Nick Cameron <nrc@ncameron.org >
---------
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-05-19 16:50:15 +12:00
92fc294eae
Update mesh clone test ( #6597 )
2025-05-15 16:46:37 +00:00
078b7f3bf7
fix errors from the wasm side ( #6939 )
...
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* playwright tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* change order of operations
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* lint
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Revert "fixups"
This reverts commit c54fd71074
.
* fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2025-05-14 13:20:46 -07:00
4fe8741ea7
Remove CallExpression support ( #6639 )
...
Users MUST use keyword call syntax now.
Closes https://github.com/KittyCAD/modeling-app/issues/4600
2025-05-02 16:08:12 -05:00
4439229ad2
turn back on the test i tturned off ( #6522 )
...
* random other cahnges
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* turn back on test
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* docs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* lots of enhancements
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* mesh test
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* mesh test
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* check panics
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* check panics
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* check panics
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* if running in vitest make single threadedd
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* check if running in vitest
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* console logs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2025-04-27 23:54:32 +00:00