• Articles
  • Api Documentation
Show / Hide Table of Contents
  • The main page
  • Preparing the environment
  • Working with the tool library
  • Working with cutting tools
    • Milling Tools
    • Turning Tools
    • Custom Axial Shaped Tools
  • Working with the tool holder

Tool Holder

The tool holder can be defined in two ways: by installing an existing CAD model tool holder and using the SprutCAM builder. The CAD model allows you to specify files in *.stl and *.osd formats. The builder allows you to create custom tool holders with a set of dimensions, defining the diameter and length for each of the steps. Below is an example of how to form a tool holder using a SprutCAM builder:

//C#
//importer is an instance of IMTI_MachiningToolsImportLibrary
var tool = importer.CreateCylindricalMill();
tool.SetName("My Cylindrical Mill Tool with custom tool holder");
var adapter = tool.GetStepsAdapter();
adapter.HolderName = "my custom adapter";
adapter.HolderStepCount=3;
adapter.HolderStepDiameter[0] = 20;
adapter.HolderStepHeight[0] = 20;
adapter.HolderStepDiameter[1] = 30;
adapter.HolderStepHeight[1] = 10;
adapter.HolderStepDiameter[2] = 30;
adapter.HolderStepHeight[2] = 70;

Code execution result: Cylindrical Mill

For turning tools, you can install the holder using the finished CAD model only.

Helpful links:

  • How to work with tool holder in the SprutCAM interface
  • Preparing the machining tools import api environment
  • GitHub: SprutCAM API examples

Return to Home Page

In This Article
Back to top Generated by DocFX