![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Describes functions to build hollowed solids. A hollowed solid is built from an initial solid and a set of faces on this solid, which are to be removed. The remaining faces of the solid become the walls of the hollowed solid, their thickness defined at the time of construction. the solid is built from an initial solid and a set of faces {Fi} from
More..., builds a solid composed by two shells closed by the {Fi}. First shell <SS> is composed by all the faces of expected {Fi}. Second shell is the offset shell of <SS>. A MakeThickSolid object provides a framework for:
#include <BRepOffsetAPI_MakeThickSolid.hxx>

Public Member Functions | |
| BRepOffsetAPI_MakeThickSolid () | |
| Constructor does nothing. | |
| void | MakeThickSolidBySimple (const TopoDS_Shape &theS, const double theOffsetValue) |
| Constructs solid using simple algorithm. According to its nature it is not possible to set list of the closing faces. This algorithm does not support faces removing. It is caused by fact that intersections are not computed during offset creation. Non-closed shell or face is expected as input. | |
| void | MakeThickSolidByJoin (const TopoDS_Shape &S, const NCollection_List< TopoDS_Shape > &ClosingFaces, const double Offset, const double Tol, const BRepOffset_Mode Mode=BRepOffset_Skin, const bool Intersection=false, const bool SelfInter=false, const GeomAbs_JoinType Join=GeomAbs_Arc, const bool RemoveIntEdges=false, const Message_ProgressRange &theRange=Message_ProgressRange()) |
| Constructs a hollowed solid from the solid S by removing the set of faces ClosingFaces from S, where: Offset defines the thickness of the walls. Its sign indicates which side of the surface of the solid the hollowed shape is built on;. | |
| void | Build (const Message_ProgressRange &theRange=Message_ProgressRange()) override |
| Does nothing. | |
| const NCollection_List< TopoDS_Shape > & | Modified (const TopoDS_Shape &S) override |
| Returns the list of shapes modified from the shape | |
Public Member Functions inherited from BRepOffsetAPI_MakeOffsetShape | |
| BRepOffsetAPI_MakeOffsetShape () | |
| Constructor does nothing. | |
| void | PerformBySimple (const TopoDS_Shape &theS, const double theOffsetValue) |
| Constructs offset shape for the given one using simple algorithm without intersections computation. | |
| void | PerformByJoin (const TopoDS_Shape &S, const double Offset, const double Tol, const BRepOffset_Mode Mode=BRepOffset_Skin, const bool Intersection=false, const bool SelfInter=false, const GeomAbs_JoinType Join=GeomAbs_Arc, const bool RemoveIntEdges=false, const Message_ProgressRange &theRange=Message_ProgressRange()) |
| Constructs a shape parallel to the shape S, where. | |
| virtual const BRepOffset_MakeOffset & | MakeOffset () const |
| Returns instance of the underlying intersection / arc algorithm. | |
| const NCollection_List< TopoDS_Shape > & | Generated (const TopoDS_Shape &S) override |
| Returns the list of shapes generated from the shape | |
| bool | IsDeleted (const TopoDS_Shape &S) override |
| Returns true if the shape has been removed from the result. | |
| GeomAbs_JoinType | GetJoinType () const |
| Returns offset join type. | |
Public Member Functions inherited from BRepBuilderAPI_MakeShape | |
| virtual const TopoDS_Shape & | Shape () |
| Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built. | |
| operator TopoDS_Shape () | |
Public Member Functions inherited from BRepBuilderAPI_Command | |
| virtual | ~BRepBuilderAPI_Command () |
| virtual bool | IsDone () const |
| void | Check () const |
| Raises NotDone if done is false. | |
Additional Inherited Members | |
Protected Types inherited from BRepOffsetAPI_MakeOffsetShape | |
| enum | OffsetAlgo_Type { OffsetAlgo_NONE , OffsetAlgo_JOIN , OffsetAlgo_SIMPLE } |
Protected Member Functions inherited from BRepBuilderAPI_MakeShape | |
| BRepBuilderAPI_MakeShape () | |
Protected Member Functions inherited from BRepBuilderAPI_Command | |
| BRepBuilderAPI_Command () | |
| Set done to False. | |
| void | Done () |
| Set done to true. | |
| void | NotDone () |
| Set done to false. | |
Protected Attributes inherited from BRepOffsetAPI_MakeOffsetShape | |
| OffsetAlgo_Type | myLastUsedAlgo |
| BRepOffset_MakeOffset | myOffsetShape |
| BRepOffset_MakeSimpleOffset | mySimpleOffsetShape |
Protected Attributes inherited from BRepBuilderAPI_MakeShape | |
| TopoDS_Shape | myShape |
| NCollection_List< TopoDS_Shape > | myGenerated |
Describes functions to build hollowed solids. A hollowed solid is built from an initial solid and a set of faces on this solid, which are to be removed. The remaining faces of the solid become the walls of the hollowed solid, their thickness defined at the time of construction. the solid is built from an initial solid and a set of faces {Fi} from , builds a solid composed by two shells closed by the {Fi}. First shell <SS> is composed by all the faces of expected {Fi}. Second shell is the offset shell of <SS>. A MakeThickSolid object provides a framework for:
| BRepOffsetAPI_MakeThickSolid::BRepOffsetAPI_MakeThickSolid | ( | ) |
Constructor does nothing.
|
overridevirtual |
Does nothing.
Reimplemented from BRepOffsetAPI_MakeOffsetShape.
| void BRepOffsetAPI_MakeThickSolid::MakeThickSolidByJoin | ( | const TopoDS_Shape & | S, |
| const NCollection_List< TopoDS_Shape > & | ClosingFaces, | ||
| const double | Offset, | ||
| const double | Tol, | ||
| const BRepOffset_Mode | Mode = BRepOffset_Skin, | ||
| const bool | Intersection = false, | ||
| const bool | SelfInter = false, | ||
| const GeomAbs_JoinType | Join = GeomAbs_Arc, | ||
| const bool | RemoveIntEdges = false, | ||
| const Message_ProgressRange & | theRange = Message_ProgressRange() ) |
Constructs a hollowed solid from the solid S by removing the set of faces ClosingFaces from S, where: Offset defines the thickness of the walls. Its sign indicates which side of the surface of the solid the hollowed shape is built on;.
| void BRepOffsetAPI_MakeThickSolid::MakeThickSolidBySimple | ( | const TopoDS_Shape & | theS, |
| const double | theOffsetValue ) |
Constructs solid using simple algorithm. According to its nature it is not possible to set list of the closing faces. This algorithm does not support faces removing. It is caused by fact that intersections are not computed during offset creation. Non-closed shell or face is expected as input.
|
overridevirtual |
Returns the list of shapes modified from the shape .
Reimplemented from BRepOffsetAPI_MakeOffsetShape.