Commit Graph

314 Commits

Author SHA1 Message Date
Lukas Matena
ac501bdf8b Merge branch 'master' into dev 2020-03-24 21:51:05 +01:00
YuSanka
155ec1daec Update of Settings in ObjectList from Tab::update() is suppressed, if Undo/Redo is not completed 2020-03-20 13:45:37 +01:00
bubnikv
f4baac9147 Revert "Added "Filament spool weight" option to filament options"
This reverts commit 3d3e36ba8d.

The change is too risky just before the PrusaSlicer 2.2.0 final release
and the feature may need a bit of polishing before release.
2020-03-14 09:49:12 +01:00
bubnikv
90fc7ddca5 "inifinit_skirt" renamed to "draft_shield"
Polished the tooltip for the draft shield.
Legacy conversion from old skirt_heigth == -1 to draft_shield = 1
2020-03-14 07:46:39 +01:00
YuSanka
d48616c5e7 Merge remote-tracking branch 'origin/ys_add_new_options' into ys_improvements 2020-03-13 11:49:51 +01:00
YuSanka
226455adf3 Implemented "Use unlimited skirt" option 2020-03-11 11:43:08 +01:00
YuSanka
3c79e67780 Added "Filament spool weight" option to filament options 2020-03-09 17:01:05 +01:00
bubnikv
185f81398b Fix of Print settings dropdown list messed up after deleting an entry (#3800) 2020-03-09 12:29:40 +01:00
bubnikv
f9f961d6ad Fixed localization of "Save preset as" dialog message. 2020-03-07 14:21:05 +01:00
bubnikv
375d93310d Polished the new "detach preset from the system preset" messages. 2020-03-07 10:26:40 +01:00
YuSanka
a6e8fd2fb1 Fixed update of UI values, related on parent preset, when preset is detached from system 2020-03-06 19:15:37 +01:00
bubnikv
731dfdd2ff WIP Detaching of system profiles and user profiles derived from system profiles. 2020-03-06 17:41:00 +01:00
bubnikv
15559af285 Merge branch 'master' into ys_detach_btn 2020-03-06 14:40:28 +01:00
YuSanka
a8f9bd0781 Fixed 2 bugs :
1. "Revert" buttons on the bar don't work for a "Compatible printers" and a "Compatible prints profiles".
   And cause a crash if they are pressed in Print(SLA) Settings.

2. A label of a "Compatible printers" option is always black in Filament(Materials) Settings Tab
2020-03-05 08:16:31 +01:00
YuSanka
7b4830a827 Localization:
- Deleted redundant whitespaces before semicolons.
- All "\t" extracted from the phrases (The PhraseApp used to the translations "doesn't see" it, and as a result all translations missed them)
2020-03-05 07:49:05 +01:00
YuSanka
40fbb770ee Implemented "Detach preset from system" button 2020-03-04 13:47:35 +01:00
Lukas Matena
35b59a3e13 Include cleanup in Plater, GLCanvas3D and GLGizmosManager 2020-03-03 15:53:26 +01:00
Lukas Matena
4949150313 Fixing wxString::Format encoding mismatches (part 3) 2020-03-03 10:54:17 +01:00
tamasmeszaros
4a6c46529e Promote max_bridges_on_pillar to be a runtime parameter.
This way the user greater control over support tree branching and the amount of pillars created.
2020-03-02 12:43:00 +01:00
bubnikv
ba18e18082 Various changes in handling of profile compatiblilities
and the "show incompatible profiles" option.

It was not able to select the incompatible Print profile, which is
possible now.
(see Cannot select incompatible printer profile #3715)

When the Printer profile derived from the Prusa3D system profile was
active or a system Prusa3D profile was active, and when the Print profile
with the removed "inherits" field was active (or any other profile
derived from the "-- default --" profile was active), then the filament
selector offered just the profiles with the removed "inherits" field
(or any other profile derived from the "-- default--") profile.
This behavior has been now changed, so that in this scenario the Filament selector
will offer the Prusa3D vendor profiles compatible with the active Print
and Printer profile as well as the user profiles.

Slicer was also changed to keep an incompatible preset selected
at its respective tab if its respective "Red flag" is enabled.
For example, if an incompatible Print preset is selected and a Printer
profile is switched to another one which is not compatible with the active
Print preset that was red already, the active Print preset is
not switched if the Print "Red flag" is active. However, if the Print profile
was compatible before the Printer profile is switched and now the Print
profile becomes incompatible, another compatible Print profile is selected.

A likely bug in wxWidgets was worked around when switching a Print preset
on Plater, if the last item in the Print preset was active and incompatible,
and another Print preset was selected by the user. On Windows, an CBN_EDITCHANGE
is sent just after combo box selection change event and the CBN_EDITCHANGE
holds an index of the combo box item, which will be removed by the 1st event,
therefore leading to an assert in wxWidgets on CBN_EDITCHANGE. The workaround
is to disable processing of CBN_EDITCHANGE on Windows for the Plater
preset selection combo boxes.
2020-02-27 11:44:12 +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
1af43f7b9c Fixed few more encoding issues
All uncovered after disabling unsafe wxString conversions
2020-02-21 12:53:51 +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
tamasmeszaros
4e7e223aba Merge branch 'tm_sla_efc_SPE-1080' 2020-02-18 17:39:56 +01:00
YuSanka
2291a52444 DoubleSlider: Suppressed manipulation for sequential print.
+ some code refactoring

 + experiment with alignment of several options inside the Line
2020-02-14 09:52:27 +01:00
tamasmeszaros
f20e5e3f74 Added new parameter elefant_foot_min_width 2020-02-14 09:21:00 +01:00
tamasmeszaros
ccda6cc051 Add elephant foot compensation to SLA print
Work in progress


Convert efc input to the right scaling


Apply EFC on the slice index to make it visible in the preview.
2020-02-14 09:21:00 +01:00
YuSanka
b247443389 Fixed width of "printhost_apikey" and "printhost_cafile" fields 2020-02-12 15:47:34 +01:00
YuSanka
80ee20e239 Alignments of options in settings tabs
+ msw_rescale() is overridden for PrinterTab to rescale of all the option Pages and not just a respect to current print technology
+ A Setting of the option.width in PrintConfig is no need anymore
2020-02-12 12:51:34 +01:00
YuSanka
975122c1f6 Manually merged Korean translation by @ulsanether
+ updated MO for Korean translation
+ set small size for mode icons
2020-02-10 20:13:48 +01:00
YuSanka
cb6a43cd98 Changed size of hexagons.
+ ModeButton: Added another constructor
2020-02-10 12:52:32 +01:00
YuSanka
8cddbd1a5c Updated mode icons 2020-02-07 18:50:41 +01:00
bubnikv
aeaa0913c8 Implemented top_solid_min_thickness / bottom_solid_min_thickness.
The two new config keys define a minimum vertical shell thickness.
The top shell thickness is calculated as a maximum of sum over
top_solid_layers * layer heights and top_solid_min_thickness,
the bottom shell thickness is calculated as a maximum of sum over
bottom_solid_layers * layer heights and bottom_solid_min_thickness.

The results of the formula above are shown at the Print parameter page
below the two new values to hint the user about the interaction
of the old versus new config values.

top_solid_min_thickness has no meaning if top_solid_layers is zero,
bottom_solid_min_thickness has no meaning if bottom_solid_layers is zero.
2020-02-05 16:53:48 +01:00
YuSanka
82bb5be1f6 To fix blurred icons under OSX there is implemented PresetBitmapComboBox, derived from wxBitmapComboBox,
which now will be used for preset choosers on sidebar a preset tabs.

+ for BitmapCache class added m_scale used for correct scaling of SVG images on Retina displays

+ some code clearing from unused functions or function's parameters
2020-01-31 16:57:45 +01:00
tamasmeszaros
322092a2f8 Merge branch 'master' into lm_tm_hollowing 2020-01-23 17:43:18 +01:00
Oleksandra Yushchenko
05529cd67a Merge branch 'master' into upstream2 2020-01-21 15:12:32 +01:00
Lukas Matena
a5ccb7a6c2 Merge branch 'master' into lm_tm_hollowing 2020-01-21 13:00:07 +01:00
foxox
d0955e38de Platter->Plater 2020-01-20 11:16:49 -05:00
YuSanka
5a8ce18b5b Fixed update of "Cost" field in "Sliced Info" box after a change of any material's options
("bottle_cost", "bottle_volume", "bottle_weight", "material_density")
2020-01-08 15:27:09 +01:00
YuSanka
509e4a8d62 Fixed density calculation is wrong for resin cost calculation (#3460) 2020-01-07 08:46:11 +01:00
Lukas Matena
11feb259a3 Merge branch 'master' into lm_tm_hollowing 2019-12-12 11:37:33 +01:00
bubnikv
48ede4e47d Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-12-05 15:04:59 +01:00
bubnikv
eb5ec8fb0d System profiles and profiles derived from system profiles are now
compatible with the profiles of the same vendor only.
2019-12-05 14:48:11 +01:00
YuSanka
98dd54ca94 Fixed mode icons rendering under OSX (MacOSX10.14.sdk) 2019-12-05 14:22:05 +01:00
Matthias Urlichs
ba2f8d6db6 Grammar fix 2019-12-04 21:13:42 +01:00
Matthias Urlichs
f4f9808f5b Don't show a confirmation dialog when saving a preset 2019-12-04 21:12:26 +01:00
YuSanka
8ac28aa51c Added context to new saved preset name 2019-12-03 18:34:46 +01:00
YuSanka
ad8d2d1941 Fixed function to get a profile name by alias for all preset collections 2019-11-29 11:02:58 +01:00
YuSanka
d3009ff9fd Implemented use of aliases in Plater's preset comboboxes 2019-11-25 15:57:36 +01:00
tamasmeszaros
6ff5d02bcc Merge branch 'master' into lm_tm_hollowing 2019-11-18 17:50:56 +01:00