Skip to content
Snippets Groups Projects
Commit 4c32bcc2 authored by Max Idermark's avatar Max Idermark
Browse files

add example images

parent 8d1865ba
No related branches found
No related tags found
Loading
Documents/Photos/BenchyCatia.png

410 KiB

Documents/Photos/BenchyPy.png

255 KiB

......@@ -2,6 +2,9 @@
Python code for converting a STL to a Lego version.
![Benchy](/Documents/Photos/BenchyPy.png)
### Output
- A numpy voxel array in where bricks are to be places layer by layer
- This voxel array can be sent to Catia via Visual Basic to be instantiated.
......@@ -15,9 +18,12 @@ Python code for converting a STL to a Lego version.
```
pip3 install -r requirements.txt
```
## Usage
```
python3 stl2lego.py
```
Outputs "latest_bricks_placed.json" which is the json object containing all
bricks (position and size)
## Authors
- Mats Gard & Max Idermark
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment