Make assemblies commands available for release (#6498)

* Make assemblies commands available for release
Fixes #6497

* Break insert out of the group, new icon, add Clone disabled

* Add rotate thanks to @franknoirot

* Update relevant snapshots

* Trigger CI
This commit is contained in:
Pierre Jacquier
2025-04-25 12:49:11 -04:00
committed by GitHub
parent fe22a67cf6
commit 604e244395
17 changed files with 59 additions and 35 deletions

View File

@ -1,5 +1,4 @@
import type { Models } from '@kittycad/lib'
import { DEV } from '@src/env'
import { angleLengthInfo } from '@src/components/Toolbar/angleLengthInfo'
import { getNodeFromPath } from '@src/lang/queryAst'
@ -32,7 +31,6 @@ import type { Selections } from '@src/lib/selections'
import { codeManager, kclManager } from '@src/lib/singletons'
import { err } from '@src/lib/trap'
import type { SketchTool, modelingMachine } from '@src/machines/modelingMachine'
import { IS_NIGHTLY_OR_DEBUG } from '@src/routes/utils'
type OutputFormat = Models['OutputFormat3d_type']
type OutputTypeKey = OutputFormat['type']
@ -596,7 +594,7 @@ export const modelingMachineCommandConfig: StateMachineCommandSetConfig<
},
},
'Boolean Intersect': {
description: 'Create a solid from the intersection of two solids.',
description: 'Create a solid from the intersection of two solids.',
icon: 'booleanIntersect',
needsReview: true,
args: {
@ -1039,9 +1037,8 @@ export const modelingMachineCommandConfig: StateMachineCommandSetConfig<
},
Translate: {
description: 'Set translation on solid or sketch.',
icon: 'dimension', // TODO: likely not the best icon
icon: 'move',
needsReview: true,
hide: DEV || IS_NIGHTLY_OR_DEBUG ? undefined : 'both',
args: {
nodeToEdit: {
description:
@ -1080,9 +1077,8 @@ export const modelingMachineCommandConfig: StateMachineCommandSetConfig<
},
Rotate: {
description: 'Set rotation on solid or sketch.',
icon: 'angle', // TODO: likely not the best icon
icon: 'rotate',
needsReview: true,
hide: DEV || IS_NIGHTLY_OR_DEBUG ? undefined : 'both',
args: {
nodeToEdit: {
description: