📦️ LuCI - Luanti Commandline Interface
Project description
📦️ LuCI - Luanti Commandline Interface
This Commandline Interface allows you to build CAD-Objects in luanti. For example the benchy from here: https://www.thingiverse.com/thing:763622. The game used to be called minetest, but now it's called luanti, so this description is a mixture of minetest and luanti.
It's depending on miney a python interface for luanti.
Usage
Getting help.
luci --help
Build a CAD-Object in the STL format with luci.
luci build --help
luci build data/some_stl_file.stl
# get all wool blocks
luci blocks --filter wool
# build object with green wool
luci build data/some_stl_file.stl --block-type wool:green
# scale by factor 2
luci build data/some_stl_file.stl --scale 2
# build object at exact position. Default is at the players position.
luci build data/some_stl_file.stl -x 100 -y 150 -z 50
Erase this CAD-Object.
luci erase --help
luci erase data/some_stl_file.stl
# erase scale by factor 2
luci erase data/some_stl_file.stl --scale 2
Installation
If you like to use luci you have to follow this steps.
-
Install luanti (see here: https://www.luanti.org/downloads/) and the
mineymod. I use Debian and therefore install it like this:sudo apt update sudo apt install luanti -y
You should now be possible to start luanti.
luanti
-
Install
luciwith pipx.sudo apt install pipx -y pipx ensurepath pipx install git+https://github.com/lookslikematrix/luci.git pipx upgrade luci
-
(Optional) Install
Minetest Gameas the classic game. This is required in newer versions ofluanti.You now can click twice Back and are ready to play
luantiwithoutluci. -
Create game, install
mineymod, enablemineymod, enable server and start game. -
Grant player
luciall privileges.-
Shift + /
-
Type
/grant luci all -
Hit enter.
-
-
Build a STL-Object.
luci build data/some_stl_file.stl # and erase it luci erase data/some_stl_file.stl
Development
git clone https://github.com/lookslikematrix/luci
cd luci
sudo apt install pipx
pipx install poetry
poetry install
poetry shell
❤️ A thousand thanks to the developers of miney Python interface: https://github.com/miney-py
❤️ Everyone is welcome to make a contribution to this project.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file luanti_cli-2.0.6.tar.gz.
File metadata
- Download URL: luanti_cli-2.0.6.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.1 CPython/3.14.5 Linux/6.8.0-124-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26431f1367c47d83ebde760cedb34db26c34d7a3162ba1bdeaec6f202a301d3c
|
|
| MD5 |
3052f125cded7aea11250ebffe8f16d8
|
|
| BLAKE2b-256 |
f263b937f57acbfb7a543f064ed015b92cb3c2fc0e566a5af0b9ab57d0da3c04
|
File details
Details for the file luanti_cli-2.0.6-py3-none-any.whl.
File metadata
- Download URL: luanti_cli-2.0.6-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.1 CPython/3.14.5 Linux/6.8.0-124-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e0420c83c3cbf8ecd748e7faf708546a5bb2ceada46a358393dc2e1127aad67
|
|
| MD5 |
dec1644fac5d197d823309fc71267eb8
|
|
| BLAKE2b-256 |
9d1e3914247f79d812b775c19b5ac02faa0813db13f3bfa0adbc778eeecfe210
|