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

Describes turned part size used in cnc machining turning design analysis. More...

Public Member Functions

 DFMMachining_TurnedPartSize ()
 Constructor.
 
 DFMMachining_TurnedPartSize (double theRadius, double theLength)
 Constructor.
 
double Radius () const
 
void SetRadius (double theRadius)
 
double Length () const
 
void SetLength (double theLength)
 

Detailed Description

Describes turned part size used in cnc machining turning design analysis.

The size of the turned part represents the dimensions of the minimum bounding cylinder:

  • Radius() is a radius of the bounding cylinder;
  • Length() is a height of the bounding cylinder.
Examples
MTKConverter/Program.cs, and machining/dfm_analyzer/Program.cs.

Constructor & Destructor Documentation

◆ DFMMachining_TurnedPartSize()

cadex::DFMMachining_TurnedPartSize::DFMMachining_TurnedPartSize ( double  theRadius,
double  theLength 
)

Constructor.

Creates a turned part size with specified length and radius.

Member Function Documentation

◆ Length()

double cadex::DFMMachining_TurnedPartSize::Length ( ) const

Returns length of turned part in mm .

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

◆ Radius()

double cadex::DFMMachining_TurnedPartSize::Radius ( ) const

Returns radius of turned part in mm .

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

◆ SetLength()

void cadex::DFMMachining_TurnedPartSize::SetLength ( double  theLength)

Sets length of turned part in mm . theLength should be greater than zero.

See also
Length()

◆ SetRadius()

void cadex::DFMMachining_TurnedPartSize::SetRadius ( double  theRadius)

Sets radius of turned part in mm . theRadius should be greater than zero.

See also
SetRadius()