b250855c79
rensnapshot a few
2025-04-14 13:54:44 -04:00
a5b57f74d5
Merge branch 'main' into jess/cleaned-imports
2025-04-14 12:50:05 -04:00
6c7e42b541
Bump the patch group in /rust with 8 updates ( #6312 )
...
Bumps the patch group in /rust with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.97` | `1.0.98` |
| [clap](https://github.com/clap-rs/clap ) | `4.5.32` | `4.5.36` |
| [kittycad-modeling-cmds](https://github.com/KittyCAD/modeling-api ) | `0.2.113` | `0.2.114` |
| [once_cell](https://github.com/matklad/once_cell ) | `1.21.1` | `1.21.3` |
| [log](https://github.com/rust-lang/log ) | `0.4.26` | `0.4.27` |
| [flate2](https://github.com/rust-lang/flate2-rs ) | `1.1.0` | `1.1.1` |
| [time](https://github.com/time-rs/time ) | `0.3.40` | `0.3.41` |
| [image](https://github.com/image-rs/image ) | `0.25.5` | `0.25.6` |
Updates `anyhow` from 1.0.97 to 1.0.98
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.97...1.0.98 )
Updates `clap` from 4.5.32 to 4.5.36
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.32...clap_complete-v4.5.36 )
Updates `kittycad-modeling-cmds` from 0.2.113 to 0.2.114
- [Commits](https://github.com/KittyCAD/modeling-api/compare/kittycad-modeling-cmds-0.2.113...kittycad-modeling-cmds-0.2.114 )
Updates `once_cell` from 1.21.1 to 1.21.3
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.21.1...v1.21.3 )
Updates `log` from 0.4.26 to 0.4.27
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.26...0.4.27 )
Updates `flate2` from 1.1.0 to 1.1.1
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.1.0...1.1.1 )
Updates `time` from 0.3.40 to 0.3.41
- [Release notes](https://github.com/time-rs/time/releases )
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md )
- [Commits](https://github.com/time-rs/time/compare/v0.3.40...v0.3.41 )
Updates `image` from 0.25.5 to 0.25.6
- [Changelog](https://github.com/image-rs/image/blob/main/CHANGES.md )
- [Commits](https://github.com/image-rs/image/compare/v0.25.5...v0.25.6 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-version: 1.0.98
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: clap
dependency-version: 4.5.36
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: kittycad-modeling-cmds
dependency-version: 0.2.114
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: once_cell
dependency-version: 1.21.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: log
dependency-version: 0.4.27
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: flate2
dependency-version: 1.1.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: time
dependency-version: 0.3.41
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: image
dependency-version: 0.25.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-14 09:48:43 -07:00
9faef6c4c7
Merge remote-tracking branch 'origin/main' into jess/cleaned-imports
2025-04-14 11:13:01 -04:00
160f55ede5
BREAKING: More units of measure work and keyword args ( #6291 )
...
* More units of measure work
Signed-off-by: Nick Cameron <nrc@ncameron.org >
* Update CSG output since engine change
---------
Signed-off-by: Nick Cameron <nrc@ncameron.org >
Co-authored-by: Nick Cameron <nrc@ncameron.org >
2025-04-14 09:58:19 +00:00
7d7b153085
Add START and END constants to std ( #6270 )
...
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-14 20:37:45 +12:00
95b72d839b
coerce [single, HomArray[single]] into flattened HomArray ( #6299 )
...
* dont prompt for message in git tag
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* more 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 >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2025-04-11 22:06:12 -04:00
9e1f1152e3
Involute curve for sketch ( #6258 )
...
* WIP: Involute circles in KCL
* first pass involute end calculation
* fmt
* cleanup
* involute snapshot
* actually update markdown
* remove debug build stuff
* spacing
---------
Co-authored-by: Adam Chalmers <adam.chalmers@zoo.dev >
2025-04-11 21:59:11 +01:00
60d2be9ff2
Fix angledLine error messages to recommend the right keyword args ( #6290 )
...
* Fix angledLine error messages to recommend the right keyword args
* Update generated docs
2025-04-11 20:03:57 +00:00
9165c810bf
Merge branch 'main' into jess/cleaned-imports
2025-04-11 15:54:04 -04:00
0f59894d66
Hide sweep artifacts after automatically ( #6287 )
...
* automatically hide the trajectory sketch agter a sweep
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* more samples
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* more samples
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2025-04-11 15:53:53 -04:00
1d84028eeb
Merge branch 'main' into jess/cleaned-imports
2025-04-11 15:40:38 -04:00
74c07fc0eb
Update onboarding bracket to be robust ( #6099 )
...
* update onboarding bracket to be robust
* update onboarding bracket with bends
* checking if asserts causing parse failure
* fun fact, it was not the asserts
* fix bracket loading
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com >
Co-authored-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
2025-04-11 19:27:29 +00:00
2d0c7b99b5
Merge branch 'main' into jess/cleaned-imports
2025-04-11 15:11:54 -04:00
67a8bf525d
bump kcl friends ( #6288 )
...
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2025-04-11 19:10:37 +00:00
5f2d5f721b
Merge remote-tracking branch 'origin/main' into jess/cleaned-imports
2025-04-11 14:41:58 -04:00
319c60d4fa
BREAKING: Change tangential arc to keyword args ( #6266 )
...
* Change tangentialArc, tangentialArcTo, and tangentialArcToRelative to keyword args
* Change tangentialArc offset to angle and convert to kw arg calls
* Fix lints
* Fix sketch errors and all unit tests passing
* Fix tangentialArcTo calls in KCL samples
* Update tangentialArc in samples
* Update sim test output
* Fix formatting
* Fix mistake in merge
* Fix gear rack sample
* Update output after more samples fixes
* Update gear rack output
* Add end label to docs snippet
* Fix to not add endAbsolute for an arc with radius or angle arguments
* Update docs outputs
* Fix formatting
* Fix executor tests
* Fix formatting
* Fix bench input files
* Fix spelling
* Improve error messages
---------
Co-authored-by: Adam Chalmers <adam.chalmers@zoo.dev >
2025-04-11 14:17:20 -04:00
624d53eb93
Merge branch 'main' into jess/cleaned-imports
2025-04-11 13:00:11 -04:00
8b14d32879
Bump the security group in /rust with 2 updates ( #6212 )
...
Bumps the security group in /rust with 2 updates: [pyo3](https://github.com/pyo3/pyo3 ) and [tokio](https://github.com/tokio-rs/tokio ).
Updates `pyo3` from 0.24.0 to 0.24.1
- [Release notes](https://github.com/pyo3/pyo3/releases )
- [Changelog](https://github.com/PyO3/pyo3/blob/v0.24.1/CHANGELOG.md )
- [Commits](https://github.com/pyo3/pyo3/compare/v0.24.0...v0.24.1 )
Updates `tokio` from 1.44.1 to 1.44.2
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.1...tokio-1.44.2 )
---
updated-dependencies:
- dependency-name: pyo3
dependency-version: 0.24.1
dependency-type: direct:production
dependency-group: security
- dependency-name: tokio
dependency-version: 1.44.2
dependency-type: direct:production
dependency-group: security
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-11 16:12:53 +00:00
5aaa60dbf7
Merge branch 'main' into jess/cleaned-imports
2025-04-11 09:59:25 -04:00
1f6b90d383
#6182 Improve calculate_circle_center ( #6192 )
...
* add tests for calculate_circle_center - the first one succeeds with the current impl
* fix calculate_circle_center
* comment cleanup
* clippy
* comment format
* update circle_three_point sim test snapshot for slight floating point changes introduced by calculate_circle_center refactor
* use TAU instead of 2 * PI
* clippy
2025-04-11 12:43:18 +02:00
c45c2e27ba
make sure the nix flake never breaks ( #6273 )
...
make sure teh nix flake never breaks
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2025-04-11 06:27:42 +00:00
5832890dbb
Add CSG operations to the artifact graph ( #6104 )
...
* Add CSG operations to the artifact graph
* Add tool IDs for subtract
* Fix names to match modeling-cmds now that it's done
* Update output since adding CSG ops
* Update formatting
* Add extra solid ids to the graph
* Fix to not add duplicates to the graph
2025-04-11 05:16:29 +00:00
0d899694b2
Remove experimental warning on whole-module imports ( #6240 )
2025-04-11 04:22:51 +00:00
7bd5e7365d
Insert a newline between block comments and attributes ( #6250 )
...
Signed-off-by: Nick Cameron <nrc@ncameron.org >
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
2025-04-11 03:19:52 +00:00
a63e51e2ad
Remove import function from std ( #6241 )
...
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-11 03:11:59 +00:00
1b8eee86a1
Fix vscode lsp bugs ( #6271 )
...
* start of shit
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* untitled test
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2025-04-11 12:53:05 +10:00
6d50278d34
bump kcl friends ( #6272 )
...
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2025-04-10 19:01:30 -07:00
35844842de
Bump modeling api & pull thru csg endpoints ( #6245 )
...
* csg-upts
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* base
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* do the id shit
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* tried to run
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* csg-upts
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* use bens samples
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* use bens samples
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* gen std
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* gen std
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 >
* fix;
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2025-04-10 18:30:57 -07:00
d33d399c31
Repetitive structs removed for import file extensions ( #6211 )
...
* get rid of repetitive structs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fmt
Signed-off-by: Jess Frazelle <github@jessfraz.com >
get rid of more
Signed-off-by: Jess Frazelle <github@jessfraz.com >
add more
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
await the shit
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
put it at the root
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix;es
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* kcl-language-server flake
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2025-04-10 13:57:12 -07:00
58c53bfa47
typo
2025-04-10 15:48:24 -04:00
864d8eaa97
error message changed
...
the uuids also changed because the error is hit before execute even
starts.
2025-04-10 15:46:41 -04:00
89498c3dc4
clean up source range bug
2025-04-10 13:51:52 -04:00
c6c3ca0754
Merge remote-tracking branch 'origin/main' into jess/cleaned-imports
2025-04-10 12:02:21 -04:00
d125efcd60
Bidirectional extrude/revolve ( #6154 )
...
* extend extrude endpoint
* revolve and mocks
* add bounds check to revolve
* kcl examples of new args
* update to 110
* fix mock
* move example to prelude
* change to camelCase
* new prelude tests
* extend just file
* missed change
* change to XY
* redo sim tests
* review changes
* redo markdown
2025-04-10 10:46:10 -04:00
9d0265ecd1
Merge remote-tracking branch 'origin/main' into jess/cleaned-imports
2025-04-10 10:10:48 -04:00
0c6b6bf5d5
Fix bad merge with some KCL snapshots ( #6239 )
...
Caused by admin merge in #5803
2025-04-09 16:43:56 -04:00
d275995dfe
KCL: Angled line should use keyword args ( #5803 )
...
We continue migrating KCL stdlib functions to use keyword arguments. Next up is the `angledLine` family of functions (except `angledLineThatIntersects, which will be a quick follow-up).
Before vs. after:
`angledLine({angle = 90, length = 3}, %, $edge)`
=> `angledLine(angle = 90, length = 3, tag = $edge)`
`angledLineOfXLength({angle = 90, length = 3}, %, $edge)`
=> `angledLine(angle = 90, lengthX = 3, tag = $edge)`
`angledLineOfYLength({angle = 90, length = 3}, %, $edge)`
=> `angledLine(angle = 90, lengthY = 3, tag = $edge)`
`angledLineToX({angle = 90, length = 3}, %, $edge)`
=> `angledLine(angle = 90, endAbsoluteX = 3, tag = $edge)`
`angledLineToY({angle = 90, length = 3}, %, $edge)`
=> `angledLine(angle = 90, endAbsoluteY = 3, tag = $edge)`
2025-04-09 14:55:15 -05:00
b03ca30379
Cleanup spatula example. ( #6232 )
...
* Cleanup spatula example. Naming better variables and removing unused tags
* Update kcl-samples simulation test output
* remove unused tag
* fix spacing
* Update kcl-samples simulation test output
* cleanup comments
* Update kcl-samples simulation test output
* re-add spacing
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Greg Sweeney <greg@kittycad.io >
Co-authored-by: jgomez720 <114548659+jgomez720@users.noreply.github.com >
2025-04-09 15:21:05 -04:00
f2d540efc2
skip non-kcl
2025-04-09 14:07:36 -04:00
594d42b9b5
Merge remote-tracking branch 'origin/main' into jess/cleaned-imports
2025-04-09 11:17:32 -04:00
ae9d8be4e4
Don't apply numeric adjustments in arithmetic yet ( #6222 )
...
Don't apply numeric adjustments yet
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-09 14:16:58 +12:00
a31fd608cf
Improve hovers for KCL std lib fns ( #6208 )
...
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-09 12:15:12 +12:00
997f539a8c
More numeric type propagations ( #6221 )
...
Last few numeric type propagations
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-09 11:46:54 +12:00
3594e7ded2
re-ad deep_clone
...
the helper we were calling was pushing a new call, which was hanging
out. we can skip the middleman since we already have something properly
prepared, just without a stdlib in some cases.
2025-04-08 14:12:52 -04:00
5f903b5817
Merge branch 'main' into jess/cleaned-imports
2025-04-08 13:56:08 -04:00
c3097aa334
fix missing extension ( #6205 )
...
* fix missing extension
* fix e2e
* better name
2025-04-08 15:41:48 +00:00
b0b06aaf7f
Merge remote-tracking branch 'origin/main' into jess/cleaned-imports
2025-04-08 10:27:30 -04:00
5b653fb558
Change unit conversion functions to operate on input rather than return a conversion factor ( #6181 )
...
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-08 02:21:23 +00:00
1f5845833c
preserve mem
2025-04-07 21:54:49 -04:00