Commit Graph

1219 Commits

Author SHA1 Message Date
Vojtech Bubnik
05f6215f54 Fix of G-code Viewer not loading .gco files #5536
".gcode", ".gco", ".g" and ".ngc" were considered to be G-code file
extensions by the G-code import / export file dialogs, but not by
various other functions. Now the G-code extension is tested by
a single function is_gcode_file(string).
2021-01-05 12:26:11 +01:00
YuSanka
5cab1cff73 Fix of second part of #5531
From the Win 2004 preset combobox lose a focus after change the preset selection and that is why the up/down arrow doesn't work properly.
So, set the focus to the combobox explicitly.
2021-01-04 16:51:29 +01:00
enricoturri1966
62e24c2833 GCodeViewer - Fixed visualization of time estimates for silent mode 2020-12-17 11:41:41 +01:00
Lukas Matena
cb1cc0fa27 Fix through Netfabb notification - remove 'undo' hypertext for now and
refuse to fix when a gizmo is opened (because of missing updates)
This is a follow-up of 1249fdb
2020-12-16 17:33:55 +01:00
Vojtech Bubnik
c34347c019 Merge branch 'lm_230beta3_fixes' 2020-12-16 13:51:09 +01:00
Vojtech Bubnik
27ec080af0 When activating the PrusaSlicer main window, focus the Plater 3D view
or G-code preview if it is marked as Active.
Fixes 3Dconnexion not work directly after importing stl (focus problem ?) #5141
Keep your fingers crossed that it will not break something else.
2020-12-15 15:14:59 +01:00
YuSanka
cc91a95f30 Suppress to change "inches" flag after conversion to the inches. 2020-12-15 13:57:30 +01:00
YuSanka
7fe22ed0bc Fix of #5472 - UI bug: profile edit controls hidden by scroll bars 2020-12-15 09:38:18 +01:00
Lukas Matena
cd105b53d5 Remove custom supports/seams after mesh repair
The repair can remove some of the triangles, so the custom data would make no sense.
This will hopefully fix #5458

Also, show a notification with a hyperlink to undo just before the repair.
2020-12-14 22:59:02 +01:00
YuSanka
d9ec994a99 Follow-up on fbf2978190: Refresh Cut gizmo immediately,
when state of "inches" checkbox is changed.
+ Fixed update of Z value, when Cut gizmo is in mm
2020-12-14 09:06:19 +01:00
Vojtech Bubnik
3dbb6fa7ad Fixed retrieving of the "saved in inches" flag from 3MF.
Fixed "import STL from Inches" - it should always scale up even if the
object is bigger than 3x3x3mm.
2020-12-12 18:54:34 +01:00
YuSanka
080088b8db Fix of #5007 - "Reload from disk" causes objects converted to inches to revert to mm 2020-12-11 13:57:58 +01:00
YuSanka
8c5d85a567 Don't ask about inches if we load project file (3mf or amf). #5006 2020-12-07 19:36:54 +01:00
enricoturri1966
39844241ec Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-04 15:36:41 +01:00
enricoturri1966
856eadb73f Enabled tech ENABLE_RENDER_STATISTICS 2020-12-04 15:36:30 +01:00
enricoturri1966
10a165b338 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-04 14:19:08 +01:00
enricoturri1966
b694e697b8 GCodeViewer - Disable Tab and collapse sidebar events 2020-12-04 14:18:54 +01:00
YuSanka
c16221dc8c Localization: Fixed some phrases. Updated POT and NL dictionary. 2020-12-04 13:08:48 +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
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
fb0b3bd982 Fixed conflicts after merge with master 2020-12-03 15:27:34 +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
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
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
David Kocik
25744d3fde Stop showing Exporting finished notification after exporting error. 2020-12-01 13:04:19 +01:00
enricoturri1966
e4be7e522f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_animations 2020-12-01 08:45:50 +01:00
enricoturri1966
3ccd122727 #5333 - Reworked navigation of preview's sliders using the keyboard 2020-12-01 08:33:06 +01:00
enricoturri1966
50d4914a6e Removed GLCanvas3D from parameters of NotificationManager methods 2020-11-30 13:45:17 +01:00
David Kocik
a19ab0702e Logging level at LoadFromOtherInstanceEvent 2020-11-28 10:56:42 +01:00
David Kocik
0c2a0759ff call correct load_files at MacOpenFiles 2020-11-27 12:54:37 +01:00
enricoturri1966
eb600afb14 Bring PrusaSlicer to top when drag and dropping a project file on its executable 2020-11-27 09:35:32 +01:00
YuSanka
3bc30d868e Refactoring:
1. Use C++ style cast instead of C style
2. Deleted unused code from Search
2020-11-26 14:34:54 +01:00
YuSanka
ac0f4b7b27 Suppress scroll for SLA support and pad settings on the right panel 2020-11-25 20:13:26 +01:00
enricoturri1966
6a6f0dcc12 Fixed conflicts after merge with master 2020-11-25 12:42:26 +01:00
YuSanka
4dcbacb7f3 Added a possibility to suppress scrolling for some ComboBoxes 2020-11-24 18:44:13 +01:00
enricoturri1966
3219885ec0 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
YuSanka
7df0dc0655 Added "Filament -> Spool weight" parameter 2020-11-20 14:31:11 +01:00
tamasmeszaros
d6d6dff706 Prototype feature: fill plater with instances of selected object
#fixes #1350
2020-11-20 09:58:52 +01:00
David Kocik
69b792a2e3 close export finished notification after eject atempt 2020-11-20 09:43:16 +01:00
enricoturri1966
76e36e6893 ENABLE_GCODE_VIEWER set as default in:
MainFrame hpp/cpp

Plater hpp/cpp
2020-11-19 14:59:46 +01:00
enricoturri1966
fe56d8e0a3 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-18 13:42:54 +01:00
enricoturri1966
575bc2df60 Follow-up of 808c43cb4b -> Fixed drag and drop of non-project files 2020-11-18 13:42:17 +01:00
YuSanka
543341516b Localization, new POT 2020-11-18 12:30:00 +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
YuSanka
5d2a974886 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