py3dtiles.tilers.ifc.ifc_model module#

class py3dtiles.tilers.ifc.ifc_model.Color(r: float, g: float, b: float)[source]#

Bases: object

b: float#
g: float#
r: float#
to_list() list[float][source]#
class py3dtiles.tilers.ifc.ifc_model.Feature(mesh: py3dtiles.tilers.ifc.ifc_model.IfcMesh | None, properties: dict[str, Any])[source]#

Bases: object

mesh: IfcMesh | None#
properties: dict[str, Any]#
class py3dtiles.tilers.ifc.ifc_model.FileMetadata(offset: list[float] | None, crs_in: str | None, transformer: pyproj.transformer.Transformer | None)[source]#

Bases: object

crs_in: str | None#
offset: list[float] | None#
transformer: Transformer | None#
class py3dtiles.tilers.ifc.ifc_model.FilenameAndOffset(filename: str, offset: list[float])[source]#

Bases: object

filename: str#
offset: list[float]#
class py3dtiles.tilers.ifc.ifc_model.Geometry(verts: list[float], faces: list[int])[source]#

Bases: object

A collection of vertices and associated faces.

compute_bounding_volume_box() BoundingVolumeBox[source]#

compute the bbox of this

faces: list[int]#

List of face ids, to be matched with material ids

verts: list[float]#

List of vertices

class py3dtiles.tilers.ifc.ifc_model.IfcMaterial(diffuse: py3dtiles.tilers.ifc.ifc_model.Color, specular: py3dtiles.tilers.ifc.ifc_model.Color, specularity: float, transparency: float)[source]#

Bases: object

diffuse: Color#
specular: Color#
specularity: float#
to_pygltflib_material() Material[source]#
transparency: float#
class py3dtiles.tilers.ifc.ifc_model.IfcMesh(geom: py3dtiles.tilers.ifc.ifc_model.Geometry, materials: list[py3dtiles.tilers.ifc.ifc_model.IfcMaterial], material_ids: tuple[int] | None)[source]#

Bases: object

geom: Geometry#
material_ids: tuple[int] | None#
materials: list[IfcMaterial]#
class py3dtiles.tilers.ifc.ifc_model.IfcTile(tile_id: int, filename: Path, parent_id: int | None, members: list[Feature], properties: dict[Any, Any])[source]#

Bases: object

Full ifc tile, containing all the features

filename: Path#
members: list[Feature]#
parent_id: int | None#
properties: dict[Any, Any]#
tile_id: int#
class py3dtiles.tilers.ifc.ifc_model.IfcTileInfo(tile_id: int, parent_id: int | None, transform: ndarray[Any, dtype[float64]] | None, box: BoundingVolumeBox | None, elem_max_size: float, has_content: bool, properties: dict[str, str])[source]#

Bases: object

Lightweight ifc tile info, to be able to reconstruct the tileset

box: BoundingVolumeBox | None#
elem_max_size: float#
has_content: bool#
parent_id: int | None#
properties: dict[str, str]#
tile_id: int#
transform: ndarray[Any, dtype[float64]] | None#