04c2fde671
Removed the old motion planner.
2020-11-17 09:33:30 +01:00
a20ce2f484
ENABLE_GCODE_VIEWER set as default in 3DBed.hpp/.cpp
2020-11-16 17:29:21 +01:00
afddcf71db
Preview - Paint in grey toolpaths belonging to layers containing pause prints or custom gcodes
2020-11-16 15:01:13 +01:00
49ce613be7
Enable previous heuristics which was disabled by mistake
2020-11-16 14:37:42 +01:00
c702b3b71d
Add heuristics for removing unnecessary detours
2020-11-16 14:22:32 +01:00
9936b8e34e
Add missing includes
2020-11-16 14:22:32 +01:00
3db66af716
Fix another compiler warning
2020-11-16 14:22:32 +01:00
266e6dee5d
Fix compiler warnings
2020-11-16 14:22:32 +01:00
c00c7eaed3
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
ef9de07740
Disabling wipe for avoid crossing perimeters
2020-11-16 14:22:32 +01:00
7f94e9fa59
Fixed perimeters crossing when supports are printed.
2020-11-16 14:22:32 +01:00
2afeea5b6f
Fixed division by zero when the layer is empty
2020-11-16 14:22:32 +01:00
3e98e2a4bd
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
8adf02a289
Moved AvoidCrossingPerimeters to separate file
2020-11-16 14:22:32 +01:00
20916e2362
Disable filed with max detour length when avoid crossing perimeters is disabled
2020-11-16 14:22:32 +01:00
4288be0e06
Fixed a case when the intersection is one of the endpoints of the line
2020-11-16 14:22:32 +01:00
c828a5d6e9
Added the possibility to set the maximum length of the detour
2020-11-16 14:22:32 +01:00
c16aad7e0b
Reworked the algorithm for avoid crossing perimeters for multiple objects
2020-11-16 14:21:36 +01:00
69658a57d8
Fixed crossing perimeters in some cases
2020-11-16 14:21:36 +01:00
556c212f9d
Fixed crossing perimeters when option "Wipe while retracting" is enabled
2020-11-16 14:21:36 +01:00
39e3358af5
Avoid crossing perimeters bugfix
2020-11-16 14:21:36 +01:00
a4fc435f75
Clear generated boundaries from previous layer
2020-11-16 14:21:36 +01:00
5c073d0ddb
Improved documentation of avoid crossing perimeters algorithm.
2020-11-16 14:21:36 +01:00
46bae74e48
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
074406647a
Fixed bug when algorithm stuck in a loop
2020-11-16 14:21:36 +01:00
6573bc15a5
Selection of shortest path around polygon boundary
2020-11-16 14:21:36 +01:00
7a4ba7d131
A simple algorithm to follow the boundary of polygons
2020-11-16 14:21:36 +01:00
620f94331c
fix of OSX build: workaround of non-standard std::optional
2020-11-16 13:44:15 +01:00
a864d584a6
Fillers: Renamed Rectilinear2 to Rectilinear.
2020-11-16 13:24:57 +01:00
2249e5d4b2
Renamed FillRectilinear.cpp,h to FillLine.cpp,h
2020-11-16 13:17:18 +01:00
db05f00860
Fixing compilation issues.
2020-11-16 13:11:58 +01:00
812cbade4d
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
e9fa36ea7d
Fillers: Removal of old FillRectilinear, using of "override" instead
...
of "virtual" where applicable.
2020-11-16 11:16:44 +01:00
e77fc43159
Merge remote-tracking branch 'remotes/origin/master' into lh_adaptive_infill_hooks
2020-11-16 10:54:19 +01:00
4280fdb5f2
Reworked connection of infill lines to perimeter lines.
...
Added a new "infill_anchor" parameter.
2020-11-16 10:54:00 +01:00
e04c6a4d17
Fixed screen-size for point markers used to visualize retraction/unretractions and other options in preview
2020-11-16 10:29:54 +01:00
84693a5810
New get_extents(const std::vector<Points> &pts),
...
refactored Lian Barsky line clipping
2020-11-16 10:20:47 +01:00
32362cff0b
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
9b3ff9b1cf
Zoom max limit increased from 100 to 250
2020-11-16 08:48:44 +01:00
808c43cb4b
Added dialog to choose import action when dragging and dropping a project file
2020-11-16 08:39:25 +01:00
c5391d3354
fixed possible segmentation in physical printer dialog
...
* When pressing "Refresh Printers" in Physical Printer Dialog slicer
crashed because of a wrong cast
2020-11-14 21:46:54 +01:00
0688a76c73
Code cleanup
2020-11-13 11:50:52 +01:00
e78e3ad80b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential
2020-11-13 10:46:41 +01:00
172c1bbab7
Fix the typo in 932dfb4fca
...
The resize of the Spincontrol was wrong placed in the code
2020-11-12 21:43:21 +01:00
d962d431c0
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
9e4cb893f7
Sequential print visualization using vertical slider in preview -> Added travel moves
2020-11-12 16:29:44 +01:00
932dfb4fca
GTK3 specific : Fix of #5053
2020-11-12 15:33:24 +01:00
353536ab86
Physical printers dialog: Update Test button in respect to the inputted printhost
2020-11-12 15:24:47 +01:00
8c8ad70c58
ENABLE_GCODE_VIEWER set as default in fff_print test and PrusaSlicer.cpp
2020-11-12 15:01:59 +01:00
8633e8f25c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-11-12 14:05:56 +01:00