Commit Graph

17586 Commits

Author SHA1 Message Date
YuSanka
f14a5f40b3 Localization.
* --boost option is added to gettext_make_pot script to recognize Boost format strings.
* New script gettext_merge_po_with_pot is added to merging new lines from POT to current PO
* --check-format option is added to gettext_po_to_mo script to check language dependent format strings during generation MO from PO.
* POT is updated and all PO files are merged with it. So, community can just load needed PO file and continue in translation.
* ExtruderSequenceDialog: Added messed localization markers
2021-12-03 16:19:09 +01:00
Lukáš Hejl
36b014a8dd Fixed a bug in the precomputation of the data for bucket fill that was triggering assert in TriangleSelector::neighbor_child(). 2021-12-03 14:06:53 +01:00
David Kocik
60b8a8245c Deleted unused function in Octoprint 2021-12-03 09:47:56 +01:00
tamasmeszaros
08e3e60a5f Fix CGAL build with major version > 4 on Linux
fixes #7341

CGAL upstream CMake config will lock in the major version if installed as a distro package and will not provide any version info if compiled and installed from upstream. As of this commit, PrusaSlicer can be built with CGAL 4.13.2, and 5.0 but there is no universal way to specify the minimum version that would work with static dependencies and linux packages.

sorry #4912
2021-12-03 09:46:07 +01:00
Vojtech Bubnik
7837070d29 Follow-up to c6de3e84eb
Fixed typos in option labels.
2021-12-03 09:40:00 +01:00
YuSanka
def5bd6797 Follow-up to 7272b2b083
Comment is extended
2021-12-03 09:39:37 +01:00
Vojtech Bubnik
50da39d30b Windows specific: Only start the 3rd party updater application
if enabled in PrusaSlicer preferences.
2021-12-03 09:26:44 +01:00
Vojtech Bubnik
45d9e6bddd Follow-up to 7828964f8c
Fixed no way of leaving the "export G-code" dialog loop.
Improved the error message by explaining that some characters
are not allowed by a FAT file system.
2021-12-03 09:05:14 +01:00
Vojtech Bubnik
4d1ce89c22 Follow-up to f4dfbb69e2
Now that libcurl is used for URL host substitution,
we want to make sure that the new code compiles on Windows only
because that is where we need to do the URL host substitution
due to Windows 10/11 mDNS resolve issues and
because we have a control on the libcurl version statically linked
on Windows, so we are sure the URL API is available.
2021-12-03 08:12:47 +01:00
Vojtech Bubnik
f4dfbb69e2 Replaced the code to substitute host address part in URL
with libcurl library calls. This solution should be more robust
than a homebrew URL parser solution.
2021-12-03 08:02:16 +01:00
Lukáš Hejl
f88d678a4a Added a missing include (GCC11.1 without PCH). 2021-12-02 21:04:55 +01:00
Vojtech Bubnik
26a6cb2129 Fixed ironing over areas with modifier meshes:
1) Areas inside modifier meshes were ironed multiple times.
2) Ironing areas were not properly merged.

