Commit Graph

28341 Commits

Author SHA1 Message Date
enricoturri1966
a72d8f7aef ENABLE_GCODE_VIEWER set as default in:
3DScene hpp/cpp

AboutDialog.cpp

BackgroundSlicingProcess hpp/cpp

BitmapCache.cpp

ConfigWizard_private.hpp

GUI_App hpp/cpp

GUI_Init.cpp
2020-11-18 10:44:03 +01:00
Vojtech Bubnik
0fcb1f817d Merge branch 'lh_avoid_crossing_perimeters' of https://github.com/Prusa3D/PrusaSlicer into lh_avoid_crossing_perimeters 2020-11-17 15:35:58 +01:00
Vojtech Bubnik
73d3ce2080 Avoid crossing perimeters: Further refactoring for clarity, code review. 2020-11-17 15:34:50 +01:00
Vojtech Bubnik
fe8f8c5f0a Avoid crossing perimeters: Further refactoring for clarity, code review. 2020-11-17 15:23:05 +01:00
David Kocik
a8576bcf08 Merge branch 'dk_filaments' into master 2020-11-17 15:08:19 +01:00
David Kocik
58f2c9b2bd boost canonical fix at instance check. Hopefully a fix of #4973 2020-11-17 15:03:34 +01:00
David Kocik
10272c16bd fix of segfault on startup at SplashScreen::SetText 2020-11-17 14:43:52 +01:00
Vojtech Bubnik
09aea4437d AvoidCrossingPerimeters: Refactored for better encapsulation. 2020-11-17 10:42:27 +01:00
Vojtech Bubnik
5ead86bdea Removed the old motion planner. 2020-11-17 09:33:30 +01:00
enricoturri1966
3cddbad0af ENABLE_GCODE_VIEWER set as default in 3DBed.hpp/.cpp 2020-11-16 17:29:21 +01:00
enricoturri1966
8cae9a71ce Preview - Paint in grey toolpaths belonging to layers containing pause prints or custom gcodes 2020-11-16 15:01:13 +01:00
Lukáš Hejl
8649a8fd44 Enable previous heuristics which was disabled by mistake 2020-11-16 14:37:42 +01:00
Lukáš Hejl
7470fcbc64 Add heuristics for removing unnecessary detours 2020-11-16 14:22:32 +01:00
Lukáš Hejl
90d58fecee Add missing includes 2020-11-16 14:22:32 +01:00
Lukáš Hejl
1179146d3f Fix another compiler warning 2020-11-16 14:22:32 +01:00
Lukáš Hejl
deb096c609 Fix compiler warnings 2020-11-16 14:22:32 +01:00
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
Vojtech Bubnik
73c10c6ddb fix of OSX build: workaround of non-standard std::optional 2020-11-16 13:44:15 +01:00
Vojtech Bubnik
68bd7159a6 Fillers: Renamed Rectilinear2 to Rectilinear. 2020-11-16 13:24:57 +01:00
Vojtech Bubnik
ce42c420b2 Renamed FillRectilinear.cpp,h to FillLine.cpp,h 2020-11-16 13:17:18 +01:00
Vojtech Bubnik
6ac40c470b Fixing compilation issues. 2020-11-16 13:11:58 +01:00
Vojtech Bubnik
9c07db8ee0 Fills:
1) New algorithm for connecting along the perimeters is now applied
   to Honeycomb, Hilbert and similar planar filling curves.
2) The old expensive path chaining is not applied if the new algorithm
   to connect along the perimeter lines is called afterwards.
2020-11-16 12:51:51 +01:00
Vojtech Bubnik
d0c6e25f2f Fillers: Removal of old FillRectilinear, using of "override" instead
of "virtual" where applicable.
2020-11-16 11:16:44 +01:00
Vojtech Bubnik
b4d8d1dd84 Merge remote-tracking branch 'remotes/origin/master' into lh_adaptive_infill_hooks 2020-11-16 10:54:19 +01:00
Vojtech Bubnik
dc25f3900f Reworked connection of infill lines to perimeter lines.
Added a new "infill_anchor" parameter.
2020-11-16 10:54:00 +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
Vojtech Bubnik
92fe017fc8 New get_extents(const std::vector<Points> &pts),
refactored Lian Barsky line clipping
2020-11-16 10:20:47 +01:00
Vojtech Bubnik
fd1777b94f SVG export: Implemented flipping in Y axis. Now flipped by default
to match the 3D print paths view when looking at the print from the top.
2020-11-16 10:18:51 +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
rtyr
7bd1d32002 Merge pull request #5156 from Tillverka3d/master
various fixes for Anycubic Predator profile
2020-11-15 14:55:22 +01:00
Nicolas North [norðurljósahviða]
af0b342e15 revert version bump to 0.0.4 and remove accel settings for Predator 2020-11-15 00:51:17 +01:00