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:
@ -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: {
|
||||
|
Reference in New Issue
Block a user