Commit Graph

7083 Commits

Author SHA1 Message Date
YuSanka
5a9e94e67d Fix for #5142 2020-12-09 10:23:39 +01:00
enricoturri1966
070ee5308c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-09 10:23:13 +01:00
enricoturri1966
982ae7fa85 Tweaked layout of preference dialog 2020-12-09 10:23:03 +01:00
Vojtech Bubnik
562c0bd563 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-12-09 09:27:03 +01:00
Vojtech Bubnik
7353d8c6e9 Rework of Add random function for gcode macros. #5219 after merge:
The thread local storage variables for the random number generator
were replaced by an external context variable.
Thread local storage is a scarce resource.
2020-12-09 09:19:46 +01:00
Vojtech Bubnik
1e190affcf Merge branch 'pa_macro_random_support' of https://github.com/ardenpm/PrusaSlicer into ardenpm-pa_macro_random_support 2020-12-09 07:33:41 +01:00
Lukáš Hejl
bb2eecb42c Fix of #4060 - Add check for the case that all ranges of a volume do not contain any Z. 2020-12-09 07:28:18 +01:00
Lukáš Hejl
0ad135ff93 Fix of #4732 - In spiral vase mode, use the number of layers instead of the value of bottom solid layers if a printed object has a smaller number of layers than the value of bottom solid layers. 2020-12-09 07:21:14 +01:00
Lukáš Hejl
4c35250531 Fix of #5004 - Disable retract on layer change also for filament overrides. 2020-12-09 07:16:01 +01:00
Vojtech Bubnik
2d6b694261 Fix of Place on face:
1) Decreased "gimbal lock" epsilon 10x
2) Got rid of unnecessary back and forth conversions which led to numerical inacurracies

