License: CC BY-NC-SA 4.0
Simon Cof¹, Ciril Bohak¹
- University of Ljubljana, Faculty of Computer and Information Science, Večna pot 113, Ljubljana, 1000, Slovenia
This repository contains a fully automated pipeline for converting arbitrary 3D models into LEGO Technic representations.
The pipeline uses several external sources that must be added to the corresponding folders for the Lego Technic Pipeline to function:
-
ComputeTechnic (compiled version)
→ https://github.com/xuhaocuhk/ComputeTechnic -
Hough 3D Lines
→ https://github.com/cdalitz/hough-3d-lines -
binvox (for voxelization)
→ https://www.patrickmin.com/binvox/
Place each resource into the empty folders provided in the repository structure.
-
Add your input model to the
Objectsfolder in the following format:Objects/<object_name>.objObjects/<object_name>/object/<object_name>.glb
-
Run the main conversion script:
python LegoConverter.py <object_name>If you find this dataset useful, please cite our work.
@masterthesis{cof2026,
author = {Simon Cof},
title = {Conversion of 3D Mesh Geometry into Models Composed of LEGO Technic Elements},
school = {University of Ljubljana, Faculty of Computer and Information Science},
year = {2026}
}