cf66b93963
Fix most Github Actions 'annotations' in PRs ( #417 )
...
* Fix Github Actions 'annotations' in PRs
Fixes #383
* Fix the React Hooks complains, and _app for rust
* Revert "Fix the React Hooks complains, and _app for rust"
This reverts commit 4a2ff925e5
.
* Add back prettier fix and rust _app
* Fmt
* More annotation fixes
* More non-hooks fixes
* Rollback with eslint rule
* Add APPLE_TEAM_ID secret
* Revert "Add APPLE_TEAM_ID secret"
This reverts commit 346aaff5f4
.
* More fixes
2023-11-01 07:39:31 -04:00
93e806fc99
don't query program memory for add sketch line ( #895 )
...
* don't query program memory for add sketch line
* add issue TODO
* fmt
* fix test tsc
2023-10-18 07:30:03 +11:00
71d1bb70ef
Fix move only working first time ( #850 )
...
* nuke fixIdMappings
* update readme
* remove sourceRangeMap as it was redundant
repeated state already covered by the artifactMap
* bug fix, name conflict
* bug fix
* update artifact map when sketch is first created
* update artifact map for line generation too
* fmt
* update move state to allow selections
* allow for selection of vertices
some what hacky, but better than nothing
* unnecessary react hook dependency
* generic react linting
* move working for non-execute case
* block partial contrained things too for now
2023-10-13 09:47:46 -07:00
d0930477ad
xstate migration ( #713 )
...
* Add basic Popover functionality
* Fix up light mode of basic bar
* Add support for 2D and 3D mode styling
* Turn toolbar buttons back on
* Remove ActionButton until after tool logic refactor
* Add transitions
* Add initial modeling machine
This is not a full description of how the modelingMachine should work,
but begins to replicate all of the features of our useStore in XState
instead of zustand.
* Add fillet tool flow
* Refactor: break out engine manager setup into hook
Preparing for making a wrapper component around the App
that will manage the engine manager at the same level as
the modelingMachine.
* Create modeling provider, move engine management to it
* Refactor: move other engine-related useEffect into hook
* Add TS schema, selection actions to modelingMachine
* Add barebones modeling machine to app
Only implementing adding to code-based selections in the text editor so far
* Update moved useEffect hook after merge
* give myself reminder TODO
* fix engineCommandManager waitForReady Promise
* enable devtools
* make utility class for handling default planes
* progresson startNewSketch and EditSketch
* add provider to tests
* too large of a commit
put all of the lang state into another singleton, but did lots of work on xstate too
* fix edit sketch ast issue
* re-execute on sketch exit
* prettierignore xstate typegen file
* add move tool button back in
* handle mouse commands with xState states
* fix move
* remove old imports
* big useStore delete
* fix some destructuring bugs
* start of constraint actions
* add horizontal/vertical distance constraints
* fix more destructuring errors
* fix
* add angle constaints
* add align vertically/horizontally constraints
* add length and equal length constraints
* rename modal states to be more cmd bar friendly
* add doesPipeHave query
* add another query
* add extrude states
* state machine clean up
* xstate layout tweak
* make xstate types happy
* Revamp cursor logic and place curors after ast mod
* Xstate merge (#796 )
* turning back on all planes (#720 )
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix more tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix stdlib
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
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 >
compile
Signed-off-by: Jess Frazelle <github@jessfraz.com >
update sample code
Signed-off-by: Jess Frazelle <github@jessfraz.com >
re-enable the planes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix 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 >
fix all tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
boilerplate
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Cut release v0.9.2 (#714 )
rust make default planes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
use the planes from engine
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
negative args
Signed-off-by: Jess Frazelle <github@jessfraz.com >
diable camera
Signed-off-by: Jess Frazelle <github@jessfraz.com >
hide planes
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 >
updatress
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fmt
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Update src/hooks/useAppMode.ts
Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch >
Update src/hooks/useAppMode.ts
Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch >
cleanups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Bump kittycad from 0.2.26 to 0.2.27 in /src-tauri (#726 )
Bumps [kittycad](https://github.com/KittyCAD/kittycad.rs ) from 0.2.26 to 0.2.27.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](https://github.com/KittyCAD/kittycad.rs/compare/v0.2.26...v0.2.27 )
---
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>
Bump tauri-plugin-fs-extra from `b04bde3` to `6c7a4c0` in /src-tauri (#725 )
Bumps [tauri-plugin-fs-extra](https://github.com/tauri-apps/plugins-workspace ) from `b04bde3` to `6c7a4c0`.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases )
- [Commits](b04bde3461...6c7a4c0984
)
---
updated-dependencies:
- dependency-name: tauri-plugin-fs-extra
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump toml from 0.8.0 to 0.8.1 in /src-tauri (#724 )
Bumps [toml](https://github.com/toml-rs/toml ) from 0.8.0 to 0.8.1.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.0...toml-v0.8.1 )
---
updated-dependencies:
- dependency-name: toml
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>
Bump openapitor from `61a1605` to `d3e98c4` in /src/wasm-lib (#723 )
Bumps [openapitor](https://github.com/KittyCAD/kittycad.rs ) from `61a1605` to `d3e98c4`.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](61a16059b3...d3e98c4ec0
)
---
updated-dependencies:
- dependency-name: openapitor
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump kittycad from 0.2.26 to 0.2.27 in /src/wasm-lib (#722 )
Bumps [kittycad](https://github.com/KittyCAD/kittycad.rs ) from 0.2.26 to 0.2.27.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](https://github.com/KittyCAD/kittycad.rs/compare/v0.2.26...v0.2.27 )
---
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>
Bump thiserror from 1.0.48 to 1.0.49 in /src/wasm-lib (#721 )
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.48 to 1.0.49.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.48...1.0.49 )
---
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>
Bump expectorate from 1.0.7 to 1.1.0 in /src/wasm-lib (#712 )
Bumps [expectorate](https://github.com/oxidecomputer/expectorate ) from 1.0.7 to 1.1.0.
- [Release notes](https://github.com/oxidecomputer/expectorate/releases )
- [Commits](https://github.com/oxidecomputer/expectorate/compare/v1.0.7...v1.1.0 )
---
updated-dependencies:
- dependency-name: expectorate
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump clap from 4.4.4 to 4.4.5 in /src/wasm-lib (#711 )
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.4 to 4.4.5.
- [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/v4.4.4...v4.4.5 )
---
updated-dependencies:
- dependency-name: clap
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>
refactor cleanup
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 >
type improvements
* use new sketchmode no camera
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* js working better
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* start of negative planes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* tests and neg
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* images
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* norma;s
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* better initial load of planes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* ts
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix tsc
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix edit sketch
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add regression test for 2d solid issue
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* show planes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix clippy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* canecel in progress
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix ci as well
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 >
* stopping point
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* refactor
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* it works
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Hide planes (#797 )
* hide planes in one go
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* update hide;
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* make tsc happy
* Make "Replay Onboarding" button available on home settings page (#804 )
* Fix unrelated bug, settings button in the home sidebar
doesn't go to the home settings after my previous fixes to routes
* Turn on "Replay Onboarding" button in home settings
* Use ONBOARDING_PROJECT_NAME in both places
* Fix formatting
* Cut release v0.10.0 (#803 )
Co-authored-by: Frank Noirot <frank@kittycad.io >
* Bump kittycad from 0.2.28 to 0.2.31 in /src-tauri (#798 )
Bumps [kittycad](https://github.com/KittyCAD/kittycad.rs ) from 0.2.28 to 0.2.31.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](https://github.com/KittyCAD/kittycad.rs/compare/v0.2.28...v0.2.31 )
---
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>
* Bump openapitor from `fa0345c` to `c122a9b` in /src/wasm-lib (#800 )
Bumps [openapitor](https://github.com/KittyCAD/kittycad.rs ) from `fa0345c` to `c122a9b`.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](fa0345c514...c122a9b1d6
)
---
updated-dependencies:
- dependency-name: openapitor
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump syn from 2.0.37 to 2.0.38 in /src/wasm-lib (#801 )
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.37 to 2.0.38.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.37...2.0.38 )
---
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>
* Bump winnow from 0.5.15 to 0.5.16 in /src/wasm-lib (#799 )
Bumps [winnow](https://github.com/winnow-rs/winnow ) from 0.5.15 to 0.5.16.
- [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md )
- [Commits](https://github.com/winnow-rs/winnow/compare/v0.5.15...v0.5.16 )
---
updated-dependencies:
- dependency-name: winnow
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>
* Bump tauri-plugin-fs-extra from `fa32d1a` to `9f27e6e` in /src-tauri (#802 )
Bumps [tauri-plugin-fs-extra](https://github.com/tauri-apps/plugins-workspace ) from `fa32d1a` to `9f27e6e`.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases )
- [Commits](fa32d1afa9...9f27e6e441
)
---
updated-dependencies:
- dependency-name: tauri-plugin-fs-extra
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* better plane selection
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* use the sketch plane id
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add todo w bug
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Improve Prop Typings for Modals. Remove instances of `any`. (#792 )
* Update typings for modals. Remove instances of `any`
* Fix generic type for creating modals
* cleanup other stuffs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* make plane id available when selecting default plane
* few clean up things
* change enter sketch action order to make sure plane id is available to 'enter edit mode'
* Revert "Improve Prop Typings for Modals. Remove instances of `any`. (… (#813 )
Revert "Improve Prop Typings for Modals. Remove instances of `any`. (#792 )"
This reverts commit 629f326f4c
.
* ffmpeg instructions (#814 )
* fix some tsc stuff
* small tweak
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch >
Co-authored-by: Frank Noirot <frank@kittycad.io >
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jason Rametta <rametta@outlook.com >
* clean up
* fix test and tsc
* remove one more thing from useStore
* tweak state digrame layout
* fmt
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Frank Johnson <frankjohnson1993@gmail.com >
Co-authored-by: Frank Noirot <frank@kittycad.io >
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jason Rametta <rametta@outlook.com >
2023-10-11 13:36:54 +11:00
61943055e5
refactor a bit before more rust port ( #739 )
...
* partially there
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-29 11:11:01 -07:00
f7971bddef
Rename TooTip to ToolTip ( #541 )
2023-09-15 11:48:23 -04:00
cdb4c36cf5
addNewSketchLn should close when latest point matches start ( #479 )
...
* addNewSketchLn should close when latest point matches start
* Fix types
* Include close in test case
* Add handling for continuing to sketch
* Fix types again
* close line edits (#523 )
* add close to pipe
* undo some previous changes
---------
Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch >
2023-09-14 09:34:37 -04:00
a5fa259d55
fixes obj.thing
stuff and member expressions and bugs ( #461 )
...
* add failing tests for loops
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix obj["thing"] and obj.thing complex cases
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix clippy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* remove println
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix test
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes more tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add more tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* more test fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* last test fix
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-13 07:23:14 -07:00
2d452f80d1
ts-rs changes ( #450 )
...
* initial changes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* bust cache
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add dumb shit
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Revert "add dumb shit"
This reverts commit 638e9cf72f75e1ad08fb6b22d2a7b143ab7e06e5.
* Revert "bust cache"
This reverts commit fd6f53ba0757d635190aa82d4b055a83755f3027.
* fix
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-13 11:10:27 +10:00
fd2ed8acbd
Sketch on plane WIP ( #309 )
...
create default planes wip
2023-09-12 22:36:47 +00:00
11658e2ff5
cleanup code we are no longer using ( #319 )
...
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-08-25 10:28:59 +10:00
de255acc59
Port executor ( #287 )
...
* parent
initial types
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 >
more port
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 >
fixups
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 >
fixups
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 >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
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 >
fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
use the function
Signed-off-by: Jess Frazelle <github@jessfraz.com >
ipdates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
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 >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
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 >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
pipe sjhit
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
cleanup and pipes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
attempt to call the function
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 tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
better
Signed-off-by: Jess Frazelle <github@jessfraz.com >
add first function
Signed-off-by: Jess Frazelle <github@jessfraz.com >
start of stdlib
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
organize better
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
boilerplace
Signed-off-by: Jess Frazelle <github@jessfraz.com >
boilerplace
Signed-off-by: Jess Frazelle <github@jessfraz.com >
more functions
Signed-off-by: Jess Frazelle <github@jessfraz.com >
more stuff
Signed-off-by: Jess Frazelle <github@jessfraz.com >
more path segment functions
Signed-off-by: Jess Frazelle <github@jessfraz.com >
reorganize files
Signed-off-by: Jess Frazelle <github@jessfraz.com >
extrude boilerplate
Signed-off-by: Jess Frazelle <github@jessfraz.com >
extrude
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
sketch boilerplate
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
comment out extrude for now
Signed-off-by: Jess Frazelle <github@jessfraz.com >
more executor test passing
Signed-off-by: Jess Frazelle <github@jessfraz.com >
rename meta
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
cleanup unneeded deps
Signed-off-by: Jess Frazelle <github@jessfraz.com >
generate executor typoes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
remove path to node
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates for tests js
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
ignore wasm file
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
start of websocket connection
Signed-off-by: Jess Frazelle <github@jessfraz.com >
boilerplate for engine connection
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 >
send the modeling cmd
Signed-off-by: Jess Frazelle <github@jessfraz.com >
implement close
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 >
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 >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
remove refid
Signed-off-by: Jess Frazelle <github@jessfraz.com >
remove refid
Signed-off-by: Jess Frazelle <github@jessfraz.com >
do sketch start
Signed-off-by: Jess Frazelle <github@jessfraz.com >
almost done w sketch port
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
add more tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix deserialize and tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests remove logging
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix the return type
Signed-off-by: Jess Frazelle <github@jessfraz.com >
make compile
Signed-off-by: Jess Frazelle <github@jessfraz.com >
more tests pass
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
expect any string
Signed-off-by: Jess Frazelle <github@jessfraz.com >
add failing test
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix the tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix more tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
replace wasm_execute
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix more tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
add more tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
make all tests pass
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix remaining tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
add a warpper
Signed-off-by: Jess Frazelle <github@jessfraz.com >
start of server side ws/webrtc
Signed-off-by: Jess Frazelle <github@jessfraz.com >
more nonweb working
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 >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
add test mock
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
mutable engine
Signed-off-by: Jess Frazelle <github@jessfraz.com >
blocking snd engine cmd
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
tmp
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* tmp
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix clippy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* build wasm only
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix cargo builds
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* more logging
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* push
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-08-24 15:34:51 -07:00
d33ddb2f1b
fix typo in function name, cleanup unused args ( #317 )
...
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-08-24 11:41:38 -07:00
965d2b23cf
Xstate Auth migration ( #250 )
...
* auth migrate progress, web only
* wrap home in state provider
* use consistent logged spelling
* use createActorContext
* typo
* fix wraping problem
2023-08-22 05:34:20 +10:00
a8d23f5c0d
Fix lint warnings ( #289 )
2023-08-19 08:14:35 +10:00
108827075d
fix export types ( #271 )
...
* fix export types
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* update kittycad lib
* fix wasm
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: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch >
2023-08-18 08:12:32 -07:00
5419039fae
add client lib @kittycad/lib ( #214 )
...
* add client lib
* tsc after build
* update after spec update
* remove uneeded check
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix camera drag
* fix throttle typing
* comment with link to issue
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Jess Frazelle <github@jessfraz.com >
2023-08-02 15:41:59 +10:00
3fc4d71a1e
move ast types into seperate ts file ( #169 )
2023-07-13 16:57:22 +10:00
cda301997e
Get tests passing without engine connection ( #155 )
...
We can create a enginelessExecutor that can be used for many of the
executor tests that will be much more performant for tests that don't
need the engine to actually do any modeling work.
2023-07-10 15:15:07 +10:00
3510abfcb9
delay execute till after stream ready ( #143 )
2023-06-23 14:19:15 +10:00
2d3c73d46a
asyncronise executor ( #115 )
...
* Intital async of executor
The execture now sends websocket message instead of calling functions
directly from the engine, When it does so it holds onto the id.
The engine is still returning geo/polys directly but I'm working make it
so that the UI doesn't need to know about that, so that we can switch
over the streaming ui.
Things left to do:
- it is still making both direct function calls and websockets, and the former should be removed.
- It does highlighting of segments and sourceRanges not through websockets and that needs to be fixed.
- Tests have not been adjusted for these changes.
- Selecting the head of a segment is not working correctly again yet.
* Rough engine prep changes (#135 )
* rough changes for engine prep
* mouse movements working again
* connect to engine for startsketch, line, close and extrude
2023-06-22 16:43:33 +10:00
15699361a0
Cursors should stay after a code-mod ( #113 )
...
* setup to get path to nodes back from ast-mods
* fix cursor setting for constraint buttons that use transformSecondarySketchLinesTagFirst
* fix cursors for constraints that use transformAstSketchLines
2023-04-14 07:49:36 +10:00
2fc68e7c82
Change perpendicular-distance constraint to something more intuitive to setting parallel distance ( #110 )
...
* some clean up
* Change perpendicular-distance constraint to something more intuitive to setting parallel distance
* delete
* add back
* force rename
* change name back
* try renaming again
2023-04-08 14:16:49 +10:00
db5220467b
set angle between two selected lines ( #104 )
2023-04-05 21:06:20 +10:00
a8b68bab6a
Users should be able to select points (not just lines) ( #97 )
...
* update selection datastructure to accomodate more selection metadata
* Users should be able to select points (not just lines)
2023-04-03 16:05:25 +10:00
61533fb306
Add UI for closing the sketch loop ( #87 )
2023-04-01 20:38:31 +11:00
0593afc4ff
Replace values with variable helper ( #84 )
...
* Refactor getNodePathFromSourceRange
getNodePathFromSourceRange wouldn't go as deep as it should have,
stopping at pipe expressions, when it should have followed as deep
into the ast as possible.
The fact that it stopped early then had other part of the code base that
expected this behaviour and it effected a lot, so a rather large refactor
* overhaul of getNodePathFromSourceRange
* quick fix for moreNodePathFromSourceRange
* minor bugs in moreNodePathFromSourceRange
* couple more tests
* add moveValueIntoNewVariable
* add UI for replacing valuse with variable
* update button text
2023-04-01 16:47:00 +11:00
ab1639b8b4
Add 'remove constraining values' UI ( #80 )
2023-03-22 03:02:37 +11:00
45091d3c4f
quick bugfix ( #78 )
2023-03-21 19:02:18 +11:00
37ebfd072c
getSketchSegmentIndexFromSourceRange bug fix ( #75 )
...
* getSketchSegmentIndexFromSourceRange bug fix
* test was verbose
* rename function
2023-03-20 07:09:19 +11:00
22c356a841
Add intersect constraint UI ( #71 )
...
* Add intersect constraint UI
* add more combos for intersect constraint
2023-03-19 18:46:39 +11:00
0995780abb
add Equal angle constraint + more cases for existing constraints ( #69 )
...
* add more setLength and horz vert distance constraints
* rename equal to equalLength
* Add equalAngle constraint
2023-03-17 21:15:46 +11:00
f7c78db92b
Creating new sketch calling sketch fns with dumby default values ( #67 )
2023-03-17 15:53:20 +11:00
c11e7e7fd3
Give startSketchAt a 3D artifact ( #65 )
...
* Give startSketchAt a 3D artifact
* fix tests
* refactor start geo to be in the start property
* small tweak
2023-03-17 08:27:40 +11:00
eebddb0ce2
more transform functions for various line combos ( #56 )
2023-03-10 14:55:16 +11:00
c3ead3b074
Add Angle & Length constraint/value, and modal for the details ( #54 )
...
* setup UI for getting length and Angle values from user
* enable setLength-angle for angledLines with an exisiting constraining value
2023-03-10 08:48:50 +11:00
2ac24bcd95
Horz/Vert distance constraint with modal workflow ( #43 )
...
* button style tweak
* Remove duplication constraint ast transforms
* giveSketchFnCallTag to return if line already had a tag
* remove duplication
* update tag name to referenceSegName
* Update transform shape to return key details about the transform
* add modal to hor vert distance workflow
* fix browser env stuff from breaking tests
* fmt
2023-03-07 15:45:59 +11:00
4c554b6549
initial set horz-vert distance constraint ( #42 )
...
inital set horz-vert distance constraint
2023-03-05 07:34:56 +11:00
433c29217e
tidy up ( #37 )
2023-03-03 20:35:48 +11:00
6446601a67
Add equal-length constraints & implement UnaryExpressions ( #35 )
...
* add segLen help to lang std
* adding helpers functions to sketchConstraints
* update tokeniser tests because they were annoying me not being 100%
* compare async lexer with sync lexer instead
* add helper functions
* remove unneeded nesting
* update add ast modifier function for angledLine
* initial equal ast modification
It adds a tag to the primary line, and converts any secondary lines to angledLine, but doesn't reference the taged/primary line yet
* Update fn call with refernce to previous line using segLen
* add test for giveSketchFnCallTag
* fix excutor bug, executing call expression in array expression
* fix small issue in executor
* add CallExpressions to BinaryExpressions
* add unary Expressions
* tweaks to unaryExpression logic
* add recasting for unaryExpressions and CallExpressions in BinaryExpressions
* ensure pipe substitution info is passed down to unary expressions and others
* allow binary expressions in function argumentns
* inital setup, new way of organising sketch fn transforms
Starting with equal length
* overhaul equalLength button
* add equal length support for angledLine
* line with one variable supports signed legLength
* fix indentation when recasting long arrayExpressions in a pipeExpression
* improve modifyAst consision
* further modify ast tidy
* equalLength transfroms far angledLineOfXLength
* add transforms for line-yRelative
* add equal constraint for angledLineOfYLength
* quick test fix
* add equal length constrain transforms for lineTo
* add equal length constraints for angledLineToX
* add equalLength constraints for angledLineToY
* test tidy
* setup new vertical-horizontal constraints
* Add equal Length constraints for vertical/horizontal lines
* migrate old tests, and refactor callback tag
* tweaks and refactor horzVert component
* fix leg len with small negative leg length
2023-03-02 21:19:11 +11:00
4ec0401118
Constraint setup + Horizontal & Vertical implementation ( #33 )
...
* start of horizontal/vert constraint
* horz vert constraint working with variable
* quick fix
* add tests for horz constraint
* clean up
2023-02-21 10:50:45 +11:00
594d55576a
functional sketch working ( #26 )
...
* functional sketch working
With old sketch block still there
* get all version of lines working with add line and update line
* remove old ui state types
* some clean up
* rename some things
* add todo for multi cursor
* shorten useStore repitition
* small type improvement
* big overhaul to group sketch function and they ast modifying helpers together
* unneeded tweak
* ruthlessly rip out sketch logic
* clean up path keyword
* getting sketch on face working again with all the new sketch line types
* add a bunch of tests and re-arrage file structure
2023-02-12 10:56:45 +11:00