Commit Graph
100 Commits
Author SHA1 Message Date
tamasmeszaros dfbf4cbab2 Fix bed filling with more existing instances than needed 2020-11-26 15:11:54 +01:00
tamasmeszaros 0a932ebfe3 Enable http digest authentication for CURL 2020-11-25 13:58:03 +01:00
tamasmeszaros 5363dcb5bc Fix broken arrange from 2f65bcc83f 2020-11-24 18:46:25 +01:00
tamasmeszaros ec340e0726 Merge branch 'tm_arrange_perf_improve' 2020-11-24 17:06:47 +01:00
tamasmeszaros 2f65bcc83f Performance improvements and cleanup 2020-11-24 16:43:37 +01:00
tamasmeszaros 0bfbe18a3c Merge branch 'tm_arrange_perf_improve' 2020-11-24 16:20:17 +01:00
tamasmeszaros d34beab557 Add "slow" hint to rotations for arrangement 2020-11-24 15:36:39 +01:00
tamasmeszaros aa64902cf9 Increase arrange accuracy due to errors with large number of objects 2020-11-24 14:42:15 +01:00
tamasmeszaros 30693e29e4 Stop bed filling if enough instances are generated 2020-11-24 14:41:36 +01:00
tamasmeszaros 0fc1929076 Merge branch 'tm_arrange_wipe_tower_fix' 2020-11-23 17:52:20 +01:00
tamasmeszaros 79c2bd1575 Fix for gcode-viewer symlink
fixes #5238
2020-11-23 17:52:08 +01:00
tamasmeszaros f1acde8024 Fix broken wipe tower arrangement
fixes #5207
fixes #5216
2020-11-23 16:05:24 +01:00
tamasmeszaros 6b10c42689 Merge branch 'tm_arrange_menu' 2020-11-20 17:53:15 +01:00
tamasmeszaros 93aaf660cf Fixes for arrange menu
Fixed issues:
- Imgui window is aligned with the arrange toolbar button
- Reset and Arrange buttons added onto the window
- Window closes after clicking the canvas or hitting ESC
- Tooltip extended with instructions for using the arrange menu

Remaining issues:
- Imgui arrange button closes the menu after clicked
- Menu is not in "exclusive or" relationship with other imgui windows.
2020-11-20 17:52:53 +01:00
tamasmeszaros 20995c7b7a Merge branch 'tm_fill_with_instances' 2020-11-20 13:05:05 +01:00
tamasmeszaros adf81af6de Prototype feature: fill plater with instances of selected object
#fixes #1350
2020-11-20 09:58:52 +01:00
tamasmeszaros bc3696bd42 Save and load arrange settings to app_config 2020-11-20 09:57:52 +01:00
tamasmeszaros e17e6b4d0e Add minimum bounding box rotation as starting point 2020-11-20 09:57:52 +01:00
tamasmeszaros d5bdaceff2 Right mouse reaction to arrange button
Working arrange settings popup
2020-11-20 09:57:52 +01:00
tamasmeszaros d9f845d0b3 Merge branch 'tm_arrange_objfn_mod' 2020-11-20 09:51:48 +01:00
tamasmeszaros 096d0c9860 Fix arrange objectfunction to avoid last object in awkward positions.
fixes #3900
2020-11-20 09:46:15 +01:00
tamasmeszaros 2a98aa113c Remove unused RotoptimzeWindow imgui dialog.
It might be added in the future in a more polished form.
2020-11-06 10:06:05 +01:00
tamasmeszaros f5f105d4b0 Merge branch 'tm_min_cgal' 2020-10-27 13:34:15 +01:00
tamasmeszaros 749b3318b7 Merge branch 'tm_flatpak' 2020-10-27 13:04:39 +01:00
tamasmeszaros f18d25257b Changing directory for Flatpak related files. 2020-10-27 13:04:16 +01:00
tamasmeszaros 3ba6e17c04 Merge pull request #4039 from xarbit/flatpak-for-linux-appstore
upstream files required files for FlatHub
2020-10-27 12:58:42 +01:00
tamasmeszaros c8fb0cd974 Add gcodeviewer desktop file
Also install it with `make install`
2020-10-27 08:45:04 +01:00
tamasmeszaros 5fb0858677 Fix CGAL unknown version issue
CGAL is not advertising its version if configured as a header only library.
2020-10-26 15:39:40 +01:00
tamasmeszaros 969ca98b52 Revert "Require minimum version 5.0 of CGAL"
This reverts commit f3327adf49.
2020-10-26 14:41:23 +01:00
tamasmeszaros 6c60863bd9 Merge branch 'tm_udev_header_fix' 2020-10-26 14:39:03 +01:00
tamasmeszaros f3327adf49 Require minimum version 5.0 of CGAL 2020-10-26 14:30:44 +01:00
tamasmeszaros a5ba1534b3 Remove dependency on libudev.h
libudev is linked explicitly and only a few structures need to be declared which are passed as pointers to the dynamically loaded functions. No need to require libudev-dev on the build machines.
2020-10-26 14:23:44 +01:00
tamasmeszaros efe157025e Merge branch 'tm_build_fixes' 2020-10-26 10:59:54 +01:00
tamasmeszaros 5ef309205d Do the png fix for all platforms 2020-10-26 10:10:09 +01:00
tamasmeszaros c829b7c044 Use legacy OpenGL linkage on Linux
GLVND based libOpenGL.so is not present on every supported Linux, despite that appimage exclude list says so. It should be enough to just link to system specific libGL.so.
2020-10-26 10:09:01 +01:00
tamasmeszaros 709b6b1a9c Merge branch 'tm_png_crashfix' 2020-10-23 11:16:43 +02:00
tamasmeszaros 335f04ddf0 Limit the png fix for Linux
temporarily...
2020-10-23 11:10:00 +02:00
tamasmeszaros 9782a584f0 Fix issues with libpng for good
Add "prusaslicer_" prefix to static libpng in deps
2020-10-23 11:04:36 +02:00
tamasmeszaros 7f3ba4e368 Merge branch 'tm_desktop_integr_linux' 2020-10-19 14:45:07 +02:00
tamasmeszaros 0db675721c Add installing of the desktop file to cmake 2020-10-19 14:44:45 +02:00
tamasmeszaros bd271981d3 Add the desktop file for Linux desktops 2020-10-19 14:44:45 +02:00
tamasmeszaros 5ed525abb5 install symlink for gcodeviewer 2020-10-19 14:44:45 +02:00
tamasmeszaros dd68c7cf0f Merge branch 'tm_suppt_gen_improve_2' 2020-10-16 11:26:09 +02:00
tamasmeszaros edb8b9f46d Cover various overhang types cumulatively 2020-10-16 11:14:57 +02:00
tamasmeszaros fb1f3589ed Use rotated bounding box to calculate eccentricity 2020-10-16 11:14:57 +02:00
tamasmeszaros 2f422f5dbe Fix sla tests on mac 2020-10-15 13:50:05 +02:00
tamasmeszaros 267907e5ba SLA: Fix for crash with only 1 layer
fixes #4836
2020-10-08 10:00:55 +02:00
tamasmeszaros 73d8bab4f8 Fix confusing test
fixes #4724
2020-09-21 08:45:28 +02:00
tamasmeszaros 743d6643ae Drop rubbish tests 2020-09-16 15:04:01 +02:00
tamasmeszaros af785d1486 Fix hollowing crash when splitting broken object has zero parts. 2020-09-16 11:08:58 +02:00
tamasmeszaros 7766c6ebc4 Merge branch 'tm_rotfinder' 2020-09-10 20:06:18 +02:00
tamasmeszaros 20bd7b99f9 Significant performance improvements for elevated and non-elevated case
Apply bruteforce for elevated models
2020-09-10 19:35:45 +02:00
tamasmeszaros d527122046 Performance optimizations and bugfix 2020-09-10 14:03:30 +02:00
tamasmeszaros 3b7ea5587e Fix build on win 2020-09-10 14:03:30 +02:00
tamasmeszaros 0d4c67b9a3 Mostly working, inefficiencies remain, status indication partly broken 2020-09-10 14:03:30 +02:00
tamasmeszaros 9f3e7617d8 Add Imgui popup for rotation gizmo under SLA 2020-09-10 14:03:30 +02:00
tamasmeszaros b4b9af4100 cosmethics
Comments and cosmethics
2020-09-10 14:03:30 +02:00
tamasmeszaros c10ff4f503 fixing optimizer and concurrency::reduce 2020-09-10 14:03:30 +02:00
tamasmeszaros c193d7c930 Brute force optimization code, buggy yet
wip


