Skip to content

Conversation

@gserena01
Copy link
Contributor

@gserena01 gserena01 commented Oct 23, 2025

Summary by CodeRabbit

Release Notes

  • New Features
    • The extrude function has been expanded to accept Sketches, Faces, and Tagged Faces as input sources for extrusion operations. Users can now create 3D extruded solids from any of these geometry types, providing greater flexibility when working with complex parametric models that reference multiple geometry types.

@vercel
Copy link

vercel bot commented Oct 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
modeling-app Ready Ready Preview Comment Nov 4, 2025 6:15pm

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
adamchalmers added a commit that referenced this pull request Nov 4, 2025
The "clean up type string" logic [here](https://github.com/KittyCAD/modeling-app/blob/achalmers/array-of-unions/rust/kcl-lib/src/docs/gen_std_tests.rs#L517) is a bit complicated, and it doesn't support arrays of unions. IMO it's difficult to do both formatting and parsing of KCL types in the same function. A better approach would be to recursively parse the type into a tree structure (where arrays have a subtype, and unions have multiple subtypes), then format that tree.

This PR:

 - Adds unit tests for the cleanup_type_string function, in the first commit.
 - Adds a new proper recursive parser for KCL type strings (parses them into a tree)
 - Changes the KCL type formatter `cleanup_type_string` to use this parsed tree, rather than adhoc string processing. This includes changes to the unit tests added in the first commit.
 - Updates all the docs 

This has some very slight changes to the resulting Markdown, which should be easy to see. They're basically change how arrays are nested in their markdown links. 

As a side-effect this should nicely render arrays of unions in types, such as the ones Serena's adding in her [PR](#8661).

Old: the Markdown link contains a `[string]` in its text
New: the Markdown link is just around `string`, and the surrounding array braces are outside the link.
@gserena01
Copy link
Contributor Author

This is primarily holding for engine changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants