enricoturri1966
761c06ed92
GCodeViewer - Fixed crash when importing gcode generated with Simplify3D and switching to tool view
2021-09-07 12:25:30 +02:00
YuSanka
af20419ed4
Fix for #6903 - Compare presets window titles inaccurate...
2021-09-07 11:23:30 +02:00
Vojtech Bubnik
771a892776
Optimization of GCodeProcessor for speed.
2021-09-07 11:18:12 +02:00
enricoturri1966
c1c8a60271
Changed color for toolpaths whose extrusion role is unknown
2021-09-07 11:13:12 +02:00
Justin Schuh
5c9bc26ed5
Replace OpenProcess with GetCurrentProcess where appropriate ( #6914 )
...
GetCurrentProcess is more correct and resolves spurious AV warnings.
2021-09-07 09:45:10 +02:00
enricoturri1966
d35183921b
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
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
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
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
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
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
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
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
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
David Kocik
876e6fdddd
Commented opening menubar item until its properly implemented.
2021-09-01 15:12:47 +02:00
Vojtech Bubnik
950c216239
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
6158347379
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
3b4d10656c
Renamed 'Seed fill' to 'Smart fill'.
2021-09-01 14:32:34 +02:00
Lukáš Hejl
8ad109235b
Added a missing include (GCC 11.1).
2021-09-01 14:28:42 +02:00
YuSanka
20453f412b
Check unsaved changes before opening of the ConfigWizard
2021-09-01 13:48:40 +02:00
David Kocik
229cf4b8b6
Open menubar item by item index. Possible to call as hint notification hyperlink
2021-09-01 13:34:36 +02:00
enricoturri1966
639cf17e19
Fixed conflicts after merge with master
2021-09-01 13:28:10 +02:00
David Kocik
73e8f5aed2
Supress desktop integration of gcode viewer at ChromeOS
2021-09-01 12:58:36 +02:00
Vojtech Bubnik
ab84da6c56
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
b0c4a13ebd
Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer
2021-09-01 09:55:35 +02:00
enricoturri1966
95c05aae3b
Fixed typo which broke export of toolpaths to obj file
2021-09-01 09:54:59 +02:00
enricoturri1966
4a1c42b3d5
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2021-09-01 09:34:18 +02:00
enricoturri1966
d7bb4c36f5
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
b29c0ead7d
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
ccf671dcc9
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
1835dae296
Fixed a bug that the skirt was generated too far from the brim for some objects.
2021-08-31 14:54:37 +02:00
enricoturri1966
f908197a77
Follow-up of 3abc71fa15
- Fixed call to trigger undo/redo snapshot
2021-08-31 14:19:32 +02:00
enricoturri1966
3abc71fa15
Allow to replace files found as missing during reload from disk command
2021-08-31 13:16:29 +02:00
Vojtech Bubnik
5f26bfd397
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
4cc729b312
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
788d114a2f
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
04778e0fa5
delayed notifications: custom condition function for showing and refactoring
2021-08-31 10:34:47 +02:00
enricoturri1966
86ddac7b1e
Fixed warning
2021-08-31 09:17:52 +02:00
Lukas Matena
270c076e77
Fixed undo/redo issue when clear method of FacetsAnnotation and ModelConfig
...
reset timestamp to 1. This led to a bug where e.g. deleting painted facets
through the respective item in object list followed by possible other actions
and undo restored the painted facets from the time when the project was loaded.
I'm not sure if there was any other situation where this problem manifested.
2021-08-31 09:16:09 +02:00
enricoturri1966
9a5f61c306
Added missing vertical alignments of labels in imgui dialogs
2021-08-31 08:53:40 +02:00
enricoturri1966
368e9d7f4e
Do not add an undo/redo snapshot when hitting Del key while nothing is selected
2021-08-31 08:07:38 +02:00
Vojtech Bubnik
f92312b597
Fixed parsing of Config from AMF / 3MF if it started with an empty line.
...
This bug was introduced with e947a29fc8
2021-08-30 17:57:04 +02:00
David Kocik
b5742eabe0
Delayed notifications list
...
Hint notification is delayed until empty notifications
2021-08-30 16:38:58 +02:00
enricoturri1966
ce3f51379a
ENABLE_SEAMS_USING_MODELS -> Increased size of instances
2021-08-30 14:13:41 +02:00
enricoturri1966
1238afbdfd
Fixed conflicts after merge with master
2021-08-30 13:26:35 +02:00
enricoturri1966
c32f2fb765
New project command enabled when the plater is empty but the project state is marked as dirty
2021-08-30 12:14:45 +02:00
enricoturri1966
9c1c723253
Fixed volume name when loading a 3mf, saved with 3rd part software, as project
2021-08-30 11:46:26 +02:00
enricoturri1966
cc56769ec3
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2021-08-30 10:47:09 +02:00
enricoturri1966
fe66aa9559
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_3mf_mirrored_volumes
2021-08-30 10:44:50 +02:00
Lukáš Hejl
57f7b49223
Corrected undo/redo snapshot name when entering or leaving multi-material painting gizmo.
2021-08-30 10:41:41 +02:00
David Kocik
6be99f941d
Escaping of backslash
2021-08-30 10:28:57 +02:00
enricoturri1966
7a3f8c0a4c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_seams_as_models
2021-08-30 08:37:51 +02:00
enricoturri1966
14659cf760
Revert of d701dfe436
2021-08-30 08:29:50 +02:00
David Kocik
ae3478c6c5
Desktop integration escaping path
2021-08-28 14:35:29 +02:00
Vojtech Bubnik
1c76df89ea
Fix of paint on supports don't work for object that has been scaled up #6718
...
The triangle-ray intersection function used a hard coded epsilon,
which did not work for triangle meshes, that were either too small
or too large. Newly the epsilon may be provided to the AABBTreeIndirect
search functions externally and IndexedMesh calculates a suitable
epsilon on demand from an average triangle mesh edge length.
2021-08-27 21:04:18 +02:00
Lukas Matena
d9f2fd7501
Fixed shifted clippimg plane triangulation on scaled meshes,
...
fighting z-fighting has to be done in world coords.
2021-08-27 19:46:44 +02:00
enricoturri1966
7bd14bfaf7
ENABLE_SEAMS_USING_MODELS -> Fixed instances when horizontal slider is enabled for top layer only
2021-08-27 15:23:27 +02:00
Vojtech Bubnik
8dfc0422a8
Faster and hopefully more reliable projection of paint-on support
...
blockers and enforcers on a sliced mesh.
2021-08-27 15:05:18 +02:00
Vojtech Bubnik
306bd0a198
Fixed leakage of paint-on supports through thin objects. This is a bug
...
introduced during 2.4.0 refactoring.
Fixes To much support #6067
2021-08-27 15:05:18 +02:00
Lukas Matena
2844bee60b
Added missing include (gcc 8.4)
2021-08-27 14:01:29 +02:00
Lukas Matena
7852ba061c
Slightly reworded the 'Empty layers detected' warning,
...
it mentions the layers between which the problem occurs,
not just the upper one (which may be unclear).
2021-08-27 12:13:15 +02:00
enricoturri1966
9c4eeeaa18
Tech ENABLE_SEAMS_USING_INSTANCED_MODELS merged into tech ENABLE_SEAMS_USING_MODELS
2021-08-27 11:41:34 +02:00
Vojtech Bubnik
fbe4695958
Slight optimization of GLGizmoSimplify::process():
...
Moved a static variable from inside a lambda outside as the static
inner variable initialization & access has to be made thread safe.
2021-08-27 11:30:37 +02:00
Vojtech Bubnik
ae8e0311d7
debugging function debug_output_path() moved to utils.cpp/hpp
...
and it now prints to console the default path when called for the first time.
Fixed compilation of debugging output in SupportMaterial.
2021-08-27 11:25:50 +02:00
enricoturri1966
dd5beee0bd
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_seams_as_models
2021-08-27 10:17:20 +02:00
enricoturri1966
03dc2f7c11
ENABLE_SEAMS_USING_INSTANCED_MODELS -> Completed implementation of rendering models using instancing
2021-08-27 10:16:50 +02:00
enricoturri1966
c471c3c7c4
Code cleanup and small refactoring
2021-08-26 14:37:09 +02:00
Filip Sykala
f90b10b63e
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2021-08-26 14:21:59 +02:00