Expand description
Spatial product adapters over specialized_libs::computer_vision::spatial.
Pure MeshIR / export / quality live in core-db. Image→3D and 10d handoff (semantic digests, detection packing) stay here.
Re-exports§
pub use compile_10d_handoff::detections_to_node_hints;pub use compile_10d_handoff::pack_geometry_export_for_10d;pub use compile_10d_handoff::GeometryFor10d;pub use image_to_3d::image_to_heightfield_mesh;pub use image_to_3d::ImageTo3dReceipt;
Modules§
- compile_
10d_ handoff - Host handoff notes for sealing vision geometry into
.10d. - image_
to_ 3d - Swarm S-V10 — image → heightfield mesh (reference reconstruction).
- mesh_
ir_ to_ export - MeshIR → render-ready export (for
compile_10don the host). - print_
readiness - Print readiness checks for MeshIR (3D print excellence).
Structs§
- BarStretch
Input - Closed-form axial stretch of a unit bar: δ = FL / (AE). Returns displacement; fails closed if parameters invalid. Not a mesh FEA solve — vertical slice for Phase 12 assurance notes.
- BarStretch
Result - Mesh
Cleanup Options - Options for
cleanup_mesh_ir. - MeshIR
- Triangle mesh in fixed buffers (zero growth after fill).
- Mesh
Quality Report - Report from quality cleanup.
- Mesh
Validation Report - Node
Hint - Hint for future Tensor10D node packing (x,y,z,t,σ) — programme D1/D2.
- Print
Readiness - Render
Mesh Export - Geometry export matching
qualia_core_db::render::assets::Meshfield layout without linking core-db into the vision crate. - Twin
Eligibility
Enums§
- Analysis
Domain - What solver domain a mesh may claim.
- Mesh
Validation Status
Constants§
- MAX_
INDICES - Max triangle indices (3 per tri).
- MAX_
VERTICES - Max vertices in a single vision reconstruction mesh.
Functions§
- assess_
twin_ eligibility - Gate mesh into twin/solver contracts. Soft refuse is honest completeness.
- class_
hash_ to_ sigma_ base - Map a class hash into a base σ band.
- class_
id_ to_ sigma_ base - Map a class hash into a base σ band.
- class_
score_ to_ sigma - Combine class base σ with detection confidence (score).
- cleanup_
mesh_ ir - Clean a MeshIR in place: weld (optional) then drop degenerate triangles.
- closed_
form_ bar_ stretch - Closed-form bar-stretch tensor.
- detection_
center_ to_ node_ hint - Map a detection-like box centre (normalised 0..1) into a node hint.
- detection_
to_ sigma - σ from a
Detection(usesclass_hash+score_f32). - mesh_
ir_ to_ export - Convert MeshIR to export (no validation).
- mesh_
ir_ to_ export_ validated - Validate then export. Fails closed on invalid mesh.
- mesh_
ir_ to_ obj - Write a minimal OBJ into
out(UTF-8 text). Returns bytes written. - mesh_
ir_ to_ stl_ binary - Write binary STL into
out. Returns bytes written. - mesh_
ir_ triangles - Triangle list as
[u32; 3]slices (for core Mesh handoff). - print_
readiness envelope_mmmax XYZ extents (e.g. printer bed). Mesh positions assumed mm.- promote_
elasticity_ preview - Promote a validated mesh to elasticity preview (not certified FEA / A4). Software assurance class: A1 closed-form bar stretch check only.
- refuse_
fea_ unless_ eligible - Explicit refuse for unsupported FEA claims.
- run_
elasticity_ preview_ if_ eligible - Run elasticity preview only if eligible; else refuse.
- validate_
mesh_ ir - Validate mesh IR. Does not allocate.