Skip to main content

Module spatial

Module spatial 

Source
Expand description

Vision-side mesh IR, validation, export, quality (C1/C2 pure kernels).

Host 10d handoff / image-to-3d product adapters remain in qualia-vision.

Re-exports§

pub use export_3mf::mesh_ir_to_3mf;
pub use export_glb::mesh_ir_to_glb;
pub use export_obj::mesh_ir_to_obj;
pub use export_obj::mesh_ir_triangles;
pub use export_stl::mesh_ir_to_stl_binary;
pub use geometry_ir::MeshIR;
pub use geometry_ir::MAX_INDICES;
pub use geometry_ir::MAX_VERTICES;
pub use mesh_ir_quality::cleanup_mesh_ir;
pub use mesh_ir_quality::MeshCleanupOptions;
pub use mesh_ir_quality::MeshQualityReport;
pub use mesh_ir_to_export::detection_center_to_node_hint;
pub use mesh_ir_to_export::mesh_ir_to_export;
pub use mesh_ir_to_export::mesh_ir_to_export_validated;
pub use mesh_ir_to_export::NodeHint;
pub use mesh_ir_to_export::RenderMeshExport;
pub use print_readiness::print_readiness;
pub use print_readiness::PrintReadiness;
pub use sigma_map::class_hash_to_sigma_base;
pub use sigma_map::class_id_to_sigma_base;
pub use sigma_map::class_score_to_sigma;
pub use sigma_map::detection_to_sigma;
pub use twin_bridge::assess_twin_eligibility;
pub use twin_bridge::closed_form_bar_stretch;
pub use twin_bridge::promote_elasticity_preview;
pub use twin_bridge::refuse_fea_unless_eligible;
pub use twin_bridge::run_elasticity_preview_if_eligible;
pub use twin_bridge::AnalysisDomain;
pub use twin_bridge::BarStretchInput;
pub use twin_bridge::BarStretchResult;
pub use twin_bridge::TwinEligibility;
pub use validate::validate_mesh_ir;
pub use validate::MeshValidationReport;
pub use validate::MeshValidationStatus;

Modules§

export_3mf
MeshIR → 3MF (3D Manufacturing Format) export (cold path; pure Rust, no dependency).
export_glb
MeshIR → glTF 2.0 binary (GLB) export (cold path; pure Rust, no dependency).
export_obj
MeshIR → Wavefront OBJ (cold path, for handoff / renderer / dogfood).
export_stl
Binary STL export from MeshIR (3D print).
geometry_ir
Bounded mesh IR (caller-owned fixed arrays for edge path; Vec only in builders).
mesh_ir_quality
C2 — MeshIR quality cleanup (vision-side, no core-db CG link).
mesh_ir_to_export
MeshIR → render-ready export (for compile_10d on the host).
print_readiness
Print readiness checks for MeshIR (3D print excellence).
sigma_map
D2 — class / confidence → spectral σ for Tensor10D node hints.
twin_bridge
Phase 11 — twin substrate bridge: validated mesh → analysis eligibility.
validate
Mesh validation before commit to geometry store / Q42.