Enable optional arguments in point-and-click Revolve (#7590)

* WIP: Enable optional arguments in point-and-click Revolve

* Add e2e test step
This commit is contained in:
Pierre Jacquier
2025-06-24 15:45:16 -04:00
committed by GitHub
parent c7f0a6c2a0
commit 8d876a806e
5 changed files with 104 additions and 10 deletions

View File

@ -105,6 +105,8 @@ export type ModelingCommandSchema = {
angle: KclCommandValue
axis: string | undefined
edge: Selections | undefined
symmetric?: boolean
bidirectionalAngle?: KclCommandValue
}
Shell: {
// Enables editing workflow
@ -552,6 +554,18 @@ export const modelingMachineCommandConfig: StateMachineCommandSetConfig<
defaultValue: KCL_DEFAULT_DEGREE,
required: true,
},
symmetric: {
inputType: 'options',
required: false,
options: [
{ name: 'False', value: false },
{ name: 'True', value: true },
],
},
bidirectionalAngle: {
inputType: 'kcl',
required: false,
},
},
},
Shell: {