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
YuSanka
ba82cfa9e3
Follow-up to e3ef90941f
- next improvements for get_wraped_wxString
2022-01-31 14:37:53 +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
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
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
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
enricoturri1966
a690f7825c
Fixed warning
2022-01-27 12:45: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
35bc327127
Follow-up to a7520f47a6
" add IU for "Match single line"
2022-01-25 17:26:21 +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
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
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
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
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
YuSanka
959804c80c
Fixed a use of uninitialized variables reported by MemorySanitizer
2022-01-21 16:54:18 +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
YuSanka
d1523d2a6b
Localization: Updated POT and dictionaries for CZ, PL, IT, ES, DE, FR
...
+ Fixed phrases in Tab.cpp, hints.ini, NotificationManager.cpp
+ POs for CA, KR, NL, BR, RU, TR, UK, ZH are merged with new POT
+ Updated all MO files
2022-01-20 14:18:55 +01:00
YuSanka
c932936b68
Fix of warnings
2022-01-20 14:18:55 +01:00
David Kocik
86c49163f8
latin-2 for Hungarian in imgui
...
#5479
2022-01-20 14:17:02 +01:00
enricoturri1966
803d797bd7
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_z_offset
2022-01-20 13:46:03 +01:00
YuSanka
ded855d0c2
Fix for #7781 - Entering value in Thumbnail setting causes PrusaSlicer to crash
...
Follow-up 106e520a
- During code refactoring "thumbnails" option wasn't correctly processed
2022-01-20 10:07:26 +01:00
Lukáš Hejl
e0883910dd
Added a missing include (Clang 12 without PCH).
2022-01-19 20:39:28 +01:00
Lukas Matena
06cca525d0
Added a missing include for gcc
2022-01-19 15:16:46 +01:00
YuSanka
667842ec8b
Implemented get_wraped_wxString() to wrap the message text inside the MessageDialog and RichMessageDialog
2022-01-19 15:16:18 +01:00
YuSanka
6b83ded669
LockButton: Deleted unnecessary call of UpdateDarkUI()
...
+ Added some smarter update on SetLock()
2022-01-19 15:16:18 +01:00
enricoturri1966
ab171441aa
Follow-up of 4b4d1c2f2a
- Restored line deleted by mistake
2022-01-19 13:26:58 +01:00
enricoturri1966
4b4d1c2f2a
#7773 - Fixed GCodeReader::parse_line_internal() to skip whitespaces between axis digit and axis value
2022-01-19 12:08:00 +01:00
enricoturri1966
76ce53f095
Tech ENABLE_Z_OFFSET_CORRECTION - Correction of toolpaths zs when z offset is set
2022-01-18 15:53:59 +01:00
YuSanka
2cc20594a4
Localization: Updated POT
...
+ Fixed some phrases in Preferences and Hints
+ fixed #7588 - Typo in new help feature in 2.4.0
2022-01-17 13:42:35 +01:00
YuSanka
f497ba7bf0
Follow-up to 99f510d4 - fixed a typo
2022-01-17 12:29:47 +01:00
YuSanka
106e520a10
Invalidate print when G-code substitution is changed
...
+ DiffDialog: Fixed get_string_value() for "gcode_substitution"
+ some code refactoring :
For PresetCollection added is_independent_from_extruder_number_option(opt_key)
to check if option is from the list of options with vector variable, which is independent from number of extruders
2022-01-17 12:29:47 +01:00
YuSanka
3a81dd5c5a
Completed UI for G-code find & replace
2022-01-17 12:29:47 +01:00
YuSanka
8a387fc52d
WIP: First IU implementation for G-code substitutions
2022-01-17 12:29:47 +01:00
Vojtech Bubnik
aa62868ccb
WIP G-code find & replace: Unit tests and some bug fixes.
2022-01-17 12:29:47 +01:00
Vojtech Bubnik
2da3d80a62
Fixing compilation on non-MSVC.
2022-01-17 12:29:46 +01:00
Vojtech Bubnik
d4fd95bd4a
WIP: G-code find & replace: Support for non-regular expression,
...
whole word and case insensitive search.
2022-01-17 12:29:46 +01:00
Vojtech Bubnik
add1e994fa
WIP G-code Find-Replace: Optimize regexps, process complete G-code,
...
not only G-code of layers.
2022-01-17 12:29:46 +01:00
Vojtech Bubnik
658f01b64b
WIP: G-code find / replace using a new gcode_substitutions PrintConfig
...
parameter.
2022-01-17 12:29:46 +01:00
Lukáš Hejl
c54b8908dd
Follow-up of 878dce1fdf
.
2022-01-17 12:25:02 +01:00
Lukáš Hejl
878dce1fdf
Workaround for "Internal compiler error" in 32-bit MSVC (19.29.30037) compiler after dc00f0bf98
.
2022-01-17 12:22:19 +01:00
David Kocik
76abbe97f6
fix of of unchecked substr in Upload Dialog
...
possible fix of #7681
2022-01-17 11:14:30 +01:00
enricoturri1966
9190810c1f
Fixed volume transparency when changing volume type
2022-01-17 08:04:07 +01:00
Lukas Matena
200cbd165f
Changed texts in the new 'crashed when restoring position' dialog
2022-01-14 17:26:19 +01:00
Lukas Matena
c28615cfcb
Bumped up version number to 2.4.1-alpha0
2022-01-14 12:09:52 +01:00
Lukáš Hejl
dc00f0bf98
Modified variable offset in the avoid crossing perimeters to not cause scars on thin objects ( #7699 ).
...
Previously, the minimum contour width was chosen too conservative and, on some thin objects, only allowed minimal (or non) offset. This could result in travels being planned along the outer perimeter.
Now, the minimum contour width is chosen much smaller at the start and tested if the variable offset wasn't failed (the outer contour broke up into more parts, more or fewer holes, etc.).
If any problem is detected, the variable offset is recalculated with a larger minimum contour width.
2022-01-14 00:59:25 +01:00
enricoturri1966
7ab39f6255
Fixed warning
2022-01-13 08:08:40 +01:00
enricoturri1966
d9c7855c39
Fixed tooltips for imgui sliders in GLGizmoHollow
2022-01-12 15:49:13 +01:00
enricoturri1966
0cb0f56a80
Tech ENABLE_ENHANCED_PRINT_VOLUME_FIT set as default
2022-01-12 14:12:13 +01:00
enricoturri1966
243f5c38ee
Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT set as default
2022-01-12 13:36:31 +01:00
YuSanka
cd159ef298
Fix for #7734 - Saving Dialog: Values are truncated
...
Info line was "lost" after big code refactoring 4cdcfe60
+ MsgDialog: Added missed include
2022-01-12 12:55:20 +01:00
enricoturri1966
b4308f4245
Tech ENABLE_MODIFIERS_ALWAYS_TRANSPARENT set as default
2022-01-12 12:35:36 +01:00
Vojtech Bubnik
123fc13123
Fixing perl tests.
2022-01-12 11:46:51 +01:00
YuSanka
090a424c1a
Fix for detection of the DoubleSlicer mode
2022-01-12 11:21:57 +01:00
YuSanka
5a2925466d
Follow-up to 1dffc40f32
- Fixed a message text.
...
+Improved context of the MessageDialogs. We can use hyperlinks now.
2022-01-12 11:19:59 +01:00
YuSanka
1dffc40f32
Follow-up to 010fbded1a
- Save app_config before a place of potential crash + fixed non-MSW build
2022-01-11 14:22:40 +01:00
YuSanka
010fbded1a
Added "Restore window position on start" option to the "Preferences > General"
...
+ added crash detection for the cases, when PrusaSlicer is started from secondary display
Possible fix for part of:
#2939 - PrusaSlic3r freezing at startup (Win 10)
and
#5573 - PrusaSlicer won't launch on secondary monitor. Nahimic?
2022-01-11 13:53:25 +01:00
Vojtech Bubnik
a591d9e9fe
Implemented new placeholders for output file name:
...
1) "initial_filament_type", "printing_filament_types" - really useful
for multi-material prints
the two other are not so useful, they may become useful once
the output file name template will support not yet defined
vector variables:
2) "initial_tool", "initial_extruder" - zero based index of first extruder
3) "num_printing_extruders" - number of printing extruders.
Fixes Filename incorrect when exporting G-Code with MMU. Always refers filament type in extruder 1 #5300
Fixes Export Filename nicht richtig #7673
Fixes wrong filename - always Filament in from the first extruder #7684
2022-01-10 17:57:03 +01:00
Vojtech Bubnik
4ebfe58352
Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer
2022-01-10 15:24:27 +01:00
Vojtech Bubnik
07d0484e32
Fix of Empty G1 before starting bridging perimeter #7714
2022-01-10 15:24:19 +01:00
David Kocik
411acf7332
followup on 16fd7cd5d1
...
cleanup
2022-01-10 14:38:58 +01:00
David Kocik
16fd7cd5d1
Fix of conversion of strings in Print host queue dialog
2022-01-10 14:34:35 +01:00
Lukas Matena
da8e4b6fda
Some more beautifications
2022-01-10 12:56:03 +01:00
Lukas Matena
85f98b880a
Hide min feedrate from machine limits page for RRF (which does not use them)
2022-01-10 12:52:21 +01:00
Lukas Matena
b3726f1f88
Fixed RRF time estimate,
...
so it does not use min feedrate limits from previously selected printer (RRF itself does not support them)
2022-01-10 12:52:21 +01:00
Lukas Matena
f3e14865e5
Minor tweaks in machine limits handling:
...
- renamed some variables so the names are not misleading
- improved readability a bit
- disabled silent mode for RRF (it was apparently enabled by mistake)
- set default value of machine_limits_usage to TimeEstimateOnly
2022-01-10 12:52:21 +01:00
n8bot
bfb721f302
Add compatibility for Machine Limits and RRF (PR #7347 )
2022-01-10 12:52:21 +01:00
Vojtech Bubnik
c5d1e2449c
Fix of #7583 : Wizard crashes due to accessing undefined AppConfig section.
2022-01-10 08:26:33 +01:00
tamasmeszaros
ce81c02049
Fixing corrupted SLA pad
...
fixes SPE-1157
2022-01-07 10:09:20 +01:00
David Kocik
747cf8a0fe
partial fix of #7583
...
Disabled sending of system message at shutdown on OSX Sierra and older.
2022-01-06 15:00:45 +01:00
enricoturri1966
ac90d3d5c2
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_spiral_vase_layers
2022-01-06 14:08:18 +01:00