Python Schematic handler

Post Reply
User avatar
Gael de Sailly
Member
Posts: 845
Joined: Sun Jan 26, 2014 17:01
GitHub: gaelysam
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly gaelysam
Location: Voiron, France

Python Schematic handler

by Gael de Sailly » Post

Hello,

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
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.
Just realize how bored we would be if the world was perfect.

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

Re: Python Schematic handler

by TumeniNodes » Post

Interesting... I may have the perfect specimen to test this with
A Wonderful World

Trogramming
New member
Posts: 1
Joined: Sun Aug 14, 2022 08:04
GitHub: Troy-Osborne
IRC: Pseudomander Dudeonym MiguelSanchez
In-game: Dudeonym

Re: Python Schematic handler

by Trogramming » Post

Oh awesome!
I'm hoping to get into minetest development but I'm completely new to Lua.
Good to see some Python tools, Python and Lisp are usually my go-to languages.

(My first post btw, hi)

Post Reply

Who is online

Users browsing this forum: BuckarooBanzay and 2 guests