Lukáš Hejl
0bc77cef3e
Fixed build on Linux and macOS that was failing because of using std::to_chars and std::from_chars with floating-point values.
...
The old version of GCC and Clang support only integers to be passed to std::to_chars and std::from_chars. macOS older version of Clang doesn't support std::from_chars at all. So for Linux and macOS, it was replaced std::from_chars with strtod and temporarily was replace std::to_chars with snprintf.
2021-09-07 07:43:17 +02:00
Vojtech Bubnik
428509ac00
Pimped up GCodeProcessor::TimeProcessor::post_process():
...
replaced implicit lambda capture with explicit listing of captured
context for readability and code correctness. Captured this as const.
2021-09-06 18:08:13 +02:00
Jason Scurtu
b41e321473
rename
2021-09-06 16:19:30 +02:00
Jason Scurtu
07bdb5fbe3
add gcodeviewer
2021-09-06 16:19:30 +02:00
Jason Scurtu
ce0beabb43
add new mac icon and update MainFrame.cpp
2021-09-06 16:19:30 +02:00
enricoturri1966
8f36002ebe
Tech ENABLE_PREVIEW_LAYER_TIME - Show '< 1s' in place of '0s' in preview legend
2021-09-06 14:59:22 +02:00
enricoturri1966
b60a0fe3d3
Fixed conflicts after merge with master
2021-09-06 14:38:21 +02:00
enricoturri1966
7b4c98d727
#6828 - Clamping of toolpaths width performed only for gcodes files produced by 3rd part softwares (Tech ENABLE_CLAMP_TOOLPATHS_WIDTH)
2021-09-06 14:31:10 +02:00
enricoturri1966
ad41c3f01c
Tech ENABLE_SEAMS_USING_MODELS - Fixed crash when enabling visualization of tool change markers in preview
2021-09-06 13:15:36 +02:00
enricoturri1966
fd3d673a1e
Tech ENABLE_PREVIEW_LAYER_TIME - Implementation of coloring toolpaths by layer time (Similar to pull request #3904 )
2021-09-06 12:18:46 +02:00
enricoturri1966
9c8c44e4dd
ENABLE_SEAMS_USING_BATCHED_MODELS - Fixed preview legend update
2021-09-06 11:37:59 +02:00
Jason Scurtu
d04ece92c3
folder not needed anymore.
2021-09-04 07:33:57 +02:00
Vojtech Bubnik
86d06b0be9
G-code processor tiny change: In place initialization
2021-09-03 17:22:53 +02:00
Vojtech Bubnik
97d1fe35ad
G-code writer optimization: Don't use std::strstream, it is slow!
2021-09-03 17:22:28 +02:00
Vojtech Bubnik
dc72723911
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
d154752c38
Commenting out untested and unused Polyline::simplify_by_visibility()
2021-09-03 16:21:44 +02:00
Vojtech Bubnik
2e250c1463
Speed-up in GCodeViewer vertex buffer generator
2021-09-03 16:21:44 +02:00
enricoturri1966
7f2d1522ce
Rendering seams (and other options) in preview using batched models on systems not supporting OpenGL 3.3
2021-09-03 15:35:44 +02:00
Lukas Matena
7dfd0368fd
Merge commit 'lm_gizmosimprovements^1'
2021-09-03 15:25:54 +02:00
Lukas Matena
315663980b
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
a4300b8e64
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
4c80d9ed01
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
ed7ebf15d9
Added logging when bed texture/model is not found
2021-09-03 12:13:10 +02:00
Vojtech Bubnik
79784d1a2e
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
cd4155a890
Hints.cereal file existence check
2021-09-03 10:19:06 +02:00
David Kocik
e630332e24
Added SS2OSD.dll to blacklist. Raises warning dialog for issue #6864
2021-09-03 09:29:15 +02:00
Jason Scurtu
c232decb2a
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
Jason Scurtu
7c074d5a99
update PrusaSlicer icon for macOS ( #6874 )
2021-09-02 16:40:17 +02:00
Vojtech Bubnik
d89f01c717
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
298825672b
Fix painted seam on vertical surfaces (broken since 8dfc042
)
2021-09-02 15:18:05 +02:00
Lukas Matena
18c8204837
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
0efa0fc512
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
cc480afe9b
Fixed build when tech ENABLE_GCODE_VIEWER_STATISTICS is enabled
2021-09-02 13:42:37 +02:00
Lukáš Matěna
b69d03ad4a
Update How to build - Linux et al.md
2021-09-02 12:56:24 +02:00
Lukáš Matěna
b20bd26e84
Update How to build - Linux et al.md
2021-09-02 12:27:07 +02:00
Filip Sykala
cd80c67729
Merge branch 'fs_fix_Simplification'
2021-09-02 11:56:14 +02:00
Filip Sykala
3f923628aa
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
746300eafd
Fix @(Lukas Matena) note about using NDEBUG
2021-09-02 11:24:33 +02:00
Filip Sykala
d45ab1c484
Fix trouble case test
2021-09-02 11:17:07 +02:00
David Kocik
0cb08ebda4
fix of b45ae0170b
2021-09-02 09:54:29 +02:00
enricoturri1966
1545474261
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2021-09-02 09:49:13 +02:00
enricoturri1966
795ac7f297
Follow-up of 2bb14849f4
- Similar fix for Open Project command
2021-09-02 09:49:04 +02:00
David Kocik
b45ae0170b
Merge branch 'dk_notifications'
2021-09-02 09:48:31 +02:00
David Kocik
42f4de94df
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
5f7a4982f6
Open menubar item by name with translations
2021-09-02 09:48:06 +02:00
enricoturri1966
2bb14849f4
#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
f6f70f6fd4
Fix Crash when delete model during simplification
2021-09-01 20:29:27 +02:00
Filip Sykala
25feacfd95
FIX Creation of non volume place in mode during simplification
2021-09-01 19:15:16 +02:00
YuSanka
e6eae62584
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
Vojtech Bubnik
c25ca3015a
Bumped up version number
2021-09-01 15:15:32 +02:00