Table of Contents

Class FluteDependentAreaEquivalentRatioProfile

Namespace
Hi.Milling.Cutters
Assembly
HiMech.dll

The area-equivalent core of a milling cutter's flute, at a ratio that follows the flute count: the flute profile (ZrListSource) scaled by RadiusRatio, so at every height it is the solid circle with the area of the whole fluted section, web and teeth together. Its volume is the volume of the fluted part of the cutter, which the web (the circle inscribed at the flute bottoms) understates; the bending-equivalent core (FluteDependentRatioProfile: the circle with the section's area moment of inertia) is held no thinner than it, a choice the two default tables of one family keep between them, and not across families: a high-strength table set as the area-equivalent core of a cutter whose inner beam is the standard table reads thicker than that inner beam (two flutes 0.82 against 0.75). One constant per cutter: the same ratio at every height and on a ball nose as on a flat end. The table by flute count, one for each family of fluted sections (Family). The standard one, the default: two, three and four flutes 0.71, 0.74 and 0.77, the square roots of the solid share of the section, 50, 55 and 60 %, that Sawa 2012 gives and that the chip-pocket shares in Mitsubishi Materials' online milling course (50, 45 and 40 %) leave; six flutes 0.79; one, five, seven and eight or more flutes 0.68, 0.78, 0.80 and 0.81, assumed; no flutes 1, the profile itself. The high-strength one, thicker: two and three flutes 0.82, four 0.85, five 0.87, six 0.88, seven 0.89, eight or more 0.90, one flute the standard 0.68, from sections of high-strength end mills traced from patent and paper figures, some cells assumed. A one-piece cutter whose InnerBeamAreaProfile is not set and whose InnerBeamProfile is a FluteDependentRatioProfile reads this table in the inner beam's family (Family); set as InnerBeamAreaProfile it is read in its own family on a one-piece cutter whatever ratio or contour the inner beam has (an insert cutter, and a cutter without an inner beam contour, read no area-equivalent core). The readers are on InnerBeamAreaProfile. Saved as its element name, with a Family child element only where the family is not the standard one (the ratio only in an XML comment, which the reader ignores), so a project saved with this profile reads the table of its family in the build that loads it; an element without the family reads as standard, and a build older than the family ignores the element and reads the standard table.

public class FluteDependentAreaEquivalentRatioProfile : IShaperProfile, IMakeXmlSource, IAbstractNote, IGetZrList, IGenStl, IDuplicate, IClearCache, IFluteNumSourceProperty, IZrListSourceProperty
Inheritance
FluteDependentAreaEquivalentRatioProfile
Implements
Inherited Members
Extension Methods

Constructors

FluteDependentAreaEquivalentRatioProfile()

Initializes a new instance.

public FluteDependentAreaEquivalentRatioProfile()

FluteDependentAreaEquivalentRatioProfile(XElement, string)

Initializes a new instance of the FluteDependentAreaEquivalentRatioProfile class.

public FluteDependentAreaEquivalentRatioProfile(XElement element, string baseDirectory)

Parameters

element XElement

The XML element containing profile data.

baseDirectory string

The base directory for resolving relative paths.

Exceptions

ArgumentException

The element's Family child holds a text that is no name of a FluteSectionFamily

Properties

AbstractNote

Gets the abstract note describing the profile.

public string AbstractNote { get; }

Property Value

string

Family

The family of fluted sections whose table the ratio is read from: Standard, the default, or HighStrength. The family of a profile set as InnerBeamAreaProfile is its own; the table an automatic area-equivalent core reads takes the family of the cutter's inner beam (Family) instead. RadiusRatio and GetZrList() answer the family as it is at the read. A family written still owes the cutter a ClearCache(), as every edit of a cutter does. Saved with the profile where it is not the standard one; a file without it reads as standard.

public FluteSectionFamily Family { get; set; }

Property Value

FluteSectionFamily

Exceptions

ArgumentOutOfRangeException

The value set is no member of FluteSectionFamily

FluteNumSource

Gets or sets a delegate that returns the current flute number.

public Func<int> FluteNumSource { get; set; }

Property Value

Func<int>

RadiusRatio

The area-equivalent core ratio for the current flute count (FluteNumSource): the core's radius over the flute profile's radius at the same height, by the table of the flute count the class gives for its Family. GetZrList() answers the list of the flute count and the family as they are at the read, the same list while the ratio they give stays. A flute count written still owes the cutter a ClearCache(), as every edit of a cutter does: what is kept by the cutter's generation does not see it.

public double RadiusRatio { get; }

Property Value

double

XName

Name for XML IO.

public static string XName { get; }

Property Value

string

ZrListSource

Get base geometry source. Runtime property.

public Func<IGetZrList> ZrListSource { get; set; }

Property Value

Func<IGetZrList>

Methods

ClearCache()

Clears any cached data held by the implementing object.

public void ClearCache()

Duplicate(params object[])

Creates a deep copy of the object, excluding any source file references.

public object Duplicate(params object[] res)

Parameters

res object[]

Optional parameters that may be needed during the duplication process

Returns

object

A new instance that is a deep copy of the original object

GenStl(IPolarResolution2d)

Generates a new STL.

public Stl GenStl(IPolarResolution2d resolution)

Parameters

resolution IPolarResolution2d

Polar resolution

Returns

Stl

A newly created STL.

GetZrList()

Gets a list of Z-R coordinate pairs.

public List<PairZr> GetZrList()

Returns

List<PairZr>

A list of PairZr objects representing Z-R coordinates.

MakeXmlSource(string, string, bool)

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, bool exhibitionOnly)

Parameters

baseDirectory string

The base directory for resolving relative paths

relFile string

The relative file path for the XML source

exhibitionOnly bool

if true, the extended file creation is suppressed.

Returns

XElement

An XML element representing the object's state

Remarks

For the demand of easy moving source folder (especially project folder) without configuration file path corruption, the relative file path is applied. The baseDirectory is typically the folder at the nearest configuration file folder. Since the folder can be moving with the configuration file.

Reg(XFactory)

Registers this type's deserializer with the given XFactory (or Default when factory is null). Idempotent.

public static void Reg(XFactory factory = null)

Parameters

factory XFactory