MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.ConstantCuspParams Class Reference
Inheritance diagram for meshlib.ConstantCuspParams:

Public Member Functions

 ConstantCuspParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ConstantCuspParams ()
 ConstantCuspParams (meshlib.ConstantCuspParams _other)
meshlib.ConstantCuspParams assignFromAnother (meshlib.ConstantCuspParams _other)
boolean fromCenterToBoundary ()
void setFromCenterToBoundary (boolean value)
float millRadius ()
void setMillRadius (float value)
float voxelSize ()
void setVoxelSize (float value)
float sectionStep ()
void setSectionStep (float value)
float critTransitionLength ()
void setCritTransitionLength (float value)
float plungeLength ()
void setPlungeLength (float value)
float retractLength ()
void setRetractLength (float value)
float plungeFeed ()
void setPlungeFeed (float value)
float retractFeed ()
void setRetractFeed (float value)
float baseFeed ()
void setBaseFeed (float value)
float safeZ ()
void setSafeZ (float value)
meshlib.BypassDirection bypassDir ()
void setBypassDir (meshlib.BypassDirection value)
java.lang.foreign.MemorySegment xf ()
void setXf (meshlib.AffineXf3f value)
boolean flatTool ()
void setFlatTool (boolean value)
meshlib.std_function_bool_from_float cb ()
void setCb (meshlib.std_function_bool_from_float value)
float toolpathExpansion ()
void setToolpathExpansion (float value)
java.lang.foreign.MemorySegment isolines ()
void setIsolines (meshlib.std_vector_std_vector_MR_Vector3f value)
java.lang.foreign.MemorySegment startContours ()
void setStartContours (meshlib.std_vector_std_vector_MR_Vector3f value)
java.lang.foreign.MemorySegment startVertices ()
void setStartVertices (meshlib.std_vector_MR_Vector3f value)
java.lang.foreign.MemorySegment offsetMesh ()
void setOffsetMesh (meshlib.MeshPart value)
meshlib.ToolPathParams upcastToToolPathParams ()
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Static Public Member Functions

static meshlib.ConstantCuspParams staticDowncastFromToolPathParams (meshlib.ToolPathParams object)

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

Tool path parameters specific to the constant-cusp strategy Generated from class MR::ConstantCuspParams. Base classes: Direct: (non-virtual) MR::ToolPathParams

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ ConstantCuspParams() [1/3]

meshlib.ConstantCuspParams.ConstantCuspParams ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ ConstantCuspParams() [2/3]

meshlib.ConstantCuspParams.ConstantCuspParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_ConstantCuspParams_DefaultConstruct().

◆ ConstantCuspParams() [3/3]

meshlib.ConstantCuspParams.ConstantCuspParams ( meshlib.ConstantCuspParams _other)

Generated from constructor MR::ConstantCuspParams::ConstantCuspParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_ConstantCuspParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.ConstantCuspParams meshlib.ConstantCuspParams.assignFromAnother ( meshlib.ConstantCuspParams _other)

Generated from method MR::ConstantCuspParams::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_ConstantCuspParams_AssignFromAnother().

◆ baseFeed()

float meshlib.ConstantCuspParams.baseFeed ( )

speed of regular milling Returns a pointer to a member variable of class MR::ConstantCuspParams named baseFeed. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_baseFeed().

◆ bypassDir()

meshlib.BypassDirection meshlib.ConstantCuspParams.bypassDir ( )

which direction isolines or sections should be passed in Returns a pointer to a member variable of class MR::ConstantCuspParams named bypassDir. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_bypassDir().

◆ cb()

meshlib.std_function_bool_from_float meshlib.ConstantCuspParams.cb ( )

callback for reporting on progress Returns a pointer to a member variable of class MR::ConstantCuspParams named cb. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_cb().

◆ critTransitionLength()

float meshlib.ConstantCuspParams.critTransitionLength ( )

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 Returns a pointer to a member variable of class MR::ConstantCuspParams named critTransitionLength. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_critTransitionLength().

◆ flatTool()

boolean meshlib.ConstantCuspParams.flatTool ( )

if true then a tool path for a flat milling tool will be generated Returns a pointer to a member variable of class MR::ConstantCuspParams named flatTool. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_flatTool().

◆ fromCenterToBoundary()

boolean meshlib.ConstantCuspParams.fromCenterToBoundary ( )

if true isolines will be processed from center point to the boundary (usually it means from up to down) Returns a pointer to a member variable of class MR::ConstantCuspParams named fromCenterToBoundary. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_fromCenterToBoundary().

◆ isolines()

java.lang.foreign.MemorySegment meshlib.ConstantCuspParams.isolines ( )

optional output, stores isolines without transits Returns a pointer to a member variable of class MR::ConstantCuspParams named isolines. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_isolines(). Some types are raw C types, see the C bindings for the details.

◆ millRadius()

float meshlib.ConstantCuspParams.millRadius ( )

radius of the milling tool Returns a pointer to a member variable of class MR::ConstantCuspParams named millRadius. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_millRadius().

◆ offsetMesh()

java.lang.foreign.MemorySegment meshlib.ConstantCuspParams.offsetMesh ( )

