27 Commits

Author SHA1 Message Date
Filip Sykala - NTB T15p
e043a04207 Merge branch 'master' into fs_import_svg_SPE-1984 2023-10-26 08:38:48 +02:00
Steven James
c63f0d2870 Make actually buildable in Ubuntu. 2023-10-24 09:19:03 +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
a2139d4eb4 Fix special character in file path of SVG.
Found by "Ondřej Stříteský"
2023-10-18 11:49:21 +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
4724d6791a Refactor of Intersection of lines to use AABB Tree and retur also inces of intersected lines
Refactor Emboss to remove priv namespace
heal_polygons function got parameter for count of heal iteration of final ExPolygons
heal_polygons return whether heal was successfull or not
2023-10-12 14:40:38 +02:00
Filip Sykala - NTB T15p
70460ae790 Fix Healing of SVG shape for overlapped contour points in thin "bay".
SVG from @LukasMatena
2023-10-11 15:01:29 +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
fc11639679 change char[] to std::string as svg file data storage 2023-09-06 13:46:49 +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
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
ps_copyright
f32859c302 final copyright headers 2023-09-01 14:49:07 +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
Filip Sykala - NTB T15p
92914685f4 Warning for open path 2023-08-22 16:19:22 +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
173aefd92a Export shape to svg is translated to top left corner.
Scale input is limit less.
2023-07-26 14:54:34 +02:00
Filip Sykala - NTB T15p
1e1caad019 Partial store to svg 2023-07-26 11:04:24 +02:00
Filip Sykala - NTB T15p
c63f9f3e11 Unify scale and suggest tesselation tolerance for svg curves 2023-07-25 11:27:18 +02:00
Filip Sykala - NTB T15p
5b0ba6662e One color svg preview 2023-07-20 11:33:23 +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
4778b8d26c Emboss shape with scale 2023-04-06 16:10:21 +02:00
Filip Sykala - NTB T15p
382a0fe1e3 Merge branch 'master' into fs_svg
# Conflicts:
#	src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoEmboss.hpp
#	src/slic3r/GUI/Jobs/EmbossJob.cpp
#	src/slic3r/GUI/Jobs/EmbossJob.hpp
#	src/slic3r/GUI/SurfaceDrag.cpp
2023-04-06 08:25:20 +02:00
Filip Sykala - NTB T15p
d330bbc54b comment source of idea 2022-11-29 13:39:28 +01:00
Filip Sykala - NTB T15p
63121cee2e Better healing for Glyph shape - remove duplicit points + self intersections
Add search of intersecting points (compared with CGAL)
Triangulation can [optionaly] accept multi points
2022-08-25 13:28:10 +02:00
Filip Sykala - NTB T15p
7770034492 Fix warnings 2022-08-02 13:29:30 +02:00
Filip Sykala
f163e6a2ee Fix type warning 2022-01-04 15:04:33 +01:00
Filip Sykala
a34a4954bd Separate into class files 2021-12-20 20:49:43 +01:00