Remove Spline and Text tools from sketch mode toolbar (#6427)
* Remove Spline and Text tool from sketch toolbar * Update sketch-related snapshots * Update snapshots
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 75 KiB |
@ -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',
|
||||
|