Skip to main content

Module interchange

Module interchange 

Source
Expand description

Scene-bundle import as ordinary editable Konjure source.

Geometry exchange captures evaluated state. It cannot reconstruct procedural authoring, simulation callbacks, modifiers, textures, or host resources.

Constants§

MAX_IMPORTED_MODULES
Maximum generated project modules, including main.
MAX_IMPORTED_SOURCE_BYTES
Kreate’s total source-text admission limit for an imported project.
MAX_MESH_JSON_CHUNK_BYTES
Largest encoded data fragment passed to Mesh.decode_json.

Functions§

from_runtime
Captures the currently accepted language state as a validated geometry bundle.
parse_bundle
Parses and validates a bounded scene-bundle file.
to_source
Converts a validated mesh snapshot into editable source with local hierarchy. Mesh buffers use the language’s Tensor[f32] contract. Transform coordinates retain f64; imported mesh coordinates round once to f32.
to_sources
Converts a scene bundle into a bounded editable source project.