Remove Spline and Text tools from sketch mode toolbar (#6427)

* Remove Spline and Text tool from sketch toolbar

* Update sketch-related snapshots

* Update snapshots
This commit is contained in:
Frank Noirot
2025-04-23 09:06:51 -04:00
committed by GitHub
parent b7385d5f25
commit 41d946b339
11 changed files with 14 additions and 24 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

View File

@ -574,16 +574,6 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
},
],
},
{
id: 'spline',
onClick: () => console.error('Spline not yet implemented'),
icon: 'spline',
status: 'unavailable',
title: 'Spline',
showTitle: false,
description: 'Draw a spline curve through a series of points',
links: [],
},
'break',
{
id: 'circles',
@ -693,32 +683,32 @@ export const toolbarConfig: Record<ToolbarModeName, ToolbarMode> = {
id: 'polygon',
onClick: () => console.error('Polygon not yet implemented'),
icon: 'polygon',
status: 'unavailable',
status: 'kcl-only',
title: 'Polygon',
showTitle: false,
description: 'Draw a polygon with a specified number of sides',
links: [],
},
{
id: 'text',
onClick: () => console.error('Text not yet implemented'),
icon: 'text',
status: 'unavailable',
title: 'Text',
showTitle: false,
description: 'Add text to your sketch as geometry.',
links: [],
links: [
{
label: 'KCL docs',
url: 'https://zoo.dev/docs/kcl/polygon',
},
],
},
'break',
{
id: 'mirror',
onClick: () => console.error('Mirror not yet implemented'),
icon: 'mirror',
status: 'unavailable',
status: 'kcl-only',
title: 'Mirror',
showTitle: false,
description: 'Mirror sketch entities about a line or axis',
links: [],
links: [
{
label: 'KCL docs',
url: 'https://zoo.dev/docs/kcl/std-sketch-mirror2d',
},
],
},
{
id: 'constraints',