This should fix issues #5172, #5011 and #5398
2020-12-09 06:20:41 +01:00
Vojtech Bubnik
6e3fae3865 Fix of #5319 - presets inherited from renamed presets using the old
preset name in the "inherits" field were losing the "inherits" flag.
2020-12-08 17:45:59 +01:00
YuSanka
661ad1735b Changed layout for for the Preferences Dialog (related to #5381)
+ Fixed #5312
+ Deleted unused now EVT_TAB_VALUE_CHANGED and EVT_TAB_PRESETS_CHANGED
2020-12-08 17:10:17 +01:00
enricoturri1966
b7ac74bc42 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-08 15:56:08 +01:00
enricoturri1966
5bd443cd1f #4936 - Take toolpaths width and height from gcode decorations, if available 2020-12-08 15:55:53 +01:00
Vojtech Bubnik
5f456ebbe7 Merge branch 'lh_avoid_crossing_perimeters' 2020-12-08 13:39:33 +01:00
YuSanka
90248bffa5 Parameter "G-code thumbnails": check value for the out of range 2020-12-08 13:29:47 +01:00
Lukas Matena
2d711d8646 Added missing includes for gcc 2020-12-08 12:31:59 +01:00
YuSanka
3134359505 OSX specific: Fixed shortcut "Cmd+M" 2020-12-08 12:27:39 +01:00
enricoturri1966
1532e02b74 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-08 11:43:14 +01:00
enricoturri1966
bf3786be59 ENABLE_RENDER_STATISTICS -> FPS averaged to last second 2020-12-08 11:43:00 +01:00
Vojtech Bubnik
ca2691c67c Fix for OSX 2020-12-08 10:49:30 +01:00
YuSanka
d7412d4e54 Increase min height for the ObjectList.
Related to the FR #5162
2020-12-08 10:11:11 +01:00
Vojtech Bubnik
c7aee35552 Merge of Fix proposal for crash on rectilinear #5399 2020-12-08 08:45:16 +01:00
Vojtech Bubnik
6fe0b09a04 Fixes "Add instance" and "Remove instance" hotkeys don't work when object is selected via de object browser #5350
Captures the +- hotkeys in the object list to add / remove an instance.
2020-12-08 08:30:15 +01:00
Richard Hartmann
1874c42bb9
PrintConfig.cpp: Fix grammar mistake 2020-12-07 22:04:57 +01:00
Vojtech Bubnik
3e22b39a42 Improved error handling when loading invalid preset bundle. Improves
Import Configuration bundle can fail if profile names have spaces at the end #5291
2020-12-07 21:10:20 +01:00
Vojtech Bubnik
59d9f35439 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-12-07 19:47:57 +01:00
Vojtech Bubnik
ffea00454e Fixed missing include. 2020-12-07 19:47:37 +01:00
YuSanka
2a44fbefd6 Don't ask about inches if we load project file (3mf or amf). #5006 2020-12-07 19:36:54 +01:00
YuSanka
acd1782910 In AboutDialog added "Copy Version Info" button (FR #4990) 2020-12-07 19:04:09 +01:00
YuSanka
7e3d8c3142 Fixed localization for the name of Infill pattern
(hot fix for the b27e18c970)
2020-12-07 18:40:10 +01:00
Vojtech Bubnik
c7586e5713 Fix of Command line slicing bad gcode #5029
SL1 file was exported with a .gcode suffix if the user did not provide
output file name for SLA command line slicing.
2020-12-07 18:39:33 +01:00
tamasmeszaros
598ac290a1 Fix for bad wipe tower handling in arrangement
fixes #5320
2020-12-07 18:00:10 +01:00
Vojtech Bubnik
b27e18c970 Fix of fill_pattern handling in the GUI with 100% infill off-by-one #4999 2020-12-07 17:52:45 +01:00
YuSanka
042bfe6be4 Fixed localization for "Compatible presets" dialog. Relate to issue #4975 2020-12-07 17:31:46 +01:00
Vojtech Bubnik
333577b905 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-12-07 17:09:11 +01:00
Vojtech Bubnik
780418435a Fix of Custom profiles prevent the slicer from starting up #4996
Creative user made a profile inherit from itself.
2020-12-07 17:09:02 +01:00
YuSanka
569200eb99 Added "G-code thumbnails" parameter to the Printer Settings tab 2020-12-07 16:42:20 +01:00
Vojtech Bubnik
82dfb990ef Fix of [BUG]Post-Processing Scripts not called while slicing from command line #4903 2020-12-07 15:21:36 +01:00
Vojtech Bubnik
b909ce7a3d Fix of [BUG]Environment variables not all exported while calling Post-Processing Scripts #4901 2020-12-07 14:59:36 +01:00
YuSanka
fe18ce16fb MSW specific: Fixed assert "Assert failure" failed in
wxPaintDCImpl::wxPaintDCImpl(): wxPaintDCImpl may be created only in EVT_PAINT handler
2020-12-07 12:18:47 +01:00
Vojtěch Bubník
d4c949dab6
Merge pull request #4734 from wavexx/fix_new_instance_shortcut
Use Ctrl+Shift+I to open a new instance instead of Ctrl+I
2020-12-07 11:28:03 +01:00
enricoturri1966
1185ec9d2a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-07 10:30:11 +01:00
enricoturri1966
f77475e501 Tech ENABLE_SHOW_WIPE_MOVES set as default 2020-12-07 10:29:50 +01:00
Vojtech Bubnik
8bf55273c3 fix of incorrect keyboard prefix shown on OSX for Arrange edit field
Arrange Options dialogue improvement request #5217
2020-12-07 10:02:31 +01:00
enricoturri1966
8a20b09d08 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-07 09:34:47 +01:00
enricoturri1966
17f00562de Tech ENABLE_SHOW_OPTION_POINT_LAYERS set as default 2020-12-07 09:34:31 +01:00
Vojtech Bubnik
44dacdd4f8 Manual merge of fix png alpha channel support for gtk3 #5298 2020-12-07 09:20:12 +01:00
enricoturri1966
10be5d1361 Replace F5 with Ctrl+Shift+R as shortcut key for reload from disk commands on MAC 2020-12-07 08:39:43 +01:00
Vojtech Bubnik
625e69a199 Fixed typo (incopatible -> incompatible) 2020-12-05 10:56:58 +01:00
Vojtech Bubnik
f904752ba7 Fix of install wizard: Escape ampersands in printer models. 2020-12-05 09:55:09 +01:00
Vojtech Bubnik
575ec6ef65 Linux specific: Documented an improved way of offering language
selection on Linux.
2020-12-05 09:12:28 +01:00
Vojtech Bubnik
9b05513ea9 Fix of rework of loading configs from 3MFs, AMFs, gcodes
as modifications of existing user or system presets.
2020-12-05 08:14:04 +01:00
Lukas Matena
997ee971b4 Bugfix: custom seam identification
Bounding boxes of polygons could overlap. Ask the AABB tree for all possible candidates.
Might be faster than searching for the closest triangle, that requires traversing the whole depth of the tree every time.
2020-12-05 02:02:22 +01:00
Lukas Matena
985a4a8bf3 Bugfix: custom seam did not work on first layer with elephant foot compensation active 2020-12-05 00:02:43 +01:00
Lukas Matena
98434eb77b Bugfix: seam enforcers not always respected (#5137, #5294) 2020-12-05 00:02:43 +01:00
Lukas Matena
91cc119146 Added missing includes for gcc 2020-12-05 00:02:43 +01:00
YuSanka
72911243a7 Fixed wrong selection, when try to change printer preset from logical to physical and then in UnsavedChangesDialog select "Cancel" 2020-12-04 21:23:12 +01:00
YuSanka
f7b32258aa UnsavedChangesDialog: Fixed a crash when we trying to switch a profile after importing of the 3mf
+ Fixed typo in "__linux__"
2020-12-04 17:16:08 +01:00
enricoturri1966
6c8b0276e6 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-04 15:36:41 +01:00
enricoturri1966
1445c0ad3a Enabled tech ENABLE_RENDER_STATISTICS 2020-12-04 15:36:30 +01:00
YuSanka
497412fcf4 Delete whole object, when all instances are selected. Fix for #5191 2020-12-04 14:19:51 +01:00
enricoturri1966
75a1a699a7 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-04 14:19:08 +01:00
enricoturri1966
6eb202af0b GCodeViewer - Disable Tab and collapse sidebar events 2020-12-04 14:18:54 +01:00
Vojtech Bubnik
9c959d14e0 Limiting the resolution of G-code export for retract/deretract feedrate
to three digits.
Fixes excessive precision in gcode? #5362
2020-12-04 13:37:36 +01:00
Vojtech Bubnik
efc1100eb0 Fixed missing include 2020-12-04 13:37:36 +01:00
YuSanka
e40ed644c8 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
6981372da0 Fixed missing include (OSX - clang specific) 2020-12-04 13:17:30 +01:00
YuSanka
e610d2d2f6 Localization: Fixed some phrases. Updated POT and NL dictionary. 2020-12-04 13:08:48 +01:00
Vojtech Bubnik
4f4d136f19 Fix of cooling preset hints 2020-12-04 13:05:25 +01:00
enricoturri1966
7a54c4fdfe Fixed conflits after merge with master 2020-12-04 12:33:44 +01:00
enricoturri1966
26982b16c7 #5080 - Reworked logic for automatic selection of current view type in preview 2020-12-04 12:31:50 +01:00
Vojtech Bubnik
0688778a24 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-12-04 11:53:29 +01:00
Vojtech Bubnik
e1fc0b17a2 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
e42e25c933 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
dcee9d7bfe Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_animations 2020-12-04 10:27:54 +01:00
enricoturri1966
4870656877 Import all valid files when dragging and dropping a set of files on the application 2020-12-04 09:15:55 +01:00
enricoturri1966
6835c5ad35 Fixed build on MAC 2020-12-03 15:40:52 +01:00
enricoturri1966
cc0688678c Fixed conflicts after merge with master 2020-12-03 15:27:34 +01:00
enricoturri1966
bcb2a4884b NotificationManager -> Separate notification update from its render to reduce the amount of scene refresh 2020-12-03 15:12:32 +01:00
tamasmeszaros
4b040b8569 Merge branch 'tm_fix_split_arrange_crash'
fixes #2209
2020-12-03 15:00:06 +01:00
tamasmeszaros
310de2f2ef Fix crash when splitting objects
fixes partially #2209
2020-12-03 14:58:56 +01:00
tamasmeszaros
91b1d469eb Fix arrange with malformed contours 2020-12-03 14:58:09 +01:00
Vojtech Bubnik
dea4c13677 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
6fd1143b1c 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
624494eab6 Merge branch 'tm_arrange_bugfixes' 2020-12-03 14:09:55 +01:00
enricoturri1966
639ef33aab Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-03 13:49:20 +01:00
enricoturri1966
2a0a9af0c9 #5360 - GCode Viewer -> Added menu command to reload gcode file 2020-12-03 13:48:54 +01:00
YuSanka
6124f677ae 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
3dd9b8c718 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
844ea89432 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
b251fea5fe Typo fix for b9c53adddb 2020-12-03 11:31:15 +01:00
Vojtech Bubnik
306acbdfb4 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
7afef2bbb5 OSX specific: Hot fix for the c503a4e424 2020-12-03 10:40:17 +01:00
YuSanka
c503a4e424 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
Lukáš Hejl
98055de28c External paths avoid crossing perimeters of holes 2020-12-03 09:43:21 +01:00
Vojtech Bubnik
0a33aedc3a 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
1b720dbc3d 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
597a158a6e Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-12-03 07:30:26 +01:00
Vojtech Bubnik
4412ba0f92 Fixes Spelling Error in Unsaved changes dialog (#5363) 2020-12-03 07:30:06 +01:00
tamasmeszaros
4e9254ec5a Follow up fix for bed filling
fixes: 2813db8906
2020-12-02 18:08:30 +01:00
tamasmeszaros
869ae0247e Use smarter object function in partial arrangement with empty bed. 2020-12-02 17:53:22 +01:00
tamasmeszaros
2813db8906 Fix for bed filling with some existing items out of bed. 2020-12-02 17:52:40 +01:00
tamasmeszaros
4e90df1ea5 Fix status indication glitch for bed filling 2020-12-02 17:50:12 +01:00
tamasmeszaros
4f7f08d0de Further improvement on arrange settings handling 2020-12-02 14:04:39 +01:00
david kocik
ae926bd1ed error_code in boost::filesystem::space to ensure the drive exists. Fix of #5354 2020-12-02 12:12:24 +01:00
YuSanka
b9c53adddb 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
89ff8eef10 Preview class refactoring: Moved initialization of member variables
to header.
2020-12-02 11:38:10 +01:00
tamasmeszaros
8df4d6a170 Add separate arrangement distance control for SLA mode 2020-12-02 10:28:13 +01:00
YuSanka
9d34d350a5 Localization: Update POT
+ Fixed translation for the "Extruder n" category on the Printer Settings Tab
 + Fixed a crash, when scrolling inside Search imGui with some localization (e.t. Russion)
2020-12-01 16:44:53 +01:00
Lukáš Hejl
f25e5c0ec6 Merge remote-tracking branch 'origin/master' into lh_avoid_crossing_perimeters 2020-12-01 14:31:22 +01:00
Lukáš Hejl
f0616b0736 Fixed return value of liang_barsky_line_clipping 2020-12-01 14:28:27 +01:00
tamasmeszaros
3e73473334 fix rotation for initial placement 2020-12-01 14:12:20 +01:00
tamasmeszaros
8027f6608a Fix arrange distance with enabled sequential printing
fixes #5258
2020-12-01 14:08:07 +01:00
David Kocik
d47e6bfd5c Stop showing Exporting finished notification after exporting error. 2020-12-01 13:04:19 +01:00
David Kocik
994b69f19b cleanup 2020-12-01 12:06:10 +01:00
David Kocik
247f3a7dbe Set boost to use utf8 for system messages (in cmake). Fix of #5180. 2020-12-01 12:06:10 +01:00
enricoturri1966
42a00a32df Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_animations 2020-12-01 10:43:32 +01:00
enricoturri1966
24a8f832bc Fixed activation of shortcut dialog with '?' key 2020-12-01 10:43:04 +01:00
enricoturri1966
e842077cc6 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_animations 2020-12-01 10:18:00 +01:00
enricoturri1966
430648471a Follow-up of 6ae1a10614 - Fixed typo 2020-12-01 10:17:35 +01:00
enricoturri1966
67d42c7053 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_animations 2020-12-01 08:45:50 +01:00
enricoturri1966
dc736f7855 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-01 08:33:20 +01:00
enricoturri1966
6ae1a10614 #5333 - Reworked navigation of preview's sliders using the keyboard 2020-12-01 08:33:06 +01:00
Vojtech Bubnik
6af23eb380 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-12-01 08:24:00 +01:00
Vojtech Bubnik
e62bb4a7c7 Fix of Head crash on completion with sequential printing #5349
In addition to an existing "layer_z" placeholder variable,
a new "max_layer_z" has been added to custom G-code sections accumulating
maximum of "layer_z" over the print. This value may be used for example
in the end G-code of a sequential print to lift the print head
up before travel over the whole print bed.
2020-12-01 08:23:46 +01:00
tamasmeszaros
f04db7b595 Fix Arrange dialog distance input field usability 2020-11-30 15:57:53 +01:00
YuSanka
7e33047804 UnsavedChangesDialog: Linux specific: Made a first column wider
+ Field: Made def_width() wider
2020-11-30 13:48:22 +01:00
enricoturri1966
8cc46a450b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_animations 2020-11-30 13:46:03 +01:00
enricoturri1966
0d4123192f Removed GLCanvas3D from parameters of NotificationManager methods 2020-11-30 13:45:17 +01:00
Pascal de Bruijn
3a3e9271b1 Field.cpp: wider def_width_wider
This fixes truncated ComboBox present on some systems
2020-11-30 04:25:13 -08:00
Vojtech Bubnik
2e73a75951 Linux specific fix for switching languages: PrusaSlicer 2.3 forces
en_GB locale when switching to English from the user interface,
while often Linux users have just en_US locales configured.

With this commit the user will have to select English (U.S.) or
English (U.K.). Usually English (U.S.) will work.

Vojtech is scared to touch the code for the other platforms (Windows and Mac)
as the language switching has been reworked multiple times and it is quite
fragile.
2020-11-30 11:57:16 +01:00
tamasmeszaros
982e6eb55b Don't apply result if fill bed was canceled. 2020-11-30 09:38:22 +01:00
Vojtěch Bubník
031eca533e
Merge pull request #5159 from mloidl/repetier_fix
Possible segmentation fault in physical printer dialog when Host is set to "Repetier"
2020-11-30 09:36:57 +01:00
Vojtech Bubnik
00f900edef Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-11-30 08:50:07 +01:00
Vojtech Bubnik
518cbfa192 Renamed API key / user/password auth choices for SL1 2020-11-30 08:49:09 +01:00
Lukáš Hejl
f917b83706 Fixed compiler warnings 2020-11-29 17:29:11 +01:00
Lukáš Hejl
87879034f6 Merge remote-tracking branch 'origin/master' into lh_avoid_crossing_perimeters
# Conflicts:
#	src/libslic3r/MotionPlanner.cpp
#	src/libslic3r/libslic3r.h
2020-11-29 17:27:23 +01:00
Lukáš Hejl
dd97eaa812 Fixed case when lslices in Layer is empty 2020-11-29 17:26:02 +01:00
Lukáš Hejl
f16e8f1a72 Fixed uninitialized variable in ElephantFootCompensation 2020-11-29 14:00:34 +01:00
Lukáš Hejl
55c282d85d Revamp of implementation of the avoid crossing perimeters algorithm.
The strategy for the avoid crossing perimeters algorithm has been redesigned. But external travels (travel between objects or supports) have not been solved yet. For these travels is used a direct path between two points.
Much of the code has been reworked, which leads to significant speedup compared to the previous implementation.
Also, several potential bugs have been fixed.
2020-11-29 13:58:36 +01:00
Lukas Matena
3f999acef8 Added a missing include (gcc 8.4) 2020-11-28 20:51:57 +01:00
Vojtech Bubnik
30d7ef2cf9 Bumped up version number to beta1.
Changed the location of PrusaSlicer profiles from PrusaSlicer-alpha
to PrusaSlicer-beta.
2020-11-28 11:14:53 +01:00
Vojtech Bubnik
3dd6d7e878 Escaping of ampersands in label texts (otherwise the ampersand is
processed as a hotkey prefix and not displayed at all).
Solves visualization of the new profile names containing ampersands
(Original Prusa Mini & Mini+)
Also the text was not correcly converted from UTF8.
2020-11-28 11:13:46 +01:00
David Kocik
6beb493255 Logging level at LoadFromOtherInstanceEvent 2020-11-28 10:56:42 +01:00
YuSanka
7ab1fcaa5c Fixed update after editing for "infill_ancor" and "infill_ancor_max" parameters.
* Update value only if it is changed
* Show info dialog (suggestion to change mm to %) only when parameter value is bigger than 100
2020-11-28 01:18:58 +01:00
YuSanka
b71c001845 Fixed suppress scrolling for preset comboboxes and some comboboxes on right panel on all platforms 2020-11-27 14:58:51 -08:00
David Kocik
a650801b80 call correct load_files at MacOpenFiles 2020-11-27 12:54:37 +01:00
Lukas Matena
ca09bf0805 Fix random seam for single contour islands (#5003) and for external_perimeters_first 2020-11-27 11:33:25 +01:00
Lukas Matena
f485f66b2a Seam - fix indexing of layers (#5112, #5014) 2020-11-27 10:09:20 +01:00
Lukas Matena
22f93a34a8 Fix horrible complexity of custom seam lookup (#5067)
- polygons are offset individually
- custom areas are kept separately for each PrintObject
- AABB tree is used to get logN lookup complexity
2020-11-27 10:09:20 +01:00
enricoturri1966
184e4f77cd Bring PrusaSlicer to top when drag and dropping a project file on its executable 2020-11-27 09:35:32 +01:00
David Kocik
cbe0b4f0f1 Change log level of boost::filesystem::permisions error code message. Now it shouldnt bother like in #5254 2020-11-26 17:15:26 +01:00
enricoturri1966
00a67ba004 GCode Viewer -> Parse gcode produced by KISSSlicer 2020-11-26 16:07:07 +01:00
tamasmeszaros
dfbf4cbab2 Fix bed filling with more existing instances than needed 2020-11-26 15:11:54 +01:00
YuSanka
7f22ce63f6 Refactoring:
1. Use C++ style cast instead of C style
2. Deleted unused code from Search
2020-11-26 14:34:54 +01:00
enricoturri1966
d9be78d4cb Fixed bug introduced with 4d483f323f 2020-11-26 13:37:08 +01:00
enricoturri1966
10fb75edf0 Enabled tech ENABLE_CTRL_M_ON_WINDOWS -> Added customizable support for legacy CTRL+M settings dialog on Windows in preference dialog 2020-11-26 11:00:24 +01:00
Vojtech Bubnik
2314a9e8c7 Fixing compilation issues on conforming compilers 2020-11-26 10:54:18 +01:00
enricoturri1966
67aaf0b78e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-26 10:09:53 +01:00
enricoturri1966
e2b4de455b Customizable association of .3mf, .stl and .gcode files on Windows 2020-11-26 10:09:34 +01:00
Vojtech Bubnik
aa6ddfec85 Added functions to export raw image data to PNG for debugging purposes.
Renamed PNGRead.cpp/hpp to PNGReadWrite.cpp,hpp
EdgeGrid: Resurrected debugging output to PNG.
2020-11-26 09:01:44 +01:00
enricoturri1966
7da1622e76 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-26 08:43:22 +01:00
enricoturri1966
4d483f323f GCode Viewer -> Show extimated layer time on the vertical slider for gcode produced by PrusaSlicer 2.3.0, Cura, Simplify3D, CraftWare, ideaMaker 2020-11-26 08:43:04 +01:00
YuSanka
9bb0848d27 PhysicalPrinterDialog: Fixed editing of the SLA physical printers
Bug repro:
1. Create sla physical printer.
2. Close dialog.
3. Open dialog to edit printer -> in preset combobox is selected fff printer preset
2020-11-25 22:48:12 +01:00
YuSanka
32c60b070e Hot fix for 9305535039 2020-11-25 21:18:51 +01:00
YuSanka
275bc52fdf Suppress scroll for SLA support and pad settings on the right panel 2020-11-25 20:13:26 +01:00
YuSanka
9305535039 OSX and Linux specific: Fixed preset selection 2020-11-25 20:13:26 +01:00
Vojtech Bubnik
3e54c0b775 Gyroid infill: Lowered the threshold to drop infill line segments. 2020-11-25 14:56:11 +01:00
Vojtech Bubnik
e5b3af0e53 Fix of Monotonic infill leaves gaps in top infill where rectilinear does not #5259
and Chyba nebo vlastnost výplně Monotonic? #5225
2020-11-25 14:56:11 +01:00
tamasmeszaros
0a932ebfe3 Enable http digest authentication for CURL 2020-11-25 13:58:03 +01:00
enricoturri1966
f0aa4de20a Fixed conflicts after merge with master 2020-11-25 12:42:26 +01:00
enricoturri1966
abf5a58336 Preference dialog centered on the application 2020-11-25 12:40:05 +01:00
David Kocik
3d78ae9271 Instance check on windows: concider whole window name when searching for another instance 2020-11-25 12:28:10 +01:00
enricoturri1966
df40f6ba11 ENABLE_GCODE_VIEWER set as default 2020-11-25 10:31:58 +01:00
tamasmeszaros
5363dcb5bc Fix broken arrange from 2f65bcc83f 2020-11-24 18:46:25 +01:00
YuSanka
77f845b0be Added a possibility to suppress scrolling for some ComboBoxes 2020-11-24 18:44:13 +01:00
tamasmeszaros
2f65bcc83f Performance improvements and cleanup 2020-11-24 16:43:37 +01:00
tamasmeszaros
0bfbe18a3c Merge branch 'tm_arrange_perf_improve' 2020-11-24 16:20:17 +01:00
Vojtech Bubnik
62bdc192d8 Fix of [2.3.0-alpha4] Crash - several models cause crash when slicing #5208
Fixed some issues in internal anchors of the Adaptive Cubic infill.
The ugly and dangerous implicit casting operators in Line, MultiPoint,
Polyline and Polygon were made explicit.
2020-11-24 16:01:08 +01:00
tamasmeszaros
d34beab557 Add "slow" hint to rotations for arrangement 2020-11-24 15:36:39 +01:00
YuSanka
10c41290fd DoubleSlider: Fixed ruler for the short objects 2020-11-24 15:14:04 +01:00
YuSanka
250bd689f2 Fix for #5231. Suppress scrolling for the PresetComboBoxes when they aren't dropped. 2020-11-24 15:14:04 +01:00
tamasmeszaros
aa64902cf9 Increase arrange accuracy due to errors with large number of objects 2020-11-24 14:42:15 +01:00
tamasmeszaros
30693e29e4 Stop bed filling if enough instances are generated 2020-11-24 14:41:36 +01:00
enricoturri1966
9d71597e05 Fixed conflicts after merge with master 2020-11-24 13:37:52 +01:00
enricoturri1966
44fe3b8a00 Tech ENABLE_DRAG_AND_DROP_FIX -> Apply dialog implemented with 808c43cb4b also to drag and drop of project files into application executable 2020-11-24 13:35:43 +01:00
enricoturri1966
1ce8cddbda Do not show anything in vertical slider if estimated times are missing 2020-11-24 12:00:46 +01:00
enricoturri1966
b2ab5db69b ENABLE_GCODE_VIEWER set as default in:
DoubleSlider hpp/cpp
2020-11-24 11:53:52 +01:00
enricoturri1966
709404ce3e Fixed crash in texture compression 2020-11-24 11:09:05 +01:00
YuSanka
b2951cb43e Added "Remember my choice" checkbox to the message dialog after first clicking on parameter label in Settings tabs 2020-11-24 10:04:00 +01:00
enricoturri1966
4736408a46 Fixed localization on preview's legend button 2020-11-24 09:23:33 +01:00
tamasmeszaros
0fc1929076 Merge branch 'tm_arrange_wipe_tower_fix' 2020-11-23 17:52:20 +01:00
tamasmeszaros
79c2bd1575 Fix for gcode-viewer symlink
fixes #5238
2020-11-23 17:52:08 +01:00
enricoturri1966
92953acc57 #5236 - Fixed color not correctly shown after slice
The bug was introduced with 148f4fe766 which is now replaced by this commit
2020-11-23 17:15:22 +01:00
David Kocik
95d65f9f30 Documentation for NotificationManager 2020-11-23 16:42:03 +01:00
tamasmeszaros
f1acde8024 Fix broken wipe tower arrangement
fixes #5207
fixes #5216
2020-11-23 16:05:24 +01:00
enricoturri1966
1d0b947fa8 ENABLE_GCODE_VIEWER set as default in:
GCodeViewer hpp/cpp
2020-11-23 14:30:31 +01:00
enricoturri1966
6b732e5a26 Merge remote-tracking branch 'origin/et_wipe_moves' 2020-11-23 13:48:03 +01:00
enricoturri1966
26befd5fa3 #5234 - Disabled pop-up menu on the wipe tower 2020-11-23 13:45:12 +01:00
enricoturri1966
f68cf49f3d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_wipe_moves 2020-11-23 10:11:04 +01:00
Vojtech Bubnik
3a75b0da7f Update of the perimeter_acceleration tooltip 2020-11-23 09:13:58 +01:00
Paul Arden
003ccf388d Add a new macro function random(min,max) which will return a random number in the range specified by the parameters. The type of parameters defines the type of the output, if the inputs are doubles then result will be a double and if the inputs are int the output will be in. Uses C++11 random functionality, compiler compatibility on Linux should be checked. Fixes #4001. 2020-11-22 18:22:48 +11:00
YuSanka
2e0e63fed8 Tooltips for the parameters labels on Settings tabs are back 2020-11-21 18:16:34 +01:00
Vojtech Bubnik
641d27eef4 Fixed missing include 2020-11-21 16:05:58 +01:00
Vojtech Bubnik
f0606c2a76 Merge of https://github.com/prusa3d/PrusaSlicer/pull/2856
Add aligned rectilinear infill functionality by @m-schubert
Implements [Feature Request] Aligned rectilinear infill #1938
2020-11-21 14:10:17 +01:00
Vojtech Bubnik
25ca1fcf77 Some minor refactoring / polishing. 2020-11-21 13:16:03 +01:00
Vojtech Bubnik
288dbfd0d8 fixed typo in comment & formatting 2020-11-21 11:43:54 +01:00
enricoturri1966
ce7b843de7 GCode Viewer - Fixed filament label in legend 2020-11-21 11:30:14 +01:00
Vojtech Bubnik
ddc9e26f19 Follow-up to 80e8b5e985
Removed the legacy PreviewData.cpp,hpp
2020-11-21 11:02:20 +01:00
enricoturri1966
0e6acbc0e2 Preview - Visualization of wipe mones 2020-11-21 10:36:10 +01:00
Vojtech Bubnik
56c37d5c38 Make monotonic infill default for bottom layers as well #4963 2020-11-20 18:58:54 +01:00
Vojtech Bubnik
54a5c1da1e Fixed crash in reworked infill anchoring due to numeric issues.
Added some more asserts to EdgeGrid.
2020-11-20 18:47:06 +01:00
YuSanka
b7abe7dfa9 Added "Suppress to open hyperlink in browser" parameter in Preferences 2020-11-20 18:46:34 +01:00
tamasmeszaros
93aaf660cf Fixes for arrange menu
Fixed issues:
- Imgui window is aligned with the arrange toolbar button
- Reset and Arrange buttons added onto the window
- Window closes after clicking the canvas or hitting ESC
- Tooltip extended with instructions for using the arrange menu

Remaining issues:
- Imgui arrange button closes the menu after clicked
- Menu is not in "exclusive or" relationship with other imgui windows.
2020-11-20 17:52:53 +01:00
YuSanka
9f30ea535a Windows specific: Fixed layout of fields inside the OG_CustomCtrl 2020-11-20 17:27:44 +01:00
YuSanka
bca000a739 Font of the DoubleSliders is changes to default (#5121) 2020-11-20 17:27:44 +01:00
Lukáš Hejl
f394d26f83 Added missing includes to fix build on gcc 9 2020-11-20 15:19:49 +01:00
YuSanka
5330b34d0a Added "Filament -> Spool weight" parameter 2020-11-20 14:31:11 +01:00
Lukáš Hejl
606db666fc Fix missing include 2020-11-20 14:22:24 +01:00
Vojtech Bubnik
d5e6b17d70 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2020-11-20 13:40:40 +01:00
Vojtech Bubnik
8d1e13fccd Anchoring of sparse infills can now be disabled. 2020-11-20 13:36:58 +01:00
tamasmeszaros
20995c7b7a Merge branch 'tm_fill_with_instances' 2020-11-20 13:05:05 +01:00
Enrico Turri
cf42e9fc6e Fixed typo 2020-11-20 12:01:59 +01:00
Vojtech Bubnik
060f1d48c1 Little more refactoring. 2020-11-20 11:56:40 +01:00
Enrico Turri
148f4fe766 GCode Viewer - Fixed crash when switching to tool view with gcode generated by slicers other than PrusaSlicer 2020-11-20 11:50:25 +01:00
tamasmeszaros
adf81af6de Prototype feature: fill plater with instances of selected object
#fixes #1350
2020-11-20 09:58:52 +01:00
tamasmeszaros
bc3696bd42 Save and load arrange settings to app_config 2020-11-20 09:57:52 +01:00
tamasmeszaros
e17e6b4d0e Add minimum bounding box rotation as starting point 2020-11-20 09:57:52 +01:00
tamasmeszaros
d5bdaceff2 Right mouse reaction to arrange button
Working arrange settings popup
2020-11-20 09:57:52 +01:00
tamasmeszaros
096d0c9860 Fix arrange objectfunction to avoid last object in awkward positions.
fixes #3900
2020-11-20 09:46:15 +01:00
David Kocik
a0239a7509 close export finished notification after eject atempt 2020-11-20 09:43:16 +01:00
YuSanka
5144feb319 Estimated printing time per layer for SLAPrint
Split the time if it's needed
2020-11-19 21:41:51 +01:00
David Kocik
5f97b2512b Merge remote-tracking branch 'aegean-odyssey/ao_profile_resources_patch' into master 2020-11-19 19:02:32 +01:00
David Kocik
c6e9b48db5 eject debug log 2020-11-19 15:57:38 +01:00
enricoturri1966
a1905d9b9e ENABLE_GCODE_VIEWER set as default in:
MainFrame hpp/cpp

Plater hpp/cpp
2020-11-19 14:59:46 +01:00
enricoturri1966
ef9cea76c2 ENABLE_GCODE_VIEWER set as default in:
GLCanvas3D hpp/cpp

GUI_Preview hpp/cpp
2020-11-19 12:29:19 +01:00
YuSanka
4cc3e939da Localization: Update for the CZ, DE, ES, FR, IT and PL languages 2020-11-18 17:25:05 +01:00
YuSanka
03b336145f Updated UI for the "infill_anchor" parameter 2020-11-18 17:00:08 +01:00
enricoturri1966
df19697d8e Fixed Shift+A to arrange selection 2020-11-18 15:14:49 +01:00
enricoturri1966
72f9cc07e8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-18 14:10:39 +01:00
enricoturri1966
d0c87eb7ca Added missing include 2020-11-18 14:10:02 +01:00
YuSanka
feffb66085 Ruler for DoubleSlider: Added estimated print time 2020-11-18 05:02:51 -08:00
YuSanka
cb844a4034 DoubleSlider's ruler is implemented in respect to the use with sequential printing of objects 2020-11-18 05:02:51 -08:00
YuSanka
6e748f2e4a Implemented ruler for the vertical DoubleSlider 2020-11-18 05:02:51 -08:00
enricoturri1966
badb85650e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-18 13:42:54 +01:00
enricoturri1966
24b425cf57 Follow-up of 808c43cb4b -> Fixed drag and drop of non-project files 2020-11-18 13:42:17 +01:00
enricoturri1966
0ed3262645 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-18 13:05:04 +01:00
enricoturri1966
87e1875822 ENABLE_GCODE_VIEWER set as default in:
SysInfoDialog.cpp

Selection hpp/cpp

Preferences.cpp

GUI_Utils.hpp

KBShortcutsDialog.cpp
2020-11-18 13:04:34 +01:00
YuSanka
5be9d42519 Localization, new POT 2020-11-18 12:30:00 +01:00