507 Commits

Author SHA1 Message Date
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
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
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
f5d5ebe418 Merge branch 'master' into fs_svg 2023-08-25 15:34:03 +02:00
YuSanka
e34e267b8c Localization: Updated POT. Community dictionaries are merged with new POT.
+ Fixed some phrases
+ Added some comments for translators
2023-08-22 17:33:27 +02:00
Filip Sykala - NTB T15p
57141aa61a Merge branch 'master' into fs_svg
# Conflicts:
#	src/slic3r/GUI/Gizmos/GLGizmoEmboss.hpp
2023-08-22 16:20:42 +02:00
Filip Sykala - NTB T15p
92914685f4 Warning for open path 2023-08-22 16:19:22 +02:00
Filip Sykala - NTB T15p
163f81f1d4 Fix for checkbox tooltip 2023-08-22 15:31:26 +02:00
Filip Sykala - NTB T15p
3411a32f88 Fix depth value for re_emboss 2023-08-17 09:14:44 +02:00
Filip Sykala - NTB T15p
7f647c49f5 Special case of mirror when emboss gizmo is opend 2023-08-14 08:14:07 +02:00
Filip Sykala - NTB T15p
803c442927 Re projection of text outside of emboss gizmp 2023-08-10 14:00:49 +02:00
Filip Sykala - NTB T15p
33e07c6dd5 Fix after merge 2023-08-10 12:36:56 +02:00
Filip Sykala - NTB T15p
14b22e7310 Merge branch 'fs_dir_per_glyph_SPE-1597' into fs_svg
# Conflicts:
#	src/libslic3r/Emboss.cpp
#	src/slic3r/GUI/TextLines.cpp
2023-08-10 10:17:34 +02:00
Filip Sykala - NTB T15p
acb3e6dd37 Textline offset same as Vertical center of text 2023-08-10 08:55:43 +02:00
Filip Sykala - NTB T15p
f51c0e651b Visualization by torus 2023-08-09 15:53:10 +02:00
Filip Sykala - NTB T15p
b699e6da9b Merge branch 'fs_dir_per_glyph_SPE-1597' into fs_svg
# Conflicts:
#	src/libslic3r/Emboss.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp
#	src/slic3r/GUI/Jobs/CreateFontStyleImagesJob.cpp
#	src/slic3r/GUI/TextLines.cpp
2023-08-08 17:13:15 +02:00
Filip Sykala - NTB T15p
7df988dd2d Recalculate text lines after change text direction 2023-08-07 17:38:31 +02:00
Filip Sykala - NTB T15p
36d5353c67 Vertical alignemnt center is now in 1/3 of the font ascent
Default vertical alignement is center (for closer result to previous unaligneg version)
2023-08-07 15:59:55 +02:00
Filip Sykala - NTB T15p
6c0d7b79e3 Set default align to center as mentioned in SPE-1597
Align visualization warning is active only for multiline
2023-08-03 09:12:49 +02:00
Filip Sykala - NTB T15p
fcdaf6acbf Show key shortcut in the title of text emboss window 2023-07-25 08:26:13 +02:00
Filip Sykala - NTB T15p
0588c66ce5 Fix
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:131:13: warning: unused function 'start_create_volume_on_surface_job' [-Wunused-function]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3772:6: warning: unused function 'apply_camera_dir' [-Wunused-function]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1143:6: warning: unused function 'init_new_text_line' [-Wunused-function]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1332:13: warning: unused function 'is_text_empty' [-Wunused-function]
2023-07-12 13:36:52 +02:00
Filip Sykala - NTB T15p
07aa1b7a30 Fix
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:131:13: warning: unused function 'start_create_volume_on_surface_job' [-Wunused-function]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3772:6: warning: unused function 'apply_camera_dir' [-Wunused-function]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1143:6: warning: unused function 'init_new_text_line' [-Wunused-function]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1332:13: warning: unused function 'is_text_empty' [-Wunused-function]
2023-07-12 13:03:03 +02:00
Filip Sykala - NTB T15p
9ee86599d5 Merge branch 'fs_dir_per_glyph_SPE-1597' into fs_svg
# Conflicts:
#	src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoEmboss.hpp
2023-06-30 10:15:51 +02:00
Filip Sykala - NTB T15p
52578e88a5 Merge branch 'fs_fix_font_preview_offsets' into fs_dir_per_glyph_SPE-1597 2023-06-15 12:49:42 +02:00
Filip Sykala - NTB T15p
9624222c3e Fix for font preview offsets on scaled displayes:
https://github.com/prusa3d/PrusaSlicer/issues/10511
2023-06-15 12:12:30 +02:00
Filip Sykala - NTB T15p
1c80d4358a Render texture of svg 2023-06-09 17:49:48 +02:00
Filip Sykala - NTB T15p
3e0cd9a872 Merge branch 'fs_dir_per_glyph_SPE-1597' into fs_svg 2023-06-07 11:26:54 +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
09e9193d92 Fix position of definition 2023-06-05 14:20:11 +02:00
Filip Sykala - NTB T15p
ed4948742c fix for:
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1458:14: warning: unused variable 'is_outside' [-Wunused-variable]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3445:62: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
2023-06-02 10:33:21 +02:00
Filip Sykala - NTB T15p
e05ff3e7a6 fix load of 3mf with per glyph transformation by stored fix matrix 2023-05-29 06:08:25 +02:00
Filip Sykala - NTB T15p
2471e072d3 Base line on third of ascent is better 2023-05-26 19:57:49 +02:00
Filip Sykala - NTB T15p
331bfaa556 Fix position of base line for per glyph position to be on the half of ascent in all vertical alignment 2023-05-26 19:44:32 +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
1e2943b942 Align by buttons 2023-05-26 09:23:09 +02:00
Filip Sykala - NTB T15p
d2a605ee2e add option to Create per glyph volume (initialize text lines before text volume)
Per glyph for negative volume and modifiers are moved into object
2023-05-25 13:01:30 +02:00
Filip Sykala - NTB T15p
9b8f910c61 Ui for per glyph checkbox 2023-05-23 20:32:54 +02:00
Filip Sykala - NTB T15p
35044e29c3 Create text volume with feature per letter transformation. 2023-05-23 10:30:14 +02:00
Filip Sykala - NTB T15p
4be73de02f Partialy fix align:
whitechar in center
enters at begining
enters at end
Align
2023-05-19 14:11:15 +02:00
Filip Sykala - NTB T15p
cf57bf02ff Fix init after set 2023-05-09 13:43:57 +02:00
Filip Sykala - NTB T15p
43294950bd Per letter emboss with align 2023-05-09 13:00:49 +02:00
Filip Sykala - NTB T15p
28b526167a Add text alignement 2023-05-04 19:13:13 +02:00
Filip Sykala - NTB T15p
af0ef21ce3 Emboss text along base line(object cut)
- need alignment of text(center, left, right)
- (NOTE) edit text change its position
+ add polygon point
2023-05-04 11:57:33 +02:00
Filip Sykala - NTB T15p
7fa1e39fec One GLModel for all lines 2023-05-02 12:26:58 +02:00
Filip Sykala - NTB T15p
b7549ae414 Add TextLines to add per glyph transformation 2023-04-28 15:42:55 +02:00
Filip Sykala - NTB T15p
034b0a6118 Visualize flat 2023-04-20 17:16:30 +02:00
Filip Sykala - NTB T15p
14c7f27bff Visualization of slice for object contour to put letters on 2023-04-20 15:49:06 +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