Commit Graph

6587 Commits

Author SHA1 Message Date
Lukáš Hejl
f1a104c701 Rework of outer borders to reduce unnecessary detours along the border.
The resulting path now contains all intersection with borders, which allows eliminating more unnecessary detours and more simplify the path.
2020-11-16 14:22:32 +01:00
Lukáš Hejl
e14fb6c18a Disabling wipe for avoid crossing perimeters 2020-11-16 14:22:32 +01:00
Lukáš Hejl
61d4992338 Fixed perimeters crossing when supports are printed. 2020-11-16 14:22:32 +01:00
Lukáš Hejl
5a200c2d21 Fixed division by zero when the layer is empty 2020-11-16 14:22:32 +01:00
Lukáš Hejl
e648ca12ef Fixed avoiding of other printed objects, again
Calling std::move on itself causes that the first polygon is empty, which results in disabling this feature on Linux.
This was fixed before, but I accidentally reverted it when AvoidCrossingPerimeters was moved to separate file.
2020-11-16 14:22:32 +01:00
Lukáš Hejl
2b2e9a8ce2 Moved AvoidCrossingPerimeters to separate file 2020-11-16 14:22:32 +01:00
Lukáš Hejl
8b0592cc79 Disable filed with max detour length when avoid crossing perimeters is disabled 2020-11-16 14:22:32 +01:00
Lukáš Hejl
8df4c15652 Fixed a case when the intersection is one of the endpoints of the line 2020-11-16 14:22:32 +01:00
Lukáš Hejl
a7392cb7d8 Added the possibility to set the maximum length of the detour 2020-11-16 14:22:32 +01:00
Lukáš Hejl
3bb7f5f24b Reworked the algorithm for avoid crossing perimeters for multiple objects 2020-11-16 14:21:36 +01:00
Lukáš Hejl
6ae8692c22 Fixed crossing perimeters in some cases 2020-11-16 14:21:36 +01:00
Lukáš Hejl
7d1010ff99 Fixed crossing perimeters when option "Wipe while retracting" is enabled 2020-11-16 14:21:36 +01:00
Lukáš Hejl
f059807da5 Avoid crossing perimeters bugfix 2020-11-16 14:21:36 +01:00
Lukáš Hejl
cd854fcfa7 Clear generated boundaries from previous layer 2020-11-16 14:21:36 +01:00
Lukáš Hejl
c5b5e8588a Improved documentation of avoid crossing perimeters algorithm. 2020-11-16 14:21:36 +01:00
Lukáš Hejl
13dc97a84a Finalization of avoid crossing perimeters algorithm
EdgeGrid::Grid is used to find the intersection of a path with a polygon.
Simplification of find path.
Calculation of boundaries that not be crossed.
2020-11-16 14:21:36 +01:00
Lukáš Hejl
42773147d0 Fixed bug when algorithm stuck in a loop 2020-11-16 14:21:36 +01:00
Lukáš Hejl
c328651abc Selection of shortest path around polygon boundary 2020-11-16 14:21:36 +01:00
Lukáš Hejl
e2c259b50e A simple algorithm to follow the boundary of polygons 2020-11-16 14:21:36 +01:00
enricoturri1966
9f93d82038 Fixed screen-size for point markers used to visualize retraction/unretractions and other options in preview 2020-11-16 10:29:54 +01:00
enricoturri1966
e10bb78ed7 Zoom max limit increased from 100 to 250 2020-11-16 08:48:44 +01:00
enricoturri1966
4e15387af8 Added dialog to choose import action when dragging and dropping a project file 2020-11-16 08:39:25 +01:00
enricoturri1966
a5ab490dd9 Code cleanup 2020-11-13 11:50:52 +01:00
enricoturri1966
087a4f10e0 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential 2020-11-13 10:46:41 +01:00
YuSanka
e9df5e42f1 Fix the typo in 932dfb4fca
The resize of the Spincontrol was wrong placed in the code
2020-11-12 21:43:21 +01:00
YuSanka
5d2a974886 Localization:
* added missed phrases
* fixed some phrases
* updated POT-file and PO/MO-files for the CZ-translation
2020-11-12 21:35:39 +01:00
enricoturri1966
f0cb35e7ee Sequential print visualization using vertical slider in preview -> Added travel moves 2020-11-12 16:29:44 +01:00
YuSanka
8e30c7a184 GTK3 specific : Fix of #5053 2020-11-12 15:33:24 +01:00
YuSanka
466d39b42c Physical printers dialog: Update Test button in respect to the inputted printhost 2020-11-12 15:24:47 +01:00
enricoturri1966
c393ace3a8 ENABLE_GCODE_VIEWER set as default in fff_print test and PrusaSlicer.cpp 2020-11-12 15:01:59 +01:00
enricoturri1966
f46a43bb6d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-12 14:05:56 +01:00
enricoturri1966
5f9df6333f ENABLE_GCODE_VIEWER set as default in libslic3r 2020-11-12 14:03:58 +01:00
YuSanka
f2d7fd2017 Custom controls : The width for full_width fields is updated according to the custom control width
(thanks to the @supermerill for the mention on it, 6acf6bdf21)

+ Deleted redundant background color, as mentioned in the #5062
2020-11-12 10:13:16 +01:00
enricoturri1966
21aedc156e Removed the legacy PreviewData.cpp,hpp 2020-11-11 16:38:51 +01:00
enricoturri1966
7ab33750d1 WIP - Sequential print visualization using vertical slider in preview (missing travel moves) 2020-11-11 16:22:09 +01:00
David Kocik
654bc266fc escape_ampersand function and changed order of printer names and pictures in config wizard 2020-11-11 16:08:27 +01:00
enricoturri1966
28cfd71f51 Follow-up of bb74d2da5b and 7b2aca0159 -> Removed inclusions of GCode/Analyzer.hpp and GCodeTimeEstimator.hpp 2020-11-11 15:41:48 +01:00
YuSanka
dd2799b8d9 Fixed of #5081
Width of sub-label is calculated by using of GetTextExtent() instead of PaintDC->GetMultiLineTextExtent, because of PaintDC is not OK sometimes.
For example on GTK3 PaintDC->IsOk() only, when it's using in a native paint event
see https://github.com/wxWidgets/wxWidgets/blob/master/src/gtk/dc.cpp, line 346
2020-11-11 12:04:15 +01:00
YuSanka
d55c1e22ee MM print : Fixed re-scaling of the Extruders column in the Object list 2020-11-10 11:06:33 +01:00
David Kocik
824a5eabe9 Callback stored at std::function for notification hyperlink. Notification progress bar draft. 2020-11-10 09:22:47 +01:00
David Kocik
a82cd93601 imgui README.md prev commit hash 2020-11-09 15:15:30 +01:00
David Kocik
75cd39ac9f Large notification buttons and icons 2020-11-09 15:15:30 +01:00
enricoturri1966
4a79df540e #5098 - Fixed no preview after language change 2020-11-09 14:27:00 +01:00
Lukas Matena
f6ad6f088d Fix of an ASAN crash on app close (Linux) 2020-11-09 14:00:58 +01:00
enricoturri1966
554e0918d3 GCode Viewer - Fixed color print visualization for gcode containing multiple extruders 2020-11-09 13:06:20 +01:00
enricoturri1966
65e42ee8a4 GCode Viewer - Show print/printer/filament settings names in legend 2020-11-09 08:41:14 +01:00
YuSanka
7fe44d6a33 OSX specific : Set top border for the mode buttons, when settings pages has new layouts
(when tabs bar is hidden)

+ Code cleaning for OG_CustomCtrl (delete unused input parameter from the draw_blinking_bmp())
2020-11-06 16:24:03 +01:00
YuSanka
3c80c09ade Localization : Next phrases corrections and update for PrusaSlicer.pot 2020-11-06 12:14:19 +01:00
enricoturri1966
c144f97b6a Disabled tech ENABLE_CTRL_M_ON_WINDOWS 2020-11-06 11:55:57 +01:00
enricoturri1966
ef29a6a1e3 Enabled tech ENABLE_CTRL_M_ON_WINDOWS to produce an experimental build 2020-11-06 11:42:54 +01:00