Working with Milling Tools
Milling tools are divided into various subtypes, where the geometry of each subtype is set by its own unique set of parameters. Common tool attributes, such as tool name, tool number, etc., are the same for all subtypes of cutting tools. For example, below is the code for creating a Cylindrical Mill tool:
//C#
//importer is an instance of IMTI_MachiningToolsImportLibrary
var tool = importer.CreateCylindricalMill();
tool.OverallLength = 100;
tool.CuttingDiameter = 10;
tool.WorkingLength = 30;
tool.ShankDiameter = 12;
tool.ShoulderLength = 60;
tool.ShankTaperAngle = 40;
tool.SetName("My Cylindrical mill");
tool.SetIdentifier("m001");
tool.SetTeethsCount(3);
tool.SetMagazineNumber(1);
tool.SetToolNumber(1);
tool.SetUnits(TMTI_LinearUnits.luMillimeter);
tool.SetOverhang(100);
tool.SetDurability(70);
tool.SetMaxPlungeAngle(90);
var toolings = tool.GetToolingPoints();
toolings.ToolContactPointType = TMTI_AxialToolContactPointType.cpCustomPoint;
toolings.ToolContactPointsCount = 1;
toolings.ToolingPointCount = 1;
toolings.ToolingPointType[0] = TMTI_AxialToolToolingPointType.tpCustomPoint;
toolings.ToolingPointShift[0] = 1.5;
toolings.ToolingPointLengthCorrectorNumber[0] = 1;
toolings.ToolingPointRadiusCorrectorNumber[0] = 1;
var cond = tool.GetCuttingConditions();
cond.CuttingSpeedMode = TMTI_CuttingSpeedMode.csmRPM;
cond.RotationsPerMinute = 100;
cond.SpindleGearRange = 1;
cond.RotationDirection = TMTI_RotationDirection.rdCW;
cond.FeedUnits = TMTI_FeedUnits.perMinute;
cond.FeedValue = 100;
int tubesCount = cond.Coolant.TubeCount; //20
cond.Coolant.TubeIsOn[0] = true;
cond.Coolant.TubeIsOn[1] = false;
cond.Coolant.TubeIsOn[2] = true;
//after setting the properties, add this tool to your tool library instance
Code execution result:
Milling Tool Geometry Properties
Tool type | View |
---|---|
Cylindrical Mill: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) |
|
Spherical Mill: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) |
|
Torus Mill: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) Radius (Rc) |
|
Double Radial Mill: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) Radius (Rc) TipRadius (R) |
|
Limited Double Radial Mill: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) Radius (Rc) TipRadius (R) ShapeLength (H) |
|
Conical Mill: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) Radius (Rc) TipRadius (R) Angle (A) |
|
Limited Conical Mill: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) Radius (Rc) TipRadius (R) Angle (A) ShapeLength (H) |
|
Engraver: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) Angle (A) EndDiameter (d) |
|
Drill: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) Angle (A) |
|
Two Stage Drill: OverallLength (L) WorkingLength (WL) Diameter1 (D1) Diameter2 (D2) Length1 (L1) Length2 (L2) Angle1 (a1) Angle2 (a2) |
|
Spot Drill: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) Angle (A) |
|
Center Drill: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) Angle (A) |
|
Reamer: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) |
|
Counter Sink Drill: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) Angle (A) |
|
Flat Tip Countersink: OverallLength (L) Diameter (D) WorkingLength (WL) ShaftDiameter (DS) TipDiameter (TD) ShoulderLength (SL) TipAngle (A) |
|
Counter Bore Drill: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) Angle (A) |
|
Pilot Counterbore: OverallLength (L) Diameter (D) WorkingLength (WL) ShaftDiameter (DS) PilotDiameter (PD) ShoulderLength (SL) FluteLength (FL) PilotLength (PL) PilotRadius (PR) |
|
Boring Bar: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) |
|
Back Boring Bar: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) Height1 (h1) Height2 (h2) Angle1 (a1) Angle2 (a2) StemDiameter (Ds) StemAngle (Sa) StemHeight1 (sh1) StemHeight2 (sh2) |
|
Tap: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) Angle (A) ThreadPitch (TP) |
|
Thread Mill: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) StemDiameter (Ds) Pitch (P) PitchCount (c) OD_ID (OD/ID) |
|
Negative Radius Mill: OverallLength (L) CuttingDiameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) Radius (Rc) |
|
Knife: OverallLength (L) Diameter (D) FrontDistance (RD) BackDistance (LD) FrontAngle (RA) BackAngle (LA) AutoDepth (LD) InclinationAngle (IA) |
|
Saw Blade: WorkingLength (WL) Diameter (D) Thickness (Th) RoundingRadius (R) |
|
Undercut Dove Mill: OverallLength (L) Diameter (D) WorkingLength (WL) Angle (a) CornerRadius (Rc) ShapeLength (H) |
|
Undercut Slot Mill: OverallLength (L) Diameter (D) WorkingLength (WL) ShaftDiameter (d) SideAngle (a) CornerRadius (Rc) ShapeLength (H) |
|
Undercut Lollipop Mill: OverallLength (L) Diameter (D) WorkingLength (WL) ShaftDiameter (d) |
|
Undercut Two Angle Mill: OverallLength (L) Diameter (D) WorkingLength (WL) Height (H) HeadHeight (H2) Angle1 (ang) Angle2 (ang2) SmoothRadius (R) ShaftDiameter (W) |
|
Undercut Round Groove Mill: OverallLength (L) Diameter (D) WorkingLength (WL) Radius (R) StemDiameter (Ds) |
|
Undercut Sharp Chamfer Mill: OverallLength (L) Diameter (D) WorkingLength (WL) Height (S) Angle (Ang) Width (W) StemDiameter (Ds) |
|
Undercut Rounded Chamfer Mill: OverallLength (L) Diameter (D) WorkingLength (WL) Height (S) Angle (Ang) Radius (R) StemDiameter (Ds) |
|
Undercut Indexable Chamfer Mill: OverallLength (L) Diameter (D) WorkingLength (WL) StemDiameter (Ds) InsertAngle (Ang) InsertInnerCircleDiameter (IC) InsertCornersCount (CNC) CornerRadius (Re) |
|
Undercut Barrel Mill: OverallLength (L) Diameter (D) WorkingLength (WL) CenterLength (LC) Height (H) StemLength (LH) EdgeR1 (RE1) EdgeR2 (RE2) EdgeR3 (RE3) StemDiameter (DN) ConnectDiameter (DCON) |
|
Undercut Lens Barrel Mill: OverallLength (L) Diameter (D) WorkingLength (WL) FacetDiameter (FC) EdgeR1 (RE1) EdgeR2 (RE2) Height (H) StemLength (LH) StemDiameter (DN) ConnectDiameter (DCON) Angle (a) |
|
Undercut Taper Barrel Mill: OverallLength (L) Diameter (D) WorkingLength (WL) Height (H) EdgeR1 (RE1) EdgeR2 (RE2) EdgeR3 (RE3) |
|
Jet Cutter: OverallLength (L) Diameter (D) WorkingLength (WL) ShankDiameter (SHD) ShoulderLength (SHL) ShankTaperAngle (STA) |
|
Taper Jet Cutter: OverallLength (L) Diameter (D) WorkingLength (WL) JetLength (JL) NozzleDistance (ND) TaperAngle (Ang) |
|
Plazma Jet Cutter: OverallLength (L) Diameter (D) WorkingLength (WL) Length (h) Angle (a) |
|
Laser Beam Cutter: OverallLength (L) WorkingLength (WL) LensDiameter (LD) FocalDistance (F) CylinderZoneDiameter (CD) CylinderZoneLength (CL) CurvatureRadius (R) LaserBeamLength (BL) |
|
Single Vacuum Gripper: OverallLength (L) WorkingLength (WL) Diameter (D) ShaftDiameter (shd) CornerRadius (Rc) ShapeLength (H) |
Helpful links:
- How to work with milling tools in the SprutCAM interface
- Preparing the machining tools import api environment
- GitHub: SprutCAM API examples