MeshLib Documentation
Loading...
Searching...
No Matches
How to Install MeshLib SDK for Python

Installing MeshLib SDK for Python

The first part of this video shows MeshLib Python Installation process on Windows

Prerequisites

Before installing MeshLib SDK for Python, ensure you have the following:

Python

  • On Windows: MeshLib supports Python versions 3.8 to 3.13.
  • On macOS: MeshLib supports Python versions 3.8 to 3.13. Except of Python 3.8 for macOS x64.
  • On Linux: MeshLib supports Python versions 3.8 to 3.13 for distributions supporting manylinux_2_31+ (e.g., Ubuntu 20+, Fedora 32+).

For installation via pip, MeshLib supports Python versions 3.8 to 3.13 across all platforms.

Download the supported version of Python.

Code Editor

You can use any Python-compatible editor, such as Visual Studio Code, PyCharm, or any IDE you prefer.

Download Visual Studio Code

Installation Process

MeshLib is available on PyPI for Windows, macOS, and Linux. Install it with:

pip install meshlib

How to use MeshLib Python Modules

Predefined Functions and Example Scripts

MeshLib provides a set of example scripts that are available here. These examples are helpful for both developers and testers. Additionally, the Python library allows you to explore all the available functions in mrmeshpy using the standard help(meshlib.mrmeshpy) command.

Getting Started: MeshLib Viewer and Mesh I/O Examples

After installing MeshLib, a great way to start exploring its capabilities is through interactive examples.

  • On Windows and Linux, we recommend beginning with the MeshLib Viewer. It allows you to open and manipulate 3D meshes using Python. You can follow this Viewer example to get started.
  • On macOS, the Viewer is not yet supported due to platform-specific limitations. As an alternative, we suggest starting with the mesh loading and saving example, which demonstrates how to work with mesh files programmatically.

These examples are a great entry point for integrating MeshLib into your workflow, regardless of your operating system.