PrusaSlicer-NonPlainar/xs/xsp
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
..
BoundingBox.xsp
BridgeDetector.xsp
Clipper.xsp Removing offset2 from Perl bindings and other minor cleanup. 2021-05-06 14:29:20 +02:00
Config.xsp Support for forward compatibility of configurations, user and system 2021-06-27 16:57:05 +02:00
ExPolygon.xsp Removal of not numerically robust libraries "poly2tree" and "polypartition". 2021-02-09 18:36:28 +01:00
ExPolygonCollection.xsp
ExtrusionEntityCollection.xsp
ExtrusionLoop.xsp
ExtrusionMultiPath.xsp
ExtrusionPath.xsp
ExtrusionSimulator.xsp
Filler.xsp
Flow.xsp Support for forward compatibility of configurations, user and system 2021-06-27 16:57:05 +02:00
GCode.xsp The perl binding is killing Vojtech 2021-02-18 11:47:06 +01:00
GCodeSender.xsp
Geometry.xsp
Layer.xsp Fixing Perl integration 2021-05-06 13:58:37 +02:00
Line.xsp
Model.xsp Support for forward compatibility of configurations, user and system 2021-06-27 16:57:05 +02:00
my.map Fixed Perl bindings of Clipper after Clipper was adapted to Slic3r::Point 2021-04-23 11:02:16 +02:00
mytype.map
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
Point.xsp
Polygon.xsp
Polyline.xsp Fixed Perl bindings of Clipper after Clipper was adapted to Slic3r::Point 2021-04-23 11:02:16 +02:00
PolylineCollection.xsp
Print.xsp Fix of #2825 - Add the length of each filament used 2021-05-07 12:48:34 +02:00
Surface.xsp Fixed Perl bindings of Clipper after Clipper was adapted to Slic3r::Point 2021-04-23 11:02:16 +02:00
SurfaceCollection.xsp
TriangleMesh.xsp TriangleMeshSlicer: Got rid of admesh! 2021-05-18 15:05:30 +02:00
typemap.xspt
XS.xsp