FreeCAD C++
Classes | Public Member Functions | List of all members
Part::FaceMakerBullseye Class Reference

#include <Mod/Part/App/FaceMakerBullseye.h>

Detailed Description

The FaceMakerBullseye class is a tool to make planar faces with holes, where there can be additional faces inside holes and they can have holes too and so on.

Strengths: makes faces with holes with islands

Weaknesses: faces of one compound must be on same plane. TBD

Classes

class  FaceDriller
 The FaceDriller class is similar to BRepBuilderAPI_MakeFace, except that it is tolerant to wire orientation (wires are oriented as needed automatically). More...
 

Public Member Functions

void setPlane (const gp_Pln &plane)
 setPlane: sets the plane to use when making faces. This is optional. If the plane was set, it is not tested that the wires are planar or on the supplied plane, potentially speeding things up. More...
 
- Public Member Functions inherited from Part::FaceMaker
virtual void addShape (const TopoDS_Shape &sh)
 addShape: add another wire, edge, or compound. If compound is added, its internals will be treated as isolated from the rest, and the compounding structure of result will follow. More...
 
virtual void useCompound (const TopoDS_Compound &comp)
 useCompound: add children of compound to the FaceMaker. Note that this is different from addShape(comp) - structure is lost. The compound is NOT expanded recursively. More...
 
virtual const TopoDS_Face & Face ()
 Face: returns the face (result). If result is not a single face, throws Base::TypeError. (hint: use .Shape() instead) More...
 
- Public Member Functions inherited from Base::BaseClass
 BaseClass ()
 Construction.
 
virtual ~BaseClass ()
 Destruction.
 

Additional Inherited Members

Member Function Documentation

◆ setPlane()

void Part::FaceMakerBullseye::setPlane ( const gp_Pln &  plane)

setPlane: sets the plane to use when making faces. This is optional. If the plane was set, it is not tested that the wires are planar or on the supplied plane, potentially speeding things up.

Parameters
planeFIXME: the plane is not propagated if processing compounds.