6namespace Json {
class Value; }
54 [[nodiscard]] MRMESH_API
Mesh toMesh(
int horizontalResolution = 32,
int verticalResolution = 32 )
const;
EndMillCutter cutter
cutter
Definition MREndMill.h:48
MRMESH_API Mesh toMesh(int horizontalResolution=32, int verticalResolution=32) const
create a tool mesh
Type type
Definition MREndMill.h:31
MRMESH_API void serializeToJson(const EndMillCutter &cutter, Json::Value &root)
tl::expected< T, E > Expected
Definition MRExpected.h:31
float cornerRadius
(bull nose) corner radius
Definition MREndMill.h:33
float cuttingAngle
(chamfer) cutting angle
Definition MREndMill.h:35
MRMESH_API float getMinimalCutLength() const
compute the minimal cut length based on the cutter parameters
float length
overall tool length
Definition MREndMill.h:44
Type
cutter type
Definition MREndMill.h:19
float endDiameter
(chamfer) end diameter
Definition MREndMill.h:37
float diameter
tool diameter
Definition MREndMill.h:46
MRMESH_API Expected< void > deserializeFromJson(const Json::Value &root, EndMillCutter &cutter)
@ BullNose
bull nose end mill
@ Chamfer
chamfer end mill
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
end mill cutter specifications
Definition MREndMill.h:16