Commit Graph

57 Commits

Author SHA1 Message Date
tamasmeszaros
c0b90f68ab force creating static library for libnest2d 2020-01-09 17:12:40 +01:00
tamasmeszaros
7fd4800e7c Fix wrong bounding box calculation for initial arrange item. 2020-01-09 14:21:01 +01: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
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
ce4f4bea06 libnest2d test rewritten for catch2. Fine tuned catch2 integration. 2019-10-04 12:59:31 +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
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
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
7d25d8c677 Can build with (original llvm) clang-cl on windows 2019-08-01 16:03:52 +02:00
tamasmeszaros
72ed8c034e 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
6ae50a710a Further refactoring 2019-07-18 17:31:27 +02:00
tamasmeszaros
c82fb9c84f libnest2d: Remove old preload method from selector interface 2019-07-17 17:19:42 +02:00
tamasmeszaros
2728f41123 Solved issue with virtual bed management.
libnest2d: Fix for unclosed polygons after merge.
2019-07-17 13:32:31 +02:00
tamasmeszaros
44801f4429 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
1b0e192046 Arrange cache in ModeInstance and logical bed remembered. 2019-07-15 17:30:44 +02:00
tamasmeszaros
df7bb94daf Not handling logical beds in arrange() 2019-07-12 21:17:11 +02:00
tamasmeszaros
9372f1c6ad Wip in Nester interface 2019-07-04 13:58:18 +02:00
tamasmeszaros
e81f8a5fd9 WIP still with arrange return value. 2019-07-03 19:24:41 +02:00
tamasmeszaros
b5215dae1b Fix libnest2d tests 2019-07-03 17:05:08 +02:00
tamasmeszaros
bc315f4c2c Deal with infinite box. 2019-07-03 15:06:10 +02:00
tamasmeszaros
320f2ecefd Try to deal with infinite bin. 2019-07-02 16:08:13 +02:00
tamasmeszaros
87c5e9bbaa Partial arrange starts to work again. 2019-07-02 15:24:40 +02:00
tamasmeszaros
914bf63228 Unify AutoArranger subclasses 2019-07-02 12:15:53 +02:00
tamasmeszaros
253ec07cb2 Still WIP 2019-07-01 18:22:07 +02:00
tamasmeszaros
cb3a586deb Adapt find_new_position is WIP. Cleaning up comments. 2019-06-28 18:27:15 +02:00
tamasmeszaros
299e4f74c7 Arranging with new structure. 2019-06-28 17:03:50 +02:00
tamasmeszaros
ec28e55ff0 Get rid of the test.cpp warning 2019-06-26 18:03:37 +02:00
tamasmeszaros
14b32c4f16 Make an order in using scale and unscale, remove some warnings. 2019-06-26 10:34:27 +02:00
tamasmeszaros
8ffd79cdd8 Fix for debug build on Visual Studio 2019-06-19 16:23:53 +02:00
tamasmeszaros
4a71c42f9b Merge branch 'master' into tm_rotcalipers 2019-06-19 11:07:21 +02:00
tamasmeszaros
821ca0e36a Build fix when boost is not in prefix/boost 2019-06-13 14:19:24 +02:00
tamasmeszaros
d4fe7b5a96 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
96380180f4 Build system tweaks to get rid of cmake and boost warnings. 2019-05-30 17:48:32 +02:00
tamasmeszaros
2baa651f1e Fixing the broken rasterizer.
Paths and holes cannot be added separately.
2019-04-01 12:15:47 +02:00
tamasmeszaros
4eb5d91a8f Parallel loop for the statistics 2019-04-01 11:37:26 +02:00
tamasmeszaros
50c351e0f4 Fix broken arrange 2019-03-28 11:01:41 +01:00
tamasmeszaros
440e54181b Output raster seem ok, stats broken. 2019-03-27 18:37:50 +01:00
tamasmeszaros
1778c51af1 Fixed seed for the genetic optimizer for support generation 2019-03-12 15:21:55 +01:00
tamasmeszaros
01091152be Optimization for bad head angles. 2019-02-15 16:55:15 +01:00
bubnikv
48d64b0842 Fixed compilation on Visual Studio in Debug mode. 2019-01-26 14:12:57 +01:00
tamasmeszaros
6819c506d8 Fixing items partially outside the bed when auto-placing new items. 2019-01-23 16:35:21 +01:00
tamasmeszaros
22ffb93ee5 import Libnest2D msvc build fix 2019-01-23 14:07:54 +01:00
tamasmeszaros
4e8c570d52 Polishing autoplacement feature for testing 2019-01-23 13:13:12 +01:00
tamasmeszaros
4628ba5767 Initial version of smart auto placement intended to replace autocenter. 2019-01-22 17:50:33 +01:00
tamasmeszaros
a5b846f7fc Improved edge normal detection. Also removed some warnings. 2018-12-20 12:08:06 +01:00
tamasmeszaros
2be23c8b14 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