MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ToolPathParams Class Reference
Inheritance diagram for mrmeshpy.ToolPathParams:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstToolPathParams arg0)
None __init__ (self, float millRadius, float voxelSize, float sectionStep, float critTransitionLength, float plungeLength, float retractLength, float plungeFeed, float retractFeed, float baseFeed, float safeZ, BypassDirection bypassDir, ConstAffineXf3f xf, bool flatTool, Const_func_bool_from_float cb, float toolpathExpansion, std_vector_std_vector_Vector3_float isolines, std_vector_std_vector_Vector3_float startContours, std_vector_Vector3_float startVertices, MeshPart offsetMesh)
ToolPathParams assign (self, ConstToolPathParams other)
float baseFeed (self)
None baseFeed (self, float arg1)
BypassDirection bypassDir (self)
None bypassDir (self, BypassDirection arg1)
func_bool_from_float cb (self)
None cb (self, Const_func_bool_from_float arg1)
float critTransitionLength (self)
None critTransitionLength (self, float arg1)
bool flatTool (self)
None flatTool (self, bool arg1)
std_vector_std_vector_Vector3_float isolines (self)
None isolines (self, std_vector_std_vector_Vector3_float arg1)
float millRadius (self)
None millRadius (self, float arg1)
MeshPart offsetMesh (self)
None offsetMesh (self, MeshPart arg1)
float plungeFeed (self)
None plungeFeed (self, float arg1)
float plungeLength (self)
None plungeLength (self, float arg1)
float retractFeed (self)
None retractFeed (self, float arg1)
float retractLength (self)
None retractLength (self, float arg1)
float safeZ (self)
None safeZ (self, float arg1)
float sectionStep (self)
None sectionStep (self, float arg1)
std_vector_std_vector_Vector3_float startContours (self)
None startContours (self, std_vector_std_vector_Vector3_float arg1)
std_vector_Vector3_float startVertices (self)
None startVertices (self, std_vector_Vector3_float arg1)
float toolpathExpansion (self)
None toolpathExpansion (self, float arg1)
float voxelSize (self)
None voxelSize (self, float arg1)
AffineXf3f xf (self)
None xf (self, ConstAffineXf3f arg1)
Public Member Functions inherited from mrmeshpy.ConstToolPathParams
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstToolPathParams
typing _offsetof_baseFeed = 32
typing _offsetof_bypassDir = 40
typing _offsetof_cb = 64
typing _offsetof_critTransitionLength = 12
typing _offsetof_flatTool = 56
typing _offsetof_isolines = 104
typing _offsetof_millRadius = 0
typing _offsetof_offsetMesh = 128
typing _offsetof_plungeFeed = 24
typing _offsetof_plungeLength = 16
typing _offsetof_retractFeed = 28
typing _offsetof_retractLength = 20
typing _offsetof_safeZ = 36
typing _offsetof_sectionStep = 8
typing _offsetof_startContours = 112
typing _offsetof_startVertices = 120
typing _offsetof_toolpathExpansion = 96
typing _offsetof_voxelSize = 4
typing _offsetof_xf = 48

Detailed Description

Generated from:  MR::ToolPathParams

