Commit Graph
100 Commits
Author SHA1 Message Date
tamasmeszaros a695dec51a Merge branch 'master' into tm_arrange_selection 2019-07-17 17:25:31 +02:00
tamasmeszaros c82fb9c84f libnest2d: Remove old preload method from selector interface 2019-07-17 17:19:42 +02:00
tamasmeszaros aff1863aed Really fix build for msvc 2019-07-17 16:47:09 +02:00
tamasmeszaros c74e6513d9 Fix for msvc build. 2019-07-17 14:34:28 +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 5446167c11 Fixes for arranging wipe tower 2019-07-15 18:18:34 +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 a37ca1c26a Merge branch 'tm_builtin_pad' 2019-07-09 14:00:24 +02:00
tamasmeszaros af89bcee53 Merge branch 'master' into tm_builtin_pad 2019-07-09 13:21:26 +02:00
tamasmeszaros 18fcb64681 Fixing broken SLA slicing: SPE-984 2019-07-09 13:12:55 +02:00
tamasmeszaros 386a42b4c5 Disable dep_libigl in deps. Include dir collisions... 2019-07-09 10:15:40 +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 ba82cbe007 Fix broken partial arrange 2019-07-02 10:32:01 +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 f0ac54ba32 Merge branch 'master' into tm_builtin_pad 2019-06-28 16:51:55 +02:00
tamasmeszaros 548f19462a Fix formatting 2019-06-28 15:42:59 +02:00
tamasmeszaros 4c69a855a1 Merge branch 'master' into tm_builtin_pad 2019-06-28 15:29:26 +02:00
tamasmeszaros 19e6bf58dd WIP on structuring arrange inputs 2019-06-27 21:13:44 +02:00
tamasmeszaros 96f6fd2d9f Merge branch 'master' into tm_arrange_selection 2019-06-27 09:33:32 +02:00
tamasmeszaros ec28e55ff0 Get rid of the test.cpp warning 2019-06-26 18:03:37 +02:00
tamasmeszaros e1d612d05f work in progress on new ModelArrange interface 2019-06-26 17:09:26 +02:00
tamasmeszaros 74b420d608 Remove option for igl static build due to Eigen version mismatch . 2019-06-26 17:06:41 +02:00
tamasmeszaros dd108f4513 Hotfix for inconsistent slice index 2019-06-26 14:59:39 +02:00
tamasmeszaros 7e52edb88c Try to supress warnings from bundled IGL under Windows. 2019-06-26 13:23:08 +02:00
tamasmeszaros f4ed0d8137 Working on arrange selection only feature.
revert changes related to scale/unscale
2019-06-26 12:24:30 +02:00
tamasmeszaros f93e7496f7 Merge branch 'tm_scales' 2019-06-26 11:33:42 +02:00
tamasmeszaros 6ff434aba3 Fixes some ModelArrange warnings 2019-06-26 11:10:41 +02:00
tamasmeszaros 14b32c4f16 Make an order in using scale and unscale, remove some warnings. 2019-06-26 10:34:27 +02:00
tamasmeszaros 75ed542686 Reformatted MTUtils with some refined directives.
Only whitespace changes in MTUtils.hpp !
2019-06-24 13:03:46 +02:00
tamasmeszaros 121b6c078b Print bed not considered as object in arrange anymore. 2019-06-24 13:01:52 +02:00
tamasmeszaros 3b0e0aaed4 Fixes for degenerate cases. 2019-06-20 13:01:48 +02:00
tamasmeszaros 9c0554a33b Merge branch 'tm_igl_into_deps' 2019-06-20 13:00:22 +02:00
tamasmeszaros b8f9d2e2d8 Update default igl dependency to header-only. 2019-06-20 12:54:43 +02:00
tamasmeszaros bb58d0fb69 Add some missing methods into the igl patch.
Also, make the static igl dep build the default.
2019-06-20 14:15:36 +02:00
tamasmeszaros c82fd692c3 Merge branch 'master' into tm_builtin_pad 2019-06-20 10:04:17 +02:00
tamasmeszaros 8ffd79cdd8 Fix for debug build on Visual Studio 2019-06-19 16:23:53 +02:00
tamasmeszaros 2ae2672ee9 Building igl statically and moving to the dep scripts
Fixing dep build script on Windows and removing some warnings.

