0002295cdf
Fix operations to reflect concurrent module import behavior ( #6568 )
...
* Fix operations to reflect concurrent module import behavior
* Add new generated output
* Fix root module import tracking
* Rename test so that it's easier to filter
* Update output ops
* Fix clippy
* Update output after rebase
* Disable e2e tests until future PR
* Fix generated output; probably from recent merge
* Delete unused snap file
2025-04-30 16:26:46 +00:00
ccd5b0272d
Add math functions back to the prelude ( #6595 )
...
* Add math functions back to the prelude
* Update output
* Update docs
2025-04-30 11:07:05 -04:00
bae875382c
Replace plane strings with literals ( #6592 )
...
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-30 05:13:11 +00:00
14ce66bcc1
Fix to have stable sorting for end cap artifacts ( #6589 )
...
* Fix to have stable sorting for end cap artifacts
* Update output
2025-04-30 04:34:35 +00:00
644c561815
Declare std::math in KCL (BREAKING) ( #6588 )
...
Declare std::math in KCL
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-30 03:59:19 +00:00
9c29756a38
lint default planes and add a suggestion ( #6587 )
...
lint default planes and other plane cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2025-04-30 02:11:02 +00:00
844f229b5a
Remove trig functions from prelude and change their unit handling (BREAKING) ( #6565 )
...
Remove trig functions from prelude and change their unit handling
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-30 12:40:11 +12:00
a9998be176
Remove unneeded derive Deserialize ( #6579 )
...
This revealed that one of our variants is never constructed.
2025-04-29 12:17:41 -07:00
e0cd3efc64
fix edge cuts & clone ( #6572 )
...
* fix edge cuts & clone
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix edge_id
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* code comemnt
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2025-04-29 16:51:52 +00:00
77e3efde9a
Deterministic parallelized snaps ( #6527 )
...
* initial pass
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 >
changes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
more updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
more updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
serde variant name
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 >
some sort
Signed-off-by: Jess Frazelle <github@jessfraz.com >
some sort
Signed-off-by: Jess Frazelle <github@jessfraz.com >
some sort
Signed-off-by: Jess Frazelle <github@jessfraz.com >
some sort
Signed-off-by: Jess Frazelle <github@jessfraz.com >
some sort
Signed-off-by: Jess Frazelle <github@jessfraz.com >
some sort
Signed-off-by: Jess Frazelle <github@jessfraz.com >
some sort
Signed-off-by: Jess Frazelle <github@jessfraz.com >
some sort
Signed-off-by: Jess Frazelle <github@jessfraz.com >
some sort
Signed-off-by: Jess Frazelle <github@jessfraz.com >
some sort
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 >
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 >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
sort the edges
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
u[dates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
u[dates
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 >
cleanups
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 >
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 >
add bs-to-kcl
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 >
* fixes
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-29 13:38:52 +00:00
aca5fdb521
Remove some deprecated functions from std ( #6531 )
...
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-28 20:24:18 -04:00
3a23ec1bee
Create std::units module ( #6528 )
...
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-29 08:41:31 +12:00
d96a4d3337
Improvements to axis handling ( #6530 )
...
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-29 08:29:22 +12:00
efba773635
Move operations on solids to be declared in KCL ( #6462 )
...
* Declare chamfer in KCL
Signed-off-by: Nick Cameron <nrc@ncameron.org >
* Ignore more in the simulation tests
Signed-off-by: Nick Cameron <nrc@ncameron.org >
* Declare fillet in KCL
Signed-off-by: Nick Cameron <nrc@ncameron.org >
* Move shell and hollow to KCL
Signed-off-by: Nick Cameron <nrc@ncameron.org >
---------
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-28 14:20:38 +12:00
24465cf463
Parallelize the artifact graph only time suck ( #6482 )
...
* parallelize the artifact only time suck
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
make wasm safe
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* artifact graph things
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-27 04:21:26 +00:00
0f88598dc0
BREAKING: Migrate math functions to keyword args ( #6491 )
2025-04-26 23:33:41 +00:00
6e115c19d5
KCL: Migrate hole to kwargs ( #6382 )
...
Previously:
`|> hole(circle(radius = 2, center = p), %)`
Now:
`|> subtract2d(tool = circle(radius = 2, center = p))`
2025-04-26 15:31:51 -05:00
8de648f0db
getCommonEdge as default way of filleting ( #6043 )
...
* Common edge faces into artifact graph
* clean up
* kingdom of tags
* add tests
* hook up tags with edge treatments
* update unit tests
* update e2e
* clean up
* more fix up after main merge
* fmt
* revolve fix
* fix new circular dependency
* fix revolve
* remove numbers from circ deps, makes diffs bad
* sim test updates
* try and get tests working
* update
* Fix tsc error
---------
Co-authored-by: max-mrgrsk <156543465+max-mrgrsk@users.noreply.github.com >
Co-authored-by: max <margorskyi@gmail.com >
Co-authored-by: Jonathan Tran <jonnytran@gmail.com >
2025-04-26 04:00:28 +00:00
50f8131d83
Kwargs: map and reduce ( #6480 )
...
Migrate array's `map`, `reduce` and `push` functions to use keyword arguments.
2025-04-25 19:09:03 -05:00
f8e53d941d
Change so that var definitions can be a module's return value ( #6504 )
...
* Change so that var definitions can be a module's return value
* Change car wheel assembly to use the new return mechanism
* Add sim test
* Update output
* Update module docs
* Add safety check to only work with modules
* Fix to use updated keyword args
2025-04-25 21:55:54 +00:00
ffbe20b586
Kwargs: startProfileAt ( #6424 )
...
Previous:
```
startProfileAt([x, y], %)
startProfileAt([x, y], sketch001)
```
New:
```
startProfile(%, at = [x, y])
startProfile(sketch001, at = [x, y])
```
2025-04-25 21:01:35 +00:00
5c0ca52291
Foreign imports go thru parallelization too ( #6488 )
...
* start of parallelizing forign imports
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* clippy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* remove_printlns
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* remove shit that doesnt work
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* remove shit that doesnt work
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* put back
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* put back
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* put back
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* multiple
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* remove println
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* clone docs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add whole module import docs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add whole module import docs
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-25 03:25:02 +00:00
83a87b046f
Declare std::offsetPlane in KCL ( #6344 )
...
* Declare std::offsetPlane in KCL
Signed-off-by: Nick Cameron <nrc@ncameron.org >
* Use two axes to define planes in KCL
Signed-off-by: Nick Cameron <nrc@ncameron.org >
---------
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-24 22:01:27 +12:00
2956f9ed55
YOU FOOLS I WON THE CONTEST ( #6328 )
...
* dodec
* fmt
* comment
* Update kcl-samples simulation test output
* Update kcl-samples simulation test output
* Fix so that just commands regenerate ast output
* overwrite
* Update just command to include manifest
* Update generated output
* merge main post
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Tran <jonnytran@gmail.com >
2025-04-24 06:08:45 +00:00
510d74f2c7
Add clone ( #5462 )
...
* 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 >
update the extrude idds
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix sample
Signed-off-by: Jess Frazelle <github@jessfraz.com >
better docs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix the start and end tag
Signed-off-by: Jess Frazelle <github@jessfraz.com >
better docs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
new tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
codespell
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 >
* fix examples
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix some stuff
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 >
* add another test for fillet
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Update rust/kcl-lib/src/std/clone.rs
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add sweep test
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* revolve test;
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Update rust/kcl-lib/src/std/clone.rs
Co-authored-by: Jonathan Tran <jonnytran@gmail.com >
* add another test for fillet
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* allow cloning an imported geometry;
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* allow for imported geometry
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* update docs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Tran <jonnytran@gmail.com >
2025-04-24 04:26:09 +00:00
b7385d5f25
Turn on units of measure (BREAKING CHANGE) ( #6343 )
...
* Turn on uom checks
Signed-off-by: Nick Cameron <nrc@ncameron.org >
* Convert all lengths to mm for engine calls
Signed-off-by: Nick Cameron <nrc@ncameron.org >
---------
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-22 22:58:35 +00:00
f99e44e371
Kwargs: assert functions ( #6406 )
...
Closes https://github.com/KittyCAD/modeling-app/issues/6408
2025-04-22 17:44:52 +00:00
e4e18dfd4b
Coerce the result of a function call to the function's return type ( #6309 )
...
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-22 11:00:53 +12:00
f8ca6ad746
BREAKING: Change polygon to keyword args ( #6385 )
...
* Change polygon to keyword args
* Update docs
* Update generated output
* Update docs to mention the default for inscribed
* Appease clippy
* Remove tag parameter
* Update docs since removing tag
* Remove inscribed from autocomplete snippet since the default is true
2025-04-21 18:29:32 +00:00
790613e708
KCL: Convert bezierCurve to use keyword args ( #6381 )
2025-04-20 20:10:27 -05:00
90acc00369
Kwargs migration: arc/arcTo ( #6334 )
2025-04-18 17:40:44 -05:00
f9fbaa2298
Add files via upload ( #6227 )
...
* Add files via upload
Adding parametric pc fan and bottle
* Update and rename globals.kcl to parameters.kcl
* Update fan-housing.kcl
* Update fan-housing.kcl
* Update fan.kcl
* Update motor.kcl
* Update parameters.kcl
* Update kcl-samples simulation test output
* Update main.kcl
avoiding fn imports
* Update kcl-samples simulation test output
* remove functions
* angledLine kwargs
* tangentalArc kwargs
* Update kcl-samples simulation test output
* Update housing middle
more tweaks because I just can't help myself
* Update kcl-samples simulation test output
* Update kcl-samples simulation test output
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: jgomez720 <114548659+jgomez720@users.noreply.github.com >
2025-04-17 17:46:56 +00:00
d9fe78171f
parallelized modules from kcl ( #6206 )
...
* wip
* sketch a bit more; going to pull this out of tests next
* wip
* lock start things
* this was a bad idea
* Revert "this was a bad idea"
This reverts commit a2092e7ed6
.
* prepare prelude before spawning
* error
* poop
* yike
* :(
* ok
* Reapply "this was a bad idea"
This reverts commit fafdf41093
.
* chip away more
* man this is bad
* fix rebase add feature flag
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* get rid of execution kind
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* clippy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* logs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* no extra executes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* race w batch
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cluppy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* no printlns
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* no printlns
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix source ranges
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* batch shit
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 >
* fix
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix some bugs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix error
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cut 1
* preserve mem
* 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.
* skip non-kcl
* clean up source range bug
* error message changed
the uuids also changed because the error is hit before execute even
starts.
* typo
* rensnapshot a few
* order things
* MAYBE REVERT LATER:
attempt at an ordering
* snapsnap
* Revert "snapsnap"
This reverts commit 7350b32c7d
.
* Revert "MAYBE REVERT LATER:"
This reverts commit ab49f3e85f
.
* ugh
* poop
* poop2
* lint
* tranche 1
* more
* more snaps
* snap
* more
* update
* MAYBE REVERT THIS
* cache multi-file
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* addd tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* set to false
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add test outputs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* clippy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* kcl-py-bindings uses carwheel
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* update snapshots
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: Paul R. Tagliamonte <paul@zoo.dev >
Co-authored-by: Paul Tagliamonte <paultag@gmail.com >
2025-04-16 11:52:14 -07:00
7fce38b212
KCL: angledLineThatIntersects migrate to kwargs ( #6296 )
...
* KCL: Convert angledLineThatIntersects to use kwargs
* Update KCL tests and samples
* WIP
* Fix tsc and lint errors
* Fix missing cases
* Fix modifyAst unit tests
* Fix sketch unit tests
* Fix std unit tests
* Fix to not have extra docs
* Fix more unit tests
* Fix bench test
* Fix e2e tests to use new kw args
* tiny lint
* Fix adding constraint from UI to work
* Fix to use labeledArg constraints and use the correct order of args
* Fix selections e2e test
* Fix e2e test expectation
App was working as expected, but the e2e test was
expecting the old code, not the new code.
* Fix order of constraints in unit test
* Update docs
* Fix KCL formatting
* Update output
---------
Co-authored-by: Jonathan Tran <jonnytran@gmail.com >
2025-04-15 02:06:55 +00: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
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
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
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
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
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
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
be05dd7ba1
More propagation of numeric types ( #6177 )
...
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-07 19:02:41 +12:00
e6ae89ebf9
Erase comment start positions from snapshot tests ( #6178 )
...
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-07 17:42:15 +12:00
e7b23e1638
Implement coercion of numeric types for ascription and arithmetic (off by default) ( #6175 )
...
Signed-off-by: Nick Cameron <nrc@ncameron.org >
2025-04-07 16:13:15 +12:00
bfdf8babed
sketching on a mirror2d thats been extruded fixed! ( #6149 )
...
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* snap
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add sample
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 >
* snap
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2025-04-04 12:55:21 -07:00
656eb0abec
Update all KCL-Samples to be more ME friendly ( #6132 )
...
* update all kcl-samples
* 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 >
* Update kcl-samples simulation test output
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
Co-authored-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-04 11:03:13 -07:00
d38dcb9ba2
Add grouping of module instances in Feature Tree ( #6125 )
...
* Rename operations to be more generic grouping
* Add group enum
* Add module instance groups
* Change to export all operation ts-rs types to the same file
* Fix Feature Tree display of modules to use name
* Ignore clippy warning
* Update output after operation changes
* Change module instances in Feature Tree use to import icon
* Fix error message when attempting to delete module instance
2025-04-04 02:10:39 +00:00