Commit Graph
100 Commits
Author SHA1 Message Date
tamasmeszaros f913be2d93 Streamlined hollowing method. 2019-11-05 17:02:14 +01:00
tamasmeszaros 4d8631fef6 Merge branch 'tm_openvdb_integration' into lm_tm_hollowing 2019-11-05 14:48:44 +01:00
tamasmeszaros 07fb9f6559 Add oversampling and gaussian filter to hollowing.
* Additional steps hollowing and drilling in SPAPrint
* Remove SLABoilerPlate.hpp as it was empty.
2019-11-05 14:48:00 +01:00
tamasmeszaros d9d11e5686 Add additional parameters to openvdbutils 2019-11-05 09:43:42 +01:00
tamasmeszaros 7808d09d06 SLA Contour3D expanded with conversions supporting quads. 2019-11-04 14:33:29 +01:00
tamasmeszaros 91829f9a35 Remove git update step from deps where patch is applied. 2019-11-01 15:33:36 +01:00
tamasmeszaros a8a5a884f9 Add OpenVDBUtils into libslic3r, hollwing tests in libslic3r_test 2019-11-01 15:31:26 +01:00
tamasmeszaros 59c128d9fd Fix broken partial arrange 2019-11-01 15:13:05 +01:00
tamasmeszaros 9dafc324f0 Fix compilation on MSVC 2019-11-01 12:10:03 +01:00
tamasmeszaros 62983850c5 Remove git update step from deps where patch is applied. 2019-11-01 10:56:39 +01:00
tamasmeszaros 844994885b Update doc/Dependencies.md 2019-10-31 15:05:45 +01:00
tamasmeszaros 2165537fa5 Do some hollowing finally. 2019-10-31 14:36:33 +01:00
tamasmeszaros 164c08f6f9 Merge branch 'tm_openvdb_fixes' 2019-10-31 09:46:55 +01:00
tamasmeszaros ce9c2c5dd4 Add explicit ZLIB system package requirement on Unix systems.
We already depended on that but is wasn't stated in the deps script.
2019-10-30 18:20:24 +01:00
tamasmeszaros 89801f00c5 Add explicit ZLIB system package requirement on Unix systems.
We already depended on that but is wasn't stated in the deps script.
2019-10-30 18:08:16 +01:00
tamasmeszaros 2e7ac3bfa6 fix openvdb dependency build bugs
Fixes for release only build of dependencies on windows


Omit blosc packing in deps build


Try to fix patching by reverting to git repos in download steps

