FaceMakerExtrusion provides legacy compounding-structure-ignorant behavior of facemaker of Part Extrude. More...
#include <FeatureExtrusion.h>
Public Member Functions | |
virtual void Build () override | |
virtual std::string getBriefExplanation () const override | |
virtual std::string getUserFriendlyName () const override | |
![]() | |
virtual void addShape (const TopoDS_Shape &sh) | |
addShape: add another wire, edge, or compound. More... | |
virtual void addWire (const TopoDS_Wire &w) | |
virtual const TopoDS_Face & Face () | |
Face: returns the face (result). More... | |
FaceMaker () | |
virtual void useCompound (const TopoDS_Compound &comp) | |
useCompound: add children of compound to the FaceMaker. More... | |
virtual ~FaceMaker () | |
![]() | |
BaseClass () | |
Construction. More... | |
virtual PyObject * getPyObject (void) | |
This method returns the Python wrapper for a C++ object. More... | |
virtual Type getTypeId (void) const | |
bool isDerivedFrom (const Type type) const | |
virtual void setPyObject (PyObject *) | |
virtual ~BaseClass () | |
Destruction. More... | |
Protected Member Functions | |
virtual void Build_Essence () override | |
Build_Essence: build routine that can assume there is no nesting. More... | |
Additional Inherited Members | |
![]() | |
static bool isInside (const TopoDS_Wire &, const TopoDS_Wire &) | |
static TopoDS_Shape makeFace (const std::vector< TopoDS_Wire > &) | |
static TopoDS_Face validateFace (const TopoDS_Face &) | |
![]() | |
static std::unique_ptr< FaceMaker > ConstructFromType (Base::Type type) | |
static std::unique_ptr< FaceMaker > ConstructFromType (const char *className) | |
![]() | |
static void * create (void) | |
static Type getClassTypeId (void) | |
static void init (void) | |
![]() | |
static void throwNotImplemented () | |
![]() | |
static void initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=nullptr) | |
![]() | |
std::vector< TopoDS_Compound > myCompounds | |
std::vector< TopoDS_Shape > myShapesToReturn | |
std::vector< TopoDS_Shape > mySourceShapes | |
std::vector< TopoDS_Wire > myWires | |
Detailed Description
FaceMakerExtrusion provides legacy compounding-structure-ignorant behavior of facemaker of Part Extrude.
Strengths: makes faces with holes Weaknesses: can't make islands in holes. Ignores compounding nesting. All faces must be on same plane.
Member Function Documentation
◆ Build()
|
overridevirtual |
Reimplemented from Part::FaceMaker.
References Part::FaceMakerCheese::makeFace(), Part::FaceMaker::myShapesToReturn, and Part::FaceMaker::mySourceShapes.
◆ Build_Essence()
|
overrideprotectedvirtual |
Build_Essence: build routine that can assume there is no nesting.
Implementing instructions: Add new faces (or whatever) to myShapesToReturn. The rest is done by base class's Build(). Please ignore contents of myCompounds in implementation. If special handling of nesting is required, override whole Build().
Reimplemented from Part::FaceMakerCheese.
◆ getBriefExplanation()
|
overridevirtual |
Reimplemented from Part::FaceMakerCheese.
◆ getUserFriendlyName()
|
overridevirtual |
Reimplemented from Part::FaceMakerCheese.
The documentation for this class was generated from the following files:
- src/Mod/Part/App/FeatureExtrusion.h
- src/Mod/Part/App/FeatureExtrusion.cpp