PrusaSlicer-NonPlainar/xs/xsp
Vojtech Bubnik 84b28a25e8 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.

As a preparation for PrusaSlicer 2.4.0, the new firmware_flavor
"marlinfirmware" (signifying Marlin 2.0 and newer) that is not
supported by 2.3.2 yet will default to "marlin" (signifying legacy
Marlin).

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:14:16 +02:00
..
BoundingBox.xsp Eradicated the Pointf class, replaced with Eigen Vector3d 2018-08-21 21:05:24 +02:00
BridgeDetector.xsp Fixed regression due to ExPolygonCollection to ExPolygons refactoring. 2019-10-04 16:50:01 +02:00
Clipper.xsp Reduced the content of Geometry.pm, removed unused Perl subroutines. 2017-07-19 10:45:39 +02:00
Config.xsp Support for forward compatibility of configurations, user and system 2021-06-27 16:14:16 +02:00
ExPolygon.xsp Removed ExPolygon::triangulate_pp() from Perl XS bindings and unit tests. 2019-01-24 19:22:35 +01:00
ExPolygonCollection.xsp Fixed regression due to ExPolygonCollection to ExPolygons refactoring. 2019-10-04 16:50:01 +02:00
ExtrusionEntityCollection.xsp Rest of the path chaining has been replaced with the new algorithm. 2019-09-27 18:17:21 +02:00
ExtrusionLoop.xsp Ported the G-code generator from Perl to C++. 2017-05-03 18:28:22 +02:00
ExtrusionMultiPath.xsp Ported the G-code generator from Perl to C++. 2017-05-03 18:28:22 +02:00
ExtrusionPath.xsp Ported the G-code generator from Perl to C++. 2017-05-03 18:28:22 +02:00
ExtrusionSimulator.xsp Simulation of extrusion in a plane, useful for finding out under / over-extruions. 2016-04-11 17:10:13 +02:00
Filler.xsp Fills: 2020-11-16 12:51:51 +01:00
Flow.xsp Support for forward compatibility of configurations, user and system 2021-06-27 16:14:16 +02:00
GCode.xsp Follow-up to 80e8b5e985 2020-11-21 11:02:20 +01:00
GCodeSender.xsp CMake build process - fixes of the previous check-ins to build 2017-08-18 21:09:53 +02:00
Geometry.xsp Fixed broken compilation of Perl bindings. 2020-06-16 14:39:08 +02:00
Layer.xsp Follow-up to 2021-06-25 17:24:34 +02:00
Line.xsp Completely replaced the homebrew Pointf3 class with Eigen Vec3d. 2018-08-21 17:43:05 +02:00
Model.xsp Support for forward compatibility of configurations, user and system 2021-06-27 16:14:16 +02:00
my.map Removed the old motion planner. 2020-11-17 09:33:30 +01:00
mytype.map New XS framework for C and C++ code 2013-06-22 17:16:45 +02:00
PerimeterGenerator.xsp Fix of spiral vase mode with holes in the bottom: Holes in the bottom layers 2020-12-09 14:54:26 +01:00
PlaceholderParser.xsp Fix format-security violations (#802) 2018-03-21 08:38:33 +01:00
Point.xsp Replaced Point3 with Eigen Vec3crd, removed Point3 from the Perl binding. 2018-08-21 22:14:47 +02:00
Polygon.xsp Removed the Point::wkt() and Point::dump_perl() methods. 2018-08-17 16:54:07 +02:00
Polyline.xsp Removed the Point::wkt() and Point::dump_perl() methods. 2018-08-17 16:54:07 +02:00
PolylineCollection.xsp Rest of the path chaining has been replaced with the new algorithm. 2019-09-27 18:17:21 +02:00
Print.xsp Trying to patch the Perl bindings. 2020-09-24 16:41:47 +02:00
Surface.xsp Adapted to the new ClipperUtils.hpp interface by @alexrj 2016-12-13 19:22:23 +01:00
SurfaceCollection.xsp Remove any Perl related code from libslic3r 2015-12-08 00:39:54 +01:00
TriangleMesh.xsp Fixed unit tests broken with the previous commit (Spiral Vase fix). 2020-02-09 09:43:15 +01:00
typemap.xspt Removed the old motion planner. 2020-11-17 09:33:30 +01:00
XS.xsp Updated handling of the SLIC3R_BUILD_ID key 2019-05-13 18:01:00 +02:00