366 Commits

Author SHA1 Message Date
YuSanka
b0cf024a03 Renamed tower/tilt profile to speed (back end only) 2024-06-06 12:23:22 +02:00
YuSanka
755493531e Follow up dbcd2b59 - Fixed values for tilt and tower profiles 2024-06-06 12:17:44 +02:00
YuSanka
a7cf950674 SLA: Save config.json which contains tilt parameters into sl1s output archive. 2024-06-06 12:17:44 +02:00
Lukas Matena
dba0377c29 Load MM painting produced by BambuStudio (#12502) 2024-04-05 11:25:31 +02:00
Lukas Matena
9245223f85 Fixes in phrases 2024-03-11 11:20:12 +01:00
Filip Sykala - NTB T15p
99a08efc9c Disallow import of 3mf without mesh, which are not produced by PrusaSlic3r 2024-03-05 14:34:13 +01:00
Filip Sykala - NTB T15p
1696e0447b Use strict schema name.
Limit file size of .rels
Remove unneccesary end tag processing
Skip errors from loadind relations(to support previous behavior without .rels file)
Fix not setted PPath in component.
Add support for PPath in build item
2024-03-05 14:34:13 +01:00
cmguo
f092f4ccd5 Support 3MF Production Extension (PR #10808 by @cmguo) 2024-03-05 14:33:30 +01:00
Lukas Matena
e09f6e526a Revert "Fix SPE-2129"
This reverts commit 8dc1d70d854a83c473222882e217392d314b264b.
2024-02-09 14:57:38 +01:00
Filip Sykala - NTB T15p
ee87330859 Add check on existing exactly one .model file in 3mf 2024-02-08 16:22:45 +01:00
Lukas Matena
83a98d43bf Fixed crash when loading invalid 3MFs (SPE-2135)
The crash was introduced in 040a846, which completely threw away handling of the return value
of the importer.load_model_from_file function and replaced it with weaker condition. The purpose
of that change was to solve #8401 (missing error message when loading different invalid 3MF).

This commit reverts that change (and reintroduces #8401). Handling of 3MF loading errors
should be inside the importer.load_model_from_file function, where the check should be
added later.
2024-02-08 16:22:45 +01:00
Lukáš Hejl
76435e7add SPE-1840: Rework multi-material segmentation to work directly on the Voronoi diagram without creating a copy of it.
Previous algorithms assume that they can get an invalid Voronoi diagram. Because of that, during the multi-material segmentation, a copy of the Voronoi diagram was created, and there were several attempts to fix missing vertices and edges. But as it shows, this wasn't a good enough approach and sometimes led to several issues like bleeding layers.

After generalization, our approach for detection and repairs of invalid Voronoi diagrams from Arachne, we could assume that multi-material segmentation gets non-invalid Voronoi diagrams.
With this assumption, we reimplement multi-materials segmentation to work directly on the Voronoi diagram. That should make multi-material segmentation more stable.

So, this should fix several issues like bleeding layers. Also, memory consumption should decrease by a lot. Also, there should be some speedup of multi-materials segmentation.
2024-02-08 15:40:20 +01:00
Filip Sykala - NTB T15p
8dc1d70d85 Fix SPE-2129
https://github.com/prusa3d/PrusaSlicer/issues/12157

(cherry picked from commit 309ec8c5fbcc0754f165b51e39e7c291da13ab77)
2024-02-07 14:27:23 +01:00
tamasmeszaros
78995013be Fixing all-enabled sla overwrites after loading older output archive 2024-02-05 16:59:09 +01:00
tamasmeszaros
91e67e2e16 Fixing float nullable config vals and sla override apply func 2024-02-05 16:59:09 +01:00
Filip Sykala - NTB T15p
4bfcbdb019 Put together final_shape and flag final shape is healed.
+ Regenerate final shape on reload from disk
2023-11-02 09:05:15 +01:00
Filip Sykala - NTB T15p
894e88a503 Set svg file data as optional in emboss shape (text do not contain it) 2023-11-01 18:23:28 +01:00
Filip Sykala - NTB T15p
89cc01f3a9 Hot fix for storing SVG into 3mf to prevent crash 2023-10-31 10:13:12 +01:00
Filip Sykala - NTB T15p
fa09f03c6a Unify behavior of union for import and add volume
Add cache for final ExPolygons
2023-10-27 08:55:47 +02:00
Filip Sykala - NTB T15p
1e440c0d11 Add logs for bad import of svg 2023-10-23 17:24:12 +02:00
Filip Sykala - NTB T15p
f05f334e15 Import svg files by button in main bar.
Be carefull: import is made by main thread !!!
2023-10-23 16:50:41 +02:00
Filip Sykala - NTB T15p
4088a4bcd6 Merge branch 'master' into fs_svg_SPE-1517 2023-10-18 15:20:55 +02:00
Lukas Matena
623e9d5cb4 Fix issues with OBJ loading on macOS Sonoma 2023-10-17 12:47:05 +02:00
Filip Sykala - NTB T15p
82182ac8b8 Propagate warnings about unhealed shape to UI. 2023-10-16 11:44:08 +02:00
Filip Sykala - NTB T15p
cbcda3bd0e Merge branch 'master' into fs_svg_SPE-1517 2023-09-21 09:38:05 +02:00
Adrian Bunk
1a4a31e929
format/AnycubicSLA: use float instead of float_t (#11036) 2023-09-19 10:12:11 +02:00
Filip Sykala - NTB T15p
7ae0a40a7c Fix scale for embossed SVG loaded from 3mf - fix matrix
Fix storing © message for texts
2023-09-13 21:46:20 +02:00
Filip Sykala - NTB T15p
05a8746680 Store/load align as text in 3mf with backcompatibility 2023-09-13 17:09:19 +02:00
Filip Sykala - NTB T15p
6daaed3b1f Load old align as center 2023-09-13 11:57:23 +02:00
Filip Sykala - NTB T15p
3421a9298a Remove depricated variable
+ read old staff in separate 3mf function
2023-09-13 11:56:37 +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
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
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
ps_copyright
f32859c302 final copyright headers 2023-09-01 14:49:07 +02:00
Filip Sykala - NTB T15p
480c571499 Store shape as svg into 3mf
Without obfuscation of svg.
2023-08-02 22:34:33 +02:00
Filip Sykala - NTB T15p
d530831e35 Add icons(refresh and burn) to svg emboss
Add NSVG image to shape
2023-07-19 12:02:28 +02:00
Filip Sykala - NTB T15p
36bb7cfe9b Merge branch 'fs_dir_per_glyph_SPE-1597' into fs_svg 2023-06-13 14:34:33 +02:00
Filip Sykala - NTB T15p
2605b2d9d6 Merge branch 'master' into fs_dir_per_glyph_SPE-1597 2023-06-13 14:34:11 +02:00
tamasmeszaros
283fd6feb4 Fix sla archive filenames with using the archive format registry 2023-06-09 10:59:41 +02:00
Filip Sykala - NTB T15p
b71cb25163 Run able fix after merge(still issue with scale for per glyph transformation) 2023-06-07 11:19:28 +02:00
Filip Sykala - NTB T15p
e831255018 Merge branch 'fs_dir_per_glyph_SPE-1597' into fs_svg
# Conflicts:
#	src/libslic3r/Emboss.cpp
#	src/libslic3r/Format/3mf.cpp
#	src/libslic3r/TextConfiguration.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoEmboss.hpp
#	src/slic3r/GUI/Jobs/EmbossJob.cpp
#	src/slic3r/GUI/Jobs/EmbossJob.hpp
2023-06-07 11:18:26 +02:00
Filip Sykala - NTB T15p
5de06a9ef8 Merge branch 'master' into fs_svg 2023-06-02 10:53:47 +02:00
Filip Sykala - NTB T15p
733b70b26f Separate horizontal and vertical align
Vertically align on base line of text to be able set base line of per glyph independent on align
2023-05-26 16:50:27 +02:00
Filip Sykala - NTB T15p
35044e29c3 Create text volume with feature per letter transformation. 2023-05-23 10:30:14 +02:00
Pavel
72f8590332 Add missing include 2023-05-12 10:32:14 +02:00
tamasmeszaros
8f680fd496 Fix no action on sla archive import with "profile only" option 2023-05-10 17:05:05 +02:00
tamasmeszaros
d4ad9deb94 Archive format registration refactored
Fix tests
2023-05-10 14:08:11 +02:00
YuSanka
83a2dc3b5a Follow up 9e56625287 - Added code to avoid a crash and allow to load 3mf even if cut information was corrupted 2023-04-19 12:06:35 +02:00
YuSanka
9e56625287 Fix for #10319 - MacOS 2.6 Alpha6 Crash on project load
This issue was not related to the OS and was caused by bug inside export function.
Wrong object id was saved for the cut objects
2023-04-19 10:01:31 +02:00
Filip Sykala - NTB T15p
bc51ad7525 Merge branch 'master' into fs_svg 2023-04-06 08:25:36 +02:00