Patching does not remove or rename files.
2019-10-30 17:22:10 +01:00
tamasmeszaros 64a5696539 Re-enable example test 2019-10-30 17:19:43 +01:00
tamasmeszaros af89655437 Try to fix patching by reverting to git repos in download steps
Patching does not remove or rename files.
2019-10-30 16:38:16 +01:00
tamasmeszaros 06b2f8c210 Omit blosc packing in deps build 2019-10-30 16:38:10 +01:00
tamasmeszaros 189bd1a8ce Fixes for release only build of dependencies on windows 2019-10-30 16:38:00 +01:00
tamasmeszaros 5c5a3948f9 fix openvdb platform forwarding on Windows 2019-10-30 12:38:35 +01:00
tamasmeszaros 259e058491 openvdb conversion experiments. 2019-10-30 12:38:23 +01:00
tamasmeszaros 652649694c Merge branch 'tm_verboseconsole' 2019-10-30 11:03:28 +01:00
tamasmeszaros 4594ce77b0 Make verboseconsole the default reporter. 2019-10-30 10:48:54 +01:00
tamasmeszaros b928cca54c Useful verbose test output on console with Catch2 2019-10-30 10:48:47 +01:00
tamasmeszaros 99dd6acc79 Make verboseconsole the default reporter. 2019-10-30 10:47:04 +01:00
tamasmeszaros d63ae1c608 Simple openvdb conversion test. 2019-10-29 16:27:53 +01:00
tamasmeszaros 6f8ce12287 Useful verbose test output on console with Catch2 2019-10-29 13:36:39 +01:00
tamasmeszaros 39df8a5ede Enable example test 2019-10-25 16:19:50 +02:00
tamasmeszaros 1cc7bd9976 Fix openvdb dependency in libslic3r 2019-10-25 15:48:01 +02:00
tamasmeszaros 5c0cd06f2f Completely disable openvdb for now 2019-10-25 13:38:18 +02:00
tamasmeszaros bcc2c21d5f Disable OpenVDB until deps get updated 2019-10-25 13:23:05 +02:00
tamasmeszaros deda712e20 Merge branch 'tm_openvdb_integration' 2019-10-25 13:16:26 +02:00
tamasmeszaros 4554da29ab 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
tamasmeszaros 0986221fdc Merge branch 'tm_test_upgrade' 2019-10-25 10:42:51 +02:00
tamasmeszaros 45d80aba63 Add catch2 extra args option to tests.
update example
2019-10-25 10:42:21 +02:00
tamasmeszaros eee20e23e1 Fix RelWithDebInfo build on Linux 2019-10-24 17:32:58 +02:00
tamasmeszaros d481feda13 Fix for unsupported cmake feature 2019-10-23 16:26:28 +02:00
tamasmeszaros 8961e68f5e another cleanup 2019-10-22 17:04:32 +02:00
tamasmeszaros 7f0c4fafe6 Remove cmake debug messages 2019-10-22 16:42:40 +02:00
tamasmeszaros 9f9a40100f Solve build fail in RelWithDebInfo config with several imported targets. 2019-10-22 16:32:57 +02:00
tamasmeszaros bd15efd17a Fix qhull compilation on Mac 2019-10-22 09:59:16 +02:00
tamasmeszaros dfba3f04e9 Fix FindTBB on linux in debug mode. 2019-10-17 17:32:26 +02:00
tamasmeszaros a7c843d213 Fix the missing link dependencies for tbb on Linux 2019-10-14 15:48:29 +02:00
tamasmeszaros 05431c0e6d Group test targets into logical "tests" directory. Disable DJDHeuristic 2019-10-14 14:58:07 +02:00
tamasmeszaros cdc9fb0d8f Force using TBB on all platforms for libnest2d 2019-10-14 13:42:09 +02:00
tamasmeszaros fbc174ad06 Fix cmake with msvc generator.
* Remove unused libnest2d files. Make it use the global build script targets.
* Modify FindTBB to address multi-config builds and take care of __TBB_NO_IMPLICIT_LINKAGE
* Move FindNLopt to project common cmake module dir
* Rename libnest.hpp to nester.hpp and libnest.h to libnest.hpp 
* Clean up common test suite build scripts
2019-10-14 12:50:08 +02:00
tamasmeszaros def254ddb8 Merge branch 'tm_fix_concave_hull' 2019-10-10 09:43:14 +02:00
tamasmeszaros 175b6fd9f5 Fix concave hull having holes. 2019-10-09 14:59:09 +02:00
tamasmeszaros 272e9f11e3 Merge branch 'tm_arrange_test_extend' 2019-10-07 17:57:34 +02:00
tamasmeszaros 72ac8d68f0 Extend libnest tests, remove some warnings, faster catch2 compilation.
Also, improve libnest2d::nest interface.
2019-10-07 17:16:40 +02:00
tamasmeszaros 555fcc151d Hotfix for broken partial arrange. 2019-10-07 14:10:47 +02:00
tamasmeszaros 3edca58a0c Don't require gtest anymore. 2019-10-07 11:22:16 +02:00
tamasmeszaros f0d75eea0d Fix incorrect time format spec in iso_utc_timestamp.
Also add test for such errors in the future.
2019-10-07 08:56:54 +02:00
tamasmeszaros f1388fffba Fix test outputs on buildbot. Also fix pairhash test. 2019-10-07 10:21:59 +02:00
tamasmeszaros 5bf3d5aabf Merge branch 'tm_sla_tests' 2019-10-04 18:34:08 +02:00
tamasmeszaros a34ca42709 Disable on-model supports for pierce tests.
Also added separate main for sla_print testsuite to speed up compilation.
2019-10-04 18:14:19 +02:00
tamasmeszaros 1df1ef481d Port sla tests to catch2 2019-10-04 14:47:02 +02:00
tamasmeszaros 51f26f9483 Fix for data dir path on windows 2019-10-04 14:27:51 +02:00
tamasmeszaros 5ca962a1da Catch2 test framework integration into tm_sla_tests. 2019-10-04 14:23:19 +02:00
tamasmeszaros cf777ec09c Remove automatic test subdir inclusion.
Too complex and might cause problems some day.
2019-10-04 13:52:42 +02:00
tamasmeszaros ce4f4bea06 libnest2d test rewritten for catch2. Fine tuned catch2 integration. 2019-10-04 12:59:31 +02:00
tamasmeszaros 320d18f07c Remove accidentally left cmake debug message 2019-10-04 09:14:57 +02:00
tamasmeszaros df7c886fe6 Apply Mac specific caveats on the test build script. 2019-10-04 11:08:46 +02:00
tamasmeszaros fe7f2e4d95 Catch2 test framework integration. 2019-10-04 11:04:26 +02:00
tamasmeszaros 2edd5abf06 Fix endless loop in pinhead creation.
* Headless stick penetration value from global cfg
* eliminate warnings
2019-10-03 17:18:03 +02:00
tamasmeszaros 4569a6026a Add an additional sla test object for support generation. 2019-10-03 16:15:11 +02:00
tamasmeszaros fefde79c89 Make sure no vector reallocation will be performed on pillars.
This is a workaround for now, it needs to be handled properly.
2019-10-03 15:13:17 +02:00
tamasmeszaros c4d50ea639 Add test obj and address for support under ground level if no elevation 2019-10-03 14:23:22 +02:00
tamasmeszaros 23a7e77a81 Eliminate some race conditions in sla support tree 2019-10-03 12:31:25 +02:00
tamasmeszaros 95e22d8fd4 Add method for bridge addition with Head parameter to fill the bridge_id 2019-10-03 10:22:25 +02:00
tamasmeszaros 3f698c4ccf Enable full concurrency for support tree generation. 2019-10-02 16:33:13 +02:00
tamasmeszaros 3c4e81cec6 Merge branch 'tm_timecvt' 2019-10-02 15:12:25 +02:00
tamasmeszaros 8ca7e56d0f Fix tests on all platforms
Try to link tests on Mac.


