mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-09 18:02:50 +01:00
51 lines
1.4 KiB
JavaScript
51 lines
1.4 KiB
JavaScript
export default [
|
|
{
|
|
id: 'file',
|
|
cssIcons: ['file'],
|
|
actions: ['Save', 'StlExport', '-', 'IMPORT_STL']
|
|
},
|
|
{
|
|
id: 'craft',
|
|
cssIcons: ['magic'],
|
|
info: 'set of available craft operations on a solid',
|
|
actions: ['EXTRUDE', 'CUT', 'REVOLVE', 'SHELL', 'FILLET', 'DATUM_CREATE']
|
|
},
|
|
{
|
|
id: 'primitives',
|
|
label: 'add',
|
|
cssIcons: ['cube', 'plus'],
|
|
info: 'set of available solid creation operations',
|
|
actions: ['PLANE', 'BOX', 'SPHERE']
|
|
},
|
|
{
|
|
id: 'boolean',
|
|
label: 'bool',
|
|
cssIcons: ['pie-chart'],
|
|
info: 'set of available boolean operations',
|
|
actions: ['INTERSECTION', 'DIFFERENCE', 'UNION']
|
|
},
|
|
{
|
|
id: 'main',
|
|
label: 'start',
|
|
cssIcons: ['rocket'],
|
|
info: 'common set of actions',
|
|
actions: ['EXTRUDE', 'CUT', 'SHELL', '-', 'INTERSECTION', 'DIFFERENCE', 'UNION', '-', 'PLANE', 'BOX', 'SPHERE', '-',
|
|
'EditFace', '-', 'DeselectAll', 'RefreshSketches']
|
|
},
|
|
{
|
|
id: 'SolidContext',
|
|
label: 'solid-context',
|
|
info: 'solid context actions',
|
|
actions: ['LookAtSolid']
|
|
},
|
|
{
|
|
id: 'datum',
|
|
label: 'datum',
|
|
cssIcons: ['magic'],
|
|
info: 'operations on datum',
|
|
actions: ['DATUM_ROTATE', 'DATUM_MOVE', '-', 'PLANE_FROM_DATUM']
|
|
// actions: ['DATUM_MOVE', 'DATUM_ROTATE', 'DATUM_REBASE', '-', 'PLANE_FROM_DATUM', 'BOX', 'SPHERE', 'TORUS',
|
|
// 'CONE', 'CYLINDER']
|
|
},
|
|
|
|
];
|