Filip Sykala - NTB T15p
e0bb5f8da8
Revertation
...
Needed by other platforms
2023-09-14 21:02:03 +02:00
Filip Sykala - NTB T15p
e87b416ebc
Fix drag and drop rotation gizmo for embossed SVG to approximate rotation
2023-09-14 20:07:10 +02:00
Filip Sykala - NTB T15p
6c106212cb
Fix distance from surface and generalize rotation fix
2023-09-14 18:03:44 +02:00
Filip Sykala - NTB T15p
f7923ec83e
Fix rotation by slider in emboss dialog
2023-09-14 15:06:00 +02:00
Filip Sykala - NTB T15p
01d1b2e2f5
Fix tranformation loaded from 3mf for mirroring
2023-09-14 13:12:02 +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
b3d94bab8f
Add image stats
2023-09-07 13:03:44 +02:00
Filip Sykala - NTB T15p
496edf1c32
Lock Emboss SVG window size
2023-09-07 12:48:36 +02:00
Filip Sykala - NTB T15p
8ccf534c6f
Swap reflection to mirroring
2023-09-07 08:16:38 +02:00
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
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
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
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
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
1062d10d77
change UI options if svg file.
...
draw warnings
2023-08-22 15:25:45 +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
f36330df4f
Fix rasterization of svg by
...
Init texture with ExPolygons
Stop using nano svg rasterizer for preview
2023-08-02 22:21:12 +02:00
Filip Sykala - NTB T15p
dee5b883b4
Change scale from absolut to relative
...
NOTE: Absolute scale for volume did not work !!!
2023-08-01 10:14:56 +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
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
6a932e4b9e
Fix reflection on object
2023-07-20 11:32:13 +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
6dcabda7db
Try to Fix linux build
2023-07-12 14:10:00 +02:00
Filip Sykala - NTB T15p
306a071368
Fix rotation gizmo for svg
2023-07-11 21:32:14 +02:00
Filip Sykala - NTB T15p
41f0594aaf
Add reflection
...
Add face to camera button
Fix volume type swith
2023-07-11 21:21:34 +02:00
Filip Sykala - NTB T15p
1c44fcab9e
GUI for emboss SVG
2023-07-04 12:04:20 +02:00
Filip Sykala - NTB T15p
3a6c85ef58
Load white/gray icons by icon manager
2023-06-30 20:30:51 +02:00
Filip Sykala - NTB T15p
4db49f7882
Prepare Drag&drop svg file
2023-06-13 14:33:00 +02:00
Filip Sykala - NTB T15p
1c80d4358a
Render texture of svg
2023-06-09 17:49:48 +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
dc7a39e3e4
Set nullptr in cpp not hpp - Linux want know the size of pimpl.
2023-04-19 13:49:37 +02:00
Filip Sykala - NTB T15p
ea84072f55
Add option to change size
2023-04-18 23:15:37 +02:00
Filip Sykala - NTB T15p
2e2138b067
Fix for surface drag - distance object from surface
2023-04-18 18:46:33 +02:00
Filip Sykala - NTB T15p
51441bc5f0
Emboss SVG shape
2023-04-18 13:44:31 +02:00
Filip Sykala - NTB T15p
94048fe7f4
Fix encoding error
2023-04-06 16:17:21 +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
e0a4ac0313
Partialy calculated distance on the fly.
2023-03-22 09:11:12 +01:00
Filip Sykala - NTB T15p
61fa3e8844
Clean up EmbossJob
2023-03-16 15:23:29 +01:00
Filip Sykala - NTB T15p
b6d84fb276
Emboss on job SVG and Text together
2023-03-14 19:56:52 +01:00
Filip Sykala - NTB T15p
c2f348ee19
ReWork DataBase for embossing to prepare for SVG.
...
Remove dependency on Emboss inside of Object list
Hide variable SHAPE_SCALE to one .cpp file only
2023-03-10 15:22:29 +01:00
Filip Sykala - NTB T15p
24c791b29d
Add svg to context menu
2023-03-08 16:40:03 +01:00
Filip Sykala - NTB T15p
9ae91c291a
misc
2023-03-08 09:33:02 +01:00
Filip Sykala - NTB T15p
a5ea46a83a
Add SVG gizmo - buildable
2023-03-07 16:47:12 +01:00