wip


wip refactor
2020-09-10 14:03:30 +02:00
tamasmeszaros b4e30cc8ad rotation finder experiments
wip
2020-09-10 14:03:30 +02:00
tamasmeszaros 10f7d64880 Merge branch 'tm_hollowing_split' 2020-09-10 14:02:21 +02:00
tamasmeszaros 7713a55d45 Do a mesh split before openvdb conversion, unify each part's grid
Do a mesh redistance after the part splitting and openvdb csgUnion
2020-09-10 13:39:43 +02:00
tamasmeszaros b93c95274f Merge branch 'tm_suppt_gen_improve' 2020-09-10 13:38:18 +02:00
tamasmeszaros 50836914fc Calibration changes to address new algorithm behavior. 2020-09-10 13:37:58 +02:00
tamasmeszaros a21ff4141b Fix failing test due to changes in support point genertion 2020-09-10 13:19:17 +02:00
tamasmeszaros 26d5c30366 Improvements to support point generator
- Separate the 3 bands -- dangling, sloping and full overhanging -- regions and handle them with different support force deficits.

- Use a heuristic for overhanging edges to increase the number of support points generated for them


- Try to make overhangs and slopes deficit depend on stable area.
2020-09-10 13:19:17 +02:00
tamasmeszaros a9a99de939 Enable all tests for support point generator 2020-09-10 13:19:17 +02:00
tamasmeszaros d904862bc7 Build libpng as part of deps on Linux
- We've found counter case where the system provided one is missing or is too old.
2020-09-01 19:04:22 +02:00
tamasmeszaros 761e71eb63 Fix build on msvc 2020-09-01 18:18:56 +02:00
tamasmeszaros 143e3a6a35 Merge branch 'tm_sl1_import_libpng' 2020-08-28 09:23:22 +02:00
tamasmeszaros 79567a1958 Add some comments for png read interface 2020-08-27 23:14:42 +02:00
tamasmeszaros ad0df8fd09 Be compatible with earlier libpng versions. 2020-08-27 23:14:42 +02:00
tamasmeszaros b09552e56f Don't use fmemopen, its not standard. 2020-08-27 23:14:42 +02:00
tamasmeszaros 3f41e4023d Try to override mac library search order to find static dep libs 2020-08-27 23:14:42 +02:00
tamasmeszaros 1560e15ed9 Add missing includes for win 2020-08-27 23:14:42 +02:00
tamasmeszaros 8541ce4060 SLA archive import will now recover the model's original position. 2020-08-27 23:14:42 +02:00
tamasmeszaros 769ee15475 Move SLA import to libslic3r with png reading using libpng
Also fix flipped object issue
2020-08-27 23:14:42 +02:00
tamasmeszaros 2bcd36d155 PNG image read with libpng 2020-08-27 23:14:42 +02:00
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