SX3D is a straightforward 3D files viewer designed for the console. The application provides a convenient way to render and view 3D files in a text-based environment.
- STL
- OBJ
To get started, use the following command:
sx3d --helpThis will display the available options and their usage:
Usage: sx3d <PATH>
Arguments:
<PATH> Path to the 3D file. It can be OBJ or STL
Options:
-h, --help Print help
-V, --version Print versionInstall using Cargo:
cargo install --git https://github.com/luisbedoia/sx3dNow, you can run sx3d from any location in your terminal.
To test the viewer you can use the following examples in the examples folder of this repository. Or you can use your own 3D files.
sx3d pumpkin.objThis will visualize the 3D in the console.
This program reads your terminal size and adjusts the rendering resolution to fit the screen once at the starting. If you want to change the resolution, you need to stop the program using q key, and doing one of the following options:
- Increase/decrease the font size of your terminal.
- Increase/decrease the terminal window size.
And then, run the program again.
If you ever need to uninstall SX3D, using Cargo:
cargo uninstall sx3dThis will remove the application from your system.
Feel free to explore and enjoy viewing 3D STL files in your console using SX3D!
