Skip to main content

optiSLang 3D Postprocessing Script API 2025 R1

ModifyMeshBase Class Reference

Last update: 16.07.2025

Base settings that are provided for all modifier classes that change mesh coorsinates. More...

Public Member Functions

bool isAnyCoordinateSet ()
 Returns true if any node coordinate needs to be modified. More...
 
bool isXCoordinateSet ()
 
bool isYCoordinateSet ()
 
bool isZCoordinateSet ()
 
 ModifyMeshBase ()
 Initializes an empty data structure. See Structure::Structure() for more information. More...
 

Public Attributes

number coor_increment_factor
 defines the scaling factor for coordinate increments (default: 1.0)
 
bool mesh_stabilization
 is true, some stabilization algorithms are applied
 
DataObjectPtr node_coor_increment_x
 X node coordinate deviation If the neither the coordinate nor the deviation along a specific axis direction is set (i.e. empty pointer), then the reference coordinates will be used. The dataobject refers to database.indexMapper index space. This coordinate is computed by adding the respective value to the node coordinate of the reference structure. More...
 
DataObjectPtr node_coor_increment_y
 Y node coordinate deviation If the neither the coordinate nor the deviation along a specific axis direction is set (i.e. empty pointer), then the reference coordinates will be used. The dataobject refers to database.indexMapper index space. This coordinate is computed by adding the respective value to the node coordinate of the reference structure. More...
 
DataObjectPtr node_coor_increment_z
 Z node coordinate deviation If the neither the coordinate nor the deviation along a specific axis direction is set (i.e. empty pointer), then the reference coordinates will be used. The dataobject refers to database.indexMapper index space. This coordinate is computed by adding the respective value to the node coordinate of the reference structure. More...
 
DataObjectPtr node_coor_x
 X node coordinate If the neither the coordinate nor the deviation along a specific axis direction is set (i.e. empty pointer), then the reference coordinates will be used. The dataobject refers to database.indexMapper index space.
 
DataObjectPtr node_coor_y
 Y node coordinate If the neither the coordinate nor the deviation along a specific axis direction is set (i.e. empty pointer), then the reference coordinates will be used. The dataobject refers to database.indexMapper index space.
 
DataObjectPtr node_coor_z
 Z node coordinate If the neither the coordinate nor the deviation along a specific axis direction is set (i.e. empty pointer), then the reference coordinates will be used. The dataobject refers to database.indexMapper index space.
 
bool throw_error_on_unstable_mesh
 if true then an error/exception will be created if some mesh smoothening errors remain after stabilization
 

Detailed Description

Base settings that are provided for all modifier classes that change mesh coorsinates.

Constructor & Destructor Documentation

◆ ModifyMeshBase()

ModifyMeshBase ( )
explicit

Initializes an empty data structure. See Structure::Structure() for more information.

Parameters
databaseThe actual Structure information to be exported

Member Function Documentation

◆ isAnyCoordinateSet()

bool isAnyCoordinateSet ( )

Returns true if any node coordinate needs to be modified.

Returns
True if any node coordinate (absolute or increment) is set. False, otherwise.

◆ isXCoordinateSet()

bool isXCoordinateSet ( )
Returns
True if the X node coordinate (absolute or increment) is set. False, otherwise.

◆ isYCoordinateSet()

bool isYCoordinateSet ( )
Returns
True if the Y node coordinate (absolute or increment) is set. False, otherwise.

◆ isZCoordinateSet()

bool isZCoordinateSet ( )
Returns
True if the Z node coordinate (absolute or increment) is set. False, otherwise.

Member Data Documentation

◆ node_coor_increment_x

DataObjectPtr node_coor_increment_x

X node coordinate deviation If the neither the coordinate nor the deviation along a specific axis direction is set (i.e. empty pointer), then the reference coordinates will be used. The dataobject refers to database.indexMapper index space. This coordinate is computed by adding the respective value to the node coordinate of the reference structure.

Note
This option is ignored if node_coor_x is set

◆ node_coor_increment_y

DataObjectPtr node_coor_increment_y

Y node coordinate deviation If the neither the coordinate nor the deviation along a specific axis direction is set (i.e. empty pointer), then the reference coordinates will be used. The dataobject refers to database.indexMapper index space. This coordinate is computed by adding the respective value to the node coordinate of the reference structure.

Note
This option is ignored if node_coor_y is set

◆ node_coor_increment_z

DataObjectPtr node_coor_increment_z

Z node coordinate deviation If the neither the coordinate nor the deviation along a specific axis direction is set (i.e. empty pointer), then the reference coordinates will be used. The dataobject refers to database.indexMapper index space. This coordinate is computed by adding the respective value to the node coordinate of the reference structure.

Note
This option is ignored if node_coor_z is set

Connect with Ansys