HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

meshlabserver — Interface for the MeshLab 3D mesh processing software. More information: <https://manned.org/meshlab

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandmeshinterfaceclimeshlabmeshlabserverfor

Problem

How to use the meshlabserver command: Interface for the MeshLab 3D mesh processing software. More information: <https://manned.org/meshlabserver>.

Solution

meshlabserver — Interface for the MeshLab 3D mesh processing software. More information: <https://manned.org/meshlabserver>.

Convert an STL file to an OBJ file:
meshlabserver -i {{input.stl}} -o {{output.obj}}


Convert a WRL file to a OFF file, including the vertex and face normals in the output mesh:
meshlabserver -i {{input.wrl}} -o {{output.off}} -om vn fn


Dump a list of all the available processing filters into a file:
meshlabserver -d {{path/to/file}}


Process a 3D file using a filter script created in the MeshLab GUI (Filters > Show current filter script > Save Script):
meshlabserver -i {{input.ply}} -o {{output.ply}} -s {{filter_script.mlx}}


Process a 3D file using a filter script, writing the output of the filters into a log file:
meshlabserver -i {{input.x3d}} -o {{output.x3d}} -s {{filter_script.mlx}} -l {{logfile}}

Code Snippets

Convert an STL file to an OBJ file

meshlabserver -i {{input.stl}} -o {{output.obj}}

Convert a WRL file to a OFF file, including the vertex and face normals in the output mesh

meshlabserver -i {{input.wrl}} -o {{output.off}} -om vn fn

Dump a list of all the available processing filters into a file

meshlabserver -d {{path/to/file}}

Process a 3D file using a filter script created in the MeshLab GUI (Filters > Show current filter script > Save Script)

meshlabserver -i {{input.ply}} -o {{output.ply}} -s {{filter_script.mlx}}

Process a 3D file using a filter script, writing the output of the filters into a log file

meshlabserver -i {{input.x3d}} -o {{output.x3d}} -s {{filter_script.mlx}} -l {{logfile}}

Context

tldr-pages: common/meshlabserver

Revisions (0)

No revisions yet.