view-mesh command not found

In this troubleshooting guide we learn how to fix view-mesh command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

view-mesh: command not found

or when using sudo you get the following error message

sudo: view-mesh: command not found

Solutions to view-mesh: command not found

How To Fix view-mesh: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu view-mesh is provided by slic3r package.

slic3r is:

Slic3r converts digital 3D models into printing instructions (G-code) for your 3D printer. It cuts the model into horizontal slices (layers), generates toolpaths to fill them and calculates the amount of material to be extruded.

Slic3r supports input in the STL, AMF and OBJ formats, and can output G-code for several series of 3D printers, including RepRap, Ultimaker, Makerbot, as well as SVG files for DLP printers.

It can be used with a graphical interface, or in batch mode via the command-line.

To fix this problem, we can install more using the command below.

sudo apt-get -y install slic3r

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install slic3r.

sudo apt -y install slic3r

Or if you have aptitude installed you can use the following command.

sudo aptitude install slic3r

Summary

In this tutorial we learn how to fix view-mesh command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.