Commit Graph
100 Commits
Author SHA1 Message Date
tamasmeszaros 6b0af43665 Use mesh boolean in the backend to drill holes. 2020-01-24 10:53:40 +01:00
tamasmeszaros ef30270048 Merge branch 'lm_tm_hollowing' 2020-01-24 09:51:39 +01:00
tamasmeszaros b45e95877e Merge branch 'master' into lm_tm_hollowing 2020-01-23 17:43:18 +01:00
tamasmeszaros cb39f6b212 Use CheckAtomic differently 2020-01-23 17:20:02 +01:00
tamasmeszaros 81b7f437da update openvdb build patch to solve latomic 2020-01-23 16:29:08 +01:00
tamasmeszaros fde0803a89 Upgrade GMP version (link errors similar to RPI) 2020-01-23 13:45:20 +01:00
tamasmeszaros 75260eea12 Fix latomic linking on Mac
SPE-1079
2020-01-23 13:18:44 +01:00
tamasmeszaros 0d906cd3ab Merge branch 'tm_mesh_simplify' into lm_tm_hollowing 2020-01-23 10:58:39 +01:00
tamasmeszaros f8a5796ca5 add mesh simplification.
SPE-1072 
Working but flipped normals with the interior.
Testing on treefrog passed
Oversampling for hollowed mesh should not be less than 3x
Flip back normals after simplify and remove redundant test code.
2020-01-23 10:58:18 +01:00
tamasmeszaros 858e936e52 Fix incorrect filename case in test_3mf 2020-01-21 11:10:34 +01:00
tamasmeszaros 053818d028 Fix MPFR being built as shared library 2020-01-21 10:12:45 +01:00
tamasmeszaros 87f2578ee7 Try to fix libatomic linkage on raspbian
SPE-1073
2020-01-20 12:50:48 +01:00
tamasmeszaros 6cfad6848f Fix incorrect filename case in test_3mf 2020-01-20 11:20:18 +01:00
tamasmeszaros ce34ae4716 Try to fix libatomic linkage on raspbian 2020-01-20 10:38:40 +01:00
tamasmeszaros 49678fe418 Fix FindOpenVDB on Linux 2020-01-17 12:51:01 +01:00
tamasmeszaros 70ecb634b7 fix gui artifacts on Windows 2020-01-16 15:38:59 +01:00
tamasmeszaros ea6844c31d Follow up for Windows build fixes 2020-01-16 15:19:46 +01:00
tamasmeszaros a1dc7a5c41 Fix build issues on Windows 2020-01-16 14:25:01 +01:00
tamasmeszaros fada7224f1 MeshBooleans with CGAL only 2020-01-16 14:31:31 +01:00
tamasmeszaros e6bdec4aa5 Remove wrapper around std::mt19937 2020-01-15 17:44:15 +01:00
tamasmeszaros 402ae12db2 Fix algorithm switching 2020-01-15 12:54:30 +01:00
tamasmeszaros 3ab246df6b Remove completely redundant code 2020-01-15 12:45:01 +01:00
tamasmeszaros a36c7c76cc Fix scene not being centered 2020-01-15 10:39:07 +01:00
tamasmeszaros 929e467df9 Merge branch 'tm_hollowing' into lm_tm_hollowing 2020-01-14 10:50:15 +01:00
tamasmeszaros e6244f7bdb Eliminate use of uninitialized variable. 2020-01-14 10:48:22 +01:00
tamasmeszaros ce49f0a294 Test sla support point generation determinism with seed parameter 2020-01-14 10:48:22 +01:00
tamasmeszaros 8af6890cab Remove test restriction for on-model supports pierce test 2020-01-14 10:48:22 +01:00
tamasmeszaros 256249fdaf Make sla support pierce tests repeatable 2020-01-14 10:48:22 +01:00
tamasmeszaros 6205524d75 Make support point generator deterministic. 2020-01-14 10:48:22 +01:00
tamasmeszaros 90fbbf401f Refactor model facing support generation.
Fix for touching junction when adding aux pillars.


