assign_initial_mesh_from_slider#

Mesh.assign_initial_mesh_from_slider(level=5, method='Auto', usedynamicsurface=True, useflexmesh=False, applycurvilinear=False, usefallback=True, usephi=True, automodelresolution=True, modelresolutionlength='0.0001mm')[source]#

Assign a surface mesh level to an object.

Parameters:
levelint, optional

Level of the surface mesh. Options are 1 through 10. The default is 5.

methodstr, optional

Meshing method. Options are "Auto", "AnsoftTAU", and "AnsoftClassic" The default is "Auto".

usedynamicsurfacebool, optional

Whether to use a dynamic surface. The default is True.

useflexmeshbool, optional

Whether to use a flexible mesh. The default is False.

applycurvilinearbool, optional

Whether to apply curvilinear elements. The default is False.

usefallbackbool, optional

Whether to retain as a fallback. The default is True.

usephibool, optional

Whether to use the Phi mesher for layered geometry. The default is True.

automodelresolutionbool, optional

Whether to automatically calculate the resolution length based on each object’s effective thickness. The default is True.

modelresolutionlengthfloat, optional

Resolution thickness with units if automodelresolution=False. The default "0.0001mm".

Returns:
bool

True when successful, False when failed.

References

>>> oModule.InitialMeshSettings