Commit Graph

13159 Commits

Author SHA1 Message Date
eccab6a6d9 Don't use sla::EncodedRaster in SLAImport, revive opencsg sandbox 2020-08-27 23:14:42 +02:00
f67bb789c0 Clean-up of Shiny profiler integration, so that the intrusiver profiling
can be controlled per module.
2020-08-27 12:14:49 +02:00
d2304417b8 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
6da3befffd Starting a new Slicer instance from the menu - fix of Windows build 2020-08-26 15:50:05 +02:00
65aa35c3cc Starting a new Slicer instance from the menu 2020-08-26 14:56:26 +02:00
c596d77173 Merge branch 'lm_drainholes_fix' 2020-08-24 08:11:27 +02:00
c427e9ce54 Drainholes are saved elevated for 3MF compatibility
This is a follow-up of previous commit
2020-08-24 08:11:12 +02:00
0f53146d4b 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
d5492a2fc3 Merge branch 'lm_fdm_supports_gizmo_fixes' 2020-08-21 09:49:55 +02:00
66b04930be TriangleSelector paints continuously when dragging fast
Previously there would be distinct circles with gaps in between
2020-08-21 09:49:39 +02:00
2de6016b99 Forbid translation of objects when SLA/Hollow/FDM gizmos are active 2020-08-21 09:49:39 +02:00
6f50117ed4 Fixed several indentation-related warnings 2020-08-19 17:15:01 +02:00
079e7d0332 Fix build on msvc 2020-08-18 13:45:18 +02:00
c875a3ab39 Add dedicated tests for support point generation 2020-08-18 11:41:14 +02:00
3e3bc1dc12 #4639 - ImGuiWrapper: fixed calls to ImGui::Text() and ImGui::TextColored() 2020-08-18 07:55:53 +02:00
00244b3c12 Merge pull request #4630 from danhae/patch-1
Update How to build - Mac OS.md
2020-08-14 16:30:50 +02:00
d8dcc65e15 Update How to build - Mac OS.md
Additional section "TL; DR"
2020-08-14 14:44:00 +02:00
0b88dc4660 Add reserve_vector to libslic3r.h to be globally usable. 2020-08-13 15:42:31 +02:00
d4f32a3b4d Fix build on win and rpi 2020-08-13 15:09:22 +02:00
fcb5262935 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
9d80f30fb5 Merge branch 'tm_minor_refactor' 2020-08-13 14:36:47 +02:00
bbffe7c52b 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
b75543f85b Minor change to SLAPrinter interface 2020-08-13 14:35:14 +02:00
fccaac0b2a 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
7ceb2f4292 Fixed scaling of the SavePresetDialog under MSW
+ fixed misunderstanding typo in PlaterPresetComboBox
2020-08-12 16:13:29 +02:00
a56e5da6f9 Fix of custom supports: object offset for Clipper was incorrectly accounted for 2020-08-12 11:28:30 +02:00
99cbfb7545 Fixes of two crashes in paint-on supports 2020-08-12 11:08:10 +02:00
ef4c563db2 Fix of Support generator debugging functions after some refactoring 2020-08-12 10:51:15 +02:00
7fa0187140 Fixed a crash
appeared when we try to update PlaterPresetComboBox for empty selected preset.
2020-08-11 15:48:49 +02:00
ceaeb26da8 Code refactoring: AppConfig.cpp(hpp) are removed from the GUI to libslic3r 2020-08-08 17:03:20 +02:00
ddb8314e14 Fix build on GCC (missing forward declaration) 2020-08-07 10:42:48 +02:00
4a61700ece PhysicalPrinterDialog : Incompatible presets extracted to the separate group 2020-08-07 10:00:54 +02:00
08e957df09 Merge remote-tracking branch 'origin/ys_ph_printers' 2020-08-06 17:13:08 +02:00
e7f21d1e0e Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-08-06 17:02:48 +02:00
1a367dbf1e Fix of custom supports 3MF loading
Multiple-part objects were not handled correctly
2020-08-06 14:08:05 +02:00
d491e24c97 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
cc5ec1d7be Change license of libnest2d to LGPLv3 2020-08-05 16:34:01 +02:00
d419a4cb3c Merge branch 'tm_mini_supports' 2020-08-03 19:07:46 +02:00
24265b29ce Remove leftover junk comments 2020-08-03 19:07:30 +02:00
159e12a611 finish optimizer interface and remove commented code 2020-08-03 19:06:57 +02:00
24bd73f9af 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
4716d744ec Add possible manipulation of small support diameter. 2020-08-03 19:05:30 +02:00
f95c20de28 Fix junction made below ground level. 2020-08-03 19:05:30 +02:00
173366060f Include test name with output obj files for sla_print_tests 2020-08-03 19:05:30 +02:00
6a9eccf673 Rename EigenMesh3D to IndexedMesh and SupportConfig to SupportTreeConfig 2020-08-03 19:05:30 +02:00
7384a49fca Make compile time support tree conf params constexpr 2020-08-03 19:05:30 +02:00
8ec59a1d2c Id-s put in a base class for support tree primitives 2020-08-03 19:05:30 +02:00
0f34c14284 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
d46d86ba4b 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
0d383674d1 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