Commit Graph
100 Commits
Author SHA1 Message Date
tamasmeszaros 7e52edb88c Try to supress warnings from bundled IGL under Windows. 2019-06-26 13:23:08 +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 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 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 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 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
tamasmeszaros 9dc6699229 Eliminate some warnings 2019-05-20 12:29:14 +02:00
tamasmeszaros 4e2ef09a50 Fixing build on Win and OSX 2019-05-20 11:34:48 +02:00
tamasmeszaros 38d54d779a Mirror checkboxes added to the UI.
Everything seems to work fine.
2019-05-18 23:21:59 +02:00
tamasmeszaros bb73b59aa6 Mirroring refactored. 2019-05-18 22:45:24 +02:00
Unknown baab5e49f1 Mirroring parameters prepared for UI.
Actual mirroring disabled, it will be refactored to maintain clarity of code.
2019-05-18 16:56:46 +02:00
tamasmeszaros 170789a787 Some comments and avoid race condition with background process. 2019-05-14 10:34:11 +02:00
tamasmeszaros 696ade15ca New way of starting arrange and rotation optimization.
To prevent segfaults when exiting while processing is running.
2019-05-13 18:58:56 +02:00
tamasmeszaros 52d042a1c9 Prevent segfaults from callbacks when statusbar elements are deallocated
happens on application exit when a job (arrange or optimize orientation) is running.
2019-05-13 10:20:37 +02:00
tamasmeszaros c03a202e20 Prevent degenerate triangles in pad. 2019-05-07 13:06:15 +02:00
tamasmeszaros 806dc34421 removing some commented out garbage 2019-05-07 09:56:53 +02:00
tamasmeszaros 1634cd1a3c Fix asan crash on statistics step 2019-05-06 16:57:46 +02:00
tamasmeszaros a7d57de6f3 Fix for possible clash with old correction vectors in config 2019-04-29 17:07:55 +02:00
tamasmeszaros bfcd9f3c29 Fix for unregistered scaling correction values. 2019-04-29 16:53:16 +02:00
tamasmeszaros cd9a77fed6 Remove back offset from the print statistic calculation. 2019-04-29 16:42:22 +02:00
tamasmeszaros 3eecf54d9c Fixing large memory reservation in the SLA model slicing step. 2019-04-26 11:33:33 +02:00
tamasmeszaros afbe0d9e60 Further optimizations for SLA memory usage. 2019-04-25 18:48:31 +02:00
tamasmeszaros bbdc6a7881 Fix for incomplete validation condition on the allowable elevation. 2019-04-17 10:08:54 +02:00
tamasmeszaros a55022ae2f Fix for issue SPE-901 2019-04-12 10:26:33 +02:00
tamasmeszaros 59758fea55 Material correction XY merged 2019-04-11 17:07:41 +02:00
tamasmeszaros 53861b2012 Removing separate X and Y relative correction. 2019-04-09 18:15:25 +02:00
tamasmeszaros 3ffd43b2ce Support for thresholding with Zero gamma.
Also made a few optimizations in rasterizer.
2019-04-09 14:52:29 +02:00
tamasmeszaros c702ddc65d Adding absolute correction (XY offset) and gamma correction parameters. 2019-04-09 13:42:32 +02:00
tamasmeszaros 2487bb8794 Remove unnecessary reversals of print polygons.
second take...
2019-04-05 17:04:55 +02:00
tamasmeszaros 08b9d9a519 fix for hole disappearance 2019-04-05 16:24:23 +02:00
tamasmeszaros b56991d780 Fix for leaving the object outside bed after "optimize orientation" 2019-04-04 16:03:23 +02:00
tamasmeszaros 590ae25b13 Altering sla export interface to support explicit project name. 2019-04-04 12:30:11 +02:00
tamasmeszaros f0d106e5f0 Added method for relative correction retrieval. 2019-04-04 10:52:14 +02:00
tamasmeszaros ecdd4b6e7a Suggestion for Z offset correction 2019-04-03 18:23:29 +02:00
tamasmeszaros c6b5fe05e4 Scaling correction parameters in material and print conf.
Scaling is applied in sla_trafo but no effect unless set before model import.
2019-04-03 17:34:46 +02:00
tamasmeszaros f7ce59d070 Merge branch 'tm_clipperutils_update' 2019-04-03 11:17:44 +02:00
tamasmeszaros 1534356268 Call Line conversion operator explicitly. 2019-04-03 11:17:15 +02:00
tamasmeszaros 32af3ff3c0 Remove unnecessary reversals of print polygons. 2019-04-03 10:29:27 +02:00
tamasmeszaros 7b414fe34a Get rid of unnecessary copies and moves in ClipperUtils
This is up to a code review session.
2019-04-03 10:17:57 +02:00
tamasmeszaros 66fce6d46c Add mirror correction to rasterized polygons. 2019-04-02 17:48:50 +02:00
tamasmeszaros 6a74564900 More accurate status proportions for SLA steps. 2019-04-02 11:19:52 +02:00
tamasmeszaros a3dcb6863e Rethought sla status indication. 2019-04-02 10:54:14 +02:00
tamasmeszaros b8289c32b0 Fix for broken SLA status indication. 2019-04-01 16:10:15 +02:00
tamasmeszaros 32a49d1468 Fixing negative status values in console output 2019-04-01 13:59:39 +02:00
tamasmeszaros 50942e9382 Merge branch 'tm_reuse_unified' 2019-04-01 12:24:50 +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 6593421802 fix for statistics 2019-03-29 17:20:19 +01:00
tamasmeszaros 725f115756 Merging with master for having minz png compression.
Much greater performance boost from better compression algorithm than that from the merged polygons.
2019-03-29 15:21:46 +01:00
tamasmeszaros b19d411738 It seems that stats are not broken after all. 2019-03-29 13:34:22 +01:00
tamasmeszaros 98c976dd9f Merge branch 'tm_sla_png_minz' 2019-03-28 17:56:50 +01:00
tamasmeszaros 1e47cc9004 Improving Zipper API error handling. 2019-03-28 17:21:19 +01: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 c332dc1c1d Fixing horrendous error in destructor. 2019-03-27 13:22:04 +01:00