23354 Commits

Author SHA1 Message Date
Filip Sykala - NTB T15p
1d2bc5afec Fix:
./src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1155:6: warning: ‘void {anonymous}::init_new_text_line(Slic3r::GUI::TextLinesModel&, const Transform3d&, const Slic3r::ModelObject&, Slic3r::GUI::Emboss::StyleManager&)’ defined but not used [-Wunused-function]
../src/slic3r/Utils/EmbossStyleManager.cpp:650:68: warning: ‘depth’ may be used uninitialized in this function [-Wmaybe-uninitialized]
../src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp:1169:17: warning: unused variable ‘data’ [-Wunused-variable]
2023-09-07 06:37:49 +02:00
Filip Sykala - NTB T15p
de40cd6807 fix:
../src/slic3r/GUI/Gizmos/GLGizmoSVG.hpp:66:159:   required from here
Eigen/src/Core/PlainObjectBase.h:751:29: error: invalid cast from type ‘double (*)(const char*) noexcept’ to type ‘Eigen::PlainObjectBase<Eigen::Matrix<double, 2, 1, 2> >::Scalar’ {aka ‘double’}
  751 |       m_storage.data()[0] = Scalar(val0);
2023-09-06 16:01:16 +02:00
Filip Sykala - NTB T15p
5395059475 Fix:
../src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp:888:57: error: no matching function for call to ‘draw_filled(Slic3r::ExPolygons&, std::array<unsigned char, 4>&, std::vector<unsigned char>&, unsigned int&, double&)’
2023-09-06 15:35:33 +02:00
Filip Sykala - NTB T15p
40703143dc Fix Linux
../src/libslic3r/NSVGUtils.cpp:162:91: error: call of overloaded ‘to_chars(std::array<char, 128>::pointer, std::array<char, 128>::pointer, float&)’ is ambiguous
2023-09-06 14:46:10 +02:00
Filip Sykala - NTB T15p
a4afcc1f4e Merge branch 'master' into fs_svg_SPE-1517 2023-09-06 13:52:16 +02:00
Filip Sykala - NTB T15p
73d6c58db3 Reduce svg file menu 2023-09-06 13:52:00 +02:00
Filip Sykala - NTB T15p
fc11639679 change char[] to std::string as svg file data storage 2023-09-06 13:46:49 +02:00
Lukas Matena
3711402744 Bumped up version to 2.6.1 version_2.6.1 2023-09-06 08:42:26 +02:00
YuSanka
8cda73dd0f localization: Updated POT and internal dictionaries
+ Community dictionaries are merged with POT
+ "Cut connectors" are changed to "Connectors"
2023-09-06 08:38:16 +02:00
Filip Sykala - NTB T15p
41f1c2caa5 Fix:
../src/libslic3r/Format/3mf.cpp:953:21: error: ‘const string’ {aka ‘const class std::basic_string<char>’} has no member named ‘_Starts_with’
2023-09-05 14:52:33 +02:00
Filip Sykala - NTB T15p
9e60e733a2 Merge branch 'master' into fs_svg_SPE-1517 2023-09-05 14:36:20 +02:00
Filip Sykala - NTB T15p
5d70528c13 FIX:
C:\projects\worker\PrusaSlicer_Win64\build\src\slic3r\GUI\Gizmos\GLGizmoSVG.cpp(990) : warning C4715: '`anonymous namespace'::create_stroke_warning': not all control paths return a value
2023-09-05 14:33:59 +02:00
Filip Sykala - NTB T15p
e40b798ef6 Fix scale in test 2023-09-05 14:32:09 +02:00
Chow Loong Jin
4aa7366faf Fix compilation errors with -std=gnu++17 (PR#11154)
Fixes the following error:

[ 19%] Built target imgui
/<<PKGBUILDDIR>>/src/libslic3r/MeshBoolean.cpp: In instantiation of ‘indexed_triangle_set Slic3r::MeshBoolean::cgal::cgal_to_indexed_triangle_set(const _Mesh&) [with _Mesh = CGAL::Surface_mesh<CGAL::Point_3<CGAL::Epick> >]’:
/<<PKGBUILDDIR>>/src/libslic3r/MeshBoolean.cpp:185:53:   required from here
/<<PKGBUILDDIR>>/src/libslic3r/MeshBoolean.cpp:151:5: error: cannot bind non-const lvalue reference of type ‘CGAL::SM_Vertex_index&’ to an rvalue of type ‘boost::iterators::detail::iterator_facade_base<CGAL::Surface_mesh<CGAL::Point_3<CGAL::Epick> >::Index_iterator<CGAL::SM_Vertex_index>, CGAL::SM_Vertex_index, std::random_access_iterator_tag, CGAL::SM_Vertex_index, long int, false, false>::reference’ {aka ‘CGAL::SM_Vertex_index’}
  151 |     for (auto &vi : vertices) {
      |     ^~~
/<<PKGBUILDDIR>>/src/libslic3r/MeshBoolean.cpp:156:5: error: cannot bind non-const lvalue reference of type ‘CGAL::SM_Face_index&’ to an rvalue of type ‘boost::iterators::detail::iterator_facade_base<CGAL::Surface_mesh<CGAL::Point_3<CGAL::Epick> >::Index_iterator<CGAL::SM_Face_index>, CGAL::SM_Face_index, std::random_access_iterator_tag, CGAL::SM_Face_index, long int, false, false>::reference’ {aka ‘CGAL::SM_Face_index’}
  156 |     for (auto &face : faces) {
      |     ^~~
make[3]: *** [src/libslic3r/CMakeFiles/libslic3r_cgal.dir/build.make:121: src/libslic3r/CMakeFiles/libslic3r_cgal.dir/MeshBoolean.cpp.o] Error 1
2023-09-05 12:05:48 +02:00
Elia Devito
85f001fb81 Add missing includes (PR#11218)
add boost/log/trivial.hpp to CutUtlis.cpp
add tbb/parallel_for.h include to Measure.cpp
add libslic3r/ClipperUtils.hpp to TextLines.cpp
2023-09-05 12:04:57 +02:00
Vojtech Bubnik
6eae3aceb7 Merge branch 'issue-11060' into master_remote 2023-09-05 09:41:14 +02:00
enricoturri1966
ca2f1f4cd0 SPE-1671 - Fixed visibility of supports while using clipping plane in SLA supports gizmo 2023-09-04 15:11:01 +02:00
Filip Sykala - NTB T15p
ca71305c75 Merge branch 'master' into fs_svg
# Conflicts:
#	src/slic3r/Utils/EmbossStylesSerializable.cpp
#	src/slic3r/Utils/EmbossStylesSerializable.hpp
2023-09-04 13:33:22 +02:00
Filip Sykala - NTB T15p
921e98b8ba Fix for opaccity warning occurance 2023-09-04 13:30:32 +02:00
Filip Sykala - NTB T15p
0ac8afa75c Add dashed line loading from svg file
Note: Inaccurate offset of dashes on curves. (length is calculated after flattening -> on line segments)
2023-09-04 12:24:55 +02:00
YuSanka
5d9078138c Fix for #11232 - "Rename preset" does not support Cyrillic. 2023-09-04 10:51:46 +02:00
YuSanka
b44196a885 Fix for #11236 - 2 parameter descriptions in Snap connectors not displayed correctly in cyrillic 2023-09-04 10:24:28 +02:00
YuSanka
5b50969e6a Localization" Fixes for some phrases 2023-09-04 10:24:28 +02:00
ps_copyright
dd123e5650 Add copyright header to CMakeLists.txt
Also complement SupportMaterial.cpp with legacy Perl counterpart
2023-09-04 09:50:37 +02:00
tamasmeszaros
61dba4e1c9 Remove legacy comment 2023-09-04 09:46:39 +02:00
enricoturri1966
9c801d736a Fixed crash in GCodeProcessor::post_process() when backtracing into gcode generated by XL printer 2023-09-04 09:30:14 +02:00
combolek
6ea540c231 Fixes issue #11060: Crash when displaying command line help
Added missing null pointer check in ConfigDef::print_cli_help()
2023-09-02 16:04:35 -07:00
Lukas Matena
16b7175081 Bumped up version to 2.6.1-rc2 version_2.6.1-rc2 2023-09-01 19:02:27 +02:00
Vojtech Bubnik
96b3ae8501 Organic supports: Fixing crashes with invalid tip diameter or branch
diameter. Fixes SPE-1451 GH#9555

Fixed by reporting invalid combination of support extrusion width
and tip + branch diameter:

Organic support tree tip diameter must not be smaller than support material extrusion width.
Organic support branch diameter must not be smaller than 2x support material extrusion width.
Organic support branch diameter must not be smaller than support tree tip diameter.
2023-09-01 15:02:12 +02:00
ps_copyright
f32859c302 final copyright headers 2023-09-01 14:49:07 +02:00
Filip Sykala - NTB T15p
d9b0fad80c Merge branch 'master' into fs_svg 2023-08-31 16:43:30 +02:00
Filip Sykala - NTB T15p
96618d684f Emboss Stroke(contour of paths from svg)
Do not support yet:
 - Markers(start sybol, end symbol, middle symbols)
 - Dashes
2023-08-31 16:41:21 +02:00
Vojtech Bubnik
e0f577a33c Fix of SPE-1850 GH #1221
Broken with 99861f1b6ec3793025d528f0badb63e837f8c808 SPE-1207
Custom file extension needs to be included in the list of extensions
of the file dialog. On MacOS the custom extension needs to be the
first one in the list as it will be forced upon the default file
name provided to the file dialog.
2023-08-31 16:38:43 +02:00
tamasmeszaros
175c4f99ce Merge branch 'tm_fix_SPE-1807' 2023-08-31 14:33:00 +02:00
YuSanka
7280b2a0fb Fix for SPE-1845 Incorrectly imported filament profiles from 3MF or configuration ini.
+ Fix for SPE-1848 Crash on switch from MM printer to SM, when non-first filament is modified
2023-08-31 14:30:14 +02:00
YuSanka
34ad4d6e5d Localization: Updated internal dictionaries.
+ Community dictionaries are merged with newest POT
+ Unused macro _CHB(s) is deleted from I18N.hpp
2023-08-31 13:44:53 +02:00
YuSanka
f8c89be3b2 Localization/Ru : Manually merged from https://github.com/AndylgTom/Slic3r (https://github.com/AndylgTom/Slic3r/commits/master) 2023-08-31 13:44:53 +02:00
Lukas Matena
1f510bcc00 Fixed access violation when using multimaterial priming with multi-extruder printer (#11174, #11197, SPE-1849) 2023-08-31 12:43:10 +02:00
Lukas Matena
a89860d7d3 Fix of #11191 (SPE-1851): Shells in preview show when they shouldn't 2023-08-31 12:10:31 +02:00
davidjuanesb
54c091cbc9 Update translation to Catalan language for PrusaSlicer 2.6.1-rc1
Update translation to Catalan language for PrusaSlicer 2.6.1-rc1
2023-08-30 15:53:53 +02:00
YuSanka
1a4f461426 Localization : Updated POT
+ Added comments for translators
2023-08-30 15:42:05 +02:00
tamasmeszaros
2cabe4f544 Merge branch 'tm_rpi_arrange_test_fix' 2023-08-30 14:54:58 +02:00
YuSanka
fc96763be6 Help menu is extended with "Quick Start" and "Sample G-codes and Models" items 2023-08-30 13:54:09 +02:00
tamasmeszaros
0482f79dd8 3rd try for fixing tests on RPI 2023-08-30 11:45:02 +02:00
YuSanka
5e3d5f8d80 Implemented #11159 - Reset Snap Connectors [CUT]. 2023-08-30 11:20:28 +02:00
tamasmeszaros
8e875242ae Another try for fixing tests on RPI 2023-08-30 09:35:57 +02:00
tamasmeszaros
3fe051b0ad Fix arrange tests on raspberry pi
There were indeed floating point divisions with zero
2023-08-29 17:34:06 +02:00
Vojtech Bubnik
9da03dfc9f Fixed wrong Miter limit when offsetting contours to build a Z-graph
of layer islands.
Partial fix of SPE-1729 #10632
2023-08-29 15:57:31 +02:00
Vojtech Bubnik
532913bade Some tests for maximum values of 32bit point coordinates. 2023-08-29 15:57:31 +02:00
YuSanka
1d3e5a9f24 Suppress to scale down very big object after cut (SPE-1853) 2023-08-29 15:43:51 +02:00