Project developed for the course Bio-Inspired Artifical Intelligence taught at the University of Trento
python 3.6+
PIP modules:
inspyred
numpy
matplotlib
PrusaSlic3r or Slic3r
Edit the file slicing.py
and set the variable slic3r_path
to the path on your system. Set ini_file
to the path of your slic3r configuration.
To run the material optimization
python material_optimization.py
To run the time optimization
python time_optimization.py
To run the overall cost optimization
python main.py
you will find the results in the gcodes
folder under the name best_....gcode
, the summaries and fitness trends inside the folder summaries
.
For the boxplots run the script boxplot.py
, the results will be available in the summaries
folder.