Commit Graph

13160 Commits

Author SHA1 Message Date
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
bubnikv
17170b81b5 Clean-up of Shiny profiler integration, so that the intrusiver profiling
can be controlled per module.
2020-08-27 12:14:49 +02:00
bubnikv
41f474a884 Fixed performance issues when adding / removing Presets into PresetCollection.
This improves application startup time by 25-33%.
2020-08-26 21:51:50 +02:00
Slic3rPE
e0e75f4a0e Starting a new Slicer instance from the menu - fix of Windows build 2020-08-26 15:50:05 +02:00
Slic3rPE
56431d26e5 Starting a new Slicer instance from the menu 2020-08-26 14:56:26 +02:00
Lukas Matena
20da7a8175 Merge branch 'lm_drainholes_fix' 2020-08-24 08:11:27 +02:00
Lukas Matena
c51a45ee0f Drainholes are saved elevated for 3MF compatibility
This is a follow-up of previous commit
2020-08-24 08:11:12 +02:00
Lukas Matena
a95509ce36 Changed internal coordinates of drain holes
Drain holes reference position was saved slightly above the mesh to avoid problem when the hole is placed on flat or nearly flat surface
The depth of the hole was internally bigger than what the user has set to compensato for it
However, this leads to problem with scaling and makes reprojection of the holes on the mesh complicated

This commit changes the reference point to the point on the mesh and the extra elevation is handled when rendering and drilling the hole.
The change is reflected in 3MF drain holes versioning so that old 3MFs are loaded correctly.
Reprojection on the mesh after reload from disk/fix through netfabb has been enabled.
2020-08-24 08:11:12 +02:00
Lukas Matena
ba03429679 Merge branch 'lm_fdm_supports_gizmo_fixes' 2020-08-21 09:49:55 +02:00
Lukas Matena
320964a68c TriangleSelector paints continuously when dragging fast
Previously there would be distinct circles with gaps in between
2020-08-21 09:49:39 +02:00
Lukas Matena
c291717909 Forbid translation of objects when SLA/Hollow/FDM gizmos are active 2020-08-21 09:49:39 +02:00
Lukas Matena
739cd2a4a2 Fixed several indentation-related warnings 2020-08-19 17:15:01 +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
enricoturri1966
1172dfcb40 #4639 - ImGuiWrapper: fixed calls to ImGui::Text() and ImGui::TextColored() 2020-08-18 07:55:53 +02:00
Vojtěch Bubník
548497bbae
Merge pull request #4630 from danhae/patch-1
Update How to build - Mac OS.md
2020-08-14 16:30:50 +02:00
Daniel Hähnel
f2f5632c3e
Update How to build - Mac OS.md
Additional section "TL; DR"
2020-08-14 14:44:00 +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
YuSanka
830d89576c Added description line for the disabling of "Object elevation"
Deleted mirrored parameter "pad_around_object" from "Support" category
2020-08-13 13:04:46 +02:00
YuSanka
32595f7659 Fixed scaling of the SavePresetDialog under MSW
+ fixed misunderstanding typo in PlaterPresetComboBox
2020-08-12 16:13:29 +02:00
Lukas Matena
6d4bb10ec5 Fix of custom supports: object offset for Clipper was incorrectly accounted for 2020-08-12 11:28:30 +02:00
Lukas Matena
fd93d9768d Fixes of two crashes in paint-on supports 2020-08-12 11:08:10 +02:00
Vojtech Bubnik
12f43736bd Fix of Support generator debugging functions after some refactoring 2020-08-12 10:51:15 +02:00
YuSanka
a6a5025a76 Fixed a crash
appeared when we try to update PlaterPresetComboBox for empty selected preset.
2020-08-11 15:48:49 +02:00
YuSanka
f9e47b2702 Code refactoring: AppConfig.cpp(hpp) are removed from the GUI to libslic3r 2020-08-08 17:03:20 +02:00
Lukas Matena
afcc14861f Fix build on GCC (missing forward declaration) 2020-08-07 10:42:48 +02:00
YuSanka
b6746a3937 PhysicalPrinterDialog : Incompatible presets extracted to the separate group 2020-08-07 10:00:54 +02:00
YuSanka
dae37a8c0d Merge remote-tracking branch 'origin/ys_ph_printers' 2020-08-06 17:13:08 +02:00
YuSanka
a6dc3d37f5 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-08-06 17:02:48 +02:00
Lukas Matena
41b1dc3d80 Fix of custom supports 3MF loading
Multiple-part objects were not handled correctly
2020-08-06 14:08:05 +02:00
YuSanka
1079d4644c PhysicalPrinterDialog improvements : Printer device default name is changed to force the user to change it
SavePresetDialog : Fixed OSX bug, when wxEVT_TEXT wasn't invoked after change selection in ComboBox
2020-08-06 10:40:04 +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