Commit Graph

57 Commits

Author SHA1 Message Date
tamasmeszaros
2c22366d8c force creating static library for libnest2d 2020-01-09 17:12:40 +01:00
tamasmeszaros
cc02675984 Fix wrong bounding box calculation for initial arrange item. 2020-01-09 14:21:01 +01:00
tamasmeszaros
3e2a3e58f8 Force using TBB on all platforms for libnest2d 2019-10-14 13:42:09 +02:00
tamasmeszaros
1a16d5f0e7 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
28730791fa Extend libnest tests, remove some warnings, faster catch2 compilation.
Also, improve libnest2d::nest interface.
2019-10-07 17:16:40 +02:00
tamasmeszaros
1b68cee8e4 Hotfix for broken partial arrange. 2019-10-07 14:10:47 +02:00
tamasmeszaros
a9b40c0547 libnest2d test rewritten for catch2. Fine tuned catch2 integration. 2019-10-04 12:59:31 +02:00
tamasmeszaros
7fb5dae326 Fix arrange crash with incorrect geometries. Guard the case with tests. 2019-09-23 11:59:44 +02:00
tamasmeszaros
72a18037c3 Fix arrange crash with ASAN 2019-09-13 11:01:02 +02:00
tamasmeszaros
ec803f4044 Fix compilation on OSX 2019-09-10 14:00:48 +02:00
tamasmeszaros
a8c5ee9ea6 Fix arrangement of objects larger than the print bed. Issue #2897 2019-09-10 13:31:29 +02:00
tamasmeszaros
a02a929b17 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
73254ba3dd Can build with (original llvm) clang-cl on windows 2019-08-01 16:03:52 +02:00
tamasmeszaros
947bf7e638 Fix for incorrect inside check of fixed items.
libnest2d: Add dispatched overloads for offsetting different shapes.
2019-07-19 12:34:27 +02:00
tamasmeszaros
698c2de245 Further refactoring 2019-07-18 17:31:27 +02:00
tamasmeszaros
6791a93ac1 libnest2d: Remove old preload method from selector interface 2019-07-17 17:19:42 +02:00
tamasmeszaros
3eeb453e9a Solved issue with virtual bed management.
libnest2d: Fix for unclosed polygons after merge.
2019-07-17 13:32:31 +02:00
tamasmeszaros
b3217c191d Priority for wipe tower, Increased safety distance from bed edges.
* WipeTowerInfo class extended in plater (WipeTower) instead of GLCanvas3D
* Bed origin support in ModelInstance and WipeTower
2019-07-16 18:33:42 +02:00
tamasmeszaros
b68d5950ac Arrange cache in ModeInstance and logical bed remembered. 2019-07-15 17:30:44 +02:00
tamasmeszaros
9539a4860c Not handling logical beds in arrange() 2019-07-12 21:17:11 +02:00
tamasmeszaros
6a4aa6b059 Wip in Nester interface 2019-07-04 13:58:18 +02:00
tamasmeszaros
b475a174d7 WIP still with arrange return value. 2019-07-03 19:24:41 +02:00
tamasmeszaros
bc4111d66b Fix libnest2d tests 2019-07-03 17:05:08 +02:00
tamasmeszaros
dcd396e3d8 Deal with infinite box. 2019-07-03 15:06:10 +02:00
tamasmeszaros
6dece3088d Try to deal with infinite bin. 2019-07-02 16:08:13 +02:00
tamasmeszaros
182436e75f Partial arrange starts to work again. 2019-07-02 15:24:40 +02:00
tamasmeszaros
be10f94d1a Unify AutoArranger subclasses 2019-07-02 12:15:53 +02:00
tamasmeszaros
a5f5840c1b Still WIP 2019-07-01 18:22:07 +02:00
tamasmeszaros
7e9b4257e1 Adapt find_new_position is WIP. Cleaning up comments. 2019-06-28 18:27:15 +02:00
tamasmeszaros
00beee9dee Arranging with new structure. 2019-06-28 17:03:50 +02:00
tamasmeszaros
649fa28edd Get rid of the test.cpp warning 2019-06-26 18:03:37 +02:00
tamasmeszaros
84e0f8e514 Make an order in using scale and unscale, remove some warnings. 2019-06-26 10:34:27 +02:00
tamasmeszaros
6ec5dfd432 Fix for debug build on Visual Studio 2019-06-19 16:23:53 +02:00
tamasmeszaros
90de7e267b Merge branch 'master' into tm_rotcalipers 2019-06-19 11:07:21 +02:00
tamasmeszaros
ecff6b721d Build fix when boost is not in prefix/boost 2019-06-13 14:19:24 +02:00
tamasmeszaros
f65d2e69c3 Adding rotating calipers algorithm for minimum are bounding box rotation.
Cleanup, fix build on windows and add test for rotcalipers.

Try to fix compilation on windows

With updates from libnest2d
Another build fix.


Clean up and add comments.


adding rotcalipers test  and some cleanup


Trying to fix on OSX


Fix rotcalipers array indexing


Get rid of boost convex hull.


Adding helper function 'remove_collinear_points'


Importing new libnest2d upgrades.


Disable using __int128 in NFP on OSX
2019-06-06 14:27:07 +02:00
tamasmeszaros
6815ca85b7 Build system tweaks to get rid of cmake and boost warnings. 2019-05-30 17:48:32 +02:00
tamasmeszaros
493bdfe5c4 Fixing the broken rasterizer.
Paths and holes cannot be added separately.
2019-04-01 12:15:47 +02:00
tamasmeszaros
e58f974cf4 Parallel loop for the statistics 2019-04-01 11:37:26 +02:00
tamasmeszaros
be6348ad74 Fix broken arrange 2019-03-28 11:01:41 +01:00
tamasmeszaros
0d3f453af0 Output raster seem ok, stats broken. 2019-03-27 18:37:50 +01:00
tamasmeszaros
c862a939d1 Fixed seed for the genetic optimizer for support generation 2019-03-12 15:21:55 +01:00
tamasmeszaros
b6eafc7bc8 Optimization for bad head angles. 2019-02-15 16:55:15 +01:00
bubnikv
81036c681d Fixed compilation on Visual Studio in Debug mode. 2019-01-26 14:12:57 +01:00
tamasmeszaros
a098367b65 Fixing items partially outside the bed when auto-placing new items. 2019-01-23 16:35:21 +01:00
tamasmeszaros
7e60c3d520 import Libnest2D msvc build fix 2019-01-23 14:07:54 +01:00
tamasmeszaros
69995106c0 Polishing autoplacement feature for testing 2019-01-23 13:13:12 +01:00
tamasmeszaros
84bc319fbd Initial version of smart auto placement intended to replace autocenter. 2019-01-22 17:50:33 +01:00
tamasmeszaros
341d13113d Improved edge normal detection. Also removed some warnings. 2018-12-20 12:08:06 +01:00
tamasmeszaros
926846fb1d Eliminate build warning with TBB_USE_CAPTURED_EXCEPTION
also make small adjustment on wxWidgets detection on Unix.
2018-12-14 13:45:58 +01:00