4a62862ca0
Track tagged geometry with an enum, not options ( #4333 )
...
Tags can refer to either a surface, or a path. Tags track what they're
tagging with two fields: `Option<Path>` and `Option<Surface>`. This means
as more things can be tagged, we'll have a bunch of options and only one
can be Some at a given time. This should be an enum instead, so the
compiler can enforce that only one thing is being tagged.
Also I want to allow tags to refer to points, so I'd like to make this
enum before I add a new possible variant.
2024-10-28 15:51:21 +00:00
c5509dabb1
Fix weirdly specific logic for querying extruded face info ( #4320 )
2024-10-26 18:16:21 -05:00
4a7dd6e650
update env vars to match other repos, make dry ( #4321 )
...
* update env vars to match other repos, make dry
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* bump
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 >
2024-10-26 03:06:32 +00:00
af2609e678
Fix NetworkMachineIndicator and machines dynamically showing in CommandBar ( #4311 )
2024-10-25 16:28:10 -07:00
30909dedda
Bump kittycad from 0.3.23 to 0.3.25 in /src/wasm-lib ( #4316 )
...
Bumps [kittycad](https://github.com/KittyCAD/kittycad.rs ) from 0.3.23 to 0.3.25.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](https://github.com/KittyCAD/kittycad.rs/compare/v0.3.23...v0.3.25 )
---
updated-dependencies:
- dependency-name: kittycad
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-25 22:58:59 +00:00
39d76ed54f
Bugfix: arc paths were stored as straight line paths ( #4310 )
...
Problem 1 of https://github.com/KittyCAD/modeling-app/issues/4297
2024-10-25 22:49:30 +00:00
4925251c29
Make application aware it saved the buffer and not something else ( #4314 )
...
Make application aware it saved the buffer and something else
2024-10-25 18:07:50 -04:00
9772869545
Add a radius length indicator to the circle sketch tool ( #4304 )
...
* Add a radius length indicator to the circle sketch tool
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu-latest)
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: windows-latest)
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: windows-latest)
* Revert "A snapshot a day keeps the bugs away! 📷 🐛 (OS: windows-latest)"
This reverts commit 15b078f641
.
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: 49fl <ircsurfer33@gmail.com >
2024-10-25 17:42:27 -04:00
ca102116b6
Bump kittycad-modeling-cmds from 0.2.70 to 0.2.71 in /src/wasm-lib ( #4302 )
...
Bumps [kittycad-modeling-cmds](https://github.com/KittyCAD/modeling-api ) from 0.2.70 to 0.2.71.
- [Commits](https://github.com/KittyCAD/modeling-api/compare/kittycad-modeling-cmds-0.2.70...kittycad-modeling-cmds-0.2.71 )
---
updated-dependencies:
- dependency-name: kittycad-modeling-cmds
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam Chalmers <adam.chalmers@zoo.dev >
2024-10-25 20:52:22 +00:00
c2fba89e77
Bump regex from 1.11.0 to 1.11.1 in /src/wasm-lib ( #4301 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.11.0...1.11.1 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-25 13:50:21 -07:00
7e31678ba2
Chore: Don't let draft lines receive mouseEnter/Leave events, or create invalid overlays ( #4306 )
2024-10-25 15:34:53 -04:00
1140ced121
Tags should refer to full paths, not just base paths. ( #4299 )
...
See "Problem 2" in https://github.com/KittyCAD/modeling-app/issues/4297
This is a pure refactor, it should not change any behaviour at all.
It adds more information into the tag system, but nothing reads that
extra information yet. It will be used to address problem 3 of the above
issue.
2024-10-25 10:27:40 -04:00
32b7ddaa7c
Update circular pattern snapshots ( #4303 )
...
Engine changed (Serena fixed a bug with circular patterns), so snapshots need to be updated.
2024-10-25 08:28:46 -04:00
2525f99515
Move more KCL tests into files ( #4260 )
2024-10-25 01:52:43 +00:00
6617f72373
Fix docs for how to patch kcmc ( #4294 )
2024-10-24 20:14:38 +00:00
a70facdab4
Disable rotate on start new sketch ( #4287 )
...
disable rotate on start new sketch
Co-authored-by: Frank Noirot <frank@zoo.dev >
2024-10-24 10:18:41 -04:00
7ead2bb875
Stop propagation of camera clicks after drags ( #4257 )
...
* Update CameraControls.ts
* fix static analyzer error
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: windows-latest)
* Revert "A snapshot a day keeps the bugs away! 📷 🐛 (OS: windows-latest)"
This reverts commit 0b63016217
.
* Don't perform sketch click operations if a camera movement interaction also matches
* Don't `stopPropogation`, make selection listener early return if `wasDragging`
+ consolidate `wasDragging` set statements, add comments
* Codespell
---------
Co-authored-by: 49fl <ircsurfer33@gmail.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Frank Noirot <frank@kittycad.io >
Co-authored-by: Frank Noirot <frank@zoo.dev >
2024-10-24 09:26:33 -04:00
dfe7cfc91c
Bump syn from 2.0.82 to 2.0.85 in /src/wasm-lib ( #4283 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.82 to 2.0.85.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.82...2.0.85 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-24 05:52:18 +00:00
01443e445d
Bump kittycad-modeling-cmds from 0.2.68 to 0.2.70 in /src/wasm-lib ( #4284 )
...
Bumps [kittycad-modeling-cmds](https://github.com/KittyCAD/modeling-api ) from 0.2.68 to 0.2.70.
- [Commits](https://github.com/KittyCAD/modeling-api/compare/kittycad-modeling-cmds-0.2.68...kittycad-modeling-cmds-0.2.70 )
---
updated-dependencies:
- dependency-name: kittycad-modeling-cmds
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-24 03:53:07 +00:00
e16eb49f51
Bump serde from 1.0.210 to 1.0.213 in /src/wasm-lib ( #4285 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.210 to 1.0.213.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.213 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-24 03:50:38 +00:00
5d5138e8e6
Bump syn from 2.0.79 to 2.0.82 in /src/wasm-lib ( #4252 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.79 to 2.0.82.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.79...2.0.82 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
2024-10-23 23:48:18 +00:00
e1d6e29523
Update machine-api spec ( #4241 )
...
* YOYO NEW API SPEC!
* New machine-api types
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
2024-10-23 23:41:48 +00:00
b40d353994
Bump thiserror from 1.0.64 to 1.0.65 in /src/wasm-lib ( #4268 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.64 to 1.0.65.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.64...1.0.65 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 21:47:08 +00:00
62ffa53add
Bump proc-macro2 from 1.0.88 to 1.0.89 in /src/wasm-lib ( #4266 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.88 to 1.0.89.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.88...1.0.89 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 21:46:23 +00:00
64dce4d8b1
Bump anyhow from 1.0.89 to 1.0.91 in /src/wasm-lib ( #4269 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.89 to 1.0.91.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.89...1.0.91 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 21:41:00 +00:00
02588b2672
Rename Sketch.value to Sketch.paths ( #4272 )
...
'value' is not a useful name
2024-10-23 17:42:54 +00:00
3d1ac2ac0b
Fix engine connection break when starting onboarding from a fresh install ( #4263 )
...
* Make electron test setting overrides not entirely replace default settings
* Add failing test
* Fix test by checking for healthy engine connection before executing demo code
* Fix one electron test that assumed all settings got wiped if you override any.
* 🤷🏻♂️ an engine-side camera position in one of the E2E tests changed by 0.01 randomly
2024-10-22 20:22:52 -04:00
4bd7e02271
Support negative start and end in ranges ( #4249 )
...
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2024-10-22 14:28:48 +13:00
26042790b6
Remove setInterval implementations from camera controls ( #4255 )
...
* remove setInterval implementations from camera controls
* fmt
2024-10-21 16:46:47 -07:00
af74f3bb05
Upgrade to rust toolchain 1.82.0 ( #4245 )
...
* Upgrade to rust toolchain 1.82.0
* Fix lint about variant being too large
* Fix lint about Err variant being too large
2024-10-21 16:35:04 -05:00
0bdedf5854
fix job name for printers ( #4234 )
...
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Paul Tagliamonte <paul@zoo.dev >
2024-10-21 21:27:32 +00:00
d2c6b5cf3a
Buffer file writes, because writing to file after every keypress has bad consequences ( #4242 )
...
* Buffer file writes, because writing to file after every keypress does bad things
* fix: kevin -- added timeouts for the time being since the workflow for saving data to disk is now changed
---------
Co-authored-by: Kevin Nadro <kevin@zoo.dev >
2024-10-21 15:07:20 -05:00
19ffa220e8
Fix reading files from WebAssembly ( #4183 )
2024-10-18 14:43:01 +00:00
5332ddd88e
Add more Machine API capabilities ( #4203 )
2024-10-18 10:25:54 -04:00
11d9a2ee00
Fix test settings to actually get used ( #4191 )
...
* Fix test settings to actually get used
Co-authored-by: Frank Noirot <frank@zoo.dev >
* Export file size changed out from under us again, relax this test to just be above a reasonable size
* Missed on updated export expectation
* Wrong check, should just be greater than
* Fix E2E test, remove console log
* fmt
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu-latest)
* Sketchy rectangle commit fix
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu-latest)
* Re-run CI
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: windows-latest)
* Revert "A snapshot a day keeps the bugs away! 📷 🐛 (OS: windows-latest)"
This reverts commit 2ace7a3b0e
.
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu-latest)
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: windows-latest)
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: windows-latest)
* Bump timeouts for snapshots
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu-latest)
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: windows-latest)
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: windows-latest)
* Re-run CI
---------
Co-authored-by: Frank Noirot <frank@zoo.dev >
Co-authored-by: Frank Noirot <frank@kittycad.io >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-18 08:31:00 +00:00
bfebc41a5c
Franknoirot/adhoc/revert-dedupe-commits ( #4213 )
...
* Revert "KCL: Fix duplicate 'type' key"
This reverts commit f650281855
.
* Revert "Remove duplicate "type" field in the snapshots (#4211 )"
This reverts commit 824b4c823e
.
2024-10-18 02:16:44 -04:00
824b4c823e
Remove duplicate "type" field in the snapshots ( #4211 )
...
* Remove duplicate "type" field in the snapshots
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu-latest)
* Confirm
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Tran <jonnytran@gmail.com >
2024-10-18 01:32:03 -04:00
785002fa4e
Live reload on file tree changes and project settings changes ( #4142 )
...
* Reload FileTree and File when changed externally
* Added tests
* Make file and project creation a bit more reliable
2024-10-17 23:42:24 -04:00
f650281855
KCL: Fix duplicate 'type' key
2024-10-17 20:37:05 -07:00
9f6999829a
Fix broken digest code ( #4206 )
...
I broke the typescript bindings in https://github.com/KittyCAD/modeling-app/pull/4193 -- basically the `digest: Option<Digest>` fields previously allowed Typescript to not set a value for the `digest` key at all, but somehow my change made it required in the Typescript.
Fix is to apply `#[ts(optional)]`, see docs at https://docs.rs/ts-rs/latest/ts_rs/trait.TS.html#struct-field-attributes
2024-10-17 20:36:40 -07:00
a14bbaa237
Update machine-api spec ( #4205 )
...
* YOYO NEW API SPEC!
* New machine-api types
* empty
* Update .codespellrc
* Update .codespellrc
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
2024-10-17 20:01:34 -07:00
0706624381
KCL: Refactor array-indexing code ( #4173 )
...
Neater code, and better error messages.
2024-10-17 16:29:27 -07:00
ef0ae5e06e
Add syntax highlighting for comparison operators ( #4182 )
...
* Add syntax highlighting for comparison operators
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu-latest)
* Confirm
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-17 23:29:13 +00:00
a010743abb
KCL: Skip serializing default values for AST nodes ( #4193 )
...
This will make our snapshots and JSON representations easier to read (making our tests less verbose).
2024-10-17 16:22:40 -07:00
057ee479c3
Update machine-api spec ( #4201 )
...
* YOYO NEW API SPEC!
* New machine-api types
* empt
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jess Frazelle <github@jessfraz.com >
2024-10-17 16:03:55 -07:00
7218efc489
Fix weird machine api behavior/add status ( #4186 )
...
* YOYO NEW API SPEC!
* fies
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add status
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* pass disabled
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* disabled
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add nozzle diameter
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* ypdates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* update types
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* update types
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* update types
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Paul Tagliamonte <paul@zoo.dev >
2024-10-17 15:30:46 -07:00
b6dd6e7dd0
Release kcl-test-server 0.1.14 ( #4200 )
2024-10-17 15:29:05 -07:00
0505220dac
KCL refactor: Move compute_digest into its own module ( #4176 )
...
* KCL refactor: Move compute_digest into its own module
* Move if-else execute into execute.rs
2024-10-17 12:30:44 -07:00
0255fde5fe
Release KCL v0.2.22 ( #4187 )
2024-10-17 09:23:08 -07:00
ebade29ed0
Bump image from 0.25.2 to 0.25.3 in /src/wasm-lib ( #4180 )
...
Bumps [image](https://github.com/image-rs/image ) from 0.25.2 to 0.25.3.
- [Changelog](https://github.com/image-rs/image/blob/main/CHANGES.md )
- [Commits](https://github.com/image-rs/image/compare/v0.25.2...v0.25.3 )
---
updated-dependencies:
- dependency-name: image
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-16 23:35:55 -07:00