MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::EndMillTool Struct Reference

end mill tool specifications More...

#include <MREndMill.h>

Public Member Functions

MRMESH_API float getMinimalCutLength () const
 compute the minimal cut length based on the cutter parameters
 
MRMESH_API Mesh toMesh (int horizontalResolution=32, int verticalResolution=32) const
 create a tool mesh
 

Public Attributes

float length = 1.f
 overall tool length
 
float diameter = 0.1f
 tool diameter
 
EndMillCutter cutter
 cutter
 

Detailed Description

end mill tool specifications

Member Function Documentation

◆ getMinimalCutLength()

MRMESH_API float MR::EndMillTool::getMinimalCutLength ( ) const
nodiscard

compute the minimal cut length based on the cutter parameters

◆ toMesh()

MRMESH_API Mesh MR::EndMillTool::toMesh ( int horizontalResolution = 32,
int verticalResolution = 32 ) const
nodiscard

create a tool mesh

Member Data Documentation

◆ cutter

EndMillCutter MR::EndMillTool::cutter

cutter

◆ diameter

float MR::EndMillTool::diameter = 0.1f

tool diameter

◆ length

float MR::EndMillTool::length = 1.f

overall tool length


The documentation for this struct was generated from the following file: