MeshFind
The mesh find tools.
Example
app = cf.GetApplication() project = app:NewProject() -- Settings for normal meshing project.Mesher.Settings.WireRadius = "0.01" project.SolutionConfigurations[1].Frequency.Start = "1e08" -- Create geometry project.Geometry:AddHelix(cf.Point(0,0,0), 0.1, 0.1, 1.0, 5.0, false) project.Mesher:Mesh() project.Geometry["Helix1"]:UnlinkMesh() -- Obtain the 'MeshFind' object meshFind = project.Meshes.Find hasIntersectingMeshElements = meshFind:HasIntersectingElements() if hasIntersectingMeshElements then print("There are intersecting mesh elements.") else print("There are no intersecting mesh elements.") end
Usage locations (object properties)
The following objects have properties using the MeshFind object:
Property List
Method List
- HasDistortedElements (mininternalangle number, meshpartlist List of Mesh)
- Checks if there are mesh elements that are distorted within a subset of mesh parts. This is calculated using the specified minimum internal angle. (Returns a boolean object.)
- HasDistortedElements (mininternalangle number)
- Checks if there are mesh elements that are distorted. This is calculated using the specified minimum internal angle. (Returns a boolean object.)
- HasIntersectingElements (meshpartlist List of Mesh)
- Checks if there are mesh triangles that intersect but are not connected within a subset of mesh parts. (Returns a boolean object.)
- HasIntersectingElements ()
- Checks if there are mesh triangles that intersect but are not connected. (Returns a boolean object.)
- HasOversizedTriangles (edgelength number, meshpartlist List of Mesh)
- Checks if there are mesh triangles that are oversized within a subset of mesh parts. This is calculated using a specified maximum edge length. (Returns a boolean object.)
- HasOversizedTriangles (edgelength number)
- Checks if there are mesh triangles that are oversized. This is calculated using a specified maximum edge length. (Returns a boolean object.)
Property Details
- Type
- The object type string.
- Type
- string
- Access
- Read only
Method Details
- HasDistortedElements (mininternalangle number, meshpartlist List of Mesh)
- Checks if there are mesh elements that are distorted within a subset of mesh parts. This is calculated using the specified minimum internal angle.
- HasDistortedElements (mininternalangle number)
- Checks if there are mesh elements that are distorted. This is calculated using the specified minimum internal angle.
- HasIntersectingElements (meshpartlist List of Mesh)
- Checks if there are mesh triangles that intersect but are not connected within a subset of mesh parts.
- HasIntersectingElements ()
- Checks if there are mesh triangles that intersect but are not connected.
- Return
- boolean
- Returns true if there are intersecting mesh elements.
- HasOversizedTriangles (edgelength number, meshpartlist List of Mesh)
- Checks if there are mesh triangles that are oversized within a subset of mesh parts. This is calculated using a specified maximum edge length.
- HasOversizedTriangles (edgelength number)
- Checks if there are mesh triangles that are oversized. This is calculated using a specified maximum edge length.