Add sketch tool events to command bar (#2708)

* Add command configs for sketch tools

* Update Constrain dropdown to be noun

* Update Cargo.lock

* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)

* Update E2E test references to "Constraints" button

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Frank Noirot
2024-06-24 11:37:48 -04:00
committed by GitHub
parent 5260bd6820
commit f7196e7eb0
6 changed files with 85 additions and 70 deletions

View File

@ -37,6 +37,21 @@ export const modelingMachineConfig: CommandSetConfig<
description: 'Enter sketch mode.',
icon: 'sketch',
},
'Equip Line tool': {
description: 'Start drawing straight lines.',
icon: 'line',
displayName: 'Line',
},
'Equip tangential arc to': {
description: 'Start drawing an arc tangent to the current segment.',
icon: 'arc',
displayName: 'Tangential Arc',
},
'Equip rectangle tool': {
description: 'Start drawing a rectangle.',
icon: 'rectangle',
displayName: 'Rectangle',
},
Export: {
description: 'Export the current model.',
icon: 'exportFile',