Filip Sykala - NTB T15p
003c7fc54f
Rename FontItem to EmbossStyle
2022-08-03 10:29:05 +02:00
Filip Sykala - NTB T15p
7770034492
Fix warnings
2022-08-02 13:29:30 +02:00
Filip Sykala - NTB T15p
20a94c015c
fix warn:
...
../src/libslic3r/CutSurface.cpp:1798:12: warning: variable 'is_same' set but not used [-Wunused-but-set-variable]
../src/libslic3r/CutSurface.cpp:1837:12: warning: unused variable 'distance_sq' [-Wunused-variable]
../src/libslic3r/CutSurface.cpp:2795:22: warning: unused variable 'def_value' [-Wunused-variable]
../tests/libslic3r/test_aabbindirect.cpp:122:12: warning: variable 'distance_sq' set but not used [-Wunused-but-set-variable]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1336:17: warning: unused variable 'was_opened' [-Wunused-variable]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1336:17: warning: 'was_opened' defined but not used [-Wunused-variable]
../src/slic3r/GUI/Jobs/EmbossJob.cpp:398:12: warning: unused variable 'biggest_index' [-Wunused-variable]
../src/slic3r/GUI/Jobs/EmbossJob.cpp:352:43: warning: 'const Slic3r::GUI::UseSurfaceData::ModelSource* get_biggest(const ModelSources&)' defined but not used [-Wunused-function]
2022-07-25 10:31:29 +02:00
Filip Sykala - NTB T15p
621e6c8932
Reduced copy of triangle inside of thread
2022-07-19 20:25:01 +02:00
Filip Sykala - NTB T15p
e90c2c8e9a
Prepare multi volume source for cut surface job
2022-07-14 12:02:33 +02:00
Filip Sykala
ab3148538a
Partial difference for multiple volume cuts
2022-06-29 11:55:55 +02:00
Filip Sykala
a865fbf3b1
Fix> ../src/slic3r/GUI/Jobs/EmbossJob.cpp:109:33: error: no matching function for call to 'std::exception::exception(const char* const&)'
2022-06-21 17:26:15 +02:00
Filip Sykala
950c8e0216
Fix multiple volume merge transformation
2022-06-20 18:55:57 +02:00
Filip Sykala
c28fa46c58
Fix ration of projection
2022-06-20 18:55:25 +02:00
Filip Sykala
eea0ce9569
Calculation of projection distances
2022-06-09 15:07:44 +02:00
Filip Sykala
4af976e19c
Inform user about unsuccessfull cut surface from job
2022-06-02 09:38:47 +02:00
Filip Sykala
ff604785f6
Fix cleaning during actualization of raycast manager
2022-05-31 20:09:51 +02:00
Filip Sykala
cb5e4e29b3
Fix translation issue after cut surface
2022-05-30 22:43:49 +02:00
Filip Sykala
49467667f8
add clear of conversion map for vertex index between conversions of AOI_cuts to indexed_triangle_set
...
AOI_cut could share vertex and this vertex has own index in each cut.
2022-05-27 09:40:26 +02:00
Filip Sykala
73edac761b
Move text object on bed
2022-05-11 19:12:16 +02:00
Filip Sykala
8cf8e06164
Fix: ../src/slic3r/GUI/Jobs/EmbossJob.cpp:388:21: warning: 'Slic3r::ModelVolume* get_volume(const Slic3r::ObjectID&)' defined but not used [-Wunused-function]
2022-05-11 16:46: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
c88d9452c0
Fix transformation of embossed text after load volume from .3mf
2022-04-05 12:23:05 +02:00
Filip Sykala
394a59d44f
Cancel only text update job
2022-03-29 17:05:24 +02:00
Filip Sykala
feb9eda0c8
Try to solve case of no reachable font style
2022-03-28 17:38:39 +02:00
Filip Sykala
08c6e4faec
Add emboss text test
...
(created mainly to profile conversion)
2022-03-25 11:06:58 +01:00
Filip Sykala
3772b3d0b5
Remove unnecessary ctors of data types,
...
no more need to use unique ptr to data
2022-03-22 17:49:45 +01:00
Filip Sykala
ffab47dac7
Update volume identified by ObjectID
...
(NOT VolumePtr which could invalidate by deleting volume)
2022-03-22 16:58:29 +01:00
Filip Sykala
e8cfe35f78
Do not use RaycastManager inside job
...
Separate Jobs for Creation of volume from creation of Object
2022-03-08 19:15:56 +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
aabc0bf9b1
add mising include
2022-02-22 13:47:14 +01:00
Filip Sykala
8f9887acdb
Reduce amount of Undo/Redo snapshots
2022-02-22 12:43:29 +01:00
Filip Sykala
5ffa19b529
Unify place of transformation
2022-02-21 16:12:38 +01:00
Filip Sykala
7f73a0e73d
Fix transformation of new created volume by angle and distance
2022-02-21 13:44:24 +01:00
Filip Sykala
bed5232a22
Using unit per em instead of ascent
2022-02-16 14:57:57 +01:00
Filip Sykala
1078fe55ec
Create text on second Part(volume) of object
2022-02-01 18:31:27 +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
d10fd37b2f
Creation by jobs
2022-01-28 19:33:57 +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
b22fcdc174
Fix GTK is not thread safe.
2021-12-15 09:23:47 +01:00
Filip Sykala
27bae18aab
start using jobs
2021-12-14 19:13:33 +01:00
Filip Sykala
b143c543c7
Move call after close in code (I hope in change way of modify volume)
2021-11-26 13:48:22 +01:00
Filip Sykala
a0983276b4
check of stop thread without lambda
2021-11-25 16:34:49 +01:00
Filip Sykala
7b9129787e
actualize name in list
2021-11-25 16:21:17 +01:00
Filip Sykala
1e719bab26
Separate create volume from edit
2021-11-25 15:26:45 +01:00
Filip Sykala
456952325f
Clean StopableJob and use inheritance instead of set lambda
2021-11-24 14:04:00 +01:00
Filip Sykala
bba9dab8c8
Create Stopable job
2021-11-24 10:20:37 +01:00
Filip Sykala
205f8cf86d
create stopable job which could be repeatedly run
2021-11-24 09:41:34 +01:00
Filip Sykala
43d200a7fb
Using of Re run Job
2021-11-23 22:21:14 +01:00
Filip Sykala
2e41c8aafe
remove thread
2021-11-23 13:13:12 +01:00
Filip Sykala
d624940b7a
Fix finish job
...
Fix initial position
2021-11-23 10:34:04 +01:00
Filip Sykala
93131ab69c
clean emboss from add volume
2021-11-15 15:38:06 +01:00
Filip Sykala
eaaa59be86
Fix Creation of the new text object
2021-11-15 09:22:08 +01:00