Toponaming/Part: Remove makeElementShape and cleanup opcode code

This commit is contained in:
bgbsww
2024-02-18 16:37:09 -05:00
committed by Chris Hennes
parent 2d0ef0e659
commit 0065c9cce7
13 changed files with 97 additions and 269 deletions

View File

@@ -27,7 +27,7 @@
#endif
#include "FeaturePartSection.h"
#include "TopoShapeOpCode.h"
using namespace Part;
@@ -46,6 +46,12 @@ short Section::mustExecute() const
return 0;
}
const char *Section::opCode() const
{
return Part::OpCodes::Section;
}
BRepAlgoAPI_BooleanOperation* Section::makeOperation(const TopoDS_Shape& base, const TopoDS_Shape& tool) const
{
// Let's call algorithm computing a section operation: