Commit Graph

16800 Commits

Author SHA1 Message Date
0e39d8a815 ENABLE_GCODE_VIEWER_STATISTICS - Fixed calculation of time required by GCodeProcessor 2021-09-09 09:35:58 +02:00
398a92f1cd Fix for #6921 - Error while disabling filament overrides in Dutch language 2021-09-08 15:31:10 +02:00
ca9d1ff6e1 Follow-up to b5a007a683
WIP to G-code export parallelization through pipelining:
GCodeProcessor is called during the G-code export,
the G-code is no more reopened and re-read, but it is pipelined
from the G-code generator.
2021-09-08 15:06:12 +02:00
7b4f0abe77 Merge remote-tracking branch 'origin/et_seams_as_batched_models' 2021-09-08 14:26:22 +02:00
b0c0f1cb97 Techs ENABLE_SEAMS_USING_MODELS and ENABLE_SEAMS_USING_BATCHED_MODELS - Fixed seams (and other options) zs to match toolpaths zs in preview 2021-09-08 13:04:43 +02:00
88e6b261fa Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_seams_as_batched_models 2021-09-08 11:37:05 +02:00
09a34639f7 Fix of recent GCode / GCodeProcessor refactoring: Don't close a FILE
twice.
2021-09-07 17:58:06 +02:00
cdd0d90f99 Trying to fix the windows build 2021-09-07 17:31:36 +02:00
da4f14705e ObjectList: Fixed DnD of Volumes inside the Object 2021-09-07 16:48:33 +02:00
2b523d3f19 WIP to G-code export parallelization through pipelining:
New class GCodeOutputStream as a G-code consumer.
In the following steps the GCodeOutputStream will be pipelined with
GCodeProcessor.
2021-09-07 16:23:43 +02:00
1c60fa2704 GCodeProcessor collects positions of line ends for GCodeViewer,
GCodeViewer no more parses G-code just to extract line end positions.
Removed start_mapping_gcode_window(), void stop_mapping_gcode_window(),
they are no more needed.
2021-09-07 15:42:56 +02:00
8eaa7d1924 ObjectList:: Allow use BACKSPACE to delete selected items 2021-09-07 15:19:59 +02:00
0baa4ebef0 GCodePostProcessor - use C files instead of C++ streams, C files are faster.
Also fixed a regression - crashes on undefined cancellation callback.
2021-09-07 14:20:21 +02:00
58338a9e3d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-09-07 12:25:35 +02:00
df30579753 GCodeViewer - Fixed crash when importing gcode generated with Simplify3D and switching to tool view 2021-09-07 12:25:30 +02:00
bb7c65f172 Fix for #6903 - Compare presets window titles inaccurate... 2021-09-07 11:23:30 +02:00
d854048809 Optimization of GCodeProcessor for speed. 2021-09-07 11:18:12 +02:00
e2ea3d26a1 Changed color for toolpaths whose extrusion role is unknown 2021-09-07 11:13:12 +02:00
67e2e3c3f9 Replace OpenProcess with GetCurrentProcess where appropriate (#6914)
GetCurrentProcess is more correct and resolves spurious AV warnings.
2021-09-07 09:45:10 +02:00
ee7cc2aacb Revert of 7b4c98d727, clamp toolpaths widths increased to 2mm and added default values for toolpaths width and height 2021-09-07 09:41:14 +02:00
8395d74f58 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
4c77ae8f4a 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
95b93b12e6 rename 2021-09-06 16:19:30 +02:00
5fe6249e1e add gcodeviewer 2021-09-06 16:19:30 +02:00
c0373bf486 add new mac icon and update MainFrame.cpp 2021-09-06 16:19:30 +02:00
bd42f9e76e #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
0e4ca4624f Tech ENABLE_SEAMS_USING_MODELS - Fixed crash when enabling visualization of tool change markers in preview 2021-09-06 13:15:36 +02:00
6b1c428275 ENABLE_SEAMS_USING_BATCHED_MODELS - Fixed preview legend update 2021-09-06 11:37:59 +02:00
69b6df9e77 folder not needed anymore. 2021-09-04 07:33:57 +02:00
dc7b3bedb8 G-code processor tiny change: In place initialization 2021-09-03 17:22:53 +02:00
c1ec01c11e G-code writer optimization: Don't use std::strstream, it is slow! 2021-09-03 17:22:28 +02:00
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
bcd7b9ea7b Commenting out untested and unused Polyline::simplify_by_visibility() 2021-09-03 16:21:44 +02:00
e16e664757 Speed-up in GCodeViewer vertex buffer generator 2021-09-03 16:21:44 +02:00
2784ff9a1e 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
5a60d092e7 Merge commit 'lm_gizmosimprovements^1' 2021-09-03 15:25:54 +02:00
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
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
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
602b203a12 Added logging when bed texture/model is not found 2021-09-03 12:13:10 +02:00
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
12454d1ec0 Hints.cereal file existence check 2021-09-03 10:19:06 +02:00
58d2f4c838 Added SS2OSD.dll to blacklist. Raises warning dialog for issue #6864 2021-09-03 09:29:15 +02:00
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
99883ef685 update PrusaSlicer icon for macOS (#6874) 2021-09-02 16:40:17 +02:00
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
591db42eb3 Fix painted seam on vertical surfaces (broken since 8dfc042) 2021-09-02 15:18:05 +02:00
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
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
345dcb8472 Fixed build when tech ENABLE_GCODE_VIEWER_STATISTICS is enabled 2021-09-02 13:42:37 +02:00