Commit Graph
100 Commits
Author SHA1 Message Date
tamasmeszaros 19e1d877aa Don't use sla::EncodedRaster in SLAImport, revive opencsg sandbox 2020-08-27 23:14:42 +02:00
tamasmeszaros 5052149b81 Fix build on msvc 2020-08-18 13:45:18 +02:00
tamasmeszaros 4ef52af906 Add dedicated tests for support point generation 2020-08-18 11:41:14 +02:00
tamasmeszaros add3894e8c Add reserve_vector to libslic3r.h to be globally usable. 2020-08-13 15:42:31 +02:00
tamasmeszaros 7158690ddd Fix build on win and rpi 2020-08-13 15:09:22 +02:00
tamasmeszaros 399c5a9c98 Show description for disabled elevation when pad or pad around is off
Follow-up fix for 830d89
2020-08-13 14:54:13 +02:00
tamasmeszaros 1003c32f76 Merge branch 'tm_minor_refactor' 2020-08-13 14:36:47 +02:00
tamasmeszaros 929cea59f3 replace ccr_::enumerate with flexible for_each
enumerate is unusual and would only work effectively with random access iterators

this for_each takes advantage of tbb blocked_range
replace ccr_::enumerate with flexible for_each

enumerate is unusual and would only work effectively with random access iterators

this for_each takes advantage of tbb blocked_range
2020-08-13 14:35:14 +02:00
tamasmeszaros 9486901b93 Minor change to SLAPrinter interface 2020-08-13 14:35:14 +02:00
tamasmeszaros 171acf094c Change license of libnest2d to LGPLv3 2020-08-05 16:34:01 +02:00
tamasmeszaros e79382c3f6 Merge branch 'tm_mini_supports' 2020-08-03 19:07:46 +02:00
tamasmeszaros 0614d6d4a8 Remove leftover junk comments 2020-08-03 19:07:30 +02:00
tamasmeszaros f3c0bf46d4 finish optimizer interface and remove commented code 2020-08-03 19:06:57 +02:00
tamasmeszaros 927b81ea97 Working small-to-normal support merging
Fixed fatal bug with anchors for mini supports

Make the optimization cleaner in support generatior

Much better widening behaviour

Add an optimizer interface and the NLopt implementation into libslic3r

New optimizer based only on nlopt C interfase
Fix build and tests
2020-08-03 19:05:30 +02:00
tamasmeszaros 8cb115a035 Add possible manipulation of small support diameter. 2020-08-03 19:05:30 +02:00
tamasmeszaros 7c655b5d7e Fix junction made below ground level. 2020-08-03 19:05:30 +02:00
tamasmeszaros a68564e2d0 Include test name with output obj files for sla_print_tests 2020-08-03 19:05:30 +02:00
tamasmeszaros 1eec6c473c Rename EigenMesh3D to IndexedMesh and SupportConfig to SupportTreeConfig 2020-08-03 19:05:30 +02:00
tamasmeszaros 645fbed88b Make compile time support tree conf params constexpr 2020-08-03 19:05:30 +02:00
tamasmeszaros f19b3a2344 Id-s put in a base class for support tree primitives 2020-08-03 19:05:30 +02:00
tamasmeszaros 301a168b89 Fix bugs and non working tests
Fix failing tests


Try to fix build on windows


Try to fix failng tests on Mac
2020-08-03 19:05:30 +02:00
tamasmeszaros 184f64f828 Separate support tree routing and meshing, remove Common.hpp/.cpp .
* Remove Common.hpp and Common.cpp, move things into their respective modules in sla.
2020-08-03 19:05:30 +02:00
tamasmeszaros 2ff04e6f68 Bugfixes for support generator
* Fix support heads floating in air
* Fix failing tests for the bridge mesh intersection
* Fix failing assertions
WIP refactoring support tree gen, as its a mess.
2020-08-03 19:05:30 +02:00
tamasmeszaros ed460a3e7e Remove the headless step of support support tree gen 2020-08-03 19:05:30 +02:00
tamasmeszaros 7b6565abeb Improvements on mini pillars 2020-08-03 19:05:30 +02:00
tamasmeszaros 67b61c23f7 Remove the discard region for bottom points removal.
This was a workaround for small supports not to end up in the middle of the gap between the pad and the object. The issue needs to be solved at the support generation.
2020-08-03 19:05:30 +02:00
tamasmeszaros 0622322146 Create smaller supports in problematic areas with established strategies
Completely remove the concept of CompactBridge.

