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

@ -2547,16 +2547,10 @@ export const modelingMachine = setup({
return Promise.reject(new Error(NO_INPUT_PROVIDED_MESSAGE))
}
const { nodeToEdit, sketches, angle, axis, edge, axisOrEdge } = input
const { ast } = kclManager
const astResult = addRevolve({
ast,
sketches,
angle,
axisOrEdge,
axis,
edge,
nodeToEdit,
...input,
})
if (err(astResult)) {
return Promise.reject(astResult)