grains.salome.Geometry

class grains.salome.Geometry(name='microstructure')[source]

Represents the geometrical entities of a two-dimensional tessellated domain.

A Geometry object knows about the faces that tessellate the domain, and about the edges and interfaces that separate the faces.

Parameters

name (str, optional) – Name of the geometry.

See also

Face, Edge, Interface

__init__(name='microstructure')[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([name])

Initialize self.

create_interfaces()

Constructs unique interfaces that separate the faces.

extract_edges()

Decomposes each face into edges.

extract_faces()

Decomposes the geometry into faces.

load(step_file)

Loads the geometry from a STEP file.