ShapeModel
- class compas_gmsh.models.ShapeModel(name=None, verbose=False)
Bases:
Model
Model for shape combinations.
Methods
Add a box to the model.
Add a cylinder to the model.
Add a sphere to the model.
Boolean difference of two sets of shapes.
Boolean fragment of two sets of shapes.
Boolean intersection of two sets of shapes.
Boolean union of two sets of shapes.
Inherited 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.