Commit Graph

14574 Commits

Author SHA1 Message Date
YuSanka
bc5dfba54e Show the PrintHostDialog on the same display as an application window. Probably, fix for #5044 2020-12-04 13:34:44 +01:00
Vojtech Bubnik
8c173db0ed Fixed missing include (OSX - clang specific) 2020-12-04 13:17:30 +01:00
YuSanka
c16221dc8c Localization: Fixed some phrases. Updated POT and NL dictionary. 2020-12-04 13:08:48 +01:00
Vojtech Bubnik
d6b880f362 Fix of cooling preset hints 2020-12-04 13:05:25 +01:00
enricoturri1966
f7cc738d63 Fixed conflits after merge with master 2020-12-04 12:33:44 +01:00
enricoturri1966
36efbb8295 #5080 - Reworked logic for automatic selection of current view type in preview 2020-12-04 12:31:50 +01:00
Vojtech Bubnik
4f0811c67c Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-12-04 11:53:29 +01:00
Vojtech Bubnik
0373c646f1 Ramp up layer cooling fan over X layers #848
Fan speed will be ramped up linearly from zero at layer disable_fan_first_layers
to maximum at layer full_fan_speed_layer. full_fan_speed_layer will be
ignored if lower than disable_fan_first_layers, in which case
the fan will be running at maximum allowed speed at layer
disable_fan_first_layers + 1.;

WIP: The cooling PresetHints are likely not finalized yet.
2020-12-04 11:53:02 +01:00
Vojtech Bubnik
8c6fff1e19 1) Storing the physical_printer_settings_id into the 3MF, AMF, GCode.
2) Activating the physical_printer_settings_id when loading from 3MF, AMF, GCode.
   The physical printer is only activated if it references the printer_settings_id
   loaded from the same file.
3) When loading the presets from 3MF, AMF, GCode, the "external" profiles
   are no more created for profiles which differ from the local profiles
   the loaded profiles reference. Instead, the referenced profile is activated
   and modified with the loaded preset. If the referenced profile does not
   exist, but the profile refers to a system profile with the "inherits"
   fileds, the system profile is loaded and modified instead.
   This works for all profiles with the exception of multi-extruder
   printer with multiple filament profiles modified. In that case
   the first modified filament profile will be loaded as modified,
   while the other modified profiles will be loaded as "external".

This should fix
Physical printer + 3mf file, wrong preset used to generate gcode #5178
and possibly
https://github.com/prusa3d/PrusaSlicer/issues/5272
2020-12-04 10:48:51 +01:00
enricoturri1966
e51d8b6cec Merge remote-tracking branch 'origin/et_animations' 2020-12-04 10:33:09 +01:00
enricoturri1966
d8ae92a17f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_animations 2020-12-04 10:27:54 +01:00
enricoturri1966
cac0080ede Import all valid files when dragging and dropping a set of files on the application 2020-12-04 09:15:55 +01:00
enricoturri1966
ad4675ba09 Fixed build on MAC 2020-12-03 15:40:52 +01:00
enricoturri1966
fb0b3bd982 Fixed conflicts after merge with master 2020-12-03 15:27:34 +01:00
enricoturri1966
1b0829307d NotificationManager -> Separate notification update from its render to reduce the amount of scene refresh 2020-12-03 15:12:32 +01:00
tamasmeszaros
5d4bc92096 Merge branch 'tm_fix_split_arrange_crash'
fixes #2209
2020-12-03 15:00:06 +01:00
tamasmeszaros
ba155e88d7 Fix crash when splitting objects
fixes partially #2209
2020-12-03 14:58:56 +01:00
tamasmeszaros
c6090fc69e Fix arrange with malformed contours 2020-12-03 14:58:09 +01:00
Vojtech Bubnik
53d0166eec Revert "Fix of Proxy secured print host URL. Special character on password #4187"
The whole URL line was incorrectly escaped including the http:// prefix,
which is not correct.
This reverts commit 1b720dbc3d.
2020-12-03 14:20:04 +01:00
Vojtech Bubnik
fcae337e31 Fix of Unexpected Behavior @ Application Open and When GCODE is Generated #5254
Icon not loaded from the exe on Windows.
2020-12-03 14:14:40 +01:00
tamasmeszaros
f02e2759e3 Merge branch 'tm_arrange_bugfixes' 2020-12-03 14:09:55 +01:00
tamasmeszaros
94798bbe7d Fix for not finding CGAL in 32 bit MSVC 2020-12-03 14:07:15 +01:00
enricoturri1966
d1c5c46563 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-03 13:49:20 +01:00
enricoturri1966
6f31fcc1fb #5360 - GCode Viewer -> Added menu command to reload gcode file 2020-12-03 13:48:54 +01:00
YuSanka
fbb11ef1cc Suppressed a check of printer_presets for the containing information about "Print Host upload", when presets ate exported from the amf/3mf 2020-12-03 13:25:23 +01:00
Vojtech Bubnik
1b7cbd2c36 Further improvement error reporting with buggy custom G-code sections #1516
1) The macro-processor sanitizes the source code line for invalid UTF-8
   characters. Ideally these invalid characters would be replaced with ?,
   they are just dropped as of now. Better than showing an empty string
   when converting to wxString though.