Fix issue with overly long support bridges.
2020-01-14 10:48:22 +01:00
tamasmeszaros 45220e26c0 Fix zero elevation support maneuvers and comment to clarify the alg. 2020-01-14 10:48:22 +01:00
tamasmeszaros c0b90f68ab force creating static library for libnest2d 2020-01-09 17:12:40 +01:00
tamasmeszaros 7ac0e0a8c9 more raycaster tests, without repeating the hollowing every time 2020-01-09 16:57:11 +01:00
tamasmeszaros ee11e05cd6 Merge branch 'tm_bug_SPE-1067' 2020-01-09 14:22:30 +01:00
tamasmeszaros 7fd4800e7c Fix wrong bounding box calculation for initial arrange item. 2020-01-09 14:21:01 +01:00
tamasmeszaros 91ce19661b Merge branch 'tm_opencsg' into lm_tm_hollowing 2020-01-09 11:23:21 +01:00
tamasmeszaros e159344ce5 further fixes for X window crashes. 2020-01-09 11:22:24 +01:00
tamasmeszaros 578fcbc37c Performance improvements in raycaster 2020-01-08 17:12:06 +01:00
tamasmeszaros bb62f36df3 Add tests for EigenMesh3D raycaster with hole support.
Tests fail! Supports are intersecting the object when holes are added.
2020-01-08 17:11:22 +01:00
tamasmeszaros a3a99d7a07 Do not translate the normal of drainhole points. 2020-01-08 10:49:54 +01:00
tamasmeszaros f874b61881 Transform the position AND the normals of drainhole points 2020-01-08 10:10:24 +01:00
tamasmeszaros 7d55df052f repaint causes crash on linux 2020-01-08 09:39:48 +01:00
tamasmeszaros 6b482be74e Merge branch 'tm_opencsg' into lm_tm_hollowing 2020-01-08 08:58:21 +01:00
tamasmeszaros 451f04b590 Fix linux assertion 2019-12-20 20:18:23 +01:00
tamasmeszaros 3a185d7f57 fix windows widgets while playback 2019-12-20 19:57:34 +01:00
tamasmeszaros 083b557ec2 Display switching 2019-12-20 18:30:24 +01:00
tamasmeszaros 93d0bbd7ef Add boilerplate for shader based csg 2019-12-20 12:25:44 +01:00
tamasmeszaros 4f97a7122f Fix closing while playback 2019-12-20 01:21:25 +01:00
tamasmeszaros 4e5310d72f Merge branch 'tm_opencsg' into origin/lm_tm_hollowing 2019-12-19 16:11:04 +01:00
tamasmeszaros d3925abb13 Add some comments. 2019-12-19 16:10:34 +01:00
tamasmeszaros 9363344a6f Merge branch 'tm_opencsg' into lm_tm_hollowing 2019-12-19 15:27:55 +01:00
tamasmeszaros bb8a6b898f Save and load window size. Add fps average output. 2019-12-19 15:26:04 +01:00
tamasmeszaros 8126cdd507 Add command line options. Rename GLScene to Engine 2019-12-19 14:51:38 +01:00
tamasmeszaros 71ff0f9cae Merge branch 'tm_fix_pad' 2019-12-19 12:04:58 +01:00
tamasmeszaros 42ffc4e3c5 Fix polytree traversal.
Put back old traverse_pt and union_pt_chained
2019-12-19 11:27:19 +01:00
tamasmeszaros 2feb8421e9 Divide pad blueprint before its filtered.
Filtering may remove the outer pad and the division expects an outer part to be present.
2019-12-19 10:59:21 +01:00
tamasmeszaros bf44da0e37 Make it work with mesa sw renderer 2019-12-19 01:55:46 +01:00
tamasmeszaros fafc2a3510 Recording and playback works 2019-12-18 16:24:41 +01:00
tamasmeszaros 8f655242eb Fix for CGAL relocation fix. Wrong libdir was used. 2019-12-18 15:42:53 +01:00
tamasmeszaros 472c4c885d Separate fps counter and remove glut dependency 2019-12-18 12:00:28 +01:00
tamasmeszaros 4220124658 Add mpfr download mirror 2019-12-18 11:58:39 +01:00
tamasmeszaros c97aacd2d8 Officially move to C++17 for the whole PrusaSlicer source tree; 2019-12-18 11:53:28 +01:00
tamasmeszaros acfaff3741 Dont use glut for fps measure. 2019-12-17 18:39:01 +01:00
tamasmeszaros 2222b0cdc9 Grab the release in debug mode if there is no debug when not on msvc 2019-12-17 17:09:27 +01:00
tamasmeszaros e25cd1ce1a Grab the release in debug mode if there is no debug when not on msvc 2019-12-17 17:08:55 +01:00
tamasmeszaros ab1bcad8c7 Only consider openvdb debug if necessary. 2019-12-17 16:56:11 +01:00
tamasmeszaros 4e27faa236 Only consider openvdb debug if necessary. Add REQUIRED to openvdb 2019-12-17 16:53:45 +01:00
tamasmeszaros 9bf09e2874 Fix linking of OpenVDB in debug mode on multi conf generators. 2019-12-17 16:50:00 +01:00
tamasmeszaros 558529146c Fix opencsg example on Win32 2019-12-17 16:28:38 +01:00
tamasmeszaros 17de6ff51a Fix linking of OpenVDB in debug mode on multi conf generators. 2019-12-17 16:26:06 +01:00
tamasmeszaros 39fbb31db2 Merge branch 'tm_opencsg' into lm_tm_hollowing 2019-12-17 13:08:51 +01:00
tamasmeszaros d349f24021 Fix CGAL config script being non-relocatable 2019-12-17 13:06:49 +01:00
tamasmeszaros c3214e9f86 Fix CGAL config script being non-relocatable 2019-12-17 13:05:18 +01:00
tamasmeszaros 20e59cb0c7 Fix missing gmpxx from dep_GMP 2019-12-17 10:54:54 +01:00
tamasmeszaros c81b1fbbbd Fix missing gmpxx from dep_GMP 2019-12-17 10:51:31 +01:00
tamasmeszaros 695950b2e6 further simplification 2019-12-17 10:19:46 +01:00
tamasmeszaros 11b98b2241 Deal with cmake warnings caused by find CGAL 2019-12-17 10:12:37 +01:00
tamasmeszaros bb3b39016f Add ctl and fix applying opencsg params on the fly. 2019-12-16 18:49:44 +01:00
tamasmeszaros d14ff000e0 Merge branch 'tm_opencsg' into lm_tm_hollowing 2019-12-16 15:56:06 +01:00
tamasmeszaros 47ec708c3a Fix event dispatching to handlers 2019-12-16 15:55:49 +01:00
tamasmeszaros 5aaddd82a4 Remove bloat, add some clipping plane functionality. 2019-12-16 15:36:43 +01:00
tamasmeszaros 878f8a8ead Add convexity to csgsettings. Defer all rendering to Display. 2019-12-16 14:04:26 +01:00
tamasmeszaros b1186e339d Added opencsg parameter console 2019-12-16 12:36:44 +01:00
tamasmeszaros 66759e10e3 Add opencsg demo sandbox 2019-12-16 11:13:20 +01:00
tamasmeszaros 9a0a4a5327 Merge branch 'tm_opencsg' into lm_tm_hollowing 2019-12-16 11:09:08 +01:00
tamasmeszaros 464ec8da6a Add MeshBoolean.cpp with CGAL as object library. 2019-12-16 11:08:36 +01:00
tamasmeszaros a9403319b7 Separate Job, ProgressStatusBar and ProgressIndicator
* Separate GUI::Job
* make use of ProgressIndicator interface
* make ProgressStatusbar independent from GUI::App
2019-12-16 11:07:43 +01:00
tamasmeszaros c26705ddad Try to fix deps build on win32 with forwarding CMAKE_GENERATOR_PLATFORM 2019-12-12 13:09:57 +01:00
tamasmeszaros 658858b249 Another small fix for FindGLEW 2019-12-11 14:39:31 +01:00
tamasmeszaros 4a931c037a Fix CGAL target name 2019-12-11 14:23:12 +01:00
tamasmeszaros e2bea1ed17 Merge branch 'tm_opencsg' 2019-12-11 14:04:04 +01:00
tamasmeszaros 4282c57069 Fix zlib on msvc 2019-12-11 14:01:14 +01:00
tamasmeszaros 4a4d8b4e26 Fix zlib dependencies and CMAKE_MODULE_PATH forwarding 2019-12-11 14:01:07 +01:00
tamasmeszaros c91046925a Fix finding static libraries on windows (mingw) 2019-12-11 14:00:55 +01:00
tamasmeszaros 5b67ce5105 Merge branch 'tm_opencsg' 2019-12-11 12:52:03 +01:00
tamasmeszaros 38aa5cb437 Finding GLEW work in release and debug.
Make building in release and debug in one cmake run on msvc with the prusaslicer_add_cmake_project function.
2019-12-11 12:32:29 +01:00
tamasmeszaros d7ac8f2774 Merge branch 'tm_cgal' 2019-12-10 17:45:36 +01:00
tamasmeszaros fc19666fa2 Add dll copy after targets for gmp and mpfr 2019-12-10 17:42:25 +01:00
tamasmeszaros 1cf057abbc Add dlls into bin rather than lib 2019-12-10 15:49:52 +01:00
tamasmeszaros c8a088e652 Fix CGAL import with shared boost 2019-12-10 15:10:39 +01:00