Crate all_is_cubes_port
source ·Expand description
Data import and export between all_is_cubes
types and other data formats.
Currently supported formats:
Format | Extension | Import | Export | Caveats |
---|---|---|---|---|
All is Cubes native | .alliscubesjson | Yes | Yes | Version compatibility not yet guaranteed. |
MagicaVoxel .vox | .vox | Yes | Yes | Materials, scenes, and layers are ignored. |
glTF 2.0 | .gltf | — | Yes | Textures are not yet implemented. Output is suitable for rendering but not necessarily editing due to combined meshes. |
STL | .stl | — | Yes | Meshes are not necessarily “manifold”/“watertight”. |
Modules§
- File system abstraction, for importing data that does not necessarily live on the file system that
std::fs
accesses. - Export to the glTF 3D file format.
Structs§
- Selection of the data to be exported.
- Fatal errors that may be encountered during an import operation.
Enums§
- Fatal errors that may be encountered during an export operation.
- File formats that All is Cubes data can be exported to.
- Specific reason why an import operation failed. Always contained within an
ImportError
.