Commit Graph

3659 Commits

Author SHA1 Message Date
bubnikv
7d01475c87 Fixed typo in comments 2019-09-11 11:38:17 +02:00
bubnikv
f03611672f Refactoring of PerimeterGenerator:
header interface was reduced,
compiler warnings removed.
2019-09-11 11:37:48 +02:00
Enrico Turri
96e743bc19 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into et_reload_from_disk 2019-09-11 09:01:44 +02:00
Enrico Turri
1d84bc1993 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_reload_from_disk 2019-09-11 09:01:34 +02:00
Enrico Turri
c60bf6f654 Added missing include 2019-09-11 08:51:36 +02:00
Enrico Turri
2f3edd2387 GCodeAnalyzer: Fixed a crash when encountering an invalid toolchange 2019-09-11 08:39:29 +02:00
bubnikv
1f56b081cc Merge remote-tracking branch 'remotes/origin/master' into dev 2019-09-10 19:09:41 +02:00
bubnikv
58d0830b6b Some C++11 refactoring 2019-09-10 19:09:37 +02:00
bubnikv
02b3fe2e36 Fix of previous infill refactoring. 2019-09-10 19:08:04 +02:00
bubnikv
cab9a39fcf Fix of "Bridging and gap fill are parsed incorrectly when infill is set to 0" #1476
The gap fill was disabled for zero infill.
Now the gap fill is enabled in between the perimeters, but disabled between
the inner-most perimeter and infill in case the infill is set to zero.

Also in case there are multiple infill regions inside a perimeter,
the mutliple infills are considered as non-zero if at least one infill
is non-zero, therefore the gap fill will be added inside the inner-most
perimeter.
2019-09-10 19:03:37 +02:00
tamasmeszaros
ec803f4044 Fix compilation on OSX 2019-09-10 14:00:48 +02:00
tamasmeszaros
a8c5ee9ea6 Fix arrangement of objects larger than the print bed. Issue #2897 2019-09-10 13:31:29 +02:00
Lukas Matena
afb8f01bb9 Fix of #1266 and #2258
In case there were empty object layers supposed to be floating on supports which were set to use a specific extruder, wipe tower was missing layer required to do the toolchange, leading to a crash
Such cases are now detected and layers that need it are additionally assigned as wipe tower layers

