223 Commits

Author SHA1 Message Date
Joseph Lenox
65c7b45cf8 Fix a few more branding things, also fix version in RC to get windows build.
Also put the correct dir in for test data.
2021-04-02 21:44:32 -05:00
Joseph Lenox
3e28eb136c Adjust some branding back to mainline Slic3r;
Move test_data.cpp/hpp out of fff_print so it can be used for config tests.

Add a short test to ensure that z_steps_per_mm config option is converted appropriately.
2021-04-02 21:41:02 -05:00
Joseph Lenox
a9e32aa4ae Test the inhibition of duplicate set_speed() calls.
Shows fix for #2915
2021-04-02 21:38:28 -05:00
Joseph Lenox
f25b2b0d68 Tests for fan rescaling based on fan_percentage 2021-04-02 21:38:28 -05:00
Joseph Lenox
3465f82e40 Mark path chaining test as [!mayfail] because an algorithm has been removed. 2021-04-02 21:38:28 -05:00
Joseph Lenox
70698d53ca Silence a compiler warning because there are mixed tabs and spaces. 2021-04-02 21:38:28 -05:00
Joseph Lenox
6aae5e1e2c Add tests to check minimum vertical shell thickness. 2021-04-02 21:38:28 -05:00
Joseph Lenox
8b568fe2bf Strictly enforce perimeters so that the test isn't broken by the "only one perimeter top" 2021-04-02 21:38:28 -05:00
Joseph Lenox
ad682fb436 actually add the AMF test files. 2021-04-02 21:38:28 -05:00
Joseph Lenox
d1c307fade Add basic file read tests for deflated AMF support. 2021-04-02 21:38:28 -05:00
Joseph Lenox
dad3b1edb9 Add test_amf.cpp from Slic3r 2021-04-02 21:38:28 -05:00
remi durand
ca3d8239c4 Merge remote-tracking branch 'remotes/prusa/master' 2021-01-09 17:11:12 +01:00
Vojtech Bubnik
e78ad6ffa9 Fixing unit tests for supports. After "dont_support_bridges" was fixed
for perimeters, no support was rightfully generated for a preset
using a default "dont_support_bridges" = off.
2020-12-11 17:57:49 +01:00
Vojtech Bubnik
bd79036d13 Replaced all "long long" types with int64_t
Replaced all "unsigned long long" types with uint64_t.
These "new" types better communicate their meaning and they are
guaranteed to behave the same on all platforms & compilers.
2020-12-10 08:40:15 +01:00
supermerill
2b339763b0 Merge remote-tracking branch 'remotes/prusa/master' 2020-12-07 20:29:11 +01:00
Vojtech Bubnik
9f77335d8a Updated Catch2 to v2.13.3 to support compilation on OSX11 / ARM 2020-12-01 16:48:59 +01:00
supermerill
8d5688a751 Merge remote-tracking branch 'remotes/prusa/master' : Opengl crash 2020-11-28 18:18:32 +01:00
Vojtech Bubnik
aa6ddfec85 Added functions to export raw image data to PNG for debugging purposes.
Renamed PNGRead.cpp/hpp to PNGReadWrite.cpp,hpp
EdgeGrid: Resurrected debugging output to PNG.
2020-11-26 09:01:44 +01:00
tamasmeszaros
0a932ebfe3 Enable http digest authentication for CURL 2020-11-25 13:58:03 +01:00
supermerill
1a19b023f0 Merge remote-tracking branch 'remotes/prusa/master'
note: new infill connect, maybe a good idea to get the previous one in case it's better (no useless lines)
note2: fillline overextrude, tofix
2020-11-23 00:28:47 +01:00
supermerill
373d1b8f7d fix build 2020-11-22 17:05:27 +01:00
Vojtech Bubnik
e77fc43159 Merge remote-tracking branch 'remotes/origin/master' into lh_adaptive_infill_hooks 2020-11-16 10:54:19 +01:00
enricoturri1966
8c8ad70c58 ENABLE_GCODE_VIEWER set as default in fff_print test and PrusaSlicer.cpp 2020-11-12 15:01:59 +01:00
supermerill
a9675a3f0b fix compile 2020-11-08 23:49:02 +01:00
Vojtech Bubnik
239d588c5d 1) Implemented anchoring of infill lines to perimeters with length
limited anchors, while before a full perimeter segment was always
   taken if possible.
