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
tamasmeszaros
bafa4d6d19
Follow up: Adding new sla material parameters...
...
Small fix for redundant operations.
2019-08-20 16:01:44 +02:00
tamasmeszaros
7c94db0634
Adding new sla material parameters: (initial) exposition min/max
2019-08-20 15:49:32 +02:00
tamasmeszaros
eddf932161
Set min SLA display resolution to 1x1 (see SPE-1000)
2019-08-19 10:58:44 +02:00
tamasmeszaros
9bd65360ce
Merge branch 'tm_clang_mingw'
...
Upgraded build scripts for clang-cl and MinGW-w64
* clang-cl needs custom boost dependencies
* mingw needs the full deps rebuilt, see deps/deps-mingw
* Enabling full parallel support tree generation
2019-08-16 18:07:18 +02:00
tamasmeszaros
65368db49b
Merge branch 'master' into tm_clang_mingw
2019-08-16 16:37:02 +02:00
tamasmeszaros
c187a5fb69
Fix up build and clear dev output
2019-08-16 16:31:05 +02:00
tamasmeszaros
7e0199746e
more clang warnings enabled, performance measuring
...
Succesfull build on mingw-w64
fix sandboxes
Mingw fixes and full parallel support tree gen.
2019-08-16 16:17:37 +02:00
tamasmeszaros
eba8c39846
Fix performance bottleneck in IGL
2019-08-16 13:55:39 +02:00
tamasmeszaros
8fce511806
Fix for issue #2765 , arrange crash with custom beds
2019-08-15 16:15:17 +02:00
tamasmeszaros
a49caea6cc
Hotfix for crash when empty pad and support mesh is generated.
2019-08-09 17:13:18 +02:00
tamasmeszaros
52702769d4
Hotfix for crash with support disabled and pad enabled.
2019-08-08 19:12:37 +02:00
tamasmeszaros
ada43e7add
Merge branch 'master' into tm_zero_elev_ui
2019-08-07 15:53:41 +02:00
tamasmeszaros
0ca37729aa
Merge branch 'master' into tm_zero_elev_ui
2019-08-07 15:28:17 +02:00
tamasmeszaros
1c479ad6c5
Fix build without PCH
2019-08-07 11:17:17 +02:00
tamasmeszaros
b8bfe001c0
WIP: Pad quick-menu
2019-08-06 18:16:02 +02:00
tamasmeszaros
92e1649606
Merge branch 'master' into tm_zero_elev_ui
2019-08-06 16:54:46 +02:00
tamasmeszaros
09ffbc9d4c
Add new entry to keyboard shortcuts for 'arrange selection'
2019-08-06 16:53:17 +02:00
tamasmeszaros
3c09473f2a
Added additional checkbox to enable zero elevation
2019-08-06 16:51:32 +02:00
tamasmeszaros
7d25d8c677
Can build with (original llvm) clang-cl on windows
2019-08-01 16:03:52 +02:00
tamasmeszaros
1ab3268d55
Performance optimizations and some cleanup.
...
Optional heavy parallelism which is disabled by default. Would like to test it further in a next release cycle.
2019-07-30 17:57:07 +02:00
tamasmeszaros
ca1f3dc6af
Improved logging of SLA support tree creation.
2019-07-30 17:55:22 +02:00
tamasmeszaros
57008d0d77
Include SLACommon.hpp into the project.
...
File is reformatted, but only the whitespace is changed.
2019-07-30 17:54:25 +02:00
tamasmeszaros
cc5d74084c
Fix memory leak in ProgressStatusBar
2019-07-30 17:52:05 +02:00
tamasmeszaros
320f964847
Fixing zero elevation bug when concave hull overlap was not detected.
...
Backported from tm_perf_optims
2019-07-30 14:24:42 +02:00
tamasmeszaros
a59e782e85
Update Arrange tooltip: [Shift+A]
2019-07-22 11:36:56 +02:00
tamasmeszaros
764efb1385
Remove disabled code.
2019-07-22 11:18:10 +02:00
tamasmeszaros
dcb073d4fd
Merge branch 'tm_arrange_selection'
2019-07-22 11:14:34 +02:00
tamasmeszaros
8d66b51e8c
Merge branch 'master' into tm_arrange_selection
2019-07-19 18:17:58 +02:00
tamasmeszaros
10e86a06cc
Dont do force_full_scene_refresh after arrange.
2019-07-19 18:16:36 +02:00