stilt.Mesh.from_spec#

classmethod Mesh.from_spec(spec)[source]#

Return the mesh a footprint config’s geometry describes, reading its source now.

A file spec needs geopandas and an h3 spec needs h3.

Return type:

Mesh

Parameters:

spec (Annotated[FileGeometrySpec | H3GeometrySpec | WindowsGeometrySpec, FieldInfo(annotation=NoneType, required=True, discriminator='kind')])