35 Commits

Author SHA1 Message Date
Joseph Lenox
35be0eefef Remove boost references from Config.hpp (this does not work on Windows!) 2017-03-18 11:44:06 -05:00
Alessandro Ranellucci
e7c854c919 Ported Config::_handle_legacy() to XS 2017-03-18 11:29:48 +01:00
Alessandro Ranellucci
90395f9394 Complete implementation of read_cli() 2017-03-18 00:48:24 +01:00
Alessandro Ranellucci
c20d44c388 Replaced emplace() as the Windows build server doesn't support it now 2017-03-14 17:30:26 +01:00
Alessandro Ranellucci
4b4a0c8a5c Split external_fill_pattern into top_infill_pattern and bottom_infill_pattern. Retrocompatibile change. #945 2017-03-12 13:01:14 +01:00
Alessandro Ranellucci
52fbe10f3d Improvements to C++ CLI options parsing (support single-letter form) 2016-11-30 19:37:14 +01:00
bubnikv
cc01e6565d Fixed a return value in the Config multi-string parser. 2016-11-24 15:59:19 +01:00
bubnikv
c93ac84f5e Missing include for memcpy for Linux.
Conflicts:

	xs/src/libslic3r/Config.cpp
2016-11-24 15:59:04 +01:00
bubnikv
4773987b0f Added "Notes" page to the filament configuration.
Added "filament_max_volumetric_speed", a cap on the maximum volumetric
extrusion role, filament specific. This is very useful when mixing
rigid filament with a soft filament.

Extended the import / export of multi-string values into configuration
values, including the test cases. Multi-line strings will be enclosed
into quotes, quotes escaped using a C-style escape sequences. Single
word strings could still be stored without quotes.

Conflicts:

	xs/src/libslic3r/Config.hpp
2016-11-24 15:58:06 +01:00
Joseph Lenox
d9a92bc4dc Code documentation of options and functions for libslic3r internals, ported from Prusa3d fork (written by @bubnikv) 2016-11-21 18:40:44 +01:00
Joseph Lenox
b874915445 Fix/workaround for Boost issues in Config.hpp (#3572)
* Moved new deserialize functions (and their accompanying boost dependencies) into Config.cpp from Config.hpp.

Fixes #3539

* Forgot to save Config.hpp for removal of Boost
2016-11-12 15:30:20 -06:00
Alessandro Ranellucci
68acf19c09 New --scale-to-fit option in slic3r.cpp 2016-10-18 10:22:34 +02:00
Alessandro Ranellucci
66e48e9d22 Revert "More fixes for non-ASCII paths on Windows"
This reverts commit e79eac2671fca060a04d8183e97b655523eafdfb.
2016-08-28 11:23:06 +02:00
Alessandro Ranellucci
e79eac2671 More fixes for non-ASCII paths on Windows 2016-08-28 10:43:00 +02:00
Alessandro Ranellucci
1e71f438a1 Gracefully handle non existent options 2016-08-27 19:19:46 +02:00
Joseph Lenox
6736ff5fa6 Catch exception thrown when loading config files.
Thrown exception has been changed to be std::runtime_error, includes regression test (program does not crash when loading unknown keys).
Sends error/diagnostic message to std::cerr.

Addresses #3430
2016-07-19 00:31:10 -05:00
Alessandro Ranellucci
30139fd647 Port --load and --save to XS 2016-07-17 16:53:37 +02:00
Alessandro Ranellucci
5346894acc New extrude-tin utility 2016-07-12 13:44:37 +02:00
Alessandro Ranellucci
7f2e774584 Removed dependency on TClap 2016-07-03 10:15:46 +02:00
Alessandro Ranellucci
6e5938c833 Fixed return value for deserialize() implementations. #3250 2016-03-13 15:26:52 +01:00
Alessandro Ranellucci
e381100812 More efficient syntax for the PrintConfigDef constructor 2015-12-16 13:09:25 +01:00
Alessandro Ranellucci
3c862836f2 Refactored the Config XS bindings 2015-12-16 12:33:19 +01:00
Alessandro Ranellucci
c0248dea8c Bugfix: missing include assert.h #3155 2015-12-11 21:36:51 +01:00
Alessandro Ranellucci
4913e90e10 Remove any Perl related code from libslic3r 2015-12-08 00:39:54 +01:00
Alessandro Ranellucci
3fac8cd77e Large refactoring of the Config classes 2015-12-07 19:39:49 +01:00
Alessandro Ranellucci
4f8a18bbad Ported Layer::maker_perimeters() to XS 2015-12-02 19:32:57 +01:00
Alessandro Ranellucci
ca48501f91 Remove Boost from distribution and fix some more things for Windows compilation 2015-11-06 11:34:37 +01:00
ntfshard
40e49613b1 Config: pass value as a reference 2015-11-04 20:49:20 +01:00
Alessandro Ranellucci
9ac4fc9034 Fix compilation on Windows due to lack of setenvt(). #2973 2015-07-10 16:01:45 +02:00
Alessandro Ranellucci
249088b4f8 Ported Config::setenv() to XS 2015-07-01 18:18:25 +02:00
Alessandro Ranellucci
3605289bbc --spiral-vase now automatically overrides --perimeters, --top-solid-layers and --fill-density instead of throwing incompatibility error. #2360 2014-11-22 23:10:18 +01:00
Alessandro Ranellucci
3e4c572164 Ported some methods including add_model_object() and apply_config() to XS 2014-11-09 12:25:59 +01:00
Alessandro Ranellucci
a4eef93950 Fixed minor regression 2014-11-04 21:07:18 +01:00
Alessandro Ranellucci
7f57f007cd Refactoring: moved Slic3r::GCode::Base to Slic3r::GCode::Writer 2014-10-25 10:42:07 +02:00
Alessandro Ranellucci
6adc3477c9 Moved C++ code into new libslic3r directory 2014-08-03 19:42:29 +02:00