The FaceMakerCheese class is a legacy face maker that was extracted from Part Extrude. More...
#include <FaceMakerCheese.h>
Classes | |
class | Wire_Compare |
The Wire_Compare class is for sorting wires by bounding box diagonal length. More... | |
Public Member Functions | |
virtual std::string | getBriefExplanation () const override |
virtual std::string | getUserFriendlyName () const override |
virtual std::string | getBriefExplanation () const =0 |
virtual std::string | getUserFriendlyName () const =0 |
Public Member Functions inherited from Part::FaceMaker | |
virtual void | addShape (const TopoDS_Shape &sh) |
addShape: add another wire, edge, or compound. More... | |
virtual void | addWire (const TopoDS_Wire &w) |
virtual void | Build () |
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 () |
Public Member Functions inherited from Base::BaseClass | |
BaseClass () | |
Construction. More... | |
BaseClass (const BaseClass &)=default | |
virtual PyObject * | getPyObject () |
This method returns the Python wrapper for a C++ object. More... | |
virtual Type | getTypeId () const |
bool | isDerivedFrom (const Type type) const |
BaseClass & | operator= (const BaseClass &)=default |
virtual void | setPyObject (PyObject *) |
virtual | ~BaseClass () |
Destruction. More... | |
Static Public Member Functions | |
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 Public Member Functions inherited from Part::FaceMaker | |
static std::unique_ptr< FaceMaker > | ConstructFromType (Base::Type type) |
static std::unique_ptr< FaceMaker > | ConstructFromType (const char *className) |
Static Public Member Functions inherited from Base::BaseClass | |
static void * | create () |
static Type | getClassTypeId () |
static void | init () |
Protected Member Functions | |
virtual void | Build_Essence () override |
Build_Essence: build routine that can assume there is no nesting. More... | |
virtual void | Build_Essence ()=0 |
Build_Essence: build routine that can assume there is no nesting. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from Part::FaceMaker | |
static void | throwNotImplemented () |
Static Protected Member Functions inherited from Base::BaseClass | |
static void | initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=nullptr) |
Protected Attributes inherited from Part::FaceMaker | |
std::vector< TopoDS_Compound > | myCompounds |
std::vector< TopoDS_Shape > | myShapesToReturn |
std::vector< TopoDS_Shape > | mySourceShapes |
std::vector< TopoDS_Wire > | myWires |
The FaceMakerCheese class is a legacy face maker that was extracted from Part Extrude.
It is used by almost all PartDesign.
Strengths: makes faces with holes
Weaknesses: can't make islands in holes. All faces must be on same plane.
|
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().
Implements Part::FaceMaker.
Reimplemented in Part::FaceMakerExtrusion.
References makeFace(), Part::FaceMaker::myShapesToReturn, and Part::FaceMaker::myWires.
|
overridevirtual |
Implements Part::FaceMakerPublic.
Reimplemented in Part::FaceMakerExtrusion.
References draftutils.translate::QT_TRANSLATE_NOOP.
|
overridevirtual |
Implements Part::FaceMakerPublic.
Reimplemented in Part::FaceMakerExtrusion.
References draftutils.translate::QT_TRANSLATE_NOOP.
|
static |
References validateFace().
Referenced by makeFace(), and ArchVRM.Renderer::zOverlaps().
|
static |
References isInside(), makeFace(), and draftfunctions.move::move().
Referenced by ReverseEngineeringGui::Segmentation::accept(), Part::FaceMakerExtrusion::Build(), Build_Essence(), PartDesign::Helix::execute(), PartDesign::Loft::execute(), PartDesign::Pipe::execute(), PartDesign::ProfileBased::getVerifiedFace(), and makeFace().
|
static |
Referenced by isInside().