py3dtiles.tileset.extension.base_extension module

class py3dtiles.tileset.extension.base_extension.BaseExtension(name: str)[source]

Bases: ABC

A base class to manage 3dtiles extension.

If an extension is added somewhere in a tileset, the user must add the name of the extension in the attribute extensions_used of the class TileSet. Also, if the support of an extension is necessary to display the tileset, the name must be added in the attribute extensions_required of the class TileSet.

abstract classmethod from_dict(extension_dict: Dict[str, Any]) BaseExtension[source]
abstract to_dict() Dict[str, Any][source]