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

Describes small distance between threaded hole and edge issue found during CNC Machining drilling design analysis. More...

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

Public Member Functions

 DFMMachining_SmallDistanceBetweenThreadedHoleAndEdgeIssue ()
 Constructor.
 
 DFMMachining_SmallDistanceBetweenThreadedHoleAndEdgeIssue (const Machining_ThreadedHole &theHole)
 Constructor.
 
double ExpectedMinDistanceToDiameterRatio () const
 
void SetExpectedMinDistanceToDiameterRatio (double theRatio)
 
double ExpectedMinDistance () const
 
double ActualDistance () const
 
void SetActualDistance (double theDistance)
 
ModelData::Edge Edge () const
 
void SetEdge (const ModelData::Edge &theEdge)
 
- 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 deep 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 small distance between threaded hole and edge issue found during CNC Machining drilling design analysis.

A thread edge distance issue occurs when a tapped hole is positioned too close to the edge of a part. Insufficient wall thickness around the thread reduces the strength of the connection and can cause stripping of threads during torque application or vibration during the tapping process. If threads strip or deform, additional rework such as retapping may be required, which significantly increases manufacturing time and cost. In practical cases, retap labor can add up to approximately +100% of the feature cost.

Contains threaded hole and edge that fail the following condition:

\[ \large Dist \leq Dia_h * Rt \]

\[ \begin{aligned} & \small Dist - \text{actual distance from threaded hole to edge} \\ & \small Dia_h - \text{actual threaded hole major diameter} \\ & \small Rt - \text{expected maximum distance to diameter ratio} \end{aligned} \]

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

Constructor & Destructor Documentation

◆ DFMMachining_SmallDistanceBetweenThreadedHoleAndEdgeIssue()

cadex::DFMMachining_SmallDistanceBetweenThreadedHoleAndEdgeIssue::DFMMachining_SmallDistanceBetweenThreadedHoleAndEdgeIssue ( const Machining_ThreadedHole & theHole)

Constructor.

Creates an issue from the Machining_Hole object.

Member Function Documentation

◆ ActualDistance()

double cadex::DFMMachining_SmallDistanceBetweenThreadedHoleAndEdgeIssue::ActualDistance ( ) const

Returns the actual hole distance in mm .

Examples
MTKConverter/Program.cs.

◆ Edge()

ModelData::Edge cadex::DFMMachining_SmallDistanceBetweenThreadedHoleAndEdgeIssue::Edge ( ) const

Returns the problematic edge.

Examples
MTKConverter/Program.cs.

◆ ExpectedMinDistance()

double cadex::DFMMachining_SmallDistanceBetweenThreadedHoleAndEdgeIssue::ExpectedMinDistance ( ) const

Returns the expected minimum distance in mm .

\[ \large Dist_e = Dia_h * Rt \]

\[ \begin{aligned} & \small Dist_e - \text{distance from threaded hole to edge} \\ & \small Dia_p - \text{actual threaded hole major diameter} \\ & \small Rt - \text{expected maximum distance to diameter ratio} \end{aligned} \]

See also
ExpectedMinDistanceToDiameterRatio(), Hole()
Examples
MTKConverter/Program.cs.

◆ ExpectedMinDistanceToDiameterRatio()

double cadex::DFMMachining_SmallDistanceBetweenThreadedHoleAndEdgeIssue::ExpectedMinDistanceToDiameterRatio ( ) const

Returns the expected distance to diameter ratio

See also
SetExpectedMinDistanceToDiameterRatio(), DFMMachining_DrillingAnalyzerParameters.MinDistanceBetweenThreadedHoleAndEdgeToDaimeterRatio()
Examples
MTKConverter/Program.cs.

◆ SetActualDistance()

void cadex::DFMMachining_SmallDistanceBetweenThreadedHoleAndEdgeIssue::SetActualDistance ( double theDistance)

Sets the actual hole distance in mm .

◆ SetEdge()

void cadex::DFMMachining_SmallDistanceBetweenThreadedHoleAndEdgeIssue::SetEdge ( const ModelData::Edge & theEdge)

Sets the problematic edge.

◆ SetExpectedMinDistanceToDiameterRatio()

void cadex::DFMMachining_SmallDistanceBetweenThreadedHoleAndEdgeIssue::SetExpectedMinDistanceToDiameterRatio ( double theRatio)

Sets the expected distance to diameter ratio. theRatio should be greater than zero.

See also
ExpectedMinDistanceToDiameterRatio()