2) Adapted the line infills (grid, stars, triangles, cubic) to 1).
   This also solves a long standing issue of these infills producing
   anchors for each sweep direction independently, thus possibly
   overlapping and overextruding, which was quite detrimental
   in narrow areas.
3) Refactored cubic adaptive infill anchroing algorithm
   for performance and clarity.
2020-11-05 17:32:40 +01:00
supermerill
488e4d83e4 Merge remote-tracking branch 'remotes/prusa/master' into dev
optionsgroup is wonky with sizers.
2020-11-05 00:21:16 +01:00
Vojtech Bubnik
3cfccf1a5a Fixed unit tests broken with 3502f256fac0d0793f8314a7ab4a2788e93d74f8 2020-10-29 12:39:03 +01:00
supermerill
77a15a2d7f fix some tests, add a dense infill test 2020-10-26 21:31:23 +01:00
supermerill
3aaedd671b Merge remote-tracking branch 'remotes/prusa/master' into dev
note: layer time is not working, chronology need formatting, temperature ok.
2020-10-18 03:50:08 +02:00
supermerill
6fdd615b6e Merge remote-tracking branch 'remotes/prusa/master' into dev 2020-10-18 00:27:32 +02:00
tamasmeszaros
2f422f5dbe Fix sla tests on mac 2020-10-15 13:50:05 +02:00
tamasmeszaros
73d8bab4f8 Fix confusing test
fixes #4724
2020-09-21 08:45:28 +02:00
tamasmeszaros
743d6643ae Drop rubbish tests 2020-09-16 15:04:01 +02:00
Vojtech Bubnik
067cde85f1 WIP Refactoring of exceptions:
1) All slicer's exceptions are now derived from Slic3r::Exception.
2) New exceptions are defined for slicing errors.
3) Exceptions are propagated to the Plater to show.
It remains to modify the slicing back-end to throw the new SlicingError
exceptions instead of std::runtime_error and to show the other exceptions
by a message dialog instead of a notification.
2020-09-14 18:03:22 +02:00
tamasmeszaros
c10ff4f503 fixing optimizer and concurrency::reduce 2020-09-10 14:03:30 +02:00
tamasmeszaros
a21ff4141b Fix failing test due to changes in support point genertion 2020-09-10 13:19:17 +02:00
tamasmeszaros
a9a99de939 Enable all tests for support point generator 2020-09-10 13:19:17 +02:00
supermerill
d3dd002931 #449 fix for Autoarrange in MSLA Mode
Forgot to make it printer-type independent when fixing arrange.
2020-09-06 16:18:39 +02:00
enricoturri1966
b563010bf1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-28 12:30:45 +02:00
tamasmeszaros
1560e15ed9 Add missing includes for win 2020-08-27 23:14:42 +02:00
tamasmeszaros
2bcd36d155 PNG image read with libpng 2020-08-27 23:14:42 +02:00
supermerill
446a0e9436 macos&linux build fix 2020-08-19 21:08:11 +02:00
enricoturri1966
af200e47c1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-19 08:18:23 +02:00
tamasmeszaros
4ef52af906 Add dedicated tests for support point generation 2020-08-18 11:41:14 +02:00
enricoturri1966
25c3552555 Fixed conflicts after merge with master 2020-08-04 09:58:19 +02:00
tamasmeszaros
927b81ea97 Working small-to-normal support merging
Fixed fatal bug with anchors for mini supports

Make the optimization cleaner in support generatior

Much better widening behaviour

Add an optimizer interface and the NLopt implementation into libslic3r

New optimizer based only on nlopt C interfase
Fix build and tests
2020-08-03 19:05:30 +02:00
tamasmeszaros
a68564e2d0 Include test name with output obj files for sla_print_tests 2020-08-03 19:05:30 +02:00
tamasmeszaros
1eec6c473c Rename EigenMesh3D to IndexedMesh and SupportConfig to SupportTreeConfig 2020-08-03 19:05:30 +02:00
tamasmeszaros
f19b3a2344 Id-s put in a base class for support tree primitives 2020-08-03 19:05:30 +02:00
tamasmeszaros
301a168b89 Fix bugs and non working tests
Fix failing tests


Try to fix build on windows


Try to fix failng tests on Mac
2020-08-03 19:05:30 +02:00