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.12.
  • On macOS: MeshLib supports Python versions 3.8 to 3.12. Except of Python 3.8 for macOS x64.
  • On Linux: MeshLib supports Python versions 3.8 to 3.12 for distributions supporting manylinux_2_31+ (e.g., Ubuntu 20+, Fedora 32+).

For installation via pip, MeshLib supports Python versions 3.8 to 3.12 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 available on 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.

Example: Using the Viewer with MeshLib

Now that you have installed MeshLib, you can start exploring its features. Here's an example of how to open and manipulate a 3D mesh using the MeshLib Viewer in Python.