Hide menu
Loading...
Searching...
No Matches
cadex::DFMMachining_PartialHoleIssue Class Reference

Describes partial hole issues found during cnc machining drilling design analysis. More...

Inheritance diagram for cadex::DFMMachining_PartialHoleIssue:
cadex::DFMMachining_DrillingIssue cadex::DFMBase_HoleIssue cadex::DFMBase_Issue cadex::MTKBase_Feature

Public Member Functions

 DFMMachining_PartialHoleIssue ()
 Constructor.
 
 DFMMachining_PartialHoleIssue (const Machining_Hole &theHole)
 Constructor.
 
double ExpectedMinMaterialPercent () const
 
void SetExpectedMinMaterialPercent (double thePercent)
 
double ActualMaterialPercent () const
 
void SetActualMaterialPercent (double thePercent)
 
- Public Member Functions inherited from cadex::DFMMachining_DrillingIssue
Machining_Hole MachiningHole () const
 
- Public Member Functions inherited from cadex::DFMBase_HoleIssue
const MTKBase_HoleHole () const
 
void SetHole (const MTKBase_Hole &theHole)
 
- Public Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature ()
 Constructor.
 
 ~MTKBase_Feature ()
 Destructor.
 
void Nullify ()
 
bool IsNull () const
 
 operator bool () const
 Casts the object to the bool type.
 
template<typename T >
bool IsOfType () const
 
ImplType * Impl () const
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 
bool operator== (const MTKBase_Feature &theObject) const
 
bool operator!= (const MTKBase_Feature &theObject) const
 

Static Public Member Functions

static bool CompareType (const MTKBase_Feature &theFeature)
 Returns true if theFeature is a dfm machining partial hole issue.
 
- Static Public Member Functions inherited from cadex::DFMMachining_DrillingIssue
static bool CompareType (const MTKBase_Feature &theFeature)
 Returns true if theFeature is a dfm machining drilling issue.
 
- Static Public Member Functions inherited from cadex::DFMBase_HoleIssue
static bool CompareType (const MTKBase_Feature &theFeature)
 Returnstrue if theFeature is a dfm hole issue.
 
- Static Public Member Functions inherited from cadex::DFMBase_Issue
static bool CompareType (const MTKBase_Feature &theFeature)
 Returnstrue if theFeature is a dfm issue.
 

Additional Inherited Members

- Public Types inherited from cadex::DFMMachining_DrillingIssue
typedef cadex::internal::DFMMachiningImpl_DrillingIssue ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Public Types inherited from cadex::DFMBase_HoleIssue
typedef cadex::internal::DFMBaseImpl_HoleIssue ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Public Types inherited from cadex::DFMBase_Issue
typedef cadex::internal::DFMBaseImpl_Issue ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Public Types inherited from cadex::MTKBase_Feature
typedef cadex::internal::MTKBaseImpl_Feature ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Protected Member Functions inherited from cadex::DFMMachining_DrillingIssue
 DFMMachining_DrillingIssue (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Member Functions inherited from cadex::DFMBase_HoleIssue
 DFMBase_HoleIssue (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Member Functions inherited from cadex::DFMBase_Issue
 DFMBase_Issue (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Attributes inherited from cadex::MTKBase_Feature
ImplPtrType myImpl
 

Detailed Description

Describes partial hole issues found during cnc machining drilling design analysis.

Partial hole issue in cnc machining drilling design refers to the difficulty of achieving a complete and uniform hole when drilling close to the edge of a workpiece. Drilling near the edge of a part can create issues such as tool deflection, material deformation, and cracking. Therefore, it's better to avoid partial holes or at least maximize the drilled material percent.

Contains hole that fails the following condition:

\[ \large MP_h \geq mp_m \]

\[ \begin{aligned} & \small MP_h - \text{actual partial hole material percent} \\ & \small mp_m - \text{expected minimum partial hole material percent} \end{aligned} \]

See also
DFMMachining_Analyzer, DFMMachining_DrillingAnalyzerParameters.MinPartialHoleMaterialPercent()
Examples
MTKConverter/Program.cs, MTKConverter/main.cxx, machining/dfm_analyzer/Program.cs, and machining/dfm_analyzer/main.cxx.

Constructor & Destructor Documentation

◆ DFMMachining_PartialHoleIssue()

cadex::DFMMachining_PartialHoleIssue::DFMMachining_PartialHoleIssue ( const Machining_Hole theHole)

Constructor.

Creates a partial hole issue from the Machining_Hole object.

Member Function Documentation

◆ ActualMaterialPercent()

double cadex::DFMMachining_PartialHoleIssue::ActualMaterialPercent ( ) const

Returns the actual partial hole material percent (of the full hole).

See also
SetActualMaterialPercent()
Examples
MTKConverter/Program.cs, and machining/dfm_analyzer/Program.cs.

◆ ExpectedMinMaterialPercent()

double cadex::DFMMachining_PartialHoleIssue::ExpectedMinMaterialPercent ( ) const

Returns the expected material percent (of the full hole) for the partial hole.

See also
SetExpectedMinMaterialPercent()
Examples
MTKConverter/Program.cs, and machining/dfm_analyzer/Program.cs.

◆ SetActualMaterialPercent()

void cadex::DFMMachining_PartialHoleIssue::SetActualMaterialPercent ( double  thePercent)

Sets the actual material percent. thePercent should be greater or equal to 0, less or equal to 1.

See also
ActualMaterialPercent()

◆ SetExpectedMinMaterialPercent()

void cadex::DFMMachining_PartialHoleIssue::SetExpectedMinMaterialPercent ( double  thePercent)

Sets the expected material percent for the partial hole. thePercent should be greater or equal to 0, less or equal to 1.

See also
ExpectedMinMaterialPercent()