MeshModel
- class compas_gmsh.models.MeshModel(name: Optional[str] = None, verbose: bool = False, mesh_algorithm: compas_gmsh.options.MeshAlgorithm = MeshAlgorithm.FrontalDelaunay)[source]
Bases:
compas_gmsh.models.model.ModelModel for mesh (re)meshing.
Methods
from_mesh(mesh, default_length[, name, ...])generate_mesh([dim, verbose, algorithm])Generate a mesh of the current model.
info()Print information about the current model.
Convert the model mesh to a COMPAS mesh data structure.
Convert the model mesh to a COMPAS mesh data structure.
Convert the model mesh to a COMPAS mesh data structure.
Convert the model mesh to a COMPAS mesh data structure.
optimize_mesh([algo, niter])Optimize the model mesh using the specified method.
Recombine the mesh into quadrilateral faces.
Refine the model mesh by uniformly splitting the edges.