Files
modeling-app/rust
Adam Chalmers 478bf34f2b Coordinate grid uses same scale as user's units (#7465)
Closes https://github.com/KittyCAD/engine/issues/3494. Thanks to @nadr0 for helping on the JS side.

If users set their units, the grid will stop auto scaling, and instead will be set to 10 of whatever unit they used. 

If users set their units, and those units are metric, then it'll include a scale bar (see screenshot). Imperial units won't have that bar. 

This behaviour is configurable via settings.

## Limitations

 - The scale bar below the grid cannot be disabled in metric units, and cannot be enabled in imperial units

<img width="1690" alt="Screenshot 2025-06-05 at 7 51 41 PM" src="https://github.com/user-attachments/assets/c597087c-f96d-4c30-95f4-b3d8ba2b5567" />
2025-06-23 17:30:26 -05:00
..
2025-03-13 23:38:41 -07:00
2025-06-19 01:03:13 +00:00
2025-06-19 01:03:13 +00:00
2025-06-19 01:03:13 +00:00
2025-06-19 01:03:13 +00:00
2025-06-19 01:03:13 +00:00
2025-06-19 01:03:13 +00:00
2025-03-04 22:21:12 -08:00

Rust Crates

Releasing

  1. Make sure your working directory is this directory.
  2. Bump the versions of the crates:
    just bump-kcl-crate-versions 
    
  3. Commit the changes:
    git add .
    git commit -m "Bump versions"
    
  4. Push the changes and get your PR approved.
  5. Publish the crates:
    just publish-kcl {version}
    
    • This will publish the relevant crates and push a new tag with the prefix kcl-. DO NOT SET THE PREFIX TO kcl- when you run the command. The just command will do that for you.
    • The tag will then trigger the release of kcl-python-bindings and kcl-language-server.