jsketcher/web/app/cad/part/menuConfig.js
2019-02-21 02:08:52 -08:00

60 lines
1.7 KiB
JavaScript

export default [
{
id: 'file',
cssIcons: ['file'],
actions: ['Save', 'StlExport', 'ImagePngExport', '-', 'IMPORT_STL', '-', 'ReassignSketch']
},
{
id: 'craft',
cssIcons: ['magic'],
info: 'set of available craft operations on a solid',
actions: ['EXTRUDE', 'CUT', 'REVOLVE', 'LOFT', 'SHELL', 'FILLET', 'DATUM_CREATE']
},
{
id: 'primitives',
label: 'add',
cssIcons: ['cube', 'plus'],
info: 'set of available solid creation operations',
actions: ['PLANE', 'BOX', 'SPHERE', 'CONE', 'CYLINDER', 'TORUS']
},
{
id: 'views',
label: 'views',
cssIcons: ['camera'],
info: 'switching camera views',
actions: ['StandardViewFront', 'StandardViewBack', 'StandardViewLeft', 'StandardViewRight',
'StandardViewTop', 'StandardViewBottom', 'StandardView3Way']
},
{
id: 'boolean',
label: 'bool',
cssIcons: ['pie-chart'],
info: 'set of available boolean operations',
actions: ['INTERSECTION', 'SUBTRACT', 'UNION']
},
{
id: 'main',
label: 'start',
cssIcons: ['rocket'],
info: 'common set of actions',
actions: ['EXTRUDE', 'CUT', 'REVOLVE', 'LOFT', 'FILLET', '-',
'PLANE', 'BOX', 'SPHERE', 'CONE', 'CYLINDER', 'TORUS', '-',
'EditFace']
},
{
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', '-', 'BOX', 'SPHERE', 'CYLINDER', 'TORUS', 'CONE']
// actions: ['DATUM_MOVE', 'DATUM_ROTATE', 'DATUM_REBASE', '-', 'PLANE_FROM_DATUM', 'BOX', 'SPHERE', 'TORUS',
// 'CONE', 'CYLINDER']
},
];