This is a small Python library that provides Input / Output for Minetest .mts schematics.
It is using the NumPy library (that you need to install), reputed for its efficiency in numerical treatments.
It is loosely based on Mg's Python-Minetest, but optimized for speed and memory efficiency, to be able to handle remarkably large schematics (tested with a 200³ one).
License: GNU GPLv2.
It treats schematics as an object containing a NumPy structured array and metadata.
To install it, download it and run the setup.py file this way:
Code: Select all
python3 setup.py install
Download | Browse the code