diff --git a/Documents/Photos/BenchyCatia.png b/Documents/Photos/BenchyCatia.png new file mode 100644 index 0000000000000000000000000000000000000000..d001de9d8ce1f6a3ff2ce61438af0ad22d63baf6 Binary files /dev/null and b/Documents/Photos/BenchyCatia.png differ diff --git a/Documents/Photos/BenchyPy.png b/Documents/Photos/BenchyPy.png new file mode 100644 index 0000000000000000000000000000000000000000..d10e34b119bd770adc84c16db92ef0b8e1c524ec Binary files /dev/null and b/Documents/Photos/BenchyPy.png differ diff --git a/README.md b/README.md index 9a62d39dbcb6effc6569325bfbf5c2bbb87f0585..312f3899f29cca268ec45652b34af0f7e0945619 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ Python code for converting a STL to a Lego version. + + + ### 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