Layer::lslices were not always properly merged with modifier meshes
applied, which lead to the ironed surface being split and not fully
ironed, as there were artificial gaps created between regions as if
they were covered by perimeters (we don't iron over perimeters).
2021-12-02 18:19:35 +01:00
YuSanka
7272b2b083 Fix for #7207 - Display of object labels does not match with the "View"-menu, if "Complete individual objects" is used 2021-12-02 17:08:03 +01:00
Vojtech Bubnik
a6202c8f16 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-12-02 16:40:26 +01:00
Vojtech Bubnik
21e5481a58 Fix of fan control for raft layers.
Fixes Fan starts at first layer, even though disabled for first layer. #7232
This is a regression due to cooling refactoring, which cooled
support layers independently from object layers. The bug here was that
all the raft layers were cooled together with the first object layer.
2021-12-02 16:40:18 +01:00
David Kocik
a840f8020f Substitution of host during ip resolve: correct handling of ipv6 2021-12-02 16:31:19 +01:00
YuSanka
71a9ded1c0 ObjectList: Fixed update of the icons for InfoItems, when color mode was changed
Sidebar:ObjectInfo: Fixed update of the icon, when color mode was changed
+ Added new icons for "Sinking" and "ShapeGallery"
2021-12-02 16:11:52 +01:00
YuSanka
efbf64fdea Added description line for the "Post-processing scripts".
ogStaticText id extended for SetPathEnd() function. It allows to use description line like a hyperlink
2021-12-02 15:18:05 +01:00
David Kocik
8a151cd7c3 Merge branch 'dk_notifications' 2021-12-02 14:12:47 +01:00
David Kocik
15104cb787 Load basic notifications later so the translations are correct. 2021-12-02 13:57:49 +01:00
David Kocik
d60bbc382d few asserts in notifications manager 2021-12-02 13:57:02 +01:00
enricoturri1966
b062a0f281 Fixed build when tech ENABLE_SMOOTH_NORMALS is enabled 2021-12-02 13:42:26 +01:00
Lukáš Hejl
0875dc73c7 Merge branch 'lh_cursors' 2021-12-02 12:41:03 +01:00
Lukáš Hejl
7bb38840e1 Replaced the repeated application of Cursors (Sphere or Circle) in painting using 2D and 3D Capsules.
Previously, the Cursor (Sphere or Circle) was repeatedly applied between two mouse positions, creating brushstrokes with ripples on the edges between those mouse positions.
Now, a single capsule (3D or 2D) is applied between those mouse positions, which creates brushstrokes without these ripples.
2021-12-02 12:36:48 +01:00
Lukáš Hejl
e898eda320 Refactoring of Cursors in TriangleSelector as preparation for upcoming improvements of painting. 2021-12-02 12:36:48 +01:00
YuSanka
fc089fd2c5 Code refactoring for d88ef826cd
reload_scene() call were followed by update(). It synchronizes back-end with front-end and then it calls reload_scene() again.
However in SLA mode reload_scene() expects the back-end to be synchronized with front-end, thus we get asserts that we all have ignored for a long time.

So, we call ObjectList::update_info_items() after the call of update() where reload_scene() is already called and GLCanvas3D::is_object_sinking() will return correct value
2021-12-02 11:26:20 +01:00
enricoturri1966
48d88191e2 Fixed rotation of volumes while ALT key is pressed 2021-12-02 11:11:00 +01:00
David Kocik
59463cdb34 Merge branch 'dk_printhost' 2021-12-02 10:25:59 +01:00
David Kocik
a4b4af8a1a Change of 71082adbc9ac2101c39f46218d666e46ab4ecb7c
Instead of just adding port, take original address and replace just host with resolved host.
fix of #7389
2021-12-02 10:25:31 +01:00
David Kocik
0939dab807 allow_ip_resolve in app config 2021-12-02 10:25:04 +01:00
David Kocik
9788a80c6f Added port number to resolved ip address if specified.
fix of #7361
2021-12-02 10:25:04 +01:00
Lukáš Hejl
7f951c2df8 Fixed an issue that travels could lead through a hole when the avoid crossing perimeters was enabled at the same with "External perimeter first" or "Detect thin walls". 2021-12-02 09:35:20 +01:00
Lukáš Hejl
e85a0ba248 Added missing includes (GCC11.1 without PCH). 2021-12-02 09:30:03 +01:00
enricoturri1966
ba20cc4892 #7396 - Fix of crash while slicing a particular stl file (missing checks into GCodeViewer::load_toolpaths()) 2021-12-02 09:09:19 +01:00
Vojtech Bubnik
9ea81a9dbf Fixing Perl unit tests 2021-12-01 19:24:23 +01:00
Vojtech Bubnik
9cf483fe08 WIP Lightning infil: Cleaning up some compiler errors 2021-12-01 19:02:37 +01:00
Vojtech Bubnik
481def3205 WIP Lightning Infill, roughly integrated, untested, disabled with
HAS_LIGHTNING_INFILL
2021-12-01 18:11:41 +01:00
Vojtech Bubnik
e8697d2fc2 WIP Cura Lightning infill, initial port. 2021-12-01 16:45:04 +01:00
David Kocik
f03f8f52d7 Fixed loading translation of hint notification text and reloading this texts in other langs. 2021-12-01 15:44:44 +01:00
rtyr
e0b96e5535
Sync with PrusaSlicer-settings 2021-12-01 13:11:47 +01:00
YuSanka
b78b91b72e Localization: Updated CZ, DE, ES, FR, IT and PL dictionaries.
+ Fixed some of phrases and updated POT-file
2021-12-01 13:07:25 +01:00
enricoturri1966
860f1b29f2 gouraud.fs shader - removed unused code 2021-12-01 12:37:39 +01:00
enricoturri1966
da7d462224 QHull library - Set #define REALfloat 0 to use doubles instead of floats. This fixes #7377 2021-12-01 12:22:37 +01:00
enricoturri1966
fcc13d1665 #7388 - Fixed shell does not align in Z direction if raft enabled in gcode preview 2021-12-01 09:16:53 +01:00
Vojtech Bubnik
a89020abd7 Trying to fix compilation issues due to _() macro being used by mpl. 2021-11-30 18:06:01 +01:00
Vojtech Bubnik
4158f9ec8e New config value "gcode_resolution" replaces the hard coded RESOLUTION
value, which was set to 0.0125mm.
2021-11-30 17:52:05 +01:00
Lukas Matena
efaf4e47c1 When system info sending fails, do not save the "sent" flag into appconfig 2021-11-30 16:21:20 +01:00
Vojtech Bubnik
f51162f238 Improved G-code post processor error reporting in case the G-code
post processor did not edit the G-code in place.
2021-11-30 14:16:04 +01:00
Lukas Matena
d6bd128fff Follow-up to e7cc12b 2021-11-30 13:58:09 +01:00
Vojtech Bubnik
5a873dd1e5 Fixing a loophole in GUI::format() for UTF8 template input. 2021-11-30 13:49:22 +01:00