diff --git a/modules/workbenches/modeler/features/deleteBody/deleteBody.operation.ts b/modules/workbenches/modeler/features/deleteBody/deleteBody.operation.ts index da53a419..1635e63f 100644 --- a/modules/workbenches/modeler/features/deleteBody/deleteBody.operation.ts +++ b/modules/workbenches/modeler/features/deleteBody/deleteBody.operation.ts @@ -11,7 +11,7 @@ interface DeleteBodyParams { export const DeleteBodyOperation: OperationDescriptor = { id: 'DELETE_BODY', label: 'DeleteBody', - icon: 'img/cad/deleteBody', + icon: 'img/cad/intersection', info: 'Delete Bodies', paramsInfo: ({ tools, DeleteBody }) => `(${r(tools)} ${r(DeleteBody)})`, run: (params: DeleteBodyParams, ctx: ApplicationContext) => { diff --git a/modules/workbenches/modeler/index.ts b/modules/workbenches/modeler/index.ts index 6174d12c..c4258e31 100644 --- a/modules/workbenches/modeler/index.ts +++ b/modules/workbenches/modeler/index.ts @@ -19,6 +19,7 @@ import { MirrorBodyOperation} from "./features/mirrorBody/mirrorBody.operation"; import { PatternLinearOperation } from "./features/patternLinear/patternLinear.operation"; import { PatternRadialOperation } from "./features/patternRadial/patternRadial.operation"; import { ImportModelOpperation } from "./features/importModel/importModel.operation"; +import { DeleteBodyOperation } from "./features/deleteBody/deleteBody.operation"; //imports of action type commands import { GetVolume } from './actions/getVolume/getVolume.action'; import {GiCubes} from "react-icons/gi"; @@ -46,6 +47,7 @@ export const ModelerWorkspace: WorkbenchConfig = { PatternLinearOperation, PatternRadialOperation, ImportModelOpperation, + DeleteBodyOperation, ], ui: { toolbar: [ @@ -55,7 +57,7 @@ export const ModelerWorkspace: WorkbenchConfig = { "SHELL_TOOL", "FILLET_TOOL", "SCALE_BODY","-", "MIRROR_BODY", "PATTERN_LINEAR", "PATTERN_RADIAL", "-", "CYLINDER", "BOX", "CONE", "SPHERE", "TORUS", "-", - "HOLE_TOOL", "-", 'GET_VOLUME', "IMPORT_MODEL" + "HOLE_TOOL", "-", 'GET_VOLUME', "IMPORT_MODEL","DELETE_BODY" ] }, icon: GiCubes