Commit Graph

18256 Commits

Author SHA1 Message Date
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
YuSanka
35bc327127 Follow-up to a7520f47a6 " add IU for "Match single line" 2022-01-25 17:26:21 +01:00
Vojtech Bubnik
7ba5a2f5bc GCodeFindReplace - single line option unit tests. 2022-01-25 16:54:16 +01:00
Vojtech Bubnik
a7520f47a6 GCodeFindReplace: Implemented perl's "match single line" option
to the back-end.
2022-01-25 16:28:18 +01:00
Lukas Matena
cd24594555 Merge branch 'lm_seam_240_no_stagger_improved' 2022-01-25 15:40:50 +01:00
Lukas Matena
ed508d49d6 Changed the inner seam replacement threshold to 3*nozzle_diameter 2022-01-25 15:40:28 +01:00
Lukas Matena
b86effada0 Fixed one possible crash and a warning 2022-01-25 15:40:28 +01:00
Lukas Matena
9e23795137 Trying to make the inner seam placement a bit more intelligent:
place external seams first, then place inner seam using the normal seam placement
function, only limited to vicinity of the closest external seam.
2022-01-25 15:40:27 +01:00
Lukas Matena
3cc907b361 Seams: changed the overhang penalty calculation, it might have been too much compared to the rest
Also reduced penalty for flat surfaces a bit, based on some testing (hopefully it is not overfitting on the test models)
2022-01-25 15:40:27 +01:00
Lukas Matena
689f923aaf Seam fixes:
- turned off staggering
- fixed a bug in one of the heuristics (distance between indices measured instead of actual distance)
2022-01-25 15:40:27 +01:00
rtyr
eb1463d46a
Fixed texture extension 2022-01-25 15:23:53 +01:00
rtyr
b8904202d9
Texture size fix 2022-01-25 14:31:16 +01:00
rtyr
dd7b43ae11
Bed texture 2022-01-25 14:18:20 +01:00
rtyr
321b656ccc
Added texture 2022-01-25 14:14:27 +01:00
rtyr
04f09361b9
Delete Jubilee_texture.svg 2022-01-25 14:12:59 +01:00
rtyr
d5d9e33486
Added bed texture. 2022-01-25 14:07:58 +01:00
rtyr
eb2f14c0ec
Jubilee bed texture 2022-01-25 14:06:02 +01:00
Vojtech Bubnik
79a0345201 Further GCodeFindReplace adjustmnets of regular expressions:
match_single_line: ^$ will NOT match \n
2022-01-25 10:36:30 +01:00
Vojtech Bubnik
6817120932 GCodeFindReplace: Removed boost::match_not_dot_newline | boost::match_not_dot_null 2022-01-25 09:40:24 +01:00
rtyr
8211721b9c
Jubilee initial bundle 2022-01-25 08:22:09 +01:00
Lukas Matena
cb99d491af Fix of a possible locales mismatch during GCode export
There is a mysterious issue with GCode annotations printed with decimal
commas instead of points. tbb threads should be set to "C" locales when started,
either another thread is spawned by tbb, or someone switches the thread locales
and leaves it in the pool.
2022-01-24 16:21:21 +01:00
rtyr
18be6a9395
Sync with PrusaSlicer-settings. 2022-01-24 14:28:38 +01:00
enricoturri1966
337d7ffaf6 Follow-up of 0e173e3f82 - Further code optimization 2022-01-24 10:43:49 +01:00
enricoturri1966
39fa0b3c46 Fixed wrong cut contours shown by gizmo cut (SPE-1177) 2022-01-24 09:36:44 +01:00
enricoturri1966
0e173e3f82 Refactoring of lambda extract_move_id() to improve performance of method GCodeViewer::load_toolpaths() 2022-01-24 08:51:19 +01:00
rtyr
ea61190c1c
Merge pull request #7782 from top-gun/master
RatRig printer profiles: optimizations
2022-01-21 23:36:35 +01:00
top-gun
94c3110887 RatRig printers: Prifle optimizations
changed the default infill to cubic

remove accidental .bak file
2022-01-21 22:58:38 +01:00
YuSanka
959804c80c Fixed a use of uninitialized variables reported by MemorySanitizer 2022-01-21 16:54:18 +01:00
YuSanka
0cc3a67b8c Localization: CA: Manual merge of the https://github.com/prusa3d/PrusaSlicer/pull/7566 2022-01-21 15:53:08 +01:00
YuSanka
c9dbc1cbba Localization: Added missed phrases -> Updated POT and dictionaries for CZ, PL, IT, ES, DE, FR
+ Command to remove obsolite lines is added to gettext_concat_wx_po_with_po and gettext_merge_po_with_pot scripts
+ POs for CA, KR, NL, BR, RU, TR, UK, ZH are merged with new POT
+ Updated all MO files
2022-01-21 15:31:01 +01:00
YuSanka
fa9a0beec7 Follow-up to 1dffc40f - Save app_config every time a "restore_win_position" is changed
Fix for cases witch are described in https://github.com/prusa3d/PrusaSlicer/issues/2939#issuecomment-1017730712
2022-01-21 11:17:14 +01:00
Lukas Matena
d2664ea295 Fixed crashes with specific configuration of draft shield:
the crashing cases were:
- skirts=0 + dsEnabled
- skirt_height=0 + dsLimited

Also, when ooze_prevention is enabled with multiple extruders and skirt is disabled, 2.4.0 does not generate infinite skirt.
Version 2.3.3 does, ooze prevention overrides the disabled skirt. This commit reinstates the old behaviour.

The issues were introduced in b466f18.
2022-01-21 11:07:18 +01:00
Lukáš Hejl
6fed5c29a1 Fixed use of an uninitialized variable in GLGizmoPainterBase::update_raycast_cache(). 2022-01-20 15:31:53 +01:00