Also tracked as SPE-526
2019-09-10 13:13:21 +02:00
Lukas Matena
e684f4b4ad GUI_ObjectList.cpp: Max layer height defaults to 0.75*nozzle_diameter as it should (#2892) 2019-09-10 12:34:03 +02:00
Lukas Matena
915488fe33 Some more warnings fixed (WipeTower.cpp/.hpp) 2019-09-10 12:08:43 +02:00
Lukas Matena
5b5f0b925a Fixed many warnings in following files:
src/slic3r/Config/Snapshot.cpp
src/slic3r/GUI/Field.cpp
src/slic3r/GUI/GLToolbar.cpp
src/slic3r/GUI/GUI_ObjectList.cpp
src/slic3r/GUI/GUI_ObjectList.hpp
src/slic3r/GUI/Plater.cpp
src/slic3r/GUI/Plater.hpp
src/slic3r/GUI/PresetBundle.cpp
src/slic3r/GUI/Tab.cpp
src/slic3r/GUI/wxExtensions.cpp
2019-09-10 12:08:43 +02:00
Lukas Matena
ed26c9b73c CoolingBuffer.cpp: Fixed a crash when encountering an invalid toolchange
This can happen if the user enters invalid toolchange through the custom gcodes
Such toolchange is now simply ignored by the CoolingBuffer, exporting gcode is NOT stopped, a log error is emitted
2019-09-10 11:46:18 +02:00
Enrico Turri
976eb2b893 Fixed instance printable property after reload from disk 2019-09-10 11:16:59 +02:00
bubnikv
58d12a680e Fix of "Bridge flow ratio doesn't trigger reslicing of support" #2359 2019-09-09 18:09:40 +02:00
bubnikv
2e377cdbe2 Merge remote-tracking branch 'remotes/origin/master' into dev 2019-09-09 17:49:07 +02:00
bubnikv
1fac0f3ccd Merge branch 'dev' of https://github.com/Prusa3d/PrusaSlicer into dev 2019-09-09 17:47:41 +02:00
bubnikv
ccb4584be7 Fix of "Strange behavior on bridge detection" #1482
The very first slicing step needs to be invalidated if support is
enabled or disabled while the soluble supports are configured,
as the bridging is disabled for soluble supports, while the bridging
is enabled with supports disabled.
2019-09-09 17:47:29 +02:00
bubnikv
6987c081e4 Replaced Perl style infill type enums with C++ enums in comments. 2019-09-09 16:47:15 +02:00
bubnikv
d09c77c401 Fix of d146a0237e
(reworked infill generator to merge regions with the same properties).
2019-09-09 16:44:29 +02:00
Vojtech Kral
66eed6c4f9 FirmwareDialog: Attempt to fix window double close assertion #2619 2019-09-09 16:41:14 +02:00
Lukas Matena
4d58a7ef98 Updated tooltip 2019-09-09 16:39:26 +02:00
Lukas Matena
8ca65a4e59 Merge branch 'lm_custom_toolchange' 2019-09-09 16:12:09 +02:00
tamasmeszaros
f7c3b04eef Fix typo 2019-09-09 16:08:19 +02:00
Lukas Matena
1d88be3ec8 Fix of previous commit, tooltip update 2019-09-09 16:02:39 +02:00
Enrico Turri
b77ce2db53 Fixed gizmos update after objects loading 2019-09-09 15:55:04 +02:00
Enrico Turri
f935e217ac Fixed handling of mouse left up event when moving an object while the place on face gizmo is active 2019-09-09 14:56:55 +02:00
Lukas Matena
8dcfb5b3d0 Custom toolchange gcode is searched for tool-changing command
If the custom toolchange gcode switches extruder to the one that is expected, PrusaSlicer does not issue its own T command
Otherwise, this command is inserted just after the custom gcode, even in case it is not empty
This should prevent issues such as #2884 and #2886 from being reported
2019-09-09 13:05:18 +02:00
Enrico Turri
7e573119ff Fixed rotate gizmo hovering 2019-09-09 12:11:49 +02:00
Enrico Turri
475dc2f72e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-09-09 11:51:03 +02:00
Enrico Turri
ebd6bc2be5 Follow-up of 9b5edbfa5f -> added comments 2019-09-09 11:50:19 +02:00
bubnikv
df396434cf Fixed stack overflows in G-code generator. 2019-09-09 10:18:17 +02:00
Enrico Turri
35e6aae673 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-09-09 09:56:52 +02:00
Enrico Turri
81a67836f9 Fixed import from obj files 2019-09-09 09:56:36 +02:00
bubnikv
a6c5f90dfa Fix of a regression big endian issue in admesh
fixes 2.1.0-rc build error in admesh (unusual architecture only) (#2879)
2019-09-09 09:18:53 +02:00
Enrico Turri
aceeb11aac Merge branch 'et_reload_from_disk' of https://github.com/prusa3d/PrusaSlicer into dev 2019-09-09 08:42:39 +02:00
Enrico Turri
74f9fbe673 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into dev 2019-09-09 08:28:16 +02:00
Enrico Turri
a5e8100a8e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into dev 2019-09-06 17:53:17 +02:00
Enrico Turri
53d6accfa3 Fixed object settings after reload from disk 2019-09-06 17:26:08 +02:00
Enrico Turri
dcf9c9a1d2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_reload_from_disk 2019-09-06 17:25:39 +02:00
Vojtech Kral
9aecca26f4 Fix a few warnings in PrintHostDialogs, UploadDialogs 2019-09-06 16:33:00 +02:00
Enrico Turri
e840478539 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into et_reload_from_disk 2019-09-06 16:06:37 +02:00
Lukas Matena
080792f9ed Fixed some more warnings, moved function to get ExtrusionRole name into ExtrusionEntity.hpp
So it can be called from wherever it may be needed
2019-09-06 15:55:07 +02:00
Lukas Matena
32f79f143b Fixed several warnings (Config.hpp and few other files) 2019-09-06 15:55:07 +02:00
Enrico Turri
12ada8caaf Follow-up of 6c3aae8f89 -> Fixed update of objects list when object has a unique instance 2019-09-06 15:50:54 +02:00
Vojtech Kral
178ffd3fb5 Fix bad pointer dereference in ObjectList::list_manipulation()
Fix of #2875
2019-09-06 15:28:58 +02:00