Commit Graph

8510 Commits

Author SHA1 Message Date
Vojtech Bubnik
c1ec01c11e G-code writer optimization: Don't use std::strstream, it is slow! 2021-09-03 17:22:28 +02:00
Vojtech Bubnik
93aaffbb4f Optimization of GCodeReader:
1) Use std::from_chars() instead of strtod()
2) Own implementation of buffered readline()
2021-09-03 16:21:45 +02:00
Vojtech Bubnik
bcd7b9ea7b Commenting out untested and unused Polyline::simplify_by_visibility() 2021-09-03 16:21:44 +02:00
Vojtech Bubnik
e16e664757 Speed-up in GCodeViewer vertex buffer generator 2021-09-03 16:21:44 +02:00
Lukas Matena
5cbf9c18ff Do not allow 'replace by stl' when a gizmo is active,
some of the gizmos might not cope well. ALso avoided
code duplication in all such cases (currently fix by
Netfabb, simplify, replace by stl).
2021-09-03 13:53:07 +02:00
Lukas Matena
a9ae2460ad Naming of the entering/leaving snapshots is now more generic,
it uses the actual name of the gizmo. Also, the keyboard shortcut
is now appended to the name, instead of being duplicated in it.
2021-09-03 13:53:07 +02:00
Lukas Matena
0f38c4bbac Fix taking entering/leaving snapshots in SLA gizmo:
This was broken between 2.2.0 and 2.3.0. The 'entering' snapshot
should be taken before the gizmo opens, not after. Otherwise it is
in fact the same as the next snapshot.
2021-09-03 13:53:07 +02:00
Lukas Matena
602b203a12 Added logging when bed texture/model is not found 2021-09-03 12:13:10 +02:00
Vojtech Bubnik
59048a25e3 Fix of "Support on build plate only" no longer overridden by support painting (#6863)
This is a regression to a late PrusaSlicer 2.4.0-alpha0 change
	8dfc0422a8
    Faster and hopefully more reliable projection of paint-on support
    blockers and enforcers on a sliced mesh.
    Previous d89f01c717 did not fix it.
2021-09-03 11:45:08 +02:00
David Kocik
12454d1ec0 Hints.cereal file existence check 2021-09-03 10:19:06 +02:00
David Kocik
58d2f4c838 Added SS2OSD.dll to blacklist. Raises warning dialog for issue #6864 2021-09-03 09:29:15 +02:00
Jason Scurtu
7be11ae7c8 Flatpak changes for 2.4 (#6875)
* add gcodeviewer desktop file

* update metainfo

* add actions for GCodeViewer + DE translation
2021-09-02 16:41:50 +02:00
Vojtech Bubnik
1b71d710e4 Fix of "Support on build plate only" no longer overridden by support painting (#6863)
This is a regression to a late PrusaSlicer 2.4.0-alpha0 change
	8dfc0422a8
    Faster and hopefully more reliable projection of paint-on support
    blockers and enforcers on a sliced mesh.
2021-09-02 16:29:21 +02:00
Lukas Matena
591db42eb3 Fix painted seam on vertical surfaces (broken since 8dfc042) 2021-09-02 15:18:05 +02:00
Lukas Matena
c0d8b19f51 Fix of #6873: Bed texture located in a directory that user has no permission to (crashed) 2021-09-02 14:37:29 +02:00
Lukas Matena
d4d842791b Fixed a crash when 'Repair by Netfabb' was called with multiple object selection,
the bug was introduced with 1eebaa4 and possibly manifested in other scenarios as well.
2021-09-02 14:20:04 +02:00
enricoturri1966
345dcb8472 Fixed build when tech ENABLE_GCODE_VIEWER_STATISTICS is enabled 2021-09-02 13:42:37 +02:00
Filip Sykala
914c1ad39a Merge branch 'fs_fix_Simplification' 2021-09-02 11:56:14 +02:00
Filip Sykala
b8b7c2238e fix
../src/libslic3r/QuadricEdgeCollapse.cpp:628:21: warning: comparison of integer expressions of different signedness: 'const int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
../src/libslic3r/QuadricEdgeCollapse.cpp:631:21: warning: comparison of integer expressions of different signedness: 'const int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
../src/libslic3r/QuadricEdgeCollapse.cpp:638:48: warning: comparison of integer expressions of different signedness: 'const int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
../src/libslic3r/QuadricEdgeCollapse.cpp:643:25: warning: comparison of integer expressions of different signedness: 'const int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
../src/libslic3r/QuadricEdgeCollapse.cpp:647:25: warning: comparison of integer expressions of different signedness: 'const int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
2021-09-02 11:41:11 +02:00
Filip Sykala
da046b42b1 Fix @(Lukas Matena) note about using NDEBUG 2021-09-02 11:24:33 +02:00
David Kocik
69c4f0a9dd fix of b45ae0170b 2021-09-02 09:54:29 +02:00
enricoturri1966
357c46b297 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-09-02 09:49:13 +02:00
enricoturri1966
01842aaf6f Follow-up of 2bb14849f4 - Similar fix for Open Project command 2021-09-02 09:49:04 +02:00
David Kocik
458e880aa4 Calling destructor of notifications manager and hint database
Ensures to translate hints after change of language
2021-09-02 09:48:06 +02:00
David Kocik
34eba5c0fe Open menubar item by name with translations 2021-09-02 09:48:06 +02:00
enricoturri1966
afc5665519 #6866 - Do not clear plater when pressing Cancel button in the New Project confirmation dialog 2021-09-02 08:32:05 +02:00
Filip Sykala
3f284bdcce Fix Crash when delete model during simplification 2021-09-01 20:29:27 +02:00
Filip Sykala
0c73c304e6 FIX Creation of non volume place in mode during simplification 2021-09-01 19:15:16 +02:00
YuSanka
9916077814 MSW specific: Fixed a typo caused extension of PresetComboBox's height on SettingsTabs,
added comment for workaround
2021-09-01 16:08:18 +02:00
David Kocik
c445729379 Commented opening menubar item until its properly implemented. 2021-09-01 15:12:47 +02:00
Vojtech Bubnik
171c1b82c2 Commented out AMF export. The format never took off, we don't want to
keep supporting it. Let's wait for user feedback.
2021-09-01 15:11:26 +02:00
Vojtech Bubnik
1dc140d239 Follow-up to #6817
1) Activate installed filament or SLA material profile after update_compatible(),
so that the compatiblity and visibility flags of presets are updated.
2) Only activate the first newly installed filament / SLA material profile
if the active printer did not change. This also means that if no filament
profile was active before Wizard was open or it became incompatible with
the newly installed Printer profile, the default filament profile assigned
to the activated Printer is activated preferably, which may or may not
be one of the newly installed filament profiles.
2021-09-01 14:37:20 +02:00
Lukáš Hejl
35c6b9c458 Renamed 'Seed fill' to 'Smart fill'. 2021-09-01 14:32:34 +02:00
Lukáš Hejl
afbe2a7de5 Added a missing include (GCC 11.1). 2021-09-01 14:28:42 +02:00
YuSanka
58fbc55708 Check unsaved changes before opening of the ConfigWizard 2021-09-01 13:48:40 +02:00
David Kocik
5146e2329b Open menubar item by item index. Possible to call as hint notification hyperlink 2021-09-01 13:34:36 +02:00
enricoturri1966
15ce5d271b Fixed conflicts after merge with master 2021-09-01 13:28:10 +02:00
David Kocik
17e2cf0dfd Supress desktop integration of gcode viewer at ChromeOS 2021-09-01 12:58:36 +02:00
Vojtech Bubnik
d31562f5d3 Fix for #6803 - Illegal character in filename when STL opened direct from CAD app
Follow-up to ea4e9b35a3
Win32 specific: Substitute slashes to back slashes in file paths
when loading model files (STLs, 3MFS ...)
2021-09-01 11:08:08 +02:00
Vojtech Bubnik
a922b421c5 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-09-01 09:55:35 +02:00
enricoturri1966
1fcf579fd1 Fixed typo which broke export of toolpaths to obj file 2021-09-01 09:54:59 +02:00
enricoturri1966
c727532f6f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-09-01 09:34:18 +02:00
enricoturri1966
7fbc1cc37b Requires OpenGL 3.3 as a minimum to enable instanced rendering of seams and other options in preview 2021-09-01 09:34:07 +02:00
Vojtech Bubnik
b81a0e28e2 Implemented configurable speed and acceleration settings for the first
object layer over raft interface:
"first_layer_speed_over_raft", "first_layer_acceleration_over_raft".
Fixes I have a question about the speed of the first layer after the raft. #6623
Fixes Layer After Raft Is Not Considered First Layer! #6166
2021-08-31 16:03:14 +02:00
Lukáš Hejl
a79d268c0e Added versioning of the structure of stored data for all three painting gizmos (fdm supports, seam and multi-material). 2021-08-31 15:05:11 +02:00
Lukáš Hejl
80d6db2902 Fixed a bug that the skirt was generated too far from the brim for some objects. 2021-08-31 14:54:37 +02:00
Vojtech Bubnik
d9fd4d5610 Brim separation from object, follow up to 82373334bc
1) Changed the name of the variable "brim_offset" to "brim_separation"
   for clarity.
2) Added legacy conversion after loading an old 3MF that does not define
   then new "brim_separation" variable: The "brim_separation" is being
   filled in with the "elefant_foot_compensation" value to produce
   equal brim separation to the old PrusaSlicer that saved that 3MF file.
2021-08-31 12:22:44 +02:00
Lukas Matena
9ac2a851db Fixed encoding of undo/redo snapshot names created through
TakeSnapshot class (implicit std::string/wxString conversion)
2021-08-31 12:05:08 +02:00
David Kocik
8457e643d2 Passing call_selection_changed to update_info_items.
Helps to decide correctly if object was added or only undo / redo operation.
2021-08-31 11:26:00 +02:00
David Kocik
489d9143e2 delayed notifications: custom condition function for showing and refactoring 2021-08-31 10:34:47 +02:00