[meshconv]   3D model converter


binvox     thinvox     viewvox     meshconv    

Introduction

meshconv converts to and from several popular 3D file formats. Currently only geometry conversion is supported.

Features

Download

version 1.11, added 29 Aug 2014

(the binaries have been compressed using the UPX executable compressor)(they are self-decompressing)
(after download on Linux/Mac, you may have to do chmod 755 meshconv first)

Usage

Run meshconv without parameters for a usage summary.

Example: to convert a VRML 2.0 model to PLY, triangulated:
meshconv -c ply -tri mymodel.wrl

Note to Windows users: meshconv is a commandline tool, which means it must be run from a command shell. In Windows, start a command shell with Start → Run → cmd (enter), then use the cd command to change to the folder where you have meshconv.exe and the model you want to convert.
Also, the Windows executable is 32 bit, which has a ~3-4GB limitation on the amount of memory you can use. As a result, you may see the error:   terminate called after throwing an instance of 'std::bad_alloc' for large model files.

Credit

If you use meshconv for your (published) work, please add a reference to me and to this web page. I'd love to hear what you use meshconv for as well.

Note that meshconv is free to download and use (in any environment). However, you are not allowed to charge others for the program. Type meshconv -license for more information.

meshconv uses the lib3ds library for reading .3ds files.

Feedback

Please send me e-mail (to patrick.n.min at gmail dot com) with your questions/comments/suggestions/bug reports.
I'm also interested to hear about what you use meshconv for.


Changelog

1.11: added support for writing binary three.js (.js and .bin files) (geometry only, version 3.1)
1.1: added support for writing .js three.js JSON format (geometry only, version 3.1)
1.0: added support for reading .3ds files using the lib3ds library
0.9: added support for VRML 2.0 Extrusion beginCap and endCap, fixed triangulation + plane equation of concave polygons
0.85: added support for non-standard STL ASCII files
0.84: added fixes to VRML 2.0 export so "PeopleMaker" software can parse it
0.83: added feature to keep groups when converting from VRML to OBJ
0.82: added "relay textures" option when converting from VRML to OBJ
0.81: bug fix when processing VRML files with textures
0.8: added support for -ascii parameter for STL output
0.79: fixed triangulation bug for VRML Sphere node
0.78: added -kd "keep duplicate vertices" option
0.77: fixed missing ENDSEC for DXF output. Disabled exponential notation output for ASCII formats
0.76: fixed polygon counting error when zero area triangles were removed, when exporting to OBJ or STL
0.75: fixed problem when exporting to VRML

Patrick Min
Last modified: Fri Aug 29 18:19:49 CEST 2014