Python Schematic handler

User avatar
Gael de Sailly
Posts: 719
Joined: Sun Jan 26, 2014 17:01
Location: Lyon, France
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly Ginkgoo

Python Schematic handler

by Gael de Sailly » Sun Nov 18, 2018 14:48


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 file this way:
Code: Select all
python3 install

Full documentation on the README.

Download | Browse the code
Last edited by Gael de Sailly on Sun Nov 18, 2018 19:22, edited 1 time in total.
Contributor of Minetest and OpenStreetMap, on Ubuntu 16.04. ~ ~ ~ Meet me on MinetestForFun, VanessaE's Basic, Capture the Flag and Inside the Box.

User avatar
Posts: 2633
Joined: Fri Feb 26, 2016 19:49
Location: in the dark recesses of the mind
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes

Re: Python Schematic handler

by TumeniNodes » Sun Nov 18, 2018 18:05

Interesting... I may have the perfect specimen to test this with
I couldn't fix your brakes, so I made your horn louder.

Return to Minetest-related projects

Who is online

Users browsing this forum: No registered users and 2 guests