2) G-code export collects full error message for 1st occurence of an error
   for each custom G-code block.
3) The composite error message now displays the errors collected in 2).
4) The error window is now scaled bigger and the Slicer logo is smaller
   if the text is to be rendered with monospaced font, as the monospaced
   text will not be word wrapped.
2020-12-03 12:50:24 +01:00
tamasmeszaros
f9d5b20c85 Fix out of bed items after arrange.
Disabled outline decimation for arrange and added very small (EPSILON) safety offset to bed detection boundaries.
2020-12-03 12:00:12 +01:00
YuSanka
82d0f9c91c Typo fix for b9c53adddb 2020-12-03 11:31:15 +01:00
Vojtech Bubnik
a3c0d013b2 Improvement of Improve error reporting with buggy custom G-code sections #1516
Errors in the file output templates are reported in mono-spaced font,
so that the arrow character ^ is displayed at the right column
pointing to the offending spot.
2020-12-03 11:03:16 +01:00
YuSanka
c0a94462e9 OSX specific: Hot fix for the c503a4e424 2020-12-03 10:40:17 +01:00
YuSanka
e8ae199fc9 Increased width for Infill ComboBox and EditCtrls from Manipulation panel on right panel
+ Added updated POT-file
2020-12-03 10:35:21 +01:00
Vojtech Bubnik
fe623965c2 Documentation of OctoPrint behind HAProxy with basic auth enabled
in the print_host tooltip.
Improves Feature request: support for basic auth for octoprint #650
2020-12-03 08:22:55 +01:00
Vojtech Bubnik
d17d4441d9 Fix of Proxy secured print host URL. Special character on password #4187
A raw URL was passed to libcurl, while it should have been URL encoded.
2020-12-03 08:07:13 +01:00
Vojtech Bubnik
38366a9899 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-12-03 07:30:26 +01:00
Vojtech Bubnik
82c47cd4f2 Fixes Spelling Error in Unsaved changes dialog (#5363) 2020-12-03 07:30:06 +01:00
tamasmeszaros
d65def7678 Follow up fix for bed filling
fixes: 2813db8906
2020-12-02 18:08:30 +01:00
tamasmeszaros
9a53dafb21 Merge branch 'tm_arrange_bugfixes' 2020-12-02 17:53:51 +01:00
tamasmeszaros
02d05a5f68 Use smarter object function in partial arrangement with empty bed. 2020-12-02 17:53:22 +01:00
tamasmeszaros
93b13c94b1 Fix for bed filling with some existing items out of bed. 2020-12-02 17:52:40 +01:00
tamasmeszaros
4c2fa51c61 Fix status indication glitch for bed filling 2020-12-02 17:50:12 +01:00
tamasmeszaros
1fe708f9ce Further improvement on arrange settings handling 2020-12-02 14:04:39 +01:00
David Kocik
e62299968e Merge branch 'dk_copy_file' into master 2020-12-02 12:12:51 +01:00
david kocik
861ae1dd6c error_code in boost::filesystem::space to ensure the drive exists. Fix of #5354 2020-12-02 12:12:24 +01:00
YuSanka
1f7aa5f149 Linux specific, dark mode: Fixed a black text on a black background for the view mode buttons. 2020-12-02 11:58:08 +01:00
Vojtech Bubnik
3515c01e0f Preview class refactoring: Moved initialization of member variables
to header.
2020-12-02 11:38:10 +01:00
tamasmeszaros
0676a67249 Add separate arrangement distance control for SLA mode 2020-12-02 10:28:13 +01:00
YuSanka
215dfb65d6 Localization: Updated RU dictionary 2020-12-01 18:24:51 +01:00
Vojtech Bubnik
25ca470af2 The new OSX 11 (Big Sur) is not compatible with wxWidgets 3.1.3.
Let's use patched wxWidgets 3.1.4, even though it is not quite tested.
Use the tested patched wxWidgets 3.1.3 everywhere else.
2020-12-01 16:54:20 +01:00
Vojtech Bubnik
91ebaebcbf Follow-up to 1719a9b3d1:
Only disable NEON extension for Apple ARM builds, leave it enabled for Raspberry PI.
2020-12-01 16:49:47 +01:00
Vojtech Bubnik
36bb2ad2ea Updated Catch2 to v2.13.3 to support compilation on OSX11 / ARM 2020-12-01 16:48:59 +01:00