Commit Graph

7280 Commits

Author SHA1 Message Date
Vojtech Bubnik
cf568e7f37 Fixing build on gcc/clang 2021-02-22 19:43:18 +01:00
YuSanka
9b5eb7fc41 ObjectList: After deleting volumes from the object, update the extruder color for the object from the last and only volume 2021-02-22 18:50:38 +01:00
Vojtech Bubnik
f04b609cb5 PNGReadWrite: png::write_gray_to_file(), png::write_gray_to_file_scaled() 2021-02-22 18:07:27 +01:00
Vojtech Bubnik
5a0e0857a0 Fixes Support Interface printed on air #2903
Fixes Supports generated loose in space #4874
Fixes Support Interface layers in midair #5016
2021-02-22 18:07:27 +01:00
Vojtech Bubnik
9af66056f0 Extended SVG::export_expolygons() with legend. 2021-02-22 18:07:27 +01:00
YuSanka
9f155a4d21 Fix a crash on printer presets switching between MM and SM printers:
1. DoubleSlider::Control : Update extruder colors before another updates for layers slider
2. GCodeViewer : Control count of extruders during the legend updating
2021-02-22 17:08:03 +01:00
YuSanka
0072b54bba PresetComboBox: Fixed thin/wide_space_icon_width scale
+ Added border for the color_extruder bitmaps
2021-02-22 17:08:03 +01:00
Lukas Matena
b76f3419a3 Show a notification when attempting to slice during SLA support points editing
This should also fix #5736 and a similar crash when deleting an object during manual editing (which was introduced between 2.2.0 and 2.3.0)
2021-02-22 16:26:16 +01:00
Lukas Matena
2f146f727b Bugfix: custom seam did not work for triangles that were exactly vertical
The projection algorithm was originally made for custom supports, so vertical triangles
were not interesting. They are for seam. Instead of rewriting the algorithm and risking
more bugs, the edge case is detected and the triangle is tilted slightly.
2021-02-22 16:26:16 +01:00
Lukas Matena
f42e459ab5 Fix aligned seam when sequential printing is enabled 2021-02-22 16:26:16 +01:00
enricoturri1966
0155e9f5a5 #6095 - Fixed toolpaths generation 2021-02-22 15:27:40 +01:00
tamasmeszaros
03e483a0af Eliminate libnest2d warning on mac 2021-02-22 13:08:24 +01:00
YuSanka
f54de4734b Fix of #6094 - Slicer crashes in MMU2S mode 2021-02-22 09:56:23 +01:00
enricoturri1966
54258ac336 Follow-up of 86d7e1fb90 -> Custom gcode validation in Filament settings tab 2021-02-22 08:39:36 +01:00
enricoturri1966
3b2b937d0e Follow-up of 86d7e1fb90 -> Custom gcode validation in Printer settings tab 2021-02-22 08:13:48 +01:00
Vojtech Bubnik
2813cb5cd4 Fixed compiler warnings 2021-02-19 20:09:57 +01:00
Vojtech Bubnik
3fd46657d8 Fixing a constness issue of the preceding commit. 2021-02-19 19:00:43 +01:00
Vojtech Bubnik
26776faf70 Silencing compiler warning in AGGRaster on Visual Studio 2021-02-19 18:57:45 +01:00
Vojtech Bubnik
b76dafdda3 Improvements in FDM support generator:
Projection into a grid has been reworked to use the AGG rasterizer.
This fixes #5209 and #6067.
Also the raster is now being oversampled by maximum 8x8 samples
and the supports are only allowed to expand inside the cell.
This significantly reduces leakage of supports through object walls,
which fixes #5054.
2021-02-19 18:50:44 +01:00
enricoturri1966
3c0fa24a71 Tech ENABLE_RENDER_PATH_REFRESH_AFTER_OPTIONS_CHANGE set as default 2021-02-19 15:38:05 +01:00
enricoturri1966
ef00d416b0 Follow-up of 9afaebac75 -> Fixed wrong gcode line numbers shown on preview horizontal slider when time estimation for silent mode is active 2021-02-19 14:12:49 +01:00
enricoturri1966
5a19dd7041 Tech ENABLE_NEW_NOTIFICATIONS_FADE_OUT set as default 2021-02-19 12:18:09 +01:00
enricoturri1966
6310b863af Follow-up of 86d7e1fb90 - Fixed build warning on OsX 2021-02-18 15:35:38 +01:00
Lukáš Hejl
307f264cc0 Fixed unnecessary travels after calling the avoid crossing perimeters when the wipe is enabled.
When the avoid crossing perimeters was enabled, and the wipe was enabled, there were unnecessary travels in the opposite direction than the wipe travel.
2021-02-18 14:41:56 +01:00
enricoturri1966
d8a1dfa6be #5538 - Validation of custom g-code against gcode processor reserved keywords 2021-02-18 14:34:40 +01:00
enricoturri1966
8aca687aef Tech ENABLE_PREVIEW_TYPE_CHANGE set as default 2021-02-18 11:52:14 +01:00
enricoturri1966
455dbc01ed Tech ENABLE_ARROW_KEYS_WITH_SLIDERS set as default 2021-02-17 17:21:06 +01:00
enricoturri1966
a12ee64cf5 Tech ENABLE_DRAG_AND_DROP_FIX set as default 2021-02-17 14:52:58 +01:00
YuSanka
83a3e844e3 Fix of #6056 - Purging Volumes dialog doesn't save pasted values 2021-02-17 14:37:25 +01:00
enricoturri1966
354070d9b2 Tech ENABLE_TOOLPATHS_WIDTH_HEIGHT_FROM_GCODE set as default 2021-02-17 11:23:17 +01:00
YuSanka
5ccb8c8222 Fixed a bug with erase of the multiple instance selection in 3D-scene
+ Try to fix accidentally crash on Copy/Paste
2021-02-16 21:20:06 +01:00
Vojtech Bubnik
2a8d8a528b Fix of Supports printed too slowly. #984
Processing of CoolingBuffer is newly staggered for support layers
until the 1st object layer above supports is received by CoolingBuffer.
2021-02-16 11:30:57 +01:00
enricoturri1966
7144de8ead Fixed update of the horizontal slider after changing visibility of options in preview 2021-02-16 10:46:15 +01:00
enricoturri1966
919851b548 #5611 - Added option to show gcode line number on horizontal slider in preview 2021-02-16 10:07:05 +01:00
Vojtech Bubnik
8cf75cf037 Fix of Improve Support material adhesion by base type interface layers
under soluble supports. #5823
Implemented as a pull request #5903 by @spiky2021
and reworked.

