Commit Graph

15464 Commits

Author SHA1 Message Date
a0feb0f652 Preview and G-code viewer - Fixed synchronization between markers for pause print, color changes, custom g-code, retractions, deretractions and current line shown in g-code window 2021-03-23 12:46:04 +01:00
cafa5b26a8 Compilation fixes 2021-03-23 12:40:29 +01:00
af9c7c967f Implementing a new switch for the shape of support towers:
expanded to a grid (the old way) vs.
snug (like the upstream Slic3r, Cura or Ideamaker).

Snug supports suffered from the degeneracies when merging overhang islands
over a large number of layers when projecting the support towers down.
We borrowed the idea & a bit of code from Cura by simplifying the support
polygons by closing the concave cracks, see the smooth_outward() function
and the MutablePolygon class.

Fixes Support problems with models with hole in the walls. #555
Fixes Support in the Air #740
Fixes [Bug] Supports generated beyond bed edges (X<0 and X>250) and where none are needed. #902
Fixes Unable to remove support material/can't change support "inflation distance" #2708
Fixes FR: support inflation and support conform to boundary #4783
Fixes Support blocker not working on this model #1346
Fixes Unnecessary support material #1993
Fixes support blocker enforcer issue #6240
2021-03-23 11:06:45 +01:00
00295919bf Fixes of MutablePolygon 2021-03-23 11:06:45 +01:00
1c2d264570 Fix for f5d3866847 2021-03-22 15:46:02 +01:00
f5d3866847 Follow-up 995512f280 DoubleSlider improvements:
Fixed a case when wipe tower is used to the end of print and there is one layer which is not marked in layers_times statistics
2021-03-22 11:47:05 +01:00
1b3b4c5694 Added missing include (GCC 9.3) 2021-03-22 10:30:49 +01:00
a618bfe078 Merge remote-tracking branch 'origin/et_gcode_window' 2021-03-22 08:56:25 +01:00
b6470c3390 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window 2021-03-22 08:39:44 +01:00
347e96a9a6 Merge branch 'tm_fix_max_warning' 2021-03-19 14:03:58 +01:00
aa2d8915ef Fix crash caused by boost log trivial on mac 2021-03-19 14:03:28 +01:00
8295f81685 Fix mac warnings 2021-03-19 14:03:28 +01:00
6f3f3624c5 Fixing FDM support bottom zero interface layers, where one dense
interface layer was errorneously created.

Follow-up to 00db3dc419
73b88e6ce0
referencing the issues fixed by the above commits:
Fixes Allow to disable raft under support structures. #3772
Fixes Separate counts for floor and roof support interface layers #4288
2021-03-19 13:39:20 +01:00
4745948b84 Fixed compilation on Linux 2021-03-19 11:35:09 +01:00
9f09f03228 Refactoring of FDM support generator:
1) If "support on build plate only" is enabled, the support columns are
   newly trimmed to not land on top of an object. However this may make
   the column too small to be stable.
2) Support enforcers newly take precedence over "supports on build plate only"
   and over "don't support bridges".
3) Some refactoring of the support generator code for clarity: Reduced
   some of the worst spagetti offenders.

Fixes Support generated even if support on build only activated #915
Fixes Bug: supports on build plate only #1340
Fixes Bottom interface layer is not generated , support on build plate only. (long open defect) #4199
Fixes option "supports on build plate only" does not work #3980