Replace it with Heads having the same back radius as front radius. 

Try to apply the same rules for mini supports as in the route_to_model step.

Increased accuracy of bridge_mesh_intersect shot from support points


Refining mini support integration
2020-08-03 19:05:30 +02:00
tamasmeszaros 38239f09e3 Fix remove_bottom_points function 2020-08-03 19:03:02 +02:00
tamasmeszaros ec687465fd Merge pull request #4424 from bgiot/fix_macos_png_issue
Fix macos build: Use the correct LIBPNG
2020-07-13 10:44:05 +02:00
tamasmeszaros f53289ae2d Fix support and hole point reprojection after reload and netfabb 2020-06-10 14:16:11 +02:00
tamasmeszaros 10c59b0d00 Fix the tests after EigenMesh3D refactor 2020-06-02 17:15:08 +02:00
tamasmeszaros 4be0e37963 Workaround for items out of bed after arrange.
Fixes #4329
2020-06-01 16:16:30 +02:00
tamasmeszaros ad1c6c29f4 Merge branch 'tm_cmake_pch' 2020-05-14 14:27:42 +02:00
tamasmeszaros 2c3ec346ce Exclude *.m and *.mm Objective-C sources from including pch 2020-05-14 13:40:36 +02:00
tamasmeszaros 63c82ed8c6 Modify PCH script to use builtin cmake function if possible. 2020-05-14 10:50:39 +02:00
tamasmeszaros 2d3a218a07 Change pch to new CMake functions 2020-05-14 10:50:39 +02:00
tamasmeszaros 3cb967327e Merge branch 'tm_reproject_points' 2020-05-13 18:29:06 +02:00
tamasmeszaros f91c27b2ff Do reprojection also after netfabb repair 2020-05-13 14:53:20 +02:00
tamasmeszaros f7a43f9757 Reproject support and hole points after a reload from disk op. 2020-05-13 14:53:20 +02:00
tamasmeszaros 4fe99c7569 Fix missing support mini sticks 2020-05-11 14:07:21 +02:00
tamasmeszaros 8969613a5a Fix cmake error on unixes 2020-05-07 12:46:37 +02:00
tamasmeszaros 4cef33c50f Fix openvdb not being found in win when only release build is present 2020-05-07 10:49:05 +02:00
tamasmeszaros 1238b40f14 Link errors in debug build affect windows as well 2020-05-07 09:42:48 +02:00
tamasmeszaros 55e4b48642 deps: fix ZLIB being built after its needed 2020-05-07 09:42:11 +02:00
tamasmeszaros 74e8e55fbc Hotfix for debug builds with new wxWidgets in deps 2020-05-07 07:38:40 +02:00
tamasmeszaros e21ce95524 Merge branch 'tm_disable_wxasserts' 2020-05-04 16:17:29 +02:00
tamasmeszaros ddeac631c4 Merge branch 'tm_fix_fonts_on_win' 2020-05-04 16:15:47 +02:00
tamasmeszaros 568448fa7d Fix font size on windows with wx3.1.3 2020-05-04 15:00:17 +02:00
tamasmeszaros e5c5ee6636 deps: disable wxWidgets library internal asserts 2020-04-30 14:33:23 +02:00
tamasmeszaros b91c3d26e3 Fix build on OSX with new wxWidgets in deps 2020-04-29 12:32:00 +02:00
tamasmeszaros 9cb5975956 bring back required switch for opengl with dep_GLEW 2020-04-29 09:44:46 +02:00
tamasmeszaros 2a8c485b32 suppress unnecessary test output in release mode 2020-04-28 21:11:54 +02:00
tamasmeszaros 6f7fa4bc09 Fix librt linking for wxWidgets 2020-04-28 21:01:09 +02:00
tamasmeszaros f3c154a88a Merge branch 'tm_fix_master' 2020-04-28 20:46:21 +02:00
tamasmeszaros 98f0cc0dec Follow up, make png non required for now 2020-04-28 20:43:46 +02:00
tamasmeszaros 985225cd38 Try to fix build with old wxwidgets builtin png and expat 2020-04-28 20:39:47 +02:00
tamasmeszaros db49a4516e Merge branch 'tm_deps_wxcmake'
EXPAT had to be moved to deps due to build errors with wxexpat.
2020-04-28 17:47:58 +02:00
tamasmeszaros 572b5ba8bb Add PNG and wxWidgets 3.1.3 uniformly to all platforms with cmake build.
wx is built with png as a dependency, wxpng is disabled.
2020-04-28 15:01:56 +02:00
tamasmeszaros 9fdc54bfff Fix app crash on startup under Linux/GTK3/Wayland config 2020-04-27 13:02:16 +02:00
tamasmeszaros 4f622e4541 Merge branch 'tm_sl1_import_2' 2020-04-24 08:27:49 +02:00
tamasmeszaros 9ad2216f02 Merge branch 'tm_cert_store' 2020-04-24 08:27:22 +02:00
tamasmeszaros 83929c2984 Add ui job for SLA import 2020-04-23 19:45:55 +02:00
tamasmeszaros 217477a9ff SLA archive import with miniz, marching square bugfixes
Fix compilation on Windows


