MeshInfo

class MeshInfo(id, name, title, description, parent_id, workspace_id, project_id, dataset_id, path_original, full_storage_url, link, meta, file_meta, frame, size, custom_data, objects_count, tags, created_by_id, created_at, updated_at)[source]

Bases: NamedTuple

NamedTuple with mesh entity information from Supervisely.

Usage Example:
MeshInfo(
    id=1,
    name="scan.stl",
    title="scan.stl",
    description="",
    parent_id=None,
    workspace_id=2,
    project_id=3,
    dataset_id=4,
    path_original=None,
    full_storage_url="https://app.supervisely.com/.../scan.stl",
    link=None,
    meta={},
    file_meta={},
    frame=None,
    size=None,
    custom_data={},
    objects_count=0,
    tags=[],
    created_by_id=5,
    created_at="2026-01-01T00:00:00.000Z",
    updated_at="2026-01-01T00:00:00.000Z",
)

Create new instance of MeshInfo(id, name, title, description, parent_id, workspace_id, project_id, dataset_id, path_original, full_storage_url, link, meta, file_meta, frame, size, custom_data, objects_count, tags, created_by_id, created_at, updated_at)

Methods

count

Return number of occurrences of value.

index

Return first index of value.

Attributes

created_at

str: ISO 8601 creation timestamp.

created_by_id

int: ID of the user who created the mesh.

custom_data

dict: User-defined custom data blob attached to the mesh.

dataset_id

int: Dataset ID in Supervisely.

description

str: Mesh description.

file_meta

dict: Low-level file metadata returned by the storage backend.

frame

int: Frame index within a sequence, if applicable.

full_storage_url

str: Absolute storage URL of the mesh file.

id

int: Mesh ID in Supervisely.

link

str: External link to the mesh file, if uploaded via URL.

meta

dict: Arbitrary metadata dictionary associated with the mesh.

name

str: Mesh filename.

objects_count

int: Number of annotation objects attached to this mesh.

parent_id

int: ID of the parent entity, if any.

path_original

str: Relative storage path to the mesh file.

project_id

int: Project ID in Supervisely.

size

int: File size in bytes.

tags

list: Mesh MeshTag server rows.

title

str: Display title of the mesh (mirrors name).

updated_at

str: ISO 8601 last-update timestamp.

workspace_id

int: WorkspaceApi ID in Supervisely.

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

created_at

str: ISO 8601 creation timestamp. e.g. “2026-01-01T00:00:00.000Z”.

created_by_id

int: ID of the user who created the mesh.

custom_data

dict: User-defined custom data blob attached to the mesh.

dataset_id

int: Dataset ID in Supervisely.

description

str: Mesh description.

file_meta

dict: Low-level file metadata returned by the storage backend.

frame

int: Frame index within a sequence, if applicable.

full_storage_url

str: Absolute storage URL of the mesh file.

id

int: Mesh ID in Supervisely.

str: External link to the mesh file, if uploaded via URL.

meta

dict: Arbitrary metadata dictionary associated with the mesh.

name

str: Mesh filename.

objects_count

int: Number of annotation objects attached to this mesh.

parent_id

int: ID of the parent entity, if any.

path_original

str: Relative storage path to the mesh file.

project_id

int: Project ID in Supervisely.

size

int: File size in bytes.

tags

list: Mesh MeshTag server rows.

title

str: Display title of the mesh (mirrors name).

updated_at

str: ISO 8601 last-update timestamp. e.g. “2026-01-01T00:00:00.000Z”.

workspace_id

int: WorkspaceApi ID in Supervisely.