Fixes No support interface layers generated #1997
Fixes Feature Request: Option to combine results of 'support from build plate only' and 'support enforcers only' #2801
Fixes Support interface isn't generated: build plate only + blocked by model + support enforcer #3831
Fixes Support Enforcer don't create interface layers #5748
Fixes Support Enforcers Don't Have Top Loops/Raft #1870
Fixes Don't cancel support enforcers with "don't support bridges" #5105
2021-03-19 11:21:35 +01:00
4602f40813 Next auto color change improvements 2021-03-19 11:11:46 +01:00
995512f280 Fix of #6232 - Layer preview number scale and print time problem.
Problem description:
When "Print Settings -> Multiple Extruders -> No sparse layer" is enabled, then "Smart" Wipe Tower is used for wiping.
As a result, each layer with tool changes is splited for min 3 parts: first tool, wiping, second tool ...
But vertical slider wasn't respect to this case.
2021-03-18 18:53:49 +01:00
eda19a7e56 Fixed a crash after switch from Filament Settings Tab to some another, when "Custom G-code" category is active. 2021-03-18 18:53:49 +01:00
4d5500f10c Merge branch 'dk_notifications' 2021-03-18 14:08:10 +01:00
bfd87dc93a cleanup 2021-03-18 13:21:11 +01:00
7c7c355376 Notification manager - apply_in_preview function 2021-03-18 12:42:42 +01:00
a6cf840540 Auto color change improvements: Show info notification just ones, if there is new print 2021-03-17 17:11:03 +01:00
e054fe231e Merge branch 'dk_printhost' 2021-03-17 16:05:32 +01:00
8c075a878f warning fix 2021-03-17 15:43:41 +01:00
b4e6cc7ff8 Merge branch 'dk_notifications' 2021-03-17 15:41:52 +01:00
d2ec2b33f9 missing override keyword
missing override keyword
2021-03-17 15:40:59 +01:00
a95607d7bf Fixing an FDM support generator bug, where some of the support columns
were missing abruptly when going down.
The issue was caused by extracting support areas from a grid and
filtering the extracted islands by intersection with the input islands.
Sometimes the input islands were a bit bigger than the extracted contour,
thus some of the samples of the input islands did not fall into
the extracted contour.
2021-03-17 12:25:49 +01:00
b13239e4ca Fix previous commit's missing include 2021-03-17 10:05:24 +01:00
0c4fb6dfcc CGAL may have infinite face vertex ranges.
Calling vtc.size() may end up in an infinite loop. Also, quads do not appear in CGAL meshes.
2021-03-17 09:42:03 +01:00
92de7bafc6 Merge branch 'dk_printhost' 2021-03-16 18:44:59 +01:00
5daaaa2845 Fixed upload notification cancel button 2021-03-16 18:44:12 +01:00
80b9a3c62b Fix of #6212 - Cannot select "New Project" after deleting models in saved project, continuing overwrites old project 2021-03-16 10:32:15 +01:00
3e5e020651 Merge branch 'tm_drilling_improve' 2021-03-16 09:38:07 +01:00
96ac6ff2fa Fix undrillable hole color and picking 2021-03-16 09:31:03 +01:00
6d58546aef Fix unmarked failed holes on first gizmo opening 2021-03-16 09:31:03 +01:00
3d0d96d8f9 Working hole drilling one by one without linear slowdown. 2021-03-16 09:31:03 +01:00
6059d89bc8 Avoid mesh alteration when converting to CGAL Surface_Mesh
orient_to_bound_a_volume tends produce incorrect results.
2021-03-16 09:31:03 +01:00
4b9de0398f Drill holes one by one and display warning of any of them fails
Drill with cgal::minus for now
2021-03-16 09:31:03 +01:00
d0febbec32 Disable the new Toggle fullscreen menu item on OSX, it adds its own. 2021-03-16 08:54:46 +01:00
fc7762e465 Added a missing include (Linux) 2021-03-16 07:25:31 +01:00
fc0e2d578f Checking for removable media on Chrome OS. 2021-03-15 17:42:18 +01:00
d695e090ef Changing the Fullscreen hotkey to Ctrl+Cmd+F for OSX 2021-03-15 17:11:36 +01:00
b9c4d29fe9 call detect_platform() after SLIC3R_LOGLEVEL env variable is read 2021-03-15 17:00:49 +01:00
01406fd521 Worked around some quirky Linux file system issues. Namely
the Chromebooks share their file system to Linux using the 9p file
system, which does not support setting file ownership. Newly PrusaSlicer
will detect platform and it will not panick if copy_file() cannot set
file ownership after copying. It just logs the incident, and on
chromebooks the loglevel for that incident is "Info", not "Error".

Adjusted the full screen mode to contain menu bar.
Moved Platform.cpp/hpp to libslic3r
2021-03-15 16:19:22 +01:00
84a333e4ed Fixed progress percentage passed to notification 2021-03-15 16:03:51 +01:00
888f331778 Deleted debug print 2021-03-15 14:01:21 +01:00
645c840e5f Enabled print host upload notifications 2021-03-15 13:07:54 +01:00
db71a6308d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window 2021-03-15 11:27:43 +01:00
117a6ace5a G-code window - Fixed file mapping for gcode files generated by other slicers 2021-03-15 11:27:24 +01:00
fb9d537b58 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2021-03-15 10:36:22 +01:00