6namespace Json {
class Value; }
#define MRMESH_API
Definition MRMeshFwd.h:80
EndMillCutter cutter
cutter
Definition MREndMill.h:48
Type type
Definition MREndMill.h:31
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 getMinimalCutLength() const
compute the minimal cut length based on the cutter parameters
float cuttingAngle
(chamfer) cutting angle
Definition MREndMill.h:35
Expected< void > deserializeFromJson(const Json::Value &root, EndMillCutter &cutter)
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
Mesh toMesh(int horizontalResolution=32, int verticalResolution=32) const
create a tool mesh
@ Ball
ball end mill
Definition MREndMill.h:23
@ BullNose
bull nose end mill
Definition MREndMill.h:25
@ Flat
flat end mill
Definition MREndMill.h:21
@ Chamfer
chamfer end mill
Definition MREndMill.h:27
@ Count
Definition MREndMill.h:29
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
end mill cutter specifications
Definition MREndMill.h:16