Part.from_compas_gmsh

classmethod Part.from_compas_gmsh(gmshModel, section, name=None, **kwargs)[source]

Create a Part object from a gmshModel object.

Parameters:
gmshModelobject

gmsh Model to convert.

sectionUnion[compas_fea2.model.SolidSection, compas_fea2.model.ShellSection]

Section to assign to the elements.

namestr, optional

Name of the new part.

Returns:
_Part

The part created from the gmsh model.