bubnikv
f96cb5db5e
Fix / improvement of unit tests.
2019-10-25 19:06:40 +02:00
bubnikv
c16b7eba53
Disabled broken tests, ported some more tests to C++,
...
removed Perl tests that were already ported to C++.
2019-10-25 18:23:42 +02:00
bubnikv
816e0c61a3
Ported various clipper unit tests from Perl to C++,
...
the clipper Perl unit tests were removed.
2019-10-25 17:07:55 +02:00
bubnikv
94fe56099c
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-10-25 14:40:24 +02:00
tamasmeszaros
7f1a7b5ea7
Completely disable openvdb for now
2019-10-25 13:38:18 +02:00
bubnikv
0ae69d3572
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-10-25 13:34:55 +02:00
bubnikv
f456f53d19
New functions for variable offsets of polygons / expolygons.
...
Test cases for the above.
Improvements of older test cases.
2019-10-25 13:34:37 +02:00
tamasmeszaros
d9f3174434
Disable OpenVDB until deps get updated
2019-10-25 13:23:05 +02:00
tamasmeszaros
299798130d
Merge branch 'tm_openvdb_integration'
2019-10-25 13:16:26 +02:00
tamasmeszaros
29024d2b69
Add OpenVDB to dependencies
...
* Add Linux openvdb integration
* Add Mac openvdb integration and enable in ALL
* Create openvdb sandbox to test integration.
* Additional fixes in the patches
* Remove slabasebed sandbox as it has no relevance now
* Provide FindOpenVDB module and fix build issues
2019-10-25 13:15:21 +02:00
Lukas Matena
0e42b3bc16
Fix of SPE-1041: set_state function for gizmos is called even if they are turned on/off by the undo/redo action
2019-10-25 13:10:33 +02:00
tamasmeszaros
298a7a5b04
Merge branch 'tm_test_upgrade'
2019-10-25 10:42:51 +02:00
tamasmeszaros
7c63af2859
Add catch2 extra args option to tests.
...
update example
2019-10-25 10:42:21 +02:00
tamasmeszaros
f68ed680e4
Fix RelWithDebInfo build on Linux
2019-10-24 17:32:58 +02:00
tamasmeszaros
310fe26319
Fix for unsupported cmake feature
2019-10-23 16:26:28 +02:00
bubnikv
e0c88fe604
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-10-23 15:07:53 +02:00
bubnikv
3444be4171
Fix of Voronoi debug output.
2019-10-23 15:07:41 +02:00
tamasmeszaros
efe82ef290
another cleanup
2019-10-22 17:04:32 +02:00
tamasmeszaros
19d8638709
Remove cmake debug messages
2019-10-22 16:42:40 +02:00
tamasmeszaros
3b492d2ff4
Solve build fail in RelWithDebInfo config with several imported targets.
2019-10-22 16:32:57 +02:00
YuSanka
fecd2de762
Fixed a crash with the following repro:
...
1) Start PrusaSlicer
2) Select printer: Original Prusa i3 MK2.5
3) Load any stl file
4) In Printer Settings turn on "Support stealth mode"
5) Press "Slice now"
-> crash
All the "machine_XXXXX" vectors in the print config contain a single value instead of two leading to a vector subscript out of range
when read into GCode::_do_export()
2019-10-22 12:50:09 +02:00
YuSanka
3dcaa17886
Fixed a case when (under OSX) after some manipulation with an object or a part and then add some setting from 3dScene, "Revert button(s)" are still appear(s) in right panel
2019-10-22 10:30:07 +02:00
tamasmeszaros
b146e8ae4e
Fix qhull compilation on Mac
2019-10-22 09:59:16 +02:00
Enrico Turri
192d5a33c3
#3082 - Workaround to fix incorrect object position after applying gcode line G92 into custom gcode
2019-10-21 10:12:42 +02:00
Enrico Turri
de4a16048f
#3075 - Fixed Reload from disk command for .amf files
2019-10-21 08:48:38 +02:00
bubnikv
f1a0c95abe
test_printgcode.cpp - trying to replace std::regex with boost::regex
...
as the std::regex is likely old or incorrect on our old debian/gcc
build server.
2019-10-18 16:50:03 +02:00
bubnikv
81c40bf38f
Fixing some GCodeExport and Flow unit tests.
2019-10-18 15:44:13 +02:00
bubnikv
88b87c2829
Test of importing non-standard ASCII STL (broken normals, junk
...
after the ending tags)
2019-10-18 14:42:03 +02:00
bubnikv
b8e7017545
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-10-18 13:05:35 +02:00
bubnikv
da6d960ea9
Initial tests for import of ASCII STLs with varying line endings.
2019-10-18 13:05:22 +02:00
Enrico Turri
8fac1139a7
Merge branch 'et_git_3010' of https://github.com/prusa3d/PrusaSlicer
2019-10-18 12:48:06 +02:00
bubnikv
9bb5a10bf5
Slight improvements of unit tests, fix of perl bindings.
2019-10-18 12:05:37 +02:00
bubnikv
4b16dd3e27
Ported test_config.cpp from upstream Slic3r.
...
Extended ConfigBase with set() functions similar to the upstream Slic3r.
ConfigBase::set_deserialize() newly throws if the operation fails.
Extrusion width parameters are newly tested for negative values.
2019-10-18 11:53:19 +02:00
bubnikv
7c3d6923b7
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-10-17 19:10:50 +02:00
bubnikv
a4c1cc9dd2
Ported test_support_material.cpp from upstream slic3r.
...
Ported extension of ExtrusionEntityCollection::flatten() to disable
flattening of no_sort() collections.
2019-10-17 19:09:24 +02:00
tamasmeszaros
3b9ca4f223
Fix FindTBB on linux in debug mode.
2019-10-17 17:32:26 +02:00
bubnikv
6e89d64ebd
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-10-17 17:09:25 +02:00
bubnikv
c045ea62dc
Ported test_support_material from upstream Slic3r.
...
Reworked the FFF testing framework & ConfigBase::set_deserialize()
for more compact tests: set_deserialize() now accepts list
of key / value pairs.
Fixed an incorrect assert in LayerRegion.
2019-10-17 17:09:15 +02:00
Lukas Matena
3dbb915d83
CMakeLists.txt: turning off -W-ignored-attributes, there are loads of those with newer GCC, originating from Eigen ( https://eigen.tuxfamily.org/bz/show_bug.cgi?id=1221 )
2019-10-17 09:56:38 +02:00
bubnikv
cf38dd2e9f
Fixed another weird auto + initializer list clang issue.
2019-10-16 18:23:33 +02:00
bubnikv
fb860b499b
Fixes of unit tests on OSX. The old clang does not like the way
...
@lordofhyphens uses the initializer lists together with autos.
2019-10-16 17:55:41 +02:00
bubnikv
6fa25152d7
Ported test_fill from upstream Slic3r, thanks @lordofhyphens
2019-10-16 17:43:43 +02:00
bubnikv
27e18bb405
Ported test_printgcode from upstream Slic3r, thanks @lordofhyphens
2019-10-16 15:40:09 +02:00
bubnikv
8b9fca6262
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2019-10-16 13:20:49 +02:00
bubnikv
3f594f0388
Ported test_print/test_printobject/test_3mf from upstream Slic3r, thanks @lordofhyphens
2019-10-16 13:20:09 +02:00
Lukas Matena
2e0b8e7845
Revert "CMakeLists.txt: turning off Wno-ignored-attributes on GCC and Clang again"
...
That change breaks compilation on the old buildserver (gcc 5.4). We'll deal with the warning later somehow.
This reverts commit 50448bf4dd .
2019-10-16 12:53:25 +02:00
bubnikv
5a11e217df
Fix of perl bindings
2019-10-16 11:34:45 +02:00
bubnikv
1d6cea5bb5
new cheaper constructor for DynamicPrintConfig from FullPrintConfig:
...
DynamicPrintConfig::full_print_config()
new cheaper constructors of DynamicConfig / DynamicPrintConfig from ConfigBase
Unit tests: ported test_model from upstream Slic3r, thanks @lordofhyphens
Unit tests refactored to use less autos and initializer lists for readibility,
DynamicPrintConfig is handled by value, not by shared pointer.
2019-10-16 11:16:50 +02:00
bubnikv
2037671650
Filling in the autos in the tests so it is readible and it compiles on OSX
2019-10-16 09:28:27 +02:00
bubnikv
435fae6ac5
Trying to fix compilation issues of the test cases on OSX.
2019-10-15 19:04:02 +02:00