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
Properties
AxialRakeAngle_deg
AxialRakeAngle_rad in degree.
public double AxialRakeAngle_deg { get; set; }
Property Value
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
CutterLengthOnBottomProjection_mm
cutter length projection from outer edge on bottom plane.
public double CutterLengthOnBottomProjection_mm { get; set; }
Property Value
DiskAngle_deg
angle between bottom surface and horizontal plane. unit is degree.
public double DiskAngle_deg { get; set; }
Property Value
DiskAngle_rad
angle between bottom surface and horizontal plane. unit is radian.
public double DiskAngle_rad { get; set; }
Property Value
EccentricAngle_deg
Gets or sets the eccentric angle in degrees.
public double EccentricAngle_deg { get; set; }
Property Value
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
InnerHeight_mm
Gets the inner height of the contour in millimeters.
public double InnerHeight_mm { get; }
Property Value
KeyRange
Gets the key range of the flute contour.
public Range<double> KeyRange { get; }
Property Value
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
XName
Name for XML IO.
public static string XName { get; }
Property Value
Methods
Duplicate(IGetZrList)
Creates a duplicate of this contour with the specified ZR list host.
public IWorkingContour Duplicate(IGetZrList zrListHost)
Parameters
zrListHost
IGetZrListThe 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
Box3dDestination box
GetSpanContourPos4d(double)
public SpanContourPos4d GetSpanContourPos4d(double r)
Parameters
r
doublespecific radius
Returns
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:
- For ISideContour, positions are ordered by ascending Z values
- For IBottomContour, positions are ordered by ascending R values
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
stringThe base directory for resolving relative paths
relFile
stringThe relative file path for the XML source
Returns
- XElement
An XML element representing the object's state