PrusaSlicer-NonPlainar/tests
Vojtech Bubnik 0f3cabb5d9 Support for forward compatibility of configurations, user and system
config bundles, project files (3MFs, AMFs). When loading these files,
the caller may decide whether to substitute some of the configuration
values the current PrusaSlicer version does not understand with
some reasonable default value, and whether to report it. If substitution
is disabled, an exception is being thrown as before this commit.
If substitution is enabled, list of substitutions is returned by the
API to be presented to the user. This allows us to introduce for example
new firmware flavor key in PrusaSlicer 2.4 while letting PrusaSlicer
2.3.2 to fall back to some default and to report it to the user.

When slicing from command line, substutions are performed by default
and reported into the console, however substitutions may be either
disabled or made silent with the new "config-compatibility" command
line option.

Substitute enums and bools only.  Allow booleans to be parsed as
    true: "1", "enabled", "on" case insensitive
    false: "0", "disabled", "off" case insensitive
This will allow us in the future for example to switch the draft_shield
boolean to an enum with the following values: "disabled" / "enabled" / "limited".

Added "enum_bitmask.hpp" - support for type safe sets of options.
See for example PresetBundle::load_configbundle(...
LoadConfigBundleAttributes flags) for an example of intended usage.

WIP: GUI for reporting the list of config substitutions needs to be
implemented by @YuSanka.
2021-06-27 16:57:05 +02:00
..
catch2 Updated Catch2 to v2.13.3 to support compilation on OSX11 / ARM 2020-12-01 16:48:59 +01:00
cpp17 Get ready to merge with master. 2019-12-06 09:28:17 +01:00
data Merge branch 'master' into lm_tm_hollowing 2020-01-06 12:41:29 +01:00
example Re-enable example test 2019-10-30 17:19:43 +01:00
fff_print Support for forward compatibility of configurations, user and system 2021-06-27 16:57:05 +02:00
libnest2d Convincing ClipperLib to use Slic3r's own Point type internally. 2021-04-21 20:15:49 +02:00
libslic3r Support for forward compatibility of configurations, user and system 2021-06-27 16:57:05 +02:00
sla_print Get rid of Contour3D 2021-06-08 10:28:23 +02:00
slic3rutils Enable http digest authentication for CURL 2020-11-25 13:58:03 +01:00
catch_main.hpp Make verboseconsole the default reporter. 2019-10-30 10:48:54 +01:00
CMakeLists.txt Added test for libcurl https handling disabled on build server. 2020-03-06 15:18:14 +01:00
test_utils.hpp Add tests for EigenMesh3D raycaster with hole support. 2020-01-08 17:11:22 +01:00