Table of Contents

Class SlideBottomContour

Namespace
Hi.Milling.FluteContours
Assembly
HiMech.dll

Represents a slide bottom contour for milling cutters.

public class SlideBottomContour : IBottomContour, IWorkingContour, IMakeXmlSource, IExpandToBox3d
Inheritance
SlideBottomContour
Implements
Inherited Members
Extension Methods

Constructors

SlideBottomContour()

Initializes a new instance of the SlideBottomContour class.

public SlideBottomContour()

SlideBottomContour(XElement, string)

Ctor by XML.

public SlideBottomContour(XElement src, string baseDirectory)

Parameters

src XElement

XML

baseDirectory string

Base directory path for resolving relative paths

Properties

AxialRakeAngle_deg

AxialRakeAngle_rad in degree.

public double AxialRakeAngle_deg { get; set; }

Property Value

double

AxialRakeAngle_rad

Axial rake angle. Sometimes it is equal to Helix angle from side contour. in radian.

public double AxialRakeAngle_rad { get; set; }

Property Value

double

CutterLengthOnBottomProjection_mm

cutter length projection from outer edge on bottom plane.

public double CutterLengthOnBottomProjection_mm { get; set; }

Property Value

double

DiskAngle_deg

angle between bottom surface and horizontal plane. unit is degree.

public double DiskAngle_deg { get; set; }

Property Value

double

DiskAngle_rad

angle between bottom surface and horizontal plane. unit is radian.

public double DiskAngle_rad { get; set; }

Property Value

double

EccentricAngle_deg

Gets or sets the eccentric angle in degrees.

public double EccentricAngle_deg { get; set; }

Property Value

double

EccentricAngle_rad

Projection angle between the line from outer edge tip to center and bottom flute contour on bottom plane. Sometimes it is equal to Radial Rake Angle from side contour. in radian.

public double EccentricAngle_rad { get; set; }

Property Value

double

InnerHeight_mm

Gets the inner height of the contour in millimeters.

public double InnerHeight_mm { get; }

Property Value

double

KeyRange

Gets the key range of the flute contour.

public Range<double> KeyRange { get; }

Property Value

Range<double>

Remarks

  • For ISideContour, this represents the Z-value range (height range)
  • For IBottomContour, this represents the R-value range (radial range)

OuterRadius_mm

Gets or sets the outer radius of the contour in millimeters.

public double OuterRadius_mm { get; set; }

Property Value

double

XName

Name for XML IO.

public static string XName { get; }

Property Value

string

Methods

Duplicate(IGetZrList)

Creates a duplicate of this contour with the specified ZR list host.

public IWorkingContour Duplicate(IGetZrList zrListHost)

Parameters

zrListHost IGetZrList

The ZR list host to use for the duplicate

Returns

IWorkingContour

A new working contour instance

ExpandToBox3d(Box3d)

Expands the destination box. This function is usually used to compute the bounding box of elements.

public void ExpandToBox3d(Box3d dst)

Parameters

dst Box3d

Destination box

GetSpanContourPos4d(double)

public SpanContourPos4d GetSpanContourPos4d(double r)

Parameters

r double

specific radius

Returns

SpanContourPos4d

GetSpanContourPosList()

Gets a list of span contour positions that define the working contour geometry.

public List<SpanContourPos4d> GetSpanContourPosList()

Returns

List<SpanContourPos4d>

A list of SpanContourPos4d objects representing the contour geometry

Remarks

The positions are ordered:

Note: Future implementation may use List<List<SpanContourPos4d>> for block flute support.

MakeXmlSource(string, string)

Creates an XML representation of the object. This method may also generate additional resources such as related files.

public XElement MakeXmlSource(string baseDirectory, string relFile)

Parameters

baseDirectory string

The base directory for resolving relative paths

relFile string

The relative file path for the XML source

Returns

XElement

An XML element representing the object's state