Topology and provenance ### Topology and provenance Exact rebuild needs a proven relationship between edited geometry and the original mesh. These blockers refuse output when that relationship, supported layout or byte-preservation check fails. Undo the unsupported edit or return to the original editable package; use Free Edit for an external authoring package when exact game output is unavailable. Do not invent vertex identities or remove provenance checks. A PAC section is limited to 65,535 vertices and supported skin rows to six positive influences. **`TOPOLOGY_BOUNDS_EXCEED_SOURCE`** - The rebuilt geometry exceeds the source layout's supported bounds. **Source**: [`topology.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/domain/mesh/topology.py) **`TOPOLOGY_CHANGED`** - `{name}: vertices or faces changed. Send it as a Replacement.` - `{name}: vertices or faces were added, deleted or reconnected. Send as Replacement or to Create New Item.` - `{row['name']}: vertices or faces changed. Send it as a Replacement instead.` **Source**: [`checks.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/blender_addon/cdmw_blender_bridge/core/checks.py), [`returns.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/blender_bridge/returns.py) **`TOPOLOGY_CONTRACT_UNSUPPORTED`** - The topology contract version or structure is unsupported. - `Topology {label} {parsed} is negative.` **Source**: [`topology.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/domain/mesh/topology.py) **`TOPOLOGY_EMPTY_SUBMESH_UNSUPPORTED`** - The edit would leave a submesh empty, which this rebuild path cannot write. - `A topology result must keep at least one triangle.` - `An empty topology result cannot retain triangles.` **Source**: [`topology.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/domain/mesh/topology.py) **`TOPOLOGY_FACE_ORIGIN_INVALID`** - An output face has no valid original-face mapping. - `Output triangle {position} names pre-operation face {face_index} outside [0, {previous.output_face_count}).` **Source**: [`topology.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/domain/mesh/topology.py) **`TOPOLOGY_OPERATION_NOT_REBUILDABLE`** - This topology operation is outside the exact writer's supported set. - `Topology provenance was submitted without an authorized topology change.` **Source**: [`asset.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/domain/mesh/asset.py), [`topology.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/domain/mesh/topology.py) **`TOPOLOGY_PAC_INDEX_LIMIT_EXCEEDED`** - The section exceeds the PAC vertex/index capacity. **Source**: [`topology.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/domain/mesh/topology.py) **`TOPOLOGY_PROTECTED_BYTES_DIVERGE`** - Bytes that the exact writer must preserve changed unexpectedly. **Source**: [`topology.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/domain/mesh/topology.py) **`TOPOLOGY_PROVENANCE_REQUIRED`** - The edit has no usable original-geometry provenance. **Source**: [`topology.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/domain/mesh/topology.py) **`TOPOLOGY_REVISION_DISCONTINUOUS`** - Chained topology edits do not form one continuous revision history. **Source**: [`topology.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/domain/mesh/topology.py) **`TOPOLOGY_SKIN_INFLUENCE_CAPACITY_EXCEEDED`** - A derived vertex needs more skin influences than the supported row can store. **Source**: [`topology.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/domain/mesh/topology.py) **`TOPOLOGY_VERTEX_ORIGIN_INVALID`** - An output vertex has invalid source indices or blend weights. - `Output vertex {index} has more than one blend derivation.` - `Output vertex {output_index} copies pre-operation vertex {copy_index} outside [0, {previous_count}).` - `Output vertex {output_index} has neither a copy source nor a blend derivation.` - `Output vertex {output_index} is both a copy and a blend derivation.` - `Topology weight {value} is not a real number.` - `Topology weight {value} must be finite and strictly positive.` - `Vertex blend factor {parsed_factor} must lie strictly between 0 and 1.` - `Vertex blend for output vertex {index} references a pre-operation vertex outside [0, {previous_count}).` - `Vertex blend must carry index, left, right, and factor; got {len(values)} value(s).` - `Vertex blend names output vertex {index} outside [0, {output_vertex_count}).` - `Vertex blend(s) {missing} do not correspond to a derived output vertex.` - `Vertex origin has no parents.` - `Vertex origin has {len(raw_parents)} parent(s) but {len(raw_weights)} weight(s).` - `Vertex origin merged to a non-positive parent weight.` - `Vertex origin normalization produced a non-positive weight.` - `Vertex origin parent {parent} is outside the original vertex range [0, {original_vertex_count}).` - `Vertex origin weights do not sum to a positive total.` - `Vertex origin weights sum to {math.fsum(normalized)} after normalization.` **Source**: [`topology.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/domain/mesh/topology.py) CDMW 0.12.0-alpha.8