jsketcher/web/app/3d/menu/menu-config.js
2016-12-14 01:03:21 -08:00

40 lines
1,018 B
JavaScript

export const file = {
label: 'file',
cssIcons: ['file'],
actions: ['Save', 'StlExport', '-', 'IMPORT_STL']
};
export const craft = {
label: 'craft',
cssIcons: ['magic'],
info: 'set of available craft operations on a solid',
actions: ['PAD', 'CUT', 'REVOLVE', 'SHELL']
};
export const primitives = {
label: 'add',
cssIcons: ['cube', 'plus'],
info: 'set of available solid creation operations',
actions: ['PLANE', 'BOX', 'SPHERE']
};
export const boolean = {
label: 'bool',
cssIcons: ['pie-chart'],
info: 'set of available boolean operations',
actions: ['INTERSECTION', 'DIFFERENCE', 'UNION']
};
export const main = {
label: 'start',
cssIcons: ['rocket'],
info: 'common set of actions',
actions: ['PAD', 'CUT', 'SHELL', '-', 'INTERSECTION', 'DIFFERENCE', 'UNION', '-', 'PLANE', 'BOX', 'SPHERE', '-',
'EditFace', '-', 'DeselectAll', 'RefreshSketches']
};
export const SolidContext = {
label: 'solid-context',
info: 'solid context actions',
actions: ['LookAtSolid']
};