Commit Graph

15257 Commits

Author SHA1 Message Date
Vojtech Bubnik
93a5906a18 Fixed numerical issue with the new algorithm to connect infill lines
with perimeters:
1) Increased accuracy of the contour length parametrization from
   float to double, as double should capture the difference of
   32bit coord_t with full accuracy (or at least very close).
2) The algorithm to insert the T-joint points into the infill perimeter
   contour was improved to avoid inserting duplicate points.
2021-01-06 12:18:05 +01:00
Vojtech Bubnik
3c9f3d2b66 Fixing the infill order for concentric infill to outside-in.
Relies to:
Concentric Fill Start Point - New Feature Request #4948
Feature Request: Archimedean Chords - Option to define direction of travel (Inside-Out or Outside-In) #5214
2021-01-06 11:05:32 +01:00
YuSanka
746729e4fa Update language PT-BR for PrusaSlicer 2.3.0-rc2 - Manually merged from 0d79496538
Thanks for @guipatriota
2021-01-06 10:56:22 +01:00
Lukas Matena
e733565031 Fix of #5632 (painter gizmos not working correctly with scaled objects)
This was broken since 8bcdbb7.
2021-01-05 17:06:05 +01:00
YuSanka
48c7673cc6 Fix of #5584 - Information text on startup logo 2021-01-05 14:26:10 +01:00
Vojtěch Bubník
57d0f4b4f6
Merge pull request #5544 from hzeller/fix-assignment-of-charliteral-to-writable-charptr
Fix assignment of string literals to char*.
2021-01-05 13:11:29 +01:00
Vojtech Bubnik
fb29325b14 Fix of G-code Viewer not loading .gco files #5536
".gcode", ".gco", ".g" and ".ngc" were considered to be G-code file
extensions by the G-code import / export file dialogs, but not by
various other functions. Now the G-code extension is tested by
a single function is_gcode_file(string).
2021-01-05 12:26:11 +01:00
enricoturri1966
b93c2aea44 #5690 - Fixed thumbnail generation when a gizmo is active 2021-01-05 11:58:48 +01:00
tamasmeszaros
a629401916 Fix for "bed fill" discarding selected instance transformation.
fixes #5621
2021-01-04 20:33:17 +01:00
YuSanka
f119b80341 Fix of #5672 - Dubious grammar when closing Physical Printer dialog 2021-01-04 19:03:34 +01:00
YuSanka
c3f88db392 Fix of #5638 2021-01-04 18:05:20 +01:00
YuSanka
5845957c7d Fix of second part of #5531
From the Win 2004 preset combobox lose a focus after change the preset selection and that is why the up/down arrow doesn't work properly.
So, set the focus to the combobox explicitly.
2021-01-04 16:51:29 +01:00
Vojtech Bubnik
1076e077ce Fix of Adaptive cubic infill weird behavior #5633
Enabling reordering of infill paths for Support Cubic and Adaptive Cubic
infill types.
2021-01-04 15:42:23 +01:00
Lukas Matena
30c8592b10 Do not use ironing extrusions for autospeed calculations (#5082) 2021-01-04 14:21:24 +01:00
enricoturri1966
4d3cb19423 5677 - GCodeProcessor accepts gcode line T-1 as valid for RepRapFirmware and RepRapSprinter 2021-01-04 14:21:24 +01:00
enricoturri1966
016042db10 Disabled tech ENABLE_RENDER_STATISTICS 2021-01-04 14:21:24 +01:00
Lukas Matena
837070a246 Hotfix of a crash with raft and one-layer object (#5652)
The problem is that PrintObject support generator is only run when m_layers.size() > 1, so one-layer object will skip it.
It apparently never worked, after recent refactoring (probably 8bfc986) it started to crash in GCode generator.
This commit fixes the crash, but not the problem. The raft is still not generated (like in all versions since 2.0.0 at least).
2021-01-04 14:21:24 +01:00
Tuomas Kuosmanen
7a41ab20ed Changed wording in one log message 2021-01-04 14:21:24 +01:00
Lukas Matena
6cf47f3e61 Use monospace font in placeholder parser error messages (Linux fix)
Previous implementation did not use monospace font on Linux. According to a note
from @wavexx in ba7f39a: "wxSYS_ANSI_FIXED_FONT use the same as DEFAULT in wxGtk".
This commit uses the same workaround by actually loading the font from GUI_App.
2021-01-04 14:21:24 +01:00
Lukas Matena
1d25630508 Fix of #5606 (Force invalidation when object settings are deleted) 2021-01-04 14:21:24 +01:00
Lukas Matena
6c2ce4b6b6 Escape special xml characters when writing metadata into the model file
This should fix #5577
2021-01-04 14:21:24 +01:00
Vojtech Bubnik
2d428198b1 Fix of 2.3 rc1 can't load its own 3mf files (if they contain custom gcode) #5550
The issue was handling of the special "default_filament_profile" vector,
which is not being normalized in length to the number of extruders,
as this vector is being shown to the user at the Printer dependencies page,
and we don't want to present empty fields there, if the default filament
profile was not defined in the system preset.
2021-01-04 11:13:44 +01:00
YuSanka
ad2adad434 localization: Updated dictionaries CZ, DE, ES, FR, IT, NL, PL 2021-01-04 10:48:05 +01:00
Bas Paap
42748cfa62 Correct translation of "Copy" to the noun "Kopie" instead of the verb "Kopieer" in the Save Preset dialog. 2021-01-04 09:32:31 +01:00
Vojtech Bubnik
b002c1485d Fix of PrusaSlicer hangs on Linux when run with non standard task affinity #5661 2021-01-04 09:03:49 +01:00
rtyr
ef5df08358
Initial FLSun bundle
https://github.com/prusa3d/PrusaSlicer/pull/5582
2021-01-03 20:59:36 +01:00
YuSanka
c747502db9 Fix of #5517 "Unsupported Selection" error when copy pasting objects with modifiers... 2020-12-30 12:44:07 +01:00
YuSanka
6effa30322 Move text color selection from ButtonsDescription to Preferences dialog (related to #5489) 2020-12-30 12:04:59 +01:00
YuSanka
0331bcefd9 ObjectList: Smart update of the min height in respect to the items count.
Min 7 items and max 15 items
2020-12-30 11:00:02 +01:00
YuSanka
40fb39f5e1 Change the y_step for sidebar slider to fix strange layout of the sidebar 2020-12-29 19:04:38 +01:00
rtyr
7edb79ed11
1.2.1 Updated firmware version for MK2.5 family printers 2020-12-28 15:03:05 +01:00
rtyr
cd990cf5e0
Updated machine limits for Ender 5 and Ender 5 Pro 2020-12-28 14:36:57 +01:00
Lukas Matena
d2b45c282e Bumped up version number to 2.3.0-rc2 2020-12-22 17:26:55 +01:00
YuSanka
e193a0e921 localization: Fixed one phrase 2020-12-22 17:24:29 +01:00
Pascal de Bruijn
75381af263
PrusaGcodeviewer.desktop icon (#5555)
Linux: update PrusaGcodeviewer.desktop icon
2020-12-22 16:50:34 +01:00
YuSanka
034ca8ef57 Fixed a checking of the description lines existence before setting new value for them 2020-12-22 16:23:53 +01:00
Lukáš Hejl
81878a6f79 Fix of #5537 - GUI_App::post_init could be in some cases called before GUI_App::init_openg when GCode viewer is used.
The solution adds a status flag to GUI_App::init_openg and ensures that GUI_App::post_init isn't called before initialization in GUI_App::init_openg is done.
2020-12-22 12:28:00 +01:00
David Kocik
99f5dfbde7 Added error-checking for child.wait() call during removable drive ejection (to prevent #5507)
Mark Ejection as failed if the wait() function fails. It seems that it is not simply possible
to retrieve the exit code of the process in that case (although it usually finishes sucessfully).
2020-12-22 12:18:30 +01:00
YuSanka
6c399052c6 Fixed a crash on copy/paste, when ObjectList has no selection. Related to #5517 2020-12-22 10:42:47 +01:00
rtyr
ea327c2d8c
Creality 0.0.10
Parameter consistency improvements. Enabled conservative elephant foot compensation.
2020-12-21 15:21:26 +01:00
rtyr
f7d5032d0e
Bumped up version to 0.0.10 2020-12-21 15:20:29 +01:00
YuSanka
738c115ec1 Follow-up to 9d34d350a5: Missed one more translation for category, when checking selection on the left panel
+ Fixed a typo in CS and ES dictionaries
2020-12-21 14:28:50 +01:00
Lukáš Hejl
dc2e7aeb4e Fixed wrong generation of Adaptive Cubic and Support Cubic infill when infill extrusion width is set in percent. 2020-12-21 14:14:06 +01:00
Lukas Matena
78a3d8b63e Fixed ASCII folding for non-foldable non-ASCII characters
Problem: Add an object, name it using cyrilic, Slice, click Export: the proposed name is mangled. Affects all platforms, 2.2.0 was fine.

Cause: It is mangled during ASCII folding, which was broken with 28c0880 when it was generalized to be used from the fuzzy matcher.
    fold_to_ascii(wchar_t c, char *out) relies on narrowing char = wchar_t assignment, the old one used std::back_insert_iterator<std::wstring>.
    It is thus unable to leave a character alone even when it should (it should, right?).

Solution:
    1. Typed the fold_to_ascii function so it works on wchar_t only, which should mimic the old behaviour.
    2. Changed the respective call in fts_fuzzy_match.h. That function also works with wide char C-strings.

Cleanup:
    1. Removed the unused fold_utf8_to_ascii(const char *src) overload to avoid code duplication.
    2. Untemplated the fold_to_ascii(wchar_t c, std::back_insert_iterator<std::wstring>& out) function, it was never called with a different type.
    3. The function is now static in ASCIIFolding.cpp, nobody else needs to know.
2020-12-21 10:31:37 +01:00
Lukas Matena
1f5ac7d2f7 Fix of a crash on startup when creating physical printer profiles from 2.2 configs (#5513, #5074)
The issue is that opening the wxMessageDialog in GUI_App::check_printer_presets  fires wxEVT_IDLE event (on Linux at least).
At that point it is already bound to our lambda which will in turn call post_init prematurely.
The solution is to move the Bind at the very end of the initialization. The post_init that it calls assumes that init has been finished anyway.
2020-12-21 10:27:35 +01:00
Lukáš Hejl
181642b85b Fix of #5528 - Request re-slicing when bottom_solid_layers changes and spiral_vase is enabled. 2020-12-21 09:15:33 +01:00
Henner Zeller
79e041b961 Fix assignment of string literals to char*.
Fix some char *foo = "string literal" assignments that
really should be assigned to const char*.

(they also happen to be constexpr, but that only prevents
to assign something later to foo, but does not alter
the char* type).

Signed-off-by: Henner Zeller <h.zeller@acm.org>
2020-12-20 13:40:25 -08:00
rtyr
60efa0b0bf
Merge pull request #5500 from pmjdebruijn/creality_2
Small Creality Improvements
2020-12-20 17:14:45 +01:00
YuSanka
a19b5f2f3a Localization: Updated dictionaries CZ, DE, ES, FR, IT, NL, PL 2020-12-19 13:34:03 +01:00
David Kocik
593c397b19 Missing init() call at notification render 2020-12-19 09:22:40 +01:00