WIP: Add bidirectional args to point-and-click Extrude

Will eventually close #7495
This commit is contained in:
Pierre Jacquier
2025-06-16 11:20:57 -04:00
parent 4159cc0047
commit 1a1a152fbf
3 changed files with 30 additions and 1 deletions

View File

@ -60,6 +60,8 @@ export type ModelingCommandSchema = {
// KCL stdlib arguments
sketches: Selections
length: KclCommandValue
symmetric?: boolean
// bidirectionalLength?: KclCommandValue
}
Sweep: {
// Enables editing workflow
@ -394,6 +396,24 @@ export const modelingMachineCommandConfig: StateMachineCommandSetConfig<
defaultValue: KCL_DEFAULT_LENGTH,
required: true,
},
symmetric: {
inputType: 'options',
skip: true,
defaultValue: false,
hidden: false,
required: true,
options: [
{ name: 'False', value: false },
{ name: 'True', value: true },
],
},
// bidirectionalLength: {
// inputType: 'kcl',
// defaultValue: KCL_DEFAULT_LENGTH,
// skip: true,
// hidden: false,
// required: false,
// },
},
},
Sweep: {