Commit Graph

6508 Commits

Author SHA1 Message Date
YuSanka
186d408cf4 Big code cleaning
Deleted all unused code
2020-11-02 06:48:30 -08:00
YuSanka
a87ec980a7 Hot fit for last commit : use "en" language marker, when "translation_language" wasn't saved to the AppConfig 2020-11-02 06:48:30 -08:00
YuSanka
b2700a8ac6 Custom control : Bug fixing
* OG_CustomCtrl is inherited from the wxPanel instead of the wxControl now.
  As a result, Tab-key is working now for the fields inside the custom control
* Open localized web-page if any exist for labels

+ Fixed update of icons inside the PresetComboBoxes after switching between Dark/Light modes
2020-11-02 06:48:30 -08:00
YuSanka
32b8be600c Custom control: Fixed bitmaps layout under OSX
+ Implemented hyperlinks for parameters labels to the help page
2020-11-02 06:48:30 -08:00
YuSanka
4dc78a424e Custom controls : OSX-specific fix. Get bitmap height in respect to the scaling on Retina 2020-11-02 06:48:30 -08:00
YuSanka
e05080c53b Fixed update of the field related to the "extruders_count" parameter after printer preset change 2020-11-02 06:48:30 -08:00
YuSanka
1c22d788aa Custom control : Implemented blinking icon 2020-11-02 06:48:30 -08:00
YuSanka
4f5efc99fb Custom control : Action buttons are "alive" now
- show tooltips for buttons
- LBtnClick invokes revert functions for the field
2020-11-02 06:48:30 -08:00
YuSanka
e93e80166b Custom control : fixed re-scaling for MSW 2020-11-02 06:48:30 -08:00
YuSanka
1b3c288b35 Custom control : Implemented update items visibility in respect to the mode 2020-11-02 06:48:30 -08:00
YuSanka
534a2f5d33 Custom control : Fixed color of the colored label, associated with option, which doesn't have a corresponded field 2020-11-02 06:48:30 -08:00
YuSanka
7022fb0891 Fixed position for all controls from the settings tabs 2020-11-02 06:48:30 -08:00
YuSanka
f1a74367ed Choice field: Use wxComboBox instead of wxBitmapComboBox for non-OSX platforms 2020-11-02 06:48:30 -08:00
YuSanka
74d6aea4d4 Custom control: first implementation 2020-11-02 06:48:30 -08:00
enricoturri1966
6bf839b315 Show the name of the loaded G-code in the application title bar 2020-11-02 14:10:34 +01:00
enricoturri1966
9dbc0c6ba2 #4395, #4701, #1336 - Added the ability to invert the scroll wheel when zooming 2020-11-02 13:08:13 +01:00
enricoturri1966
516db43b20 Improved handling of loading invalid .gcode files 2020-11-02 11:59:37 +01:00
enricoturri1966
38e883a66e Fixed scaling of mouse position for mouse wheel event handling in imgui on Retina monitors 2020-11-02 10:17:28 +01:00
enricoturri1966
3ec057bef7 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-02 09:37:09 +01:00
enricoturri1966
692917806a #5013 - Incorrect OpenGL warning when starting PrusaSlicer GCode Viewer with a file argument 2020-11-02 09:36:55 +01:00
Lukas Matena
d75ca6b76d New icon for FDM supports gizmo 2020-11-02 08:30:33 +01:00
Vojtech Bubnik
9e545eba13 Fixed quadratic complexity of the time estimator post processor
with a constant complexity (amortized) code.
2020-10-30 09:13:04 +01:00
Vojtech Bubnik
5ccd9d9d9a Fixed previous commit for Linux/OSX 2020-10-29 13:16:32 +01:00
Lukas Matena
1130d78c19 Fix of #3505 (place on face oriented objects at slight angle sometimes) 2020-10-29 12:49:43 +01:00
Vojtech Bubnik
2fd7c20a86 Workaround for missing or partially implemented std::from_chars() 2020-10-29 11:37:45 +01:00
Vojtech Bubnik
d2e5be89e3 Fix of Slicer image not good #4992
Tighter parsing of PrusaSlicer's own G-code annotations
to avoid clashes with comments inside user G-codes.

