Toponaming/Part: Remove makeElementShape and cleanup opcode code
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
#endif
|
||||
|
||||
#include "FeaturePartCut.h"
|
||||
|
||||
#include "TopoShapeOpCode.h"
|
||||
|
||||
using namespace Part;
|
||||
|
||||
@@ -35,6 +35,11 @@ PROPERTY_SOURCE(Part::Cut, Part::Boolean)
|
||||
|
||||
Cut::Cut() = default;
|
||||
|
||||
const char *Cut::opCode() const
|
||||
{
|
||||
return Part::OpCodes::Cut;
|
||||
}
|
||||
|
||||
BRepAlgoAPI_BooleanOperation* Cut::makeOperation(const TopoDS_Shape& base, const TopoDS_Shape& tool) const
|
||||
{
|
||||
// Let's call algorithm computing a cut operation:
|
||||
|
||||
Reference in New Issue
Block a user