Open franknoirot opened 1 week ago
Addressing the footnotes:
- We don't have toolbar buttons for generative AI functionality. Should we?
I want a toolbar icon (✨ anyone??) because it's a constant reminder that our AI features exist
- I don't know how this API would support default planes being selected, or other globally-available geometry
I think this won't be a problem since we can't select the default planes outside of the Start Sketch state. Are there other selectable features aside from the 6 default planes that are selectable but not represented in KCL?
- It is unclear to us what it means to pass along a selection. Does it limit the edits to that range, or just act as "areas of interest"? @Irev-Dev to talk to @greg-kcio about this.
The source range selection is context for the request, not a limit. For example:
The KCL response for the prompt "add a button to this face" for this selection could add a buttonRadius
parameter near the top of the code, outside the selection range.
- We should consider renaming our current command to something more specific like "Generate with Text-to-CAD"
I dig it. For the new feature I like "Edit with Text-to-CAD" or "Iterate with Text-to-CAD"
- I believe this endpoint passes back a model that we can use the existing Text-to-CAD components to display
Right now the endpoint does not return an exported model, but we can change that if you want it.
- Do we attempt to preserve selections, or clear them after this application? Preserving them seems nontrivial
I'm on the fence. The user might want to make multiple consecutive edits to the same selection of features. But it might be possible for the edit to remove a selection.
Add support for Text-to-CAD-supported design iterations within the modeling app.
Prerequisites
User flow
selection
step where any geometry that maps back to a code range[^2] can be selected.prompt
step with a text area like our current "Text-to-CAD" command[^4]Notes
[^1]: We don't have toolbar buttons for generative AI functionality. Should we? [^2]: I don't know how this API would support default planes being selected, or other globally-available geometry [^3]: It is unclear to us what it means to pass along a selection. Does it limit the edits to that range, or just act as "areas of interest"? @Irev-Dev to talk to @greg-kcio about this. [^4]: We should consider renaming our current command to something more specific like "Generate with Text-to-CAD" [^5]: I believe this endpoint passes back a model that we can use the existing Text-to-CAD components to display [^6]: Do we attempt to preserve selections, or clear them after this application? Preserving them seems nontrivial