Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-15Added layer_num, layer_z variables to the end_gcode, end_filament_gcode,bubnikv
added min(.,.), max(.,.) functions to the placeholder parser syntax.
2018-02-16Error messages in parsing variables (#722)fsantini
Making error messages more clear when a vector or scalar is found in macro parsing, and the other type is expected.
2018-02-02Fix of "Conditional gcode with "<=" condition fails"version_1.39.1-alphabubnikv
https://github.com/prusa3d/Slic3r/issues/683
2017-12-21Improved error reporting of the PlaceholderParser.bubnikv
2017-12-20Reverted regex to boost::regex as the C++11 regex seems to be brokenbubnikv
on Linux/gcc 4.9.
2017-12-20Replaced boost::regex with std::regex.bubnikv
2017-12-19Implemented <,>,<=,>=,or,and,||,&& operators.bubnikv
2017-12-18Fixed a regression error: The "current_extruder" identifier was not setbubnikv
at the placeholder parser. Implemented a new PlaceholderParser::evaluate_boolean_expression() functionality to evaluate just a boolean expression using the full expressive power of the macro processing syntax. This function will now be used for deciding, which print or filament preset is compatible with which printer preset.
2017-12-15Added regex matching operators to the conditional G-code processorbubnikv
in a form similar to Perl: Following expression returns true, if the variable matches the regex: variable =~ /regex/ Following expression returns true, if the variable does not match the regex: variable !~ /regex/
2017-12-11Slic3r version was not set by the placeholder parser.bubnikv
https://github.com/prusa3d/Slic3r/issues/615
2017-12-05Fixed compilation on unices.bubnikv
2017-12-05PlaceholderParser: Improved error reporting ↵bubnikv
https://github.com/prusa3d/Slic3r/issues/600 Fixed '+' operator for strings.
2017-12-05Improved error reporting of the PlaceholderParser.bubnikv
The PlaceholderParser is currently used by the GCode.cpp and by Printer.cpp to generate a new name for the exported G-code or SVG file. The PlaceholderParser::process() will throw a runtime_error with a comprehensive error message. The G-code export will include these error messages into the G-code text with !!!!!! separators, and the GUI will inform the user, that the G-code export failed.
2017-12-04More efficient utf8 parser for the PlaceholderParser.bubnikv
2017-12-04PlaceholderParser: simplistic extension to parse UTF8 charactersbubnikv
in the G-code and string constants. Solves https://github.com/prusa3d/Slic3r/issues/600
2017-11-29Fixed a random crash in the PlaceholderParser due to deallocatingversion_1.38.2bubnikv
an undefined pointer.
2017-11-29Fixed a 32bit build bug in the new PlaceholderParser macro processor.bubnikv
2017-11-26Fixed G-code export of custom G-code sections to not add a newlinebubnikv
if the custom G-code already ends with a newline.
2017-11-26Fix of the new PlaceholderParser: Maintain whitespaces and new lines.bubnikv
2017-11-26Placeholder parser - added a comment with a reference to a C grammar.CPP_presetsbubnikv
2017-11-26PlaceholderParser - added an unary not operator.bubnikv
2017-11-26Fixed compilation on GCC, changed to handle keywords correctly.bubnikv
2017-11-26PlaceholderParser extended with {if}/{elsif}{else} blocks andbubnikv
+ - * / == != <> numeric expressions.
2017-11-17Sketch of the PlaceholderParser if/elsif/else macro.bubnikv
2017-11-17The PlaceholderParser has been rewritten to usebubnikv
a real boost::spirit::qi parser, accessing the DynamicConfig repository directly. This is a first step towards a full fledged expression interpreter.
2017-10-17Optimization of the configuration layer:bubnikv
The values of StaticPrintConfig derived objects were searched by a name walking through a huge chained if. Now they are being mapped with a std::map. Also initialization of StaticPrintConfig classes from their ConfigOptionDef defaults is done by maintaining a single global definition of each StaticPrintConfig derived class, and a new instance is initialized from this static copy. Also the ConfigOption instances are casted using static_cast wherever possible, and their types are verified by a virtual type() method. This approach avoids insiginificant performance penalty of a dynamic_cast. Also the compare and clone methods were added to ConfigOption, and the cloning & compare work on binary values, not by serialization.
2017-07-31Fix of "MM incorrect extruder temperature"bubnikv
https://github.com/prusa3d/Slic3r/issues/443 Change of the PlaceholderParser: All vector configuration values stored into the PlaceholderParser are expected to be addressed by the extruder ID, therefore if a vector configuration value is addressed without an index, a current extruder ID is used. Also a small fix of fan handling: The fan speed is set to zero at the start of the G-code if the cooling for the initial extruder is disabled.
2017-05-03Ported the G-code generator from Perl to C++.bubnikv
Removed GCode.pm Removed the Perl bindigns for AvoidCrossingPerimeters, OozePrevention, SpiralVase, Wipe Changed the std::set of extruder IDs to vector of IDs. Removed some MSVC compiler warnings, removed obnoxious compiler warnings when compiling the Perl bindings.
2016-08-21Updated xs/Build.PL to support Visual Studio compiler suite.bubnikv
Updated xs/Build.PL to understand BOOST_LIBRARY_PATH and BOOST_INCLUDE_PATH environment variables. This way one may easily switch between various boost builds. Some minor tweeks were done to make Slic3r compile with Visual Studio 2013.
2016-04-11Fixed compilation on OS XAlessandro Ranellucci
2015-12-08Fix compilationAlessandro Ranellucci
2015-12-08Remove any Perl related code from libslic3rAlessandro Ranellucci
2015-12-07Large refactoring of the Config classesAlessandro Ranellucci
2015-07-01Finished porting PlaceholderParser to XSAlessandro Ranellucci
2015-07-01Ported PlaceholderParser::apply_env_variables() to XSAlessandro Ranellucci
2015-05-02Refactoring in PlaceholderParserAlessandro Ranellucci
2014-11-09Ported PlaceholderParser::update_timestamp() to XSAlessandro Ranellucci
Note that Slic3r version number is now located in libslic3r.h
2014-08-03Moved C++ code into new libslic3r directoryAlessandro Ranellucci