optional pre-computed offset mesh; if null, it will be computed internally Returns a pointer to a member variable of class MR::ConstantCuspParams named offsetMesh. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_offsetMesh(). Some types are raw C types, see the C bindings for the details.

◆ plungeFeed()

float meshlib.ConstantCuspParams.plungeFeed ( )

speed of slow movement down Returns a pointer to a member variable of class MR::ConstantCuspParams named plungeFeed. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_plungeFeed().

◆ plungeLength()

float meshlib.ConstantCuspParams.plungeLength ( )

when the mill is moving down, it will be slowed down in this distance from mesh Returns a pointer to a member variable of class MR::ConstantCuspParams named plungeLength. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_plungeLength().

◆ retractFeed()

float meshlib.ConstantCuspParams.retractFeed ( )

speed of slow movement up Returns a pointer to a member variable of class MR::ConstantCuspParams named retractFeed. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_retractFeed().

◆ retractLength()

float meshlib.ConstantCuspParams.retractLength ( )

when the mill is moving up, it will be slowed down in this distance from mesh Returns a pointer to a member variable of class MR::ConstantCuspParams named retractLength. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_retractLength().

◆ safeZ()

float meshlib.ConstantCuspParams.safeZ ( )

z-coordinate of plane where tool can move in any direction without touching the object Returns a pointer to a member variable of class MR::ConstantCuspParams named safeZ. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_safeZ().

◆ sectionStep()

float meshlib.ConstantCuspParams.sectionStep ( )

distance between sections built along Z axis; in Constant Cusp mode sectionStep should be bigger than voxelSize (x1.2 or more is recommended) Returns a pointer to a member variable of class MR::ConstantCuspParams named sectionStep. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_sectionStep().

◆ setBaseFeed()

void meshlib.ConstantCuspParams.setBaseFeed ( float value)

speed of regular milling Modifies a member variable of class MR::ConstantCuspParams named baseFeed.

Calls MR_ConstantCuspParams_Set_baseFeed().

◆ setBypassDir()

void meshlib.ConstantCuspParams.setBypassDir ( meshlib.BypassDirection value)

which direction isolines or sections should be passed in Modifies a member variable of class MR::ConstantCuspParams named bypassDir. The reference to the parameter value might be preserved in this object in element bypassDir.

Calls MR_ConstantCuspParams_Set_bypassDir().

◆ setCb()

void meshlib.ConstantCuspParams.setCb ( meshlib.std_function_bool_from_float value)

callback for reporting on progress Modifies a member variable of class MR::ConstantCuspParams named cb. The reference to the parameter value might be preserved in this object in element cb.

Calls MR_ConstantCuspParams_Set_cb().

◆ setCritTransitionLength()

void meshlib.ConstantCuspParams.setCritTransitionLength ( float value)

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 Modifies a member variable of class MR::ConstantCuspParams named critTransitionLength.

Calls MR_ConstantCuspParams_Set_critTransitionLength().

◆ setFlatTool()

void meshlib.ConstantCuspParams.setFlatTool ( boolean value)

if true then a tool path for a flat milling tool will be generated Modifies a member variable of class MR::ConstantCuspParams named flatTool.

Calls MR_ConstantCuspParams_Set_flatTool().

◆ setFromCenterToBoundary()

void meshlib.ConstantCuspParams.setFromCenterToBoundary ( boolean value)

if true isolines will be processed from center point to the boundary (usually it means from up to down) Modifies a member variable of class MR::ConstantCuspParams named fromCenterToBoundary.

Calls MR_ConstantCuspParams_Set_fromCenterToBoundary().

◆ setIsolines()

void meshlib.ConstantCuspParams.setIsolines ( meshlib.std_vector_std_vector_MR_Vector3f value)

optional output, stores isolines without transits Modifies a member variable of class MR::ConstantCuspParams named isolines. The reference to the parameter value might be preserved in this object in element isolines.

Calls MR_ConstantCuspParams_Set_isolines().

◆ setMillRadius()

void meshlib.ConstantCuspParams.setMillRadius ( float value)

radius of the milling tool Modifies a member variable of class MR::ConstantCuspParams named millRadius.

Calls MR_ConstantCuspParams_Set_millRadius().

◆ setOffsetMesh()

void meshlib.ConstantCuspParams.setOffsetMesh ( meshlib.MeshPart value)

optional pre-computed offset mesh; if null, it will be computed internally Modifies a member variable of class MR::ConstantCuspParams named offsetMesh. The reference to the parameter value might be preserved in this object in element offsetMesh.

Calls MR_ConstantCuspParams_Set_offsetMesh().

◆ setPlungeFeed()

void meshlib.ConstantCuspParams.setPlungeFeed ( float value)

speed of slow movement down Modifies a member variable of class MR::ConstantCuspParams named plungeFeed.

Calls MR_ConstantCuspParams_Set_plungeFeed().

◆ setPlungeLength()

void meshlib.ConstantCuspParams.setPlungeLength ( float value)

when the mill is moving down, it will be slowed down in this distance from mesh Modifies a member variable of class MR::ConstantCuspParams named plungeLength.