Fix inaccurate pad brim size


fix build on mac (attempt 2)


Fixes for support tree faults and race conditions in release mode.


Fix crashing test executable on gcc 4.9


fix warning on msvc
2019-10-02 14:55:16 +02:00
tamasmeszaros d5dcba00b1 Time conversion functions with tests.
Fixes issue with incorrect characters in time strings on UI.
Fix platform dependency


Fix return value with incorrect strings.


Just use strptime and strftime on all platforms.

Emulate strptime on msvc... because they don't have it and their get_time is buggy.
2019-10-02 14:44:11 +02:00
tamasmeszaros f29e18dad2 Fix crashing test executable on gcc 4.9 2019-10-02 14:42:28 +02:00
tamasmeszaros fa81b961c5 Fix compilation without pch. 2019-10-02 13:56:41 +02:00
tamasmeszaros be7428d66e sla::Raster interface clarified and covered with tests.
Also renamed sla::SupportTreeAlgorithm to SupportTreeBuildsteps.
2019-10-01 14:58:37 +02:00
tamasmeszaros 705e82ec8e Deeper test coverage for support tree generation.
Restructuring for testability.
2019-10-01 14:58:37 +02:00
tamasmeszaros 277f6786d8 Add tests for sla support and pad creation 2019-10-01 14:58:37 +02:00
tamasmeszaros e675a5d5c6 Reworked pad creation algorithm with new parameters:
* brim size
* force pad around object everywhere
2019-10-01 14:58:37 +02:00
tamasmeszaros 9d775d0a43 Make loading of obj files into TriangleMesh possible. 2019-10-01 14:58:37 +02:00
tamasmeszaros e4247f9856 libslic3r core enhancements
* ClipperUtils extended with ExPolygon to clipper paths conversion and improved PolyTree traversal
* Added ExPolygon constructor with Polygon argument
* Removed BoundingBox warnings on clang
* Removed Geometry warnings on clang
2019-10-01 14:58:37 +02:00
tamasmeszaros 710adca6fe Don't disable pad around object parameters if supports are disabled. 2019-10-01 14:57:37 +02:00
tamasmeszaros b6f447980a Add upper limit on 1.0 to sla display gamma parameter. 2019-10-01 14:44:07 +02:00
tamasmeszaros a6f5fe7bea Fix arrange crash with incorrect geometries. Guard the case with tests. 2019-09-23 11:59:44 +02:00
tamasmeszaros 177a96a768 Fix arrange crash with ASAN 2019-09-13 11:01:02 +02:00
tamasmeszaros c37ec7463f Add new config values to SL1 zip file config.ini
All requested config values are written into SL1 ini file inside the zip

* TIme.hpp and Time.cpp is now part of libslic3r instead of libslic3r_gui
* Updated time manipulation function: separate timestamp_local_str and timestamp_utc_str
* timestamp_utc_str is used in header_slic3r_generated(). Gcode now contains UTC timestamps
2019-09-11 13:10:23 +02:00
tamasmeszaros 84e8081413 Fix compilation on OSX 2019-09-10 14:00:48 +02:00
tamasmeszaros 1c20c4c43d Fix arrangement of objects larger than the print bed. Issue #2897 2019-09-10 13:31:29 +02:00
tamasmeszaros 796d0fbd81 Fix typo 2019-09-09 16:08:19 +02:00
tamasmeszaros 642442c977 Fix typo 2019-09-04 15:15:10 +02:00
tamasmeszaros 473735af91 Merge branch 'tm_race_cond_suspicion' 2019-08-30 15:41:25 +02:00
tamasmeszaros 17a7f58828 Revert full parallel support tree generation to partially parallel. 2019-08-30 15:13:40 +02:00
tamasmeszaros 822a4a673c Force deallocation of redundant vector content.
Call move assignment with empty vector instead of clear().
2019-08-29 10:24:55 +02:00
tamasmeszaros d3fdb0a0e6 Fix memory leak.
Also removed some unnecessary aliases.
2019-08-29 10:10:09 +02:00
tamasmeszaros c2b9980488 Mirror pad_around_object for 'Pad' page on 'Supports' page 2019-08-28 11:33:04 +02:00
tamasmeszaros 1b00932a01 Small refactor for BedShapeHint 2019-08-21 15:39:20 +02:00
tamasmeszaros 67a6775773 Making arrange a little bit smarter: fix for issue #2787 2019-08-21 14:07:56 +02:00
tamasmeszaros b58713c06f SLA exposure bounds to printer params. 2019-08-20 17:24:48 +02:00