Parameters shared by all tool path generation functions

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.ToolPathParams.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.ToolPathParams.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.ToolPathParams.__init__ ( self,
ConstToolPathParams arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.ToolPathParams.__init__ ( self,
float millRadius,
float voxelSize,
float sectionStep,
float critTransitionLength,
float plungeLength,
float retractLength,
float plungeFeed,
float retractFeed,
float baseFeed,
float safeZ,
BypassDirection bypassDir,
ConstAffineXf3f xf,
bool flatTool,
Const_func_bool_from_float cb,
float toolpathExpansion,
std_vector_std_vector_Vector3_float isolines,
std_vector_std_vector_Vector3_float startContours,
std_vector_Vector3_float startVertices,
MeshPart offsetMesh )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

ToolPathParams mrmeshpy.ToolPathParams.assign ( self,
ConstToolPathParams other )

Reimplemented in mrmeshpy.ConstantCuspParams.

◆ baseFeed() [1/2]

float mrmeshpy.ToolPathParams.baseFeed ( self)
speed of regular milling

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ baseFeed() [2/2]

None mrmeshpy.ToolPathParams.baseFeed ( self,
float arg1 )
speed of regular milling

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ bypassDir() [1/2]

BypassDirection mrmeshpy.ToolPathParams.bypassDir ( self)
which direction isolines or sections should be passed in

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ bypassDir() [2/2]

None mrmeshpy.ToolPathParams.bypassDir ( self,
BypassDirection arg1 )
which direction isolines or sections should be passed in

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ cb() [1/2]

func_bool_from_float mrmeshpy.ToolPathParams.cb ( self)
callback for reporting on progress

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ cb() [2/2]

None mrmeshpy.ToolPathParams.cb ( self,
Const_func_bool_from_float arg1 )
callback for reporting on progress

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ critTransitionLength() [1/2]

float mrmeshpy.ToolPathParams.critTransitionLength ( self)
if distance to the next section is smaller than it, transition will be performed along the surface;
otherwise transition will be through the safe plane

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ critTransitionLength() [2/2]

None mrmeshpy.ToolPathParams.critTransitionLength ( self,
float arg1 )
if distance to the next section is smaller than it, transition will be performed along the surface;
otherwise transition will be through the safe plane

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ flatTool() [1/2]

bool mrmeshpy.ToolPathParams.flatTool ( self)
if true then a tool path for a flat milling tool will be generated

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ flatTool() [2/2]

None mrmeshpy.ToolPathParams.flatTool ( self,
bool arg1 )
if true then a tool path for a flat milling tool will be generated

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ isolines() [1/2]

std_vector_std_vector_Vector3_float mrmeshpy.ToolPathParams.isolines ( self)
optional output, stores isolines without transits

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ isolines() [2/2]

None mrmeshpy.ToolPathParams.isolines ( self,
std_vector_std_vector_Vector3_float arg1 )
optional output, stores isolines without transits

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ millRadius() [1/2]

float mrmeshpy.ToolPathParams.millRadius ( self)
radius of the milling tool

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ millRadius() [2/2]

None mrmeshpy.ToolPathParams.millRadius ( self,
float arg1 )
radius of the milling tool

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ offsetMesh() [1/2]

MeshPart mrmeshpy.ToolPathParams.offsetMesh ( self)
optional pre-computed offset mesh; if null, it will be computed internally

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ offsetMesh() [2/2]

None mrmeshpy.ToolPathParams.offsetMesh ( self,
MeshPart arg1 )
optional pre-computed offset mesh; if null, it will be computed internally

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ plungeFeed() [1/2]

float mrmeshpy.ToolPathParams.plungeFeed ( self)
speed of slow movement down

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ plungeFeed() [2/2]

None mrmeshpy.ToolPathParams.plungeFeed ( self,
float arg1 )
speed of slow movement down

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ plungeLength() [1/2]

float mrmeshpy.ToolPathParams.plungeLength ( self)
when the mill is moving down, it will be slowed down in this distance from mesh

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ plungeLength() [2/2]

None mrmeshpy.ToolPathParams.plungeLength ( self,
float arg1 )
when the mill is moving down, it will be slowed down in this distance from mesh

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ retractFeed() [1/2]

float mrmeshpy.ToolPathParams.retractFeed ( self)
speed of slow movement up

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ retractFeed() [2/2]

None mrmeshpy.ToolPathParams.retractFeed ( self,
float arg1 )
speed of slow movement up

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ retractLength() [1/2]

float mrmeshpy.ToolPathParams.retractLength ( self)
when the mill is moving up, it will be slowed down in this distance from mesh

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ retractLength() [2/2]

None mrmeshpy.ToolPathParams.retractLength ( self,
float arg1 )
when the mill is moving up, it will be slowed down in this distance from mesh

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ safeZ() [1/2]

float mrmeshpy.ToolPathParams.safeZ ( self)
z-coordinate of plane where tool can move in any direction without touching the object

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ safeZ() [2/2]

None mrmeshpy.ToolPathParams.safeZ ( self,
float arg1 )
z-coordinate of plane where tool can move in any direction without touching the object

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ sectionStep() [1/2]

float mrmeshpy.ToolPathParams.sectionStep ( self)
distance between sections built along Z axis;
in Constant Cusp mode sectionStep should be bigger than voxelSize (x1.2 or more is recommended)

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ sectionStep() [2/2]

None mrmeshpy.ToolPathParams.sectionStep ( self,
float arg1 )
distance between sections built along Z axis;
in Constant Cusp mode sectionStep should be bigger than voxelSize (x1.2 or more is recommended)

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ startContours() [1/2]

std_vector_std_vector_Vector3_float mrmeshpy.ToolPathParams.startContours ( self)
optional output, polyline containing start vertices for isolines

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ startContours() [2/2]

None mrmeshpy.ToolPathParams.startContours ( self,
std_vector_std_vector_Vector3_float arg1 )
optional output, polyline containing start vertices for isolines

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ startVertices() [1/2]

std_vector_Vector3_float mrmeshpy.ToolPathParams.startVertices ( self)
start vertices on the offset mesh used for calculating isolines

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ startVertices() [2/2]

None mrmeshpy.ToolPathParams.startVertices ( self,
std_vector_Vector3_float arg1 )
start vertices on the offset mesh used for calculating isolines

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ toolpathExpansion() [1/2]

float mrmeshpy.ToolPathParams.toolpathExpansion ( self)
if > 0 - expand the trajectory creation area and create toolpath to mill excess material to make empty areas;
the area has the shape of a box; lacing specific only

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ toolpathExpansion() [2/2]

None mrmeshpy.ToolPathParams.toolpathExpansion ( self,
float arg1 )
if > 0 - expand the trajectory creation area and create toolpath to mill excess material to make empty areas;
the area has the shape of a box; lacing specific only

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ voxelSize() [1/2]

float mrmeshpy.ToolPathParams.voxelSize ( self)
size of voxel needed to offset mesh

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ voxelSize() [2/2]

None mrmeshpy.ToolPathParams.voxelSize ( self,
float arg1 )
size of voxel needed to offset mesh

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ xf() [1/2]

AffineXf3f mrmeshpy.ToolPathParams.xf ( self)
mesh can be transformed using xf parameter

Reimplemented from mrmeshpy.ConstToolPathParams.

◆ xf() [2/2]

None mrmeshpy.ToolPathParams.xf ( self,
ConstAffineXf3f arg1 )
mesh can be transformed using xf parameter

Reimplemented from mrmeshpy.ConstToolPathParams.


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