Fix array subscript out of range error in MarchingSquares


Fix normals of mesh constructed from slices


Improve performance of mesh construction from slices
2020-04-23 19:12:07 +02:00
tamasmeszaros 247fca6d55 Initial version of sl1 import with sla::Raster refactor. 2020-04-23 19:05:32 +02:00
tamasmeszaros 6eb51a1cca Move ui jobs into separate folder 2020-04-23 18:56:09 +02:00
tamasmeszaros 728d90cb33 Separate jobs from Plater, re-add big bed workaround 2020-04-23 18:47:51 +02:00
tamasmeszaros 1bffc2b99b Add ModelArrange.hpp as extension to Model.hpp, use it for duplicating
Refactored Arrange interface: remove the union based BedShapeHint, replace it with proper function overloads

WARN: this commit is only intermediate, it does not compile.
2020-04-23 18:19:03 +02:00
tamasmeszaros 44ca0a6c3d Add universal method to get bed shape from Config objects 2020-04-23 18:18:23 +02:00
tamasmeszaros 69c02a407b Add libnest tests for various basic object functions 2020-04-23 18:17:58 +02:00
tamasmeszaros 8c04536514 Integrate scaling and unscaling into Point.hpp 2020-04-23 18:17:50 +02:00
tamasmeszaros 89d376dc35 Add min_object_distance method as free function taking ConfigBase argument 2020-04-23 18:17:37 +02:00
tamasmeszaros 611a243447 Add question box on PrusaSlicer start to accept detected CA store..
Fix compile
2020-04-22 17:14:09 +02:00
tamasmeszaros 4945a0dc0e Follow-up fix for big bed arrangement 2020-04-01 12:34:50 +02:00
tamasmeszaros 70baa0d246 Fix arrange for large beds 2020-03-30 13:26:24 +02:00
tamasmeszaros bf5d52f221 Only do OpenSSL override on Linux 2020-03-25 12:27:10 +01:00
tamasmeszaros d207ea7dc5 Merge branch 'tm_cert_store' 2020-03-25 11:07:06 +01:00
tamasmeszaros 1123689a22 Search for openssl cert store on app init, if the store is not present.
fixes  #3851
2020-03-25 09:41:29 +01:00
tamasmeszaros abdcc88e9a Add explicit flags for GMP and MPFR
Bump up arm version to 7

