Add Post-processing (#159)

It is now possible to call external  post-process scripts
This commit is contained in:
Patrice Côté 2023-01-12 06:42:31 -05:00 committed by GitHub
parent a3e5531e28
commit 540aa13e25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 26 additions and 6 deletions

View file

@ -1912,8 +1912,7 @@ int CLI::run(int argc, char **argv)
outfile = outfile_final;
}*/
// Run the post-processing scripts if defined.
//BBS: TODO, maybe need to open this function later
//run_post_process_scripts(outfile, print->full_print_config());
run_post_process_scripts(outfile, print->full_print_config());
BOOST_LOG_TRIVIAL(info) << "Slicing result exported to " << outfile << std::endl;
part_plate->update_slice_result_valid_state(true);
#if defined(__linux__) || defined(__LINUX__)