diff --git a/src/slic3r.cpp b/src/slic3r.cpp index 3df317196..27c64000b 100644 --- a/src/slic3r.cpp +++ b/src/slic3r.cpp @@ -36,7 +36,6 @@ int CLI::run(int argc, char **argv) { // Convert arguments to UTF-8 (needed on Windows). // argv then points to memory owned by a. boost::nowide::args a(argc, argv); - std::cerr<<"after boost::nowide<config_def.merge(cli_actions_config_def); @@ -44,7 +43,7 @@ int CLI::run(int argc, char **argv) { this->config_def.merge(cli_misc_config_def); this->config_def.merge(print_config_def); this->config.def = &this->config_def; - std::cerr<<"after merges"<config.read_cli(argc, argv, &this->input_files, &opt_order)) { this->print_help(); @@ -85,10 +84,10 @@ int CLI::run(int argc, char **argv) { // (command line options override --load files) this->print_config.apply(config, true); this->print_config.normalize(); - std::cerr<<"after config normalize" << std::endl; + std::cerr<<"Print_config normalized" << std::endl; // create a static (full) print config to be used in our logic this->full_print_config.apply(this->print_config); - std::cerr<<"apply full config"<full_print_config.validate(); @@ -96,7 +95,7 @@ int CLI::run(int argc, char **argv) { boost::nowide::cerr << e.what() << std::endl; return 1; } - std::cerr<<"after config validation"<config.has("center") && !this->config.has("align_xy") && !this->config.getBool("dont_arrange"); + std::cerr<<"Arrange: "<value.x = boost::lexical_cast(tokens[0]); this->value.y = boost::lexical_cast(tokens[1]); } catch (boost::bad_lexical_cast &e){ - std::cout << "Exception caught : " << e.what() << std::endl; + std::cout << "Config option deserialisation error of ["<value.y = boost::lexical_cast(tokens[1]); this->value.z = boost::lexical_cast(tokens[2]); } catch (boost::bad_lexical_cast &e){ - std::cout << "Exception caught : " << e.what() << std::endl; + std::cout << "Config option deserialisation error of ["< &overhang = contact_overhang.second; //bugfix: do not try to generate overhang if there is no contact area - if( contact.empty() ) - return; + if( contact.empty() ){ + std::cerr<<"Empty contact_areas of SupportMaterial for object ["<model_object()->name<<"]"<