work on #17497 - recursively cut shapes in a compound iindividually to work around OCCT limitation

This commit is contained in:
Eric Price
2024-10-27 20:53:28 +01:00
parent 6f8abe880c
commit 27c9c9d0ac
2 changed files with 39 additions and 0 deletions

View File

@@ -49,6 +49,8 @@ public:
// set fuzzyness based on size
void setAutoFuzzy();
Standard_EXPORT virtual void Build(const Message_ProgressRange& theRange = Message_ProgressRange()) Standard_OVERRIDE;
protected: //! @name Constructors
//! Constructor to perform Boolean operation on only two arguments.
@@ -57,5 +59,10 @@ protected: //! @name Constructors
const TopoDS_Shape& theS2,
const BOPAlgo_Operation theOperation);
private:
TopTools_ListOfShape myOriginalArguments;
Standard_EXPORT const TopoDS_Shape RecursiveCutCompound(const TopoDS_Shape& theArgument, const Message_ProgressRange& theRange);
};
#endif