64 Commits

Author SHA1 Message Date
YuSanka
f44e57d335 Fix for: Not printable text volume after update is set as printable
(#SPE-1384, https://dev.prusa3d.com/browse/SPE-1384)
2022-12-08 14:01:19 +01:00
Filip Sykala - NTB T15p
d214159fc9 Bigger surface offset to be able see negative volume alligned with surface(constant used by @enrico ) 2022-12-07 13:33:22 +01:00
Filip Sykala - NTB T15p
df5312d3b2 Fix to valid file name 2022-11-28 17:06:32 +01:00
Filip Sykala - NTB T15p
9e19d9ca06 Create text by menu in right panel
Issue 54 (right panel -Sidebar)
Fix creating text volume inside deleted object.
2022-11-24 20:51:58 +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
d77e25f822 Do not block writing gizmo activate snapshot 2022-11-09 12:10:14 +01:00
Filip Sykala - NTB T15p
4e43a1f6a0 Open emboss gizmo after create new volume(no need to redraw gizmo window position)
Fix enters in volume name in object list by change to space
Fix lightning when dragging
2022-11-09 10:12:30 +01: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
e7fa4fc006 Discard changes by restore volume insted of changing history(undo/redo) stack 2022-09-30 18:29:46 +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
9dda5a84d5 Move object on bed - fix issue 36 2022-09-21 15:27:55 +02:00
Filip Sykala - NTB T15p
9225f237b2 Fix issue 40 2022-09-15 17:03:39 +02:00
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