Update sweep-related icons to be less detailed, show result (#6047)

* WIP trying out various icons

* Update to use outcome bodies for icons
This commit is contained in:
Frank Noirot
2025-03-28 12:42:31 -04:00
committed by GitHub
parent 1ebb73b935
commit ef4c606ed1
2 changed files with 25 additions and 25 deletions

View File

@ -101,27 +101,6 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
description: 'Pull a sketch into 3D along its normal or perpendicular.',
links: [{ label: 'KCL docs', url: 'https://zoo.dev/docs/kcl/extrude' }],
},
{
id: 'revolve',
onClick: () =>
commandBarActor.send({
type: 'Find and select command',
data: { name: 'Revolve', groupId: 'modeling' },
}),
icon: 'revolve',
status: 'available',
title: 'Revolve',
hotkey: 'R',
description:
'Create a 3D body by rotating a sketch region about an axis.',
links: [
{ label: 'KCL docs', url: 'https://zoo.dev/docs/kcl/revolve' },
{
label: 'KCL example',
url: 'https://zoo.dev/docs/kcl-samples/ball-bearing',
},
],
},
{
id: 'sweep',
onClick: () =>
@ -162,6 +141,27 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
},
],
},
{
id: 'revolve',
onClick: () =>
commandBarActor.send({
type: 'Find and select command',
data: { name: 'Revolve', groupId: 'modeling' },
}),
icon: 'revolve',
status: 'available',
title: 'Revolve',
hotkey: 'R',
description:
'Create a 3D body by rotating a sketch region about an axis.',
links: [
{ label: 'KCL docs', url: 'https://zoo.dev/docs/kcl/revolve' },
{
label: 'KCL example',
url: 'https://zoo.dev/docs/kcl-samples/ball-bearing',
},
],
},
'break',
{
id: 'fillet3d',