Forked from Zarbuz/FileToVox. See the original project for full documentation, wiki, and tutorials.
This fork adds an Avalonia desktop GUI and restructures the solution to target .NET 8.0.
- Avalonia GUI (
FileToVox.Gui) — graphical interface for file conversion with file pickers, option controls, and a live log view - Restructured solution — conversion logic extracted into a shared library (
SchematicToVoxCore) used by both the CLI and GUI - Upgraded to .NET 8.0 across all projects
.asc, .binvox, .csv, .fbx, .json, .obj, .ply, .png, .qb, .schematic, .tif, .xyz, and folders of .PNG images.
See the original wiki for detailed format documentation.
| Project | Description |
|---|---|
| SchematicToVoxCore | Shared library containing all conversion logic |
| FileToVox.Cli | Command-line interface |
| FileToVox.Gui | Desktop GUI built with Avalonia |
dotnet build FileToVox.slnTo create a self-contained release build for your platform:
# Linux
dotnet publish FileToVox.Cli/FileToVox.Cli.csproj -c Release -r linux-x64
# Windows
dotnet publish FileToVox.Cli/FileToVox.Cli.csproj -c Release -r win-x64
# macOS
dotnet publish FileToVox.Cli/FileToVox.Cli.csproj -c Release -r osx-x64dotnet run --project FileToVox.Cli -- --i INPUT --o OUTPUT| Option | Description |
|---|---|
-i, --input |
Input file path |
-o, --output |
Output file path |
-c, --color |
Enable color when generating heightmap |
-cm, --color-from-file |
Load colors from file |
-cl, --color-limit |
Max number of colors for the palette |
-cs, --chunk-size |
Set the chunk size |
-e, --excavate |
Delete voxels with no face connected to air |
-hm, --heightmap |
Create voxel terrain from heightmap (PNG only) |
-p, --palette |
Set the palette |
-gs, --grid-size |
Set the grid size |
-d, --debug |
Enable debug mode |
-dq, --disable-quantization |
Disable the quantization step |
-h, --help |
Show help |
dotnet run --project FileToVox.Cli -- --i mymodel.obj --o outputdotnet run --project FileToVox.GuiSelect input/output files, configure options, and monitor conversion progress with a log view.