Freedom251 › 3D File Converter Software
meshfile

What meshfile is
meshfile is a free C library for reading and writing 3D mesh formats on Linux and UNIX-style systems. It handles indexed triangle meshes, multiple objects per file, optional predefined vertex attributes, materials with optional texture maps, and optional transformation-node hierarchies. Supported formats are Wavefront OBJ, JTF, GLTF, 3DS, and STL. GLTF support is read-only, while STL support is binary-only. The library does not support quads, n-gons, triangle strips, or triangle fans, and animations are outside its scope. Its distribution includes meshview, an OpenGL 3D model viewer, and meshconv, a converter for supported formats. Developers can install it system-wide, include meshfile.h and link with -lmeshfile, or build the source into an application. It has no dependencies beyond libc. meshfile uses the GNU Lesser General Public License version 3 or later, with a stated requirement that applications incorporating its source and include directories be free software. Before version 1.0, API and ABI stability are not guaranteed.
Who it suits
It suits developers who need a small C library for triangle-mesh file conversion or viewing on Linux and UNIX systems. It is less suitable when animation or unsupported polygon types are required.
What it does well
- Reads and writes several common mesh formats
- Includes viewer and conversion utilities
- No dependencies beyond libc
- Can install system-wide or embed in applications
- Free under LGPL version 3 or later
What to know first
- GLTF support is read-only
- STL support is binary-only
- No quads, n-gons, strips, or fans
- API and ABI stability are not guaranteed before version 1.0
Limits
GLTF files can be read but not written, and STL support is binary-only. The library excludes quads, n-gons, triangle strips, triangle fans, and animation; API and ABI stability are not guaranteed before version 1.0.
Getting started
- Open the meshfile project site or GitHub repository
- Clone the latest source or obtain a project-site or GitHub release
- Build the library on UNIX with make
- Install it system-wide and include meshfile.h with -lmeshfile
- Alternatively, compile the source files directly into a free-software application
- Build the included meshview viewer or meshconv converter as needed
Verdict
meshfile provides focused mesh-file handling with useful companion tools and minimal dependencies. Its format and geometry limits, licensing condition, and pre-1.0 stability caveat matter when choosing it for a project.
Questions
Is meshfile free?
Yes. It has a free plan and is released under the GNU Lesser General Public License version 3 or later.
Which platforms are supported?
The listed platform is Linux, and the build instructions describe building on UNIX with make.
Which formats can meshfile handle?
It supports Wavefront OBJ, JTF, GLTF, 3DS, and STL, with GLTF read-only and STL binary-only support.
Does meshfile support animation?
No. Animation is outside the library's scope.
What dependencies does it require?
The project describes zero dependencies beyond libc.
Can it be embedded in an application?
Yes. You can include meshfile.h and link with -lmeshfile, or build the source files into your program. The stated source-and-include-directory licensing route applies only to free software.
Facts from meshfile's own pages
- Animation
- Animations are outside the scope of the library. · github.com, 11 Oct 2026
- Animation scope
- Animations are outside the scope of the library. · github.com, 4 Oct 2026
- API stability
- The README says API and ABI stability are not guaranteed before version 1.0. · github.com, 11 Oct 2026
- Dependencies
- The project describes the library as having zero dependencies. · nuclear.mutantstargoat.com, 11 Oct 2026
- Download
- The project site identifies meshfile 0.2 as the latest release and links to tar.gz and zip downloads. · nuclear.mutantstargoat.com, 11 Oct 2026
- Examples
- The distribution includes meshview, an OpenGL 3D model viewer, and meshconv, a converter between supported formats. · nuclear.mutantstargoat.com, 11 Oct 2026
- Example tools
- The distribution includes meshview, an OpenGL 3D model viewer, and meshconv, a converter for supported formats. · github.com, 4 Oct 2026
- Format caveats
- The README says glTF is read-only and STL support is binary-only. · github.com, 11 Oct 2026
- Format limits
- GLTF is read-only, STL support is binary-only, and the library does not support quads, n-gons, strips, or fans. · github.com, 4 Oct 2026
- Formats
- Supported formats are Wavefront OBJ, JTF, glTF, 3DS and STL. · nuclear.mutantstargoat.com, 11 Oct 2026
- Geometry limits
- It does not support quads, n-gons, triangle strips or triangle fans. · nuclear.mutantstargoat.com, 11 Oct 2026
- Integration
- You can install it system-wide, include meshfile.h and link with -lmeshfile, or build its source files as part of your program. · github.com, 11 Oct 2026
- License
- The project is distributed under the GNU Lesser General Public License version 3 or later. · nuclear.mutantstargoat.com, 11 Oct 2026
- License constraint
- The README says incorporating the source and include directories into an application is only possible when that application is free software. · github.com, 4 Oct 2026
- Materials and hierarchy
- It supports materials with optional texture maps and an optional transformation node hierarchy. · github.com, 4 Oct 2026
- Mesh data
- It supports indexed triangle meshes, multiple objects per file, optional vertex attributes, materials and an optional transformation node hierarchy. · nuclear.mutantstargoat.com, 11 Oct 2026
- Platform
- The build instructions describe building the library on UNIX with make. · github.com, 11 Oct 2026
- Purpose
- Meshfile is a C library for reading and writing 3D mesh file formats. · nuclear.mutantstargoat.com, 11 Oct 2026
- Use and dependencies
- The library can be installed system-wide or built into an application, and it has no dependencies beyond libc. · github.com, 4 Oct 2026
Where meshfile stands on Freedom251
- 3D File Converter Software#20 of 31