Commit Graph

4923 Commits

Author SHA1 Message Date
Lukas Matena
982004b71b Fix of #3695
Ternary operator is given wxString and std::string, which does not work when implicit conversions between std::string and wxString are disabled
2020-02-25 15:53:01 +01:00
Lukas Matena
8885027264 Enabled text-wrapping for tooltips in hollowing gizmo 2020-02-25 11:12:04 +01:00
Lukas Matena
2991363f63 Fixup of previous commit - actually added the translation macros 2020-02-24 15:24:12 +01:00
bubnikv
6be77689ad Generalization of translate() / translate_utf8() to wxString arguments. 2020-02-24 15:23:43 +01:00
Lukas Matena
c38203474d Added a missing localization L mark 2020-02-24 14:54:44 +01:00
Lukas Matena
7df9c375e1 Several translation-related fixes
ConfigWizard name was missing translation macro in several places
Few typos corrected
Some string conversions fixed
Two strings were not marked for translation
2020-02-24 11:00:48 +01:00
bubnikv
7539423da4 Fixed crash on reading profiles with the "thumbnails" settings different
from the parent profile.
2020-02-24 10:41:20 +01:00
bubnikv
b2055a63b5 Bumped up version to 2.2.0-beta
Changed the profile directory from PrusaSlicer-alpha to PrusaSlicer-beta
2020-02-21 18:44:53 +01:00
bubnikv
36cef27804 Fix of a regression from e0811e4aa5
Due to refactoring of G-code export some "don't care" extrusions
were not extruded at all.
2020-02-21 18:18:17 +01:00
Lukas Matena
c0031da893 Hollowing gizmo sliders now contain a unit where appropriate 2020-02-21 14:24:50 +01:00
Lukas Matena
66b681878c Fixed a bug in hollowing gizmo - hole depth not matching slider value after selection 2020-02-21 14:23:50 +01:00
bubnikv
c5cb85c20a GUI::show_error() is now generalized for std::string and const char*
Fixed return type of std::string translate_utf8() with context
(incorrectly returned wxString, should return std::string).
Fixed double translation of BackgroundSlicingProcess::validate() in Plater.
2020-02-21 13:38:06 +01:00
Lukas Matena
efce2e8bff One more encoding problem
Uncovered after rebasing onto current master
2020-02-21 12:53:51 +01:00
Lukas Matena
1af43f7b9c Fixed few more encoding issues
All uncovered after disabling unsafe wxString conversions
2020-02-21 12:53:51 +01:00
Benjamin Greiner
9c6ca5aed2 fix #3402
Amended by lukasmatena: changed mb_str() to ToUTF8()
2020-02-21 12:53:51 +01:00
Lukas Matena
83bf75f72c Hopefully a fix for #3683 (encoding in hollowing gizmo) 2020-02-21 12:53:28 +01:00
bubnikv
5240f45ce6 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-02-21 12:18:57 +01:00
bubnikv
7f663ac8c9 ImGUI input_double wrapper for wxString label.
Possible fix of Fix encoding in Hollowing #3683
2020-02-21 12:17:46 +01:00
David Kocik
cedb806062 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-02-21 11:18:09 +01:00
David Kocik
752ce53d60 refactoring of errors at copying g-code to target destination 2020-02-21 11:17:48 +01:00
bubnikv
8ff7e1718c Fix of Bug: Changing print settings resets filament settings #3675
When switching a Print profile, the modifications of an active Filament
profile were incorrecly dropped even if the active Filament profile
was compatible with the newly selected Print profile.
2020-02-21 11:03:03 +01:00
Lukas Matena
915d73ab02 Fix of wipe into object
The bug was introduced in 15eedef. lower_bound_by_predicate implementation returns first item that does not satisfy the predicate, not last item that does.
2020-02-21 10:05:33 +01:00
Lukas Matena
4d2f77dc5f Fixed typo in an error message 2020-02-21 10:05:03 +01:00
Lukas Matena
eb7f4397ae Fixed two cases of crashes on application close
Both related to ObjectList - it was attempting to call plater after it was destroyed
Approved by @YuSanka
2020-02-21 10:02:41 +01:00
Lukas Matena
684e9892c3 Make sure that objects are correctly shown/hidden when switched 2020-02-21 09:46:40 +01:00
Lukas Matena
c0a16d5d5c SLA gizmo clipping plane resetting
Clipping plane direction is now initialized when the plane is first moved, not when the gizmo is opened. This is how previous versions worked.
This is a minimal-effort solution before the clipping plane is refactored properly.
2020-02-21 09:46:40 +01:00
Lukas Matena
01ba32595a AABB trees for SLA gizmos are not calculated when the object is selected, but only after one of the gizmos is opened 2020-02-21 09:46:40 +01:00
YuSanka
422e7e818e Implemented time estimation for PausePrint (#3544)
DoubleSlider: fixed get_color_for_color_change_tick()
2020-02-20 17:33:43 +01:00
Lukas Matena
13facf4da5 SLA support gizmo correctly hides drain holes if they are clipped by clipping plane 2020-02-20 15:04:53 +01:00
YuSanka
abd6d840ed Linux issue: fixed Object's DnD with sub items 2020-02-20 14:19:00 +01:00
David Kocik
266ba38614 bug fix at check_copy() while exporting to sd/usb 2020-02-20 10:35:53 +01:00
tamasmeszaros
72f1437e97 Fix English tooltip and label for elefant_foot_min_width 2020-02-19 13:48:10 +01:00
YuSanka
fe18940d37 Localization: New POT 2020-02-19 13:21:31 +01:00
bubnikv
3ba2e13d04 Follow up on 6deb6a776d:
Fixed orientation of contours after Elephant Foot Compensation.
2020-02-19 12:58:03 +01:00
YuSanka
cfc0192cb2 Added a shortcut to the tooltip for a "Send to printer" button (related to #3667)
+ Localization: fixed some phrases
2020-02-19 10:59:05 +01:00
bubnikv
2e3f602279 Fix of Placeholders do not respect filament overrides. #3649 2020-02-19 10:56:30 +01:00
tamasmeszaros
4e7e223aba Merge branch 'tm_sla_efc_SPE-1080' 2020-02-18 17:39:56 +01:00
tamasmeszaros
3abee755a8 Do EFC for the first faded layers of SLA, interpolate efc parameters
Compensated slices have negative orientation...


Move efc to common params


Fix elefant foot compensation reversed contours


Remove redundant assertions and don't apply absolute correction if zero
2020-02-18 17:39:36 +01:00
YuSanka
be3222f68e Removed code which is redundant now,
but causes an issue #3642 (G-Code Export button visible in "non-default" position)

All Show/Hide() of active buttons are processed inside show_action_buttons() function
2020-02-18 15:45:17 +01:00
bubnikv
af83b114cd Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-02-18 15:44:07 +01:00
bubnikv
be53c95dee Fixed a bug, where the top or bottom solid layers were created even
if the number of top / bottom solid layers was set to zero while
the top / bottom minimum shell thickess was set nonzero.

With this commit, if the top / bottom solid layers is set to zero,
there are no top / bottom solid layers generated independent from
the minimum top / bottom shell thickness.
2020-02-18 15:44:01 +01:00
tamasmeszaros
dbf8be65f4 Fix default hard coded parameters for SLA
fixes #3650
2020-02-18 15:39:30 +01:00
bubnikv
08ac87909e Fix of
Opening saved project removes Print Host settings #3655
Octoprint Settings when Opening a .3MF file #3244

When loading a configuration file (from AMF, 3MF, .ini or .gcode),
and if the host settings ("print_host", "printhost_apikey", "printhost_cafile")
in the configuration file is empty, then the config is considered to be anonymized,
and these anonymized keys are loaded from the referenced "derived from" profile,
if it exists in user's PrusaSlicer configuration directory.

We are aware that this is a patch work and a better long term solution
is to separate physical printer settings from logical printer settings,
but this is a good enough solution for PrusaSlicer 2.2.0 release.
2020-02-18 14:13:56 +01:00
YuSanka
1594343d92 Localization: changed some phrases. Updated POT 2020-02-18 13:46:12 +01:00
David Kocik
9f318938aa text change - forced update dialog 2020-02-18 13:15:58 +01:00
bubnikv
4e97c26d0c Partial fix of v2.2.0 alpha2 Unhandled exception - extrusion width #3482
Exceptions thrown by Flow calculation were made explicit classes derived
from std::invalid_argument.

The PresetHints::recommended_thin_wall_thickness() newly catches these
exceptions and it shows the reason of why the hint is invalid.
2020-02-18 12:26:56 +01:00
YuSanka
e89e477a12 Fixed non-correct TextCtrl's update on wxEVT_KILL_FOCUS (partially related to #3482),
when for Parameter validation dialog "Selecting NO caused no change".

OSX:TextCtrl:wxEVT_KILL_FOCUS: Second call is suppressed

+ Under OSX set a little bit more wider width for Fields
2020-02-18 11:11:39 +01:00
bubnikv
e74f5631f1 One more fix for Make compile and works for FreeBSD (#3556) 2020-02-18 10:15:41 +01:00
Lukas Matena
8dbde0ae18 Fixed incorrect filtering of extrusions during gcode generation
The behaviour resulted in duplicate extrusions in some cases
Fix of #3665
2020-02-18 09:52:34 +01:00
David Kocik
f1ed701ff1 config wizard: enable finish button if only custom printer is selected 2020-02-17 15:57:16 +01:00