Model
- class compas_gmsh.models.Model(name: Optional[str] = None, verbose: bool = False, mesh_algorithm: compas_gmsh.options.MeshAlgorithm = MeshAlgorithm.FrontalDelaunay)[source]
Bases:
objectBase model for mesh generation.
Methods
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.