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