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
191f670dbd
Volume do not store angle of text any more.
...
(it is stored inside of volume transformation and si calculated on the fly)
2023-03-02 14:25:06 +01:00
Filip Sykala - NTB T15p
ae75599af0
clean up
2023-02-21 12:32:53 +01:00
Filip Sykala - NTB T15p
ead192b43b
calculate angle when set volume
2023-02-20 14:50:17 +01:00
Filip Sykala - NTB T15p
b82f1fe818
Move over surface with relative transformation
2023-02-17 08:16:54 +01:00
Filip Sykala - NTB T15p
f2803c4ae1
Move unused implementation behinde macro
2023-01-26 12:00:36 +01:00
Filip Sykala - NTB T15p
badbe9ddba
Remove spikes from glyph shape
2023-01-26 08:04:44 +01:00
Filip Sykala - NTB T15p
8f09c3ac82
WIP: Create another approach to heal shape BUT it is not working
2023-01-20 17:33:53 +01:00
Filip Sykala - NTB T15p
58592593af
Add new volume as cut surface by definition in style
2022-11-21 10:15:20 +01:00
Filip Sykala - NTB T15p
9fef0cd091
Fix for whistle model. Issue 51.3
...
Sort patches by distance to expolygon projection depth center and add patches until expolygon is filled
2022-10-19 19:15:59 +02:00
Filip Sykala - NTB T15p
8343e81053
Fix test
...
+ Comment debug output
+ Add was_canceled in cut surface
2022-10-12 19:26:45 +02:00
Filip Sykala - NTB T15p
3fa3ea0bb4
Projection text for cut surface is made with double preccission
2022-10-12 16:17:38 +02:00
Filip Sykala - NTB T15p
8511b280bf
Heal shape with points close to line
...
(after conversion to floating point it is on the other side of line)
ExPolygons indexing (fixed)
2022-10-11 13:35:52 +02:00
Filip Sykala - NTB T15p
072c1752b1
Cancelation in the middle of getting text shape
2022-09-23 14:07:17 +02:00
Filip Sykala - NTB T15p
27e640180f
Add unprojecting of SurfacePatch contours
2022-08-31 08:35:43 +02: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
003c7fc54f
Rename FontItem to EmbossStyle
2022-08-03 10:29:05 +02:00
Filip Sykala
eea0ce9569
Calculation of projection distances
2022-06-09 15:07:44 +02:00
Filip Sykala
864d1e5830
Cut surface in backend job
...
Store flag about use surface(into 3mf and style)
GUI: Add checkbox to start using model surface
2022-05-04 19:42:39 +02:00
Filip Sykala
a1d7040902
WIP: cut surface of model
...
update emboss icons to not be soo huge - pixel preccisse
2022-04-26 17:43:38 +02:00
Filip Sykala
331d4d4557
Show user warning about unknown symbols by font inside of input text
...
Fix correct selection of collection ascent, descent, ...
Remove boost log from emboss --> not work properly on thread
2022-04-07 16:34:14 +02:00
Filip Sykala
501f6f021f
Initialize font style images in job
2022-03-22 21:38:07 +01:00
Filip Sykala
2621d66cb0
Const improve
2022-03-21 12:50:46 +01:00
Filip Sykala
87f22765ba
Separate functionality
2022-03-15 19:53:43 +01:00
Filip Sykala
6fdaee3cfe
Fix data type of collection
...
Fix warnings
../src/libslic3r/Emboss.cpp:135:24: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare]
../src/libslic3r/Emboss.cpp:653:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:2057:12: warning: unused variable 'count_icons' [-Wunused-variable]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:2058:12: warning: unused variable 'count_states' [-Wunused-variable]
2022-03-07 12:16:24 +01:00
Filip Sykala
18d269506a
add index of font inside of collection to FontProp(font property) + serialization/deserialization (3mf + appConfig)
...
separate glyph cache from FontFile
2022-02-28 18:32:50 +01:00
Filip Sykala
5ffa19b529
Unify place of transformation
2022-02-21 16:12:38 +01:00
Filip Sykala
bed5232a22
Using unit per em instead of ascent
2022-02-16 14:57:57 +01:00
Filip Sykala
af69a4f2de
create emboss text mesh on same place as update
...
fix:
Un Itelic redraw
../src/slic3r/Utils/WxFontUtils.hpp:49:77: error: non-const lvalue reference to type 'shared_ptr<...>' cannot bind to a temporary of type 'shared_ptr<...>'
../src/slic3r/Utils/WxFontUtils.hpp:55:75: error: non-const lvalue reference to type 'shared_ptr<...>' cannot bind to a temporary of type 'shared_ptr<...>'
2022-01-31 13:17:24 +01:00
Filip Sykala
d55f09d75b
add Enumerate fonts. not Finished
2022-01-21 20:19:06 +01:00
Filip Sykala
4d31128837
Separate font manager to be able manage imgui font for all fonts
...
Separate FontListSerializable
Rename Emboss::Font to Emboss::FontFile
2022-01-13 22:00:53 +01:00
Filip Sykala
ef6860d4ee
Move font property inside of font item to store together with font
2022-01-07 18:50:57 +01:00
Filip Sykala
a9bfef6ca6
Remove bad pracise to move const data for emboss
2022-01-06 17:44:53 +01:00
Filip Sykala
4ec4bafe19
Create Emboss::Font as unique ptr not optional
...
Reason: Job need pointer on font until finished
2022-01-06 16:12:15 +01:00
Filip Sykala
b1b8eee3c9
add is italic check for font file
2022-01-06 11:29:16 +01:00
Filip Sykala
5869f86d97
Initial shape for emboss is not cached any more
2022-01-04 13:21:31 +01:00
Filip Sykala
d2dda18753
Remove Flatness and deduce it from font size
2021-10-27 15:47:51 +02:00
Filip Sykala
ca79a4fac4
Fix for linux
2021-09-29 17:36:46 +02:00
Filip Sykala
a812f74ca3
Fix add '\t' functionality
2021-09-22 12:07:40 +02:00
Filip Sykala
2b0408cc24
Using ExPolygons instead of polygons to represents shape of letters(text)
2021-09-17 23:07:17 +02:00
Filip Sykala
8add695de9
Add editing of text volume
2021-09-15 15:14:04 +02:00
Filip Sykala
34026a15e8
add volume modifier
2021-09-14 09:51:47 +02:00
Filip Sykala
1301234d33
separate wxFontUtils
2021-09-13 11:19:52 +02:00
Filip Sykala
20645264f8
Load font name by STBTT
2021-09-13 09:13:14 +02:00
Filip Sykala
02f6b1efe9
Os specific text descriptor
2021-09-10 14:45:05 +02:00
Filip Sykala
999aef0440
remove reference initialization in header
2021-09-10 13:09:45 +02:00
Filip Sykala
77209abbcd
separate triangulation into cgal project
2021-09-10 12:58:01 +02:00
Filip Sykala
9d52ceee44
Choose font by wxWidgetDialog
2021-09-09 19:36:51 +02:00
Filip Sykala
578abe4cce
Add Windows font list
...
Add User edited letter and line spacing
Fix polygon point orders
Fix Letter intersection
2021-09-07 13:02:04 +02:00