79 Commits

Author SHA1 Message Date
Filip Sykala - NTB T15p
574df48f85 Reorganize data structures 2023-03-16 18:21:48 +01:00
Filip Sykala - NTB T15p
61fa3e8844 Clean up EmbossJob 2023-03-16 15:23:29 +01:00
Filip Sykala - NTB T15p
2a106c7e6d Fix for SonarLint warns 2023-03-15 13:43:04 +01:00
Filip Sykala - NTB T15p
b6d84fb276 Emboss on job SVG and Text together 2023-03-14 19:56:52 +01:00
Filip Sykala - NTB T15p
07181b4f37 Refactor for easier use of emboss shape 2023-03-13 20:03:03 +01:00
Filip Sykala - NTB T15p
c2f348ee19 ReWork DataBase for embossing to prepare for SVG.
Remove dependency on Emboss inside of Object list
Hide variable SHAPE_SCALE to one .cpp file only
2023-03-10 15:22:29 +01: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
YuSanka
b767c76adb Localization: Updated POT 2023-02-27 10:07:45 +01:00
Filip Sykala - NTB T15p
8cf63bfc94 Add check on cancel for emboss create jobs
Unify finalize part of emboss jobs
2023-01-27 09:29:28 +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
50bb164263 Fix of slice button state after text editing 2023-01-16 13:44:34 +01:00
Filip Sykala - NTB T15p
262970d332 Move on bed(text could change Z coordinate of the object) 2023-01-11 11:00:14 +01:00
Filip Sykala - NTB T15p
244ca5ed44 Use surface for reflected text. 2023-01-05 19:52:56 +01:00
Filip Sykala - NTB T15p
550ef48fe1 Add function for check whether transformation contain reflection
Extend RayCast hit by square distance
Use distance to distiguish closest place on surface when move origin
Move origin after job (only on success)
2023-01-03 13:24:01 +01:00
Filip Sykala - NTB T15p
c254d09667 Fix adding cut surface on torus by right panel
Fix (partialy) position of add text on torus by right panel
2022-12-12 13:28:17 +01:00
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