Skip to main content

TwinCompileArgs

Type Alias TwinCompileArgs 

Source
pub type TwinCompileArgs = EntityCompileArgs;

Aliased Type§

pub struct TwinCompileArgs {
Show 17 fields pub hero: PathBuf, pub output: PathBuf, pub decimated: Option<PathBuf>, pub impostor: Option<PathBuf>, pub surfel: Option<PathBuf>, pub subject_id: String, pub entity_type: String, pub issuer: String, pub procedural_seed: String, pub acoustic_low: u32, pub acoustic_mid: u32, pub acoustic_high: u32, pub verification_method: String, pub licence_class: String, pub production_cost_cents: u64, pub transaction_cost_per_mib_cents: u64, pub dump_json: bool,
}

Fields§

§hero: PathBuf

Hero mesh input file (.10d, .glb, or binary)

§output: PathBuf

Output bundle path (.hmc)

§decimated: Option<PathBuf>

Decimated mesh input file (optional)

§impostor: Option<PathBuf>

Octahedral impostor atlas input file (optional)

§surfel: Option<PathBuf>

Hierarchical surfel input file (optional)

§subject_id: String

Subject ID / URN / DID (e.g. urn:qualia:taxon:eucalyptus_regnans_01 or did:key:…)

§entity_type: String

Ontological entity class (DarwinianTaxon -> Specimen, NaturalPerson -> Persona, ManufacturedProperty -> Construct)

§issuer: String

Issuer DID

§procedural_seed: String

Procedural seed URI

§acoustic_low: u32

Acoustic low anchor Hz

§acoustic_mid: u32

Acoustic mid anchor Hz

§acoustic_high: u32

Acoustic high anchor Hz

§verification_method: String

Verification method key URI

§licence_class: String

Permissive Commons / SPC licence class (“SocialPermissiveCommons”, “CC0-1.0”, “CC-BY-4.0”)

§production_cost_cents: u64

Finite production obligation cost in cents (0 if donated commons)

§transaction_cost_per_mib_cents: u64

Allowed carrier/bandwidth transaction recovery cost in minor cents per MiB

§dump_json: bool

Dump CBOR-LD manifest as pretty JSON alongside bundle