Vojtech Bubnik
0e6e60705d
Fixing one unit test, which seems to indicate that the refactoring
...
fixed one issue (hopefully it was not that a newly introduced bug
hides an old one).
2021-05-03 14:12:08 +02:00
Vojtech Bubnik
39deffdf5b
One more perl unit test fix
2021-04-21 15:40:43 +02:00
Vojtech Bubnik
c013b73308
Fixing perl unit tests
2021-04-21 15:38:00 +02:00
Vojtech Bubnik
8e27e355c2
Fixing unit tests.
2021-03-15 09:55:56 +01:00
Vojtech Bubnik
34417574f5
Fix of Perl combine infill unit test after a change in raft:
...
1st object layer over raft is no more printed with bridging infill.
2021-02-24 18:48:55 +01:00
Vojtech Bubnik
11b4b3f4f9
Fixing vase mode Perl tests.
2020-12-09 16:37:44 +01:00
bubnikv
e7d2fcf0be
Fixed unit tests broken with the previous commit (Spiral Vase fix).
...
Fixed a crash in the previous commit.
2020-02-09 09:43:15 +01:00
bubnikv
fa3d138e91
Fix of the previous commit: Fixed number of unit tests to be executed.
2020-01-21 13:13:52 +01:00
bubnikv
05ea01bdcc
Ported PlaceholderParser unit tests to C++.
2020-01-21 12:10:09 +01:00
Matthias Urlichs
329ad97a84
Add int() and % (modulo)
2019-12-04 09:32:22 +01:00
bubnikv
f8dc74374c
Ported various clipper unit tests from Perl to C++,
...
the clipper Perl unit tests were removed.
2019-10-25 17:07:55 +02:00
Lukas Matena
52ab8a5f19
Wipe tower fix (do not skip the first toolchange when printing without the wipe tower)
...
Also, test multi.t updated so it matches new logic of inserting custom gcodes
2019-07-16 13:10:09 +02:00
bubnikv
ac6969c992
Reworked the Perl unit / integration tests to use the same Print
...
interface that the application is using. Old interface used just
for the integration tests was removed.
2019-06-20 20:23:05 +02:00
bubnikv
35b3fd3176
Integrated the new layer height spans with configs into the backend.
...
Fixed some compiler warnings.
2019-06-20 16:15:09 +02:00
Lukas Matena
07282eb24d
Fixed unit tests when run with range checks on std::vector
...
There was a bug in unit tests that led to generating the wipe tower with non-normalized preset.
This caused out-of-bounds access into max_layer_height vector in fill_wipe_tower_partitions.
The problem surfaced in https://github.com/prusa3d/PrusaSlicer/issues/2288 .
I quickly patched additional normalization of the preset to prevent this from happening.
Also, an assert in the same function turned out to trip on one of the tests.
This one was commented out for now and will (hopefully) be looked into later.
Function Print::apply_config was renamed to apply_config_perl_tests_only so everyone
sees its current purpose and does not mistake it for the more important Print::apply.
2019-05-22 16:48:20 +02:00
bubnikv
5c567af36e
Fix of the previous commit
2019-05-14 15:48:00 +02:00
bubnikv
74fee6ef78
Fix of unit tests after change of default nozzle and filament diameter.
2019-05-14 15:35:54 +02:00
bubnikv
b4a61a3acb
Fixed unit test after splitting the external fill pattern to top/bottom.
2019-02-25 09:11:20 +01:00
bubnikv
bb7f504296
Removed "Slice to SVG" and "Quick Slice"
2018-09-14 11:16:54 +02:00
bubnikv
0235f1a821
Merged with dev
2018-09-12 11:59:02 +02:00
Enrico Turri
5c90746914
Merge with master + resolved conflicts
2018-07-17 10:44:23 +02:00
Enrico Turri
cf1ccacd41
Perimeters test modified to skip lines M73
2018-07-13 10:46:30 +02:00
Lukas Matena
54bd0af905
Infill wiping turned off by default and in some automatic tests
2018-06-27 15:07:37 +02:00
bubnikv
7645e9cb7a
Added layer_num, layer_z variables to the end_gcode, end_filament_gcode,
...
added min(.,.), max(.,.) functions to the placeholder parser syntax.
2018-05-15 14:04:29 +02:00
bubnikv
cbaf0ccc51
Refactored cooling logic for readibility and maintainability.
2018-04-25 22:54:52 +02:00
bubnikv
269770bbbc
Fix of a new cooling logic.
2018-04-25 22:06:44 +02:00
Lukas Matena
7951349a1f
Another t-test change to avoid fails
2018-03-28 10:32:23 +02:00
Lukas Matena
0d2637fede
t tests changed so they don't fail on the extruder number check
2018-03-28 10:16:04 +02:00
bubnikv
e931f75010
Work in progress: Good bye, Perl Threads!
2018-03-23 11:41:20 +01:00
bubnikv
e162c47167
Removed some dependencies on Perl IO module.
2018-03-16 12:07:54 +01:00
bubnikv
b4483fdcbd
Fix of "Conditional gcode with "<=" condition fails"
...
https://github.com/prusa3d/Slic3r/issues/683
2018-02-02 11:49:09 +01:00
bubnikv
9d3ade81fa
Fixed placeholder parser tests.
2017-12-21 17:27:24 +01:00
bubnikv
a402b1b83d
Implemented <,>,<=,>=,or,and,||,&& operators.
2017-12-19 16:48:14 +01:00
bubnikv
bb61de8379
Fixed a regression error: The "current_extruder" identifier was not set
...
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-18 12:14:09 +01:00
bubnikv
ae118519ab
Fixed a 32bit build bug in the new PlaceholderParser macro processor.
2017-11-29 19:27:26 +01:00
bubnikv
6729dc1c6d
Fixed a failing PlaceholderParser test case.
2017-11-29 16:35:48 +01:00
bubnikv
0ddbfccb08
Added some test cases for the conditional G-code math calculator.
...
https://github.com/prusa3d/Slic3r/issues/438
2017-11-28 19:56:32 +01:00
bubnikv
672194b475
Ported the between_objects_gcode custom G-code blocks,
...
thanks @lordofhyphens, https://github.com/alexrj/Slic3r/pull/3275
Improved handling of custom G-code blocks: Slic3r will try to extract
the target extruder and bed temperatures from the custom G-code blocks.
2017-11-28 15:19:57 +01:00
bubnikv
b54a15faa2
Fix of the new PlaceholderParser: Maintain whitespaces and new lines.
2017-11-26 20:43:31 +01:00
bubnikv
708f416c84
PlaceholderParser extended with {if}/{elsif}{else} blocks and
...
+ - * / == != <> numeric expressions.
2017-11-26 09:59:14 +01:00
bubnikv
47f193fe2d
The PlaceholderParser has been rewritten to use
...
a real boost::spirit::qi parser, accessing the DynamicConfig repository
directly. This is a first step towards a full fledged expression
interpreter.
2017-11-17 11:15:46 +01:00
bubnikv
e8b6d92d4d
Looks like the reworked C++ preferences start to work again.
2017-11-02 16:21:34 +01:00
bubnikv
2455aee97c
Further reduction of Perl Config.pm methods.
2017-10-27 18:52:35 +02:00
bubnikv
401059066e
Switched to Perl local::lib for local compilation.
...
Taken from upstream Slic3r, thanks @alexrj.
2017-08-18 09:58:50 +02:00
bubnikv
aaefb76888
Fixed test cases after change of the "sane" extrusion widths.
...
Changed the default perimeter / infill overlap to 25%.
2017-07-20 11:03:54 +02:00
bubnikv
81823fe7df
Reduced the content of Geometry.pm, removed unused Perl subroutines.
...
Reduced the use Slic3r::Geometry and use Slic3r::Geometry::Clipper
clauses to only reference used subroutines.
2017-07-19 10:45:39 +02:00
bubnikv
bf9027ff2d
Fix of a cooling buffer over multiple extruders.
2017-06-30 19:07:14 +02:00
bubnikv
1158ce41df
Finalized implementation of a cooling buffer for multiple extruders
...
with different settings.
2017-06-30 17:05:58 +02:00
bubnikv
32fa84c5a5
Fix of https://github.com/alexrj/Slic3r/issues/4043 , thanks to @lordofhyphens.
...
Further refactoring of the cooling logic to collect per extruder data.
2017-06-23 10:13:09 +02:00
bubnikv
0454cc95f9
Ported the cooling changes from @alexrj: Don't slow down the external
...
perimeters if not necessary, don't take the bridging time into account
when slowing down the print.
Removed Extruder & GCodeWriter Perl bindings.
Improved Extruder for constness.
Refactored GCode::m_elapsed_time to struct ElapsedTime.
2017-06-22 12:59:23 +02:00