1 MeshProcessSpec

data_handling.MeshProcessSpec(
    scene_id,
    crop,
    bounds_min,
    bounds_max,
    margin_m,
    simplify_ratio,
    crop_min_keep_ratio,
)

Specification that uniquely defines a processed mesh artifact.

1.1 Attributes

Name Description
scene_id Scene identifier used for cache-path resolution.
crop Whether the mesh should be cropped to snippet bounds.
bounds_min World-space minimum crop bounds.
bounds_max World-space maximum crop bounds.
margin_m Margin added to the crop bounds before clipping the mesh.
simplify_ratio Optional face-count ratio used for mesh simplification.
crop_min_keep_ratio Minimum face keep ratio tolerated during cropping.

1.2 Methods

Name Description
hash Stable short hash for filenames and cache keys.

1.2.1 hash

data_handling.MeshProcessSpec.hash()

Stable short hash for filenames and cache keys.