commit c7993e619225553a2c4078787907b9ebbd9ac759
Author: spiky2021 <77010315+spiky2021@users.noreply.github.com>
Date:   Thu Feb 11 12:39:25 2021 +0100

    Base type interfaces for soluble interface supports

    At the moment soluble support material adhesion is weak due to sparse support layers under soluble support layers. I reported as issue #5823 with pictures, as well.
    I modified two methods to the SupportMaterial Class including their headers.
    The new methods add two base type interface layers to the support structure, in case the extruders are different and soluble support is choosen.
    Since it is conditionally activated, it in general doesn't need a GUI input. But a GUI option number of base interface layers may enabled users to adapt this feature to their needs.
    This is my second try to provide a pull request on this topic. Reset my fromer repository, because first I merged this and all other changes to my master and couldn't provide separate pull request anymore.
2021-02-15 18:07:44 +01:00
YuSanka
99bebcc79f Follow-up 6effa30322 : Fixed a crash of stand-along GcodeViewer
when open/close Preferences
2021-02-15 15:57:31 +01:00
enricoturri1966
a55c7c281c Removed obsolete class GLCanvas3D::WarningTexture 2021-02-15 11:00:37 +01:00
Vojtech Bubnik
26367001ab Fix of 3DBed Regression #6029 2021-02-15 09:31:19 +01:00
Pascal de Bruijn
3274bf5fd1 UnsavedChangesDialog: fix wxString casts
similar instance: 08388d3daa

related to: #5752
2021-02-14 07:41:21 +01:00
Vojtech Bubnik
0b07af417e Improving 3MF import: checking for invalid data. 2021-02-12 16:46:49 +01:00
YuSanka
902f89b1d4 Fixed localization for the message text 2021-02-12 14:29:22 +01:00
Vojtech Bubnik
0c5b57dd0d Fixing EdgeGrid after recent refactoring. 2021-02-11 13:40:15 +01:00
Vojtech Bubnik
eb070f698f Reduction of dead code in FDM infill. 2021-02-11 12:24:10 +01:00
Vojtech Bubnik
982dec9b31 Make clang happy about the indentation 2021-02-11 12:06:12 +01:00
Vojtech Bubnik
8615766b1e FDM synchronization of front end with back end:
Fixed unnecessary invalidation of already calculated perimeters
if the infill density changes.
Fixed a race condition in invalidation of FDM regions.
2021-02-11 12:03:29 +01:00
enricoturri1966
952fb47ec1 #6006 - Gcode processor: fixed error prompt for gcode lines Tc, Tx, T? 2021-02-11 11:48:46 +01:00
tamasmeszaros
4da8e5ef4c Remove warning from zero division.
By changing the initial value of pixel size to 1. from 0.
2021-02-11 11:26:25 +01:00
Vojtech Bubnik
11015f29c8 Experimental: Switching all solid infills from Rectilinear to Monotonic
for regions with Monotonic top infill type.
This should likely implement Monotonic of last layer before ironing #4939
2021-02-11 11:15:14 +01:00
Vojtech Bubnik
77f7f39a90 Fix of unnecessary splitting of solid fill surfaces.
This is a regression issue introduced in PrusaSlicer 2.3.0 with
the configurable anchoring.
2021-02-11 10:42:05 +01:00
Vojtech Bubnik
a000a318a3 Fixing one more Win32 warning 2021-02-11 08:42:52 +01:00