Vojtech Bubnik
6937b34fdc
get_wraped_wxString(): Wrapping on '\' on Windows.
...
Deleting all G-code substitutions: Added a Cancel button.
2022-02-21 09:59:51 +01:00
Lukáš Hejl
945bebd224
Follow-up to e20d041fc9
: Fixed a wrong calculation of indices when object instances were used.
...
Also, it was fixed polygon intersection detection, which was not working when a polygon intersected another polygon by only one edge.
2022-02-18 16:45:50 +01:00
YuSanka
3d5353d444
Localization: Updated CS, DE, ES, FR, IT and PL dictionaries
2022-02-16 09:26:16 +01:00
Lukáš Hejl
5d72f18dc6
Follow-up to a4ecf2f2a6
. Refactoring of the function for removing duplicate points.
2022-02-16 09:20:45 +01:00
Lukáš Hejl
eef741b095
Fixed a copy-paste typo that could lead to duplicate edges in MMU_Graph in the multi-material segmentation.
2022-02-16 09:20:41 +01:00
Vojtech Bubnik
3e9e3fd102
Follow-up to 58d64bae77
...
Disabled check for "G92 E0" in layer change G-code for other firmware types
than Marlin 2 and Marlin Legacy. We don't know whether other firmware
flavors are sensitive to E axis accumulation error and we know that
RepRapFirmware is not.
Fixes #7846
2022-02-14 15:11:19 +01:00
Vojtech Bubnik
a062a889d8
Follow-up to a1746e3e66
...
Fix for #7849 - "Save Project" command doesn't work properly
2022-02-14 14:13:48 +01:00
enricoturri1966
14b7d36070
#7906 - Port of 296041da38
'Fixed 'Export as .stl' scaling not applied on scaled object instances'
2022-02-14 13:58:43 +01:00
YuSanka
5ac0e124e4
Fix for #6364 - MacOS / Minimize window / Shortcut CMD + M
...
There was a bug in wxWidgets 3.1.4. (https://github.com/wxWidgets/wxWidgets/issues/18998 )
So, we cherry-picked fixing commit from the upstream wxWidgets to our "v3.1.4-patched"
2022-02-11 11:17:12 +01:00
Lukáš Hejl
9b9f93ca07
Make unit test 'fff_print_tests' to pass when a memory leak is detected.
...
This is just for fixing builds from the stable branch, the master branch doesn't need it.
2022-02-09 13:43:51 +01:00
YuSanka
d52807ccaf
Localization: Updated POT.
...
+ Changed a script of the merging new POT with existing PO files.
Now it processes just a PO-files which are provided by community.
Community PO-files are updated from the new POT
2022-02-09 12:52:50 +01:00
YuSanka
d0b694daff
Linux specific: Fixed a bug focusing of the some settings tabs
...
Steps to repro of a bug:
1. FFF/SLA printer is selected
2. Load 3mf projet with SLA/FFF printer
3. Chnage printer to the FFF/SLA
=> (Print a Filanemt Settings)/(Print a Materials Settings) are disabled
Notes: This issue appeared after https://github.com/prusa3d/PrusaSlicer/commit/bfce4f6 , when find_toplevel_parent(plater) instead of plater was set as a parent for ProgressDialogs
2022-02-08 17:19:30 +01:00
Lukáš Hejl
a4ecf2f2a6
Replaced smooth_outward in multi-material segmentation with a function that removes duplicate points with angle threshold. It should fix #7838 and #6892 .
...
The main contribution of the smooth_outward function for multi-material segmentation was the removal of duplicate points in polygons using MutablePolygon::remove_duplicates().
But the issue with this function is that it deletes points only based on their distances, which could cause problems like in #7838 .
2022-02-07 13:38:22 +01:00
YuSanka
9ea7427ce7
Fix for #7887 - [UI] Add Settings > Layers and Perimeters - some options have non distinct labels
...
+ Fixed build warning
2022-02-07 13:21:11 +01:00
YuSanka
a1746e3e66
Fix for #7849 - "Save Project" command doesn't work properly
...
Don't update saved presets on
* preset selection
* initialization of PresetCollection
, but update them on
* load another project
* initialization of an application
2022-02-07 11:59:39 +01:00
Lukáš Hejl
e20d041fc9
Fixed an issue with a gap in brim when inner brim was used.
...
This gap still can appear for holes that contain another object.
Also fixed an issue that a huge outer brim can overflow into holes of another object.
2022-02-07 10:48:52 +01:00
YuSanka
874da0281d
Fixed SPE-1192
...
Wrong list of SLA-materials, when no SLA-printer is installed, but 3MF with SLA print is loaded
2022-02-07 10:00:49 +01:00
YuSanka
6667852d92
DiffPresetsDialog: Added info line for truncated option values.
...
Related to #7852 - Compare Filament Dialog: Values are truncated
2022-02-02 12:44:36 +01:00
YuSanka
fc59a2c1b0
Implemented FR #7850 - G-Code Substitutions: move [X Delete all] button or ask for confirmation
...
+ MsgDialog:
* Added processing if the wxNO_DEFAULT and wxCANCEL_DEFAULT flags
* Next improvements of get_wraped_wxString() function
2022-02-02 12:44:36 +01:00
enricoturri1966
1fb41a8e22
#4881 - #5073 - #6336 - GCodeProcessor::AxisCoords using doubles in place of floats
2022-02-02 11:22:45 +01:00
Lukas Matena
5c616c5931
Sync to 2.4.1-beta1
2022-02-01 14:16:13 +01:00
Lukas Matena
ebb9041041
Merge branch 'master' into stable - no conflicts fixed
2022-02-01 14:15:18 +01:00
Vojtech Bubnik
9dae482e12
Bumped up version to 2.4.1-beta1
2022-02-01 10:03:22 +01:00
Vojtech Bubnik
be60775077
get_wraped_wxString(): Adapted to work with UTF8
2022-01-31 16:25:20 +01:00
rtyr
1fe9e5231b
Added G92 E0.
2022-01-31 14:44:43 +01:00
YuSanka
ba82cfa9e3
Follow-up to e3ef90941f
- next improvements for get_wraped_wxString
2022-01-31 14:37:53 +01:00
Vojtech Bubnik
f368de9a2d
Follow-up to 3e7a4d4648
...
Fixed Perl integration tests, missing G92 E0 in layer_change G-code
for relative extruder addressing.
2022-01-31 11:51:48 +01:00
Vojtech Bubnik
56e189943f
Follow-up to 3e7a4d4648
...
Allowed for localization of error messages.
2022-01-31 11:27:32 +01:00
Vojtech Bubnik
3e7a4d4648
Follow-up to 58d64bae77
...
Fixed Perl integration tests, missing G92 E0 in layer_change G-code
for relative extruder addressing.
2022-01-31 11:25:43 +01:00
Vojtech Bubnik
e3ef90941f
Hopefully fixed get_wraped_wxString() and did not introduce new bugs.
2022-01-31 11:09:13 +01:00
YuSanka
1a57db092f
Print Settings: "Output options": Switched a places of "Post-processing scripts" and "G-code substitutions"
2022-01-31 10:19:09 +01:00
Vojtech Bubnik
58d64bae77
Fix of #6336 #5073 : Throw an error if G92 E0 is missing in layer change
...
G-code with relative extruder addressing. Also thrown an error,
if G92 E0 is used with absolute extruder addressing.
2022-01-31 10:19:01 +01:00
YuSanka
de8ba0e850
MsgDialog: get_wraped_wxString(): Fixed a bug in case, when string is break on slash
2022-01-31 09:28:00 +01:00
YuSanka
ea84a46cdc
G=code substitutions: Debugger: Fixed wxWidgets assert when new substitution is added
...
+ Fixed representation of the gcode_substitution in DiffDialog and UnsavedChangesDialog
2022-01-29 11:16:28 +01:00
Oleksandra Yushchenko
ddb14fa7f9
MSW specific: Highlighted text for the default buttons in dialog. Related to https://github.com/prusa3d/PrusaSlicer/issues/7564 ( #7830 )
2022-01-28 17:16:04 +01:00
YuSanka
07a27c9e2d
G-code substitutions: Added path to helper
...
Fixed a bugs:
* Notes wasn't correctly save to 3mf
* Button "Delete All" wasn't hidden when last substitution was deleted
2022-01-28 17:11:27 +01:00
Jebtrix
cfdf7d2a00
Add msbuild low CPU priority option for polite compiling. ( #7828 )
2022-01-28 15:13:11 +01:00
YuSanka
0ffc27dbe1
GCode substitutions: Added UI ("Notes" editor) to the changed format of gcode_substitutions
2022-01-28 14:01:26 +01:00
Vojtech Bubnik
a103336c8c
Fix of Opening a previous version of PrusaSlicer damages configuration #7780
...
PrusaSlicer writes its version into "version" field of PrusaSlicer.ini
on start, unfortunately it used to do it too early, before the
"configuration invalid, reconfigure" dialog was shown to the user.
If user refused, the version was still written into PrusaSlicer.ini,
which lead to a newer slicer thinking the configuration is outdated.
2022-01-28 11:31:22 +01:00
Slic3rPE
f14ec5e9ae
Command key sign in hints
2022-01-28 11:03:51 +01:00
Vojtech Bubnik
ba84240a85
Fixed unit-tests of GCodeFindReplace
...
Follow-up to 7da4bebe7a
WIP GCode substitutions: Changed the format of gcode_substitutions by
adding an empty comment as a fourth parameter to each substitution.
In the future, we will provide a UI to show / edit the comment.
2022-01-28 11:02:06 +01:00
Vojtech Bubnik
7da4bebe7a
WIP GCode substitutions: Changed the format of gcode_substitutions by
...
adding an empty comment as a fourth parameter to each substitution.
In the future, we will provide a UI to show / edit the comment.
2022-01-27 17:02:16 +01:00
Lukas Matena
12cebddce6
Replace Ctrl -> Cmd in hints on Apple.
2022-01-27 16:48:24 +01:00
Vojtech Bubnik
38af8c5563
Fixed wording inside a CMAke comment
2022-01-27 15:59:39 +01:00
enricoturri1966
a690f7825c
Fixed warning
2022-01-27 12:45:03 +01:00
YuSanka
725a45f112
Localization: Added Hungarian dictionary. Thanks for Attila Zombori( https://github.com/zomatt )
2022-01-27 10:29:03 +01:00
YuSanka
f79bdbe61e
G-code substitutions: Use WarningDialog/ErrorDialog instead of throw RuntimeError during value validation
2022-01-26 15:40:08 +01:00
Vojtech Bubnik
9828abb443
GCode find/replace: Another try to make a sensible "default" behavior
...
with the boost::regex implementation:
With no "single line", don't accept new lines with a dot '.'.
2022-01-26 13:57:30 +01:00
Vojtech Bubnik
e83d89dee7
Fix of escape_strings_cstyle(), which did not enclose a single word
...
string containing semicolon ';' character into quotes.
2022-01-26 13:18:52 +01:00
YuSanka
e20a06a850
Localization: Updated POT and dictionaries for CZ, PL, IT, ES, DE, FR
...
+ Added one phrase in Tab.cpp
+ POs for CA, KR, NL, BR, RU, TR, UK, ZH are merged with new POT
2022-01-26 09:24:05 +01:00