Also the GCodeReader was extended to return string_views instead
of copying a substring, and the GCodeProcessor was partially adapted
to string_views.
2020-10-29 10:51:51 +01:00
Vojtech Bubnik
bb74d2da5b Removed the dead code GCode/Analyzer.cpp,hpp to simplify code navigation. 2020-10-28 17:26:08 +01:00
Vojtech Bubnik
7b2aca0159 Removed the legacy GCodeTimeEstimator.cpp,hpp
It was difficult to navigate through the live code with the dead code
still available for full search.
2020-10-28 17:19:43 +01:00
Vojtech Bubnik
502aa42ac0 Removed FillRectilinear3, it was a dead end. 2020-10-28 13:33:22 +01:00
Vojtech Bubnik
cfbc9f0845 Fix of previous commit. 2020-10-28 11:11:58 +01:00
Vojtech Bubnik
eb103e45a6 Revert of d29a82e944 2020-10-28 11:11:58 +01:00
Lukas Matena
0a9f316d64 Fix of #5009 (Shift+Tab shall be disabled in gcode viewer mode) 2020-10-28 10:49:04 +01:00
Vojtech Bubnik
afaa7a4cc2 Manual merge of Increased filament stats precision in generated gcode file #780 2020-10-28 10:46:59 +01:00
Vojtech Bubnik
7c06054904 Manual merge of Unmount message enhancement #4523 2020-10-28 10:09:47 +01:00
Vojtech Bubnik
7c571c1d9d Merge of pull request Add support for RepetierServer #4384 by @docbobo
with the following refactorings:

1) Removed the "printhost_slug" config from the Printer config
   and from all the Printer config related spots.
2) "printhost_slug" renamed to "printhost_port". Slug sounds nasty.
3) Improved error reporting of RepetierHost class.
4) Refactored for the new "Physical Printers"

Following refactorings were done independently of the Repetier pull request:
1) Removed PrintHost static print config.
2) Clean-up after conversion of print host configuration
   from Printer config to Physical Printer config.
3) Fixed some issues, where the Printer config was still queried for
   host configuration. Vojtech believes that this should not happen
   after the host configuration is converted to physical printers.

Vojtech still feels that more refactoring is needed in regard to porting
the host configuration from Printer profile to the new Physical Printer
profile.
2020-10-28 09:51:05 +01:00
enricoturri1966
0798fa8185 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-27 17:21:41 +01:00
enricoturri1966
128e4cff2d #4982 - Load config data when importing gcode produced by Slic3r and Slic3rPE 2020-10-27 17:18:15 +01:00
enricoturri1966
90c69e6bda #4986 - Fixed remaining print time and SD-percentage calculation not correct (replaces e14c122d12) 2020-10-27 15:50:04 +01:00
enricoturri1966
00ec9cc4ed Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-27 14:01:55 +01:00
enricoturri1966
c8d875bee1 #4987 - Fixed camera switches back to non-Perspective camera after slice 2020-10-27 14:01:42 +01:00
enricoturri1966
b9c0c15104 Fixed build when ENABLE_GCODE_VIEWER is disabled 2020-10-27 13:52:54 +01:00
tamasmeszaros
f18d25257b Changing directory for Flatpak related files. 2020-10-27 13:04:16 +01:00
Vojtech Bubnik
06c16b085d Snapshots extended to capture and restore sla_print, sla_material,
physical_printers.
Updated the snapshots dialog to display sla_print and sla_material.
Updated the snapshots dialog to display physical_printer instead of
printer if the physical_printer key is nonempty.
The "physical_printer" key was moved from [extras] to [presets] section
of PrusaSlicer.ini
2020-10-27 12:48:31 +01:00
David Kocik
15a75ec6b0 prevent notifications moving left when in preview 2020-10-27 09:39:58 +01:00
Vojtech Bubnik
751ae8e789 Fixed crash in monotonous infill due to some unexpected pinching
of the inner contour at a single vertical infill line without
pinching the outer contour.
2020-10-27 09:38:51 +01:00
David Kocik
8e20515060 added namespace boost::placeholders to indentify _1, hopefully fix of #4983 2020-10-27 09:16:09 +01:00
tamasmeszaros
c8fb0cd974 Add gcodeviewer desktop file
Also install it with `make install`
2020-10-27 08:45:04 +01:00
Lukas Matena
b27bf1815c Renamed FDM supports and seam gizmos 2020-10-26 16:23:04 +01:00
enricoturri1966
21f1853d53 Fixed update of sequential slider when showing/hiding feature types using the legend 2020-10-26 15:01:37 +01:00
tamasmeszaros
969ca98b52 Revert "Require minimum version 5.0 of CGAL"
This reverts commit f3327adf49.
2020-10-26 14:41:23 +01:00