armv7-a has to be added as march, rpi4 fails to build with plain armv7
fixes #3847
2020-03-18 12:18:07 +01:00
tamasmeszaros e1ecf03e0c Revert "Fix minimum osx version not being specified for GMP and MPFR"
CXXFLAGS overrides default flags for gmp and mpfr
2020-03-17 08:55:51 +01:00
tamasmeszaros 7118d77bea Fix minimum osx version not being specified for GMP and MPFR
put `env` before configure and the variables
addresses issue #3847
2020-03-16 15:15:46 +01:00
tamasmeszaros 5ed7d0aa29 Fix arrangement with items larger or equal to bed dimesions.
fixes #2897 
fixes #1186
2020-03-16 14:37:54 +01:00
tamasmeszaros 29f2394ecb Fix faulty nfp edge cache with argument > 1.0
in reaction to #3781
2020-03-12 10:45:35 +01:00
tamasmeszaros b4f897a114 Merge branch 'tm_arrange_ignore_non_printable'
#3790
2020-03-09 14:09:43 +01:00
tamasmeszaros c489663126 Add arrange support for unprintable items 2020-03-09 14:06:07 +01:00
tamasmeszaros 779f0cd915 Merge branch 'tm_https_test' 2020-03-06 15:20:21 +01:00
tamasmeszaros f4f236e82e Added test for libcurl https handling disabled on build server.
Linux docker image does not expose port 80
2020-03-06 15:18:14 +01:00
tamasmeszaros b6aeffb618 Link libcurl and wxWidgets to libslic3r_gui
Also enhance and remove duplicate CURL search in cmake
2020-03-06 15:16:46 +01:00
tamasmeszaros d88c073a5a Merge branch 'tm_max_bridge_len'
(This merge commit is made to force github issues displaying the commit that fixes issue 3728)
2020-03-02 13:04:25 +01:00
tamasmeszaros 090ce6ca05 Promote max_bridges_on_pillar to be a runtime parameter.
This way the user greater control over support tree branching and the amount of pillars created.

fixes #3728
2020-03-02 13:01:01 +01:00
tamasmeszaros e3a583292a Promote max_bridges_on_pillar to be a runtime parameter.
This way the user greater control over support tree branching and the amount of pillars created.
2020-03-02 12:43:00 +01:00
tamasmeszaros bfd79fc48c Fix English tooltip and label for elefant_foot_min_width 2020-02-19 13:48:10 +01:00
tamasmeszaros fcaa498abd Merge branch 'tm_sla_efc_SPE-1080' 2020-02-18 17:39:56 +01:00
tamasmeszaros 6deb6a776d Do EFC for the first faded layers of SLA, interpolate efc parameters
Compensated slices have negative orientation...


Move efc to common params


Fix elefant foot compensation reversed contours


Remove redundant assertions and don't apply absolute correction if zero
2020-02-18 17:39:36 +01:00
tamasmeszaros bbdd25d062 Fix perl tests when called via CTest 2020-02-18 15:47:34 +01:00
tamasmeszaros 726f645f84 Fix default hard coded parameters for SLA
fixes #3650
2020-02-18 15:39:30 +01:00
tamasmeszaros 41d77b492c Added new parameter elefant_foot_min_width 2020-02-14 09:21:00 +01:00
tamasmeszaros 96d5c8c35d Add elephant foot compensation to SLA print
Work in progress


Convert efc input to the right scaling


Apply EFC on the slice index to make it visible in the preview.
2020-02-14 09:21:00 +01:00
tamasmeszaros 1cdde90971 Add tooltip and rename labels of hollowing params 2020-02-13 14:58:17 +01:00
tamasmeszaros c4c2cf4ead Merge remote-tracking branch 'origin/tm_fix_commandline' 2020-02-13 12:53:31 +01:00
tamasmeszaros 25e303493e Revert c55173eb as it breaks features.
Output file name is not picked up in the SLA export file dialog.
2020-02-12 18:25:18 +01:00