KittyCAD / modeling-app

The KittyCAD modeling app.
https://kittycad.io/modeling-app/download
MIT License
419 stars 35 forks source link

Add shell point-and-click operation #4472

Open franknoirot opened 1 day ago

franknoirot commented 1 day ago

See discussion here for more background.

Engine notes

Ready. Initial passes and bug fixes complete.

API/KCL notes

Ready. There is an ergonomic shell standard library function available for use

Point-and-click notes

  1. Add a modeling machine command with 2 arguments:
    1. faces: a selection-type argument that only allows for selection of planar faces. If the endcaps of an extrude or revolve are selected, use keywords "start" and "end" in the code mod's faces array. If it is a an extrude wall, apply a tag to the segment if needed and add that.
    2. thickness: a KCL-type argument. Default to 1 or some sensible number
  2. In future when operation previews are supported, add handles to adjust thickness live.
franknoirot commented 1 day ago

While the shell operation has cleared up many of its limitations in and of itself, it does make the model mostly unusable after applying a shell. We should discuss whether to turn it on publicly if that remains the case when the UI side of this is done.