Calls MR_ConstantCuspParams_Set_plungeLength().

◆ setRetractFeed()

void meshlib.ConstantCuspParams.setRetractFeed ( float value)

speed of slow movement up Modifies a member variable of class MR::ConstantCuspParams named retractFeed.

Calls MR_ConstantCuspParams_Set_retractFeed().

◆ setRetractLength()

void meshlib.ConstantCuspParams.setRetractLength ( float value)

when the mill is moving up, it will be slowed down in this distance from mesh Modifies a member variable of class MR::ConstantCuspParams named retractLength.

Calls MR_ConstantCuspParams_Set_retractLength().

◆ setSafeZ()

void meshlib.ConstantCuspParams.setSafeZ ( float value)

z-coordinate of plane where tool can move in any direction without touching the object Modifies a member variable of class MR::ConstantCuspParams named safeZ.

Calls MR_ConstantCuspParams_Set_safeZ().

◆ setSectionStep()

void meshlib.ConstantCuspParams.setSectionStep ( float value)

distance between sections built along Z axis; in Constant Cusp mode sectionStep should be bigger than voxelSize (x1.2 or more is recommended) Modifies a member variable of class MR::ConstantCuspParams named sectionStep.

Calls MR_ConstantCuspParams_Set_sectionStep().

◆ setStartContours()

void meshlib.ConstantCuspParams.setStartContours ( meshlib.std_vector_std_vector_MR_Vector3f value)

optional output, polyline containing start vertices for isolines Modifies a member variable of class MR::ConstantCuspParams named startContours. The reference to the parameter value might be preserved in this object in element startContours.

Calls MR_ConstantCuspParams_Set_startContours().

◆ setStartVertices()

void meshlib.ConstantCuspParams.setStartVertices ( meshlib.std_vector_MR_Vector3f value)

start vertices on the offset mesh used for calculating isolines Modifies a member variable of class MR::ConstantCuspParams named startVertices. The reference to the parameter value might be preserved in this object in element startVertices.

Calls MR_ConstantCuspParams_Set_startVertices().

◆ setToolpathExpansion()

void meshlib.ConstantCuspParams.setToolpathExpansion ( float value)

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 Modifies a member variable of class MR::ConstantCuspParams named toolpathExpansion.

Calls MR_ConstantCuspParams_Set_toolpathExpansion().

◆ setVoxelSize()

void meshlib.ConstantCuspParams.setVoxelSize ( float value)

size of voxel needed to offset mesh Modifies a member variable of class MR::ConstantCuspParams named voxelSize.

Calls MR_ConstantCuspParams_Set_voxelSize().

◆ setXf()

void meshlib.ConstantCuspParams.setXf ( meshlib.AffineXf3f value)

mesh can be transformed using xf parameter Modifies a member variable of class MR::ConstantCuspParams named xf. The reference to the parameter value might be preserved in this object in element xf.

Calls MR_ConstantCuspParams_Set_xf().

◆ startContours()

java.lang.foreign.MemorySegment meshlib.ConstantCuspParams.startContours ( )

optional output, polyline containing start vertices for isolines Returns a pointer to a member variable of class MR::ConstantCuspParams named startContours. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_startContours(). Some types are raw C types, see the C bindings for the details.

◆ startVertices()

java.lang.foreign.MemorySegment meshlib.ConstantCuspParams.startVertices ( )

start vertices on the offset mesh used for calculating isolines Returns a pointer to a member variable of class MR::ConstantCuspParams named startVertices. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_startVertices(). Some types are raw C types, see the C bindings for the details.

◆ staticDowncastFromToolPathParams()

meshlib.ConstantCuspParams meshlib.ConstantCuspParams.staticDowncastFromToolPathParams ( meshlib.ToolPathParams object)
static

Static downcast from the base class MR::ToolPathParams. Undefined behavior if the object isn't actually a ConstantCuspParams. The result refers to object.

Calls MR_ConstantCuspParams_MutableStaticDowncastFrom_MR_ToolPathParams().

◆ toolpathExpansion()

float meshlib.ConstantCuspParams.toolpathExpansion ( )

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 Returns a pointer to a member variable of class MR::ConstantCuspParams named toolpathExpansion. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_toolpathExpansion().

◆ upcastToToolPathParams()

meshlib.ToolPathParams meshlib.ConstantCuspParams.upcastToToolPathParams ( )

Upcasts to the base class MR::ToolPathParams. The result refers to this object.

Calls MR_ConstantCuspParams_MutableUpcastTo_MR_ToolPathParams().

◆ voxelSize()

float meshlib.ConstantCuspParams.voxelSize ( )

size of voxel needed to offset mesh Returns a pointer to a member variable of class MR::ConstantCuspParams named voxelSize. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_voxelSize().

◆ xf()

java.lang.foreign.MemorySegment meshlib.ConstantCuspParams.xf ( )

mesh can be transformed using xf parameter Returns a pointer to a member variable of class MR::ConstantCuspParams named xf. The reference to this object might be preserved as the return value.

Calls MR_ConstantCuspParams_Get_xf(). Some types are raw C types, see the C bindings for the details.


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