Model
- class compas_gmsh.models.Model(name=None, verbose=False)
Bases:
object
Base model for mesh generation.
- Parameters:
- namestr, optional
The name of the model.
- verbose, bool, optional
Flag indicating if output should be printed to the terminal.
- options.mesh
MeshOptions
The meshing options.
Methods
Get the coordinates of a point on a curve in the model.
Get the domain of a curve in the model.
Get the coordinates of a point on a curve in the model.
Get the vertices of a curve.
Find the model points at or close to a spatial location.
Find the model points at or close to a spatial location.
Construct a model from a Brep.
Construc a model from the data contained in a STEP file.
Generate a mesh of the current model.
Heal the underlying OCC model.
Get the coordinates of the mesh nodes.
Set the target length at a particular mesh point.
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 list of quads.
Convert the model mesh to a COMPAS mesh data structure.
Convert the model mesh to a list of triangles.
Convert the model mesh to a COMPAS mesh data structure.
Optimize the model mesh using the specified method.
Get the coordinates of a point in the model.
Get the coordinates of a point in the model.
Recombine the mesh into quadrilateral faces.
Refine the model mesh by uniformly splitting the edges.
Get the coordinates of a point on a surface in the model.
Get the boundary curves of a surface in the model.
Get the domain of a surface in the model.
Get the faces of a surface.
Get the mesh of a surface entity.
Get the vertices of a surface.
Syncronize the geometry with the underlying OCC model.
Get the curves of a volume in the model.
Get the faces of a volume.
Get the mesh of a volume entity.
Get the points of a volume in the model.
Get the surfaces of a volume in the model.
Get the tetrahedra of a volume entity.
Get the vertices of a volume.