Use bundled igl by default.

Not building with the dependency scripts if not explicitly stated. This way, it will stay in
Fix the libigl patch to include C source files in header only mode.
2019-06-19 14:52:55 +02:00
tamasmeszaros 89e39e3895 Eliminate magic constant 2019-06-19 13:19:11 +02:00
tamasmeszaros 1e7b5c5a81 Merge branch 'tm_rotcalipers' 2019-06-19 13:11:18 +02:00
tamasmeszaros 670a563226 Fix for issue #2536 2019-06-19 12:04:11 +02:00
tamasmeszaros 4a71c42f9b Merge branch 'master' into tm_rotcalipers 2019-06-19 11:07:21 +02:00
tamasmeszaros 78610de473 Fix build on vs2013
Fix 2 for vs2013
2019-06-19 10:18:51 +02:00
tamasmeszaros 967dba2b90 Merge branch 'tm_sla_printer_mirror' 2019-06-18 17:58:23 +02:00
tamasmeszaros 2d1f13620c Merge branch 'tm_ui_jobs' 2019-06-18 17:55:56 +02:00
tamasmeszaros b4ef812d32 Merge branch 'master' into tm_sla_printer_mirror 2019-06-18 17:42:10 +02:00
tamasmeszaros 18bbf493c1 Merge branch 'master' into tm_ui_jobs 2019-06-18 16:26:56 +02:00
tamasmeszaros 468516aa31 Apply fixes for the ui jobs.
- Localization
- Mutual exclusion (ExclusiveJobGroup), only one UI job can run at a time, and background processing is stopped
- m_range not used for finalization anymore
- stop_jobs called before Window is closed
2019-06-18 16:24:30 +02:00
tamasmeszaros d60ecb3788 Merge remote-tracking branch 'origin/master' into tm_ui_jobs 2019-06-18 12:16:24 +02:00
tamasmeszaros d7684188f9 Removing unused pad parts working 2019-06-18 11:28:52 +02:00
tamasmeszaros 778b2cf293 WIP on removing unused parts of pad 2019-06-17 18:06:52 +02:00
tamasmeszaros 90a854f704 Fix levitation when supports are disabled. 2019-06-17 13:02:49 +02:00
tamasmeszaros 80fddb7aaf Merge branch 'master' into tm_builtin_pad 2019-06-17 12:17:01 +02:00
tamasmeszaros ce22251707 Warning hunt session followup 2019-06-17 10:05:46 +02:00
tamasmeszaros c5037540e9 Warning hunt session. 2019-06-14 18:17:17 +02:00
tamasmeszaros 821ca0e36a Build fix when boost is not in prefix/boost 2019-06-13 14:19:24 +02:00
tamasmeszaros e4cb75edde Fix build on Mac 2019-06-12 17:33:04 +02:00
tamasmeszaros d1ed3d40c1 Fix build on windows.
This issue is annoying.
2019-06-12 17:23:12 +02:00
tamasmeszaros 4ffe3278be Hotfix for pad shape deduction. 2019-06-12 17:09:40 +02:00
tamasmeszaros 10897524df Fixes for gap detection and case with no pad, but zero elevation. 2019-06-12 15:29:24 +02:00
tamasmeszaros 12396c3051 Fine tuning parameters and fixing pad wings when greater gaps are used. 2019-06-12 13:15:42 +02:00
tamasmeszaros c80aae1bdb Fixes for the parameter layer
- Elevation value satisfied with no supports as well
- Removed debug svg writing
- Gap and sticks made optional in zero elevation pad.
2019-06-11 18:19:58 +02:00
tamasmeszaros 6877c075dc SPE-742: Parameter layer for zero elevation feature. 2019-06-11 18:17:20 +02:00
tamasmeszaros b7e3ee0709 Refactor, fix wall normals and gap detection. 2019-06-11 16:17:51 +02:00
tamasmeszaros ddd0a9abb6 SPE-742: Builtin pad feature in zero elevation mode. 2019-06-11 12:40:07 +02:00
tamasmeszaros ee2b6abd61 Exclude qhull from default dependency targets, make it optional. 2019-06-06 16:50:51 +02:00
tamasmeszaros 113c6b2eba Fix static linking to Qhull 2019-06-06 16:24:00 +02:00
tamasmeszaros 5d054d90ed Update patch for qhull to compile on Windows. 2019-06-06 16:11:52 +02:00
tamasmeszaros d809b4894a Small addition to qhull dep handling. 2019-06-06 14:27:19 +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 c55b4ff586 Small addition to qhull dep handling. 2019-06-06 12:57:05 +02:00
tamasmeszaros 6136fe7d92 Future-proof qhull dependency handling 2019-06-05 19:19:49 +02:00
tamasmeszaros 12797f2aa8 Re-adding missing file 2019-06-05 15:50:27 +02:00
tamasmeszaros 97cbb5344e Merge branch 'master' into tm_sla_printer_mirror 2019-06-05 15:10:02 +02:00
tamasmeszaros 7a5d3de1c4 Move cstdint to Zipper header.
The declarations already contain specific integers.
2019-06-04 09:26:33 +02:00
tamasmeszaros 8376d14267 Fix for opening issues with archive files. 2019-06-03 15:27:46 +02:00
tamasmeszaros 460887cdde Adjust miniz usage to use nowide FILE streams everywhere. 2019-06-02 22:27:35 +02:00
tamasmeszaros 15620a2fc2 Fix unclosed file after export. 2019-06-02 20:02:27 +02:00
tamasmeszaros 916016f2d4 Use nowide fopen in Zipper instead of patching miniz. 2019-06-02 19:10:13 +02:00
tamasmeszaros f275cdafa9 Revert "Patch miniz bundled version to support unicode on Windows."
This reverts commit 8fc1eba652.
2019-06-02 19:06:29 +02:00
tamasmeszaros 34663a3514 Merge branch 'tm_minz_update' 2019-05-31 18:34:59 +02:00
tamasmeszaros 8fc1eba652 Patch miniz bundled version to support unicode on Windows. 2019-05-31 16:54:42 +02:00
tamasmeszaros d5d6af1361 Using system miniz in Linuxes.
Also enabling miniz large file support on gnu compilers.
2019-05-31 12:33:35 +02:00
tamasmeszaros 96380180f4 Build system tweaks to get rid of cmake and boost warnings. 2019-05-30 17:48:32 +02:00
tamasmeszaros 9c46eed742 Don't wrap braces after control statements. 2019-05-28 15:29:06 +02:00
tamasmeszaros cdf85a9058 Allow all types of functions on one line.
Which would fit into the 75 char line limit.
2019-05-28 15:18:11 +02:00
tamasmeszaros e78658ddc2 Code style for clang-format tool.
I tried to make it respect our code style as much as possible.
2019-05-28 15:09:01 +02:00
tamasmeszaros 025a889f88 Update miniz cmake 2019-05-27 14:46:04 +02:00
tamasmeszaros 902bf682c0 Replacing old miniz version with new 2.1.0
#2333: The amalgamated library is used from the 'releases' section of the original upstream https://github.com/richgel999/miniz
2019-05-23 11:52:31 +02:00
tamasmeszaros 5afd0b4ee2 Fixing issues with mode switching on Linux. 2019-05-21 14:06:43 +02:00
tamasmeszaros dd57e55244 Adding dependency report into doc 2019-05-21 10:55:42 +02:00