CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Работа с milling tools

    Milling tools делятся на подтипы. Геометрия каждого подтипа задаётся собственным набором параметров. Общие атрибуты, например tool name и tool number, одинаковы для всех подтипов cutting tools. Ниже приведён пример создания Cylindrical Mill.

    //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
    

    Результат выполнения кода: Cylindrical Mill

    Геометрические свойства milling tools

    Тип tool и свойства API Вид
    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)

    Полезные ссылки

    • Работа с milling tools в интерфейсе CAM-системы
    • Подготовка окружения для Machining Tools Import
    • Примеры Machining Tools Import в GitVerse

    Далее

    • Работа с tool holder
    In this article