Filip Sykala - NTB T15p
f9c784dd41
Remove unneccesarry union of healing holes. Mentioned by @BubnikV.
...
Union of overlapped holes is not neccessary, Clipper calculate winding number separately for each input parameter
2023-04-03 10:14:25 +02:00
Filip Sykala - NTB T15p
d56f09a92a
Fix removing neighbor duplicit point between first and last point in polygon mentioned by @BubnikV
2023-03-31 09:48:14 +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
Lukas Matena
a053d79ca1
Fixed undefined behaviour in Emboss.cpp (reference to temporary)
2023-01-30 10:32:21 +01:00
Filip Sykala - NTB T15p
db290d8e8d
move erase operation out of scope
2023-01-27 15:47:33 +01:00
Filip Sykala - NTB T15p
4e56f75541
Move insert call out of variable scope
2023-01-27 15:27:01 +01:00
Filip Sykala - NTB T15p
cae80cb2a8
Try to fix asan build.
2023-01-27 09:29:57 +01:00
Filip Sykala - NTB T15p
eebf9b5a95
Add missing include
2023-01-26 17:02:20 +01:00
Filip Sykala - NTB T15p
f2803c4ae1
Move unused implementation behinde macro
2023-01-26 12:00:36 +01:00
Filip Sykala - NTB T15p
8e35ece403
Bevel only tip of spike which ends in duplicit point
2023-01-26 10:22:27 +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
b1f9d50aad
Rename function: collect_duplications -> collect_duplicates
...
more english correct name
2022-11-29 13:52:47 +01:00
Filip Sykala - NTB T15p
f662000414
Fix for issue #77
2022-11-22 19:24:35 +01:00
Filip Sykala - NTB T15p
e3ecbe7d71
Fix for linux build
2022-11-21 12:47:14 +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
58c028d904
Add invalidation of wx font list when open combo box. Fix issue with new installed fonts
2022-11-08 14:54:46 +01:00
Filip Sykala - NTB T15p
aa00da1b7e
Add log for not openable font file
2022-11-08 13:27:02 +01:00
Filip Sykala - NTB T15p
e531df6dbb
Merge branch 'ys_emboss_with_master' into fs_emboss
2022-11-04 13:00:09 +01:00
Filip Sykala - NTB T15p
d2da63db41
Fix of bad font glyph shape
2022-11-03 14:55:49 +01:00
YuSanka
1c061dc7a1
After merge fixes
2022-10-27 14:23:50 +02: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
436384cf65
Fix:
...
\src\libslic3r\Emboss.cpp(484): warning C4305: '=': truncation from 'double' to 'float'
2022-10-14 07:51:16 +02:00
Filip Sykala - NTB T15p
ce71144c7c
Add minimal value for glyph flatness to not create huge amount of points on curve
...
Fix for font: TREFOIL.TTF issue 74
2022-10-13 13:33:24 +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
24b71ada5e
Fix for font Bahnschrift -
...
Simplify use also pftNonZero
2022-09-12 16:10:02 +02:00
Filip Sykala - NTB T15p
27e640180f
Add unprojecting of SurfacePatch contours
2022-08-31 08:35:43 +02:00
Filip Sykala - NTB T15p
16a84ebc49
Fix build
2022-08-25 15:01:09 +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 - NTB T15p
5558523b19
Fix for emboss from exactly -Z direction
2022-07-26 09:15:10 +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
630b1bb956
say user that Text can’t be empty
2022-04-07 17:06:26 +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
87fc2c4298
emboss do not twice copy glyph when acess to cache
2022-03-25 09:15:41 +01:00
Filip Sykala
da15e63a46
fix link problem
2022-03-24 12:07:36 +01:00
Filip Sykala
0d77aaaa8d
Fix memory leaks
2022-03-24 11:45:10 +01:00
Filip Sykala
2621d66cb0
Const improve
2022-03-21 12:50:46 +01:00
Vojtech Bubnik
c11948a084
FontItem improvmement: Use default constructors to let the compiler
...
generate move constructor and move assignement.
Also used some move operators to reduce unnecessary memory allocations.
Cherry picked commit: 120a85d4c4b90ffafced442ee5e63e5f794f6945
2022-03-17 12:37:21 +01:00
Filip Sykala
87f22765ba
Separate functionality
2022-03-15 19:53:43 +01:00
Filip Sykala
3b55de7e0b
change std:err to BOOST_LOG_TRIVIAL(error)
2022-03-08 09:50: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