125 Commits

Author SHA1 Message Date
Filip Sykala - NTB T15p
2b31fa7d4a More info for user in preview of font in combo box.
+ Clear rest of texture when short text is used
2023-01-10 08:36:33 +01:00
Filip Sykala - NTB T15p
a754535dfc Show correct depth and height for scaled object inside emboss gizmo 2022-12-08 08:54:17 +01:00
Filip Sykala - NTB T15p
47ca06e53e Merge branch 'master' into fs_emboss 2022-12-05 15:21:04 +01:00
Filip Sykala - NTB T15p
22891acc07 Lock emboss text window position 2022-12-05 15:20:56 +01:00
enricoturri1966
6f18f8f784 Tech ENABLE_RAYCAST_PICKING set as default 2022-12-05 10:24:30 +01:00
Filip Sykala - NTB T15p
fe736291c7 rename function which change m_volume value to set_volume() 2022-11-29 13:54:38 +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
f3724c8dac Truncate font name on demand 2022-11-23 13:01:11 +01:00
Filip Sykala - NTB T15p
a54459d46a fix:
./src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1356:20: error: 'ofstream' is not a member of 'boost::nowide'; did you mean 'std::ofstream'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1357:41: error: 'file' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1369:27: error: 'error' was not declared in this scope; did you mean 'perror'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1369:9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1378:29: error: 'exists' is not a member of 'boost::filesystem'
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1379:27: error: 'warning' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1379:9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1382:20: error: 'ifstream' is not a member of 'boost::nowide'; did you mean 'std::ifstream'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1383:40: error: 'file' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1389:27: error: 'error' was not declared in this scope; did you mean 'perror'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1389:9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1431:27: error: 'info' was not declared in this scope; did you mean 'boost::bimaps::relation::member_at::info'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1431:9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1443:27: error: 'info' was not declared in this scope; did you mean 'boost::bimaps::relation::member_at::info'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1443:9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1448:23: error: 'info' was not declared in this scope; did you mean 'boost::bimaps::relation::member_at::info'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1448:5: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
2022-11-21 14:00: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
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
bf55f63c39 Extend advance height when font is collection 2022-11-08 12:23:43 +01:00
Filip Sykala - NTB T15p
67d8b8291a Cache font list into binary file by Cereal - remember bad font 2022-11-07 15:33:23 +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
5daf8818c9 Add checking of new installed font into list on each open combo box 2022-11-04 10:01:32 +01:00
YuSanka
1c061dc7a1 After merge fixes 2022-10-27 14:23:50 +02:00
Filip Sykala - NTB T15p
47952e0c08 Add timer for measure time consumption 2022-10-21 09:53:16 +02:00
Filip Sykala - NTB T15p
426fdfb27a Cache only last 32 font preview.
Prevent creation of huge texture for font previews
Add reservation of space for no texture(prevent change of comgo box width)
2022-10-14 19:08:18 +02:00
Filip Sykala - NTB T15p
fb8de55d89 Add cancel for generate face name texture preview job 2022-10-04 12:03:24 +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
b594ffc7ef Selection of font for unknown one from 3mf
fix creation of  style name
2022-09-29 18:46:18 +02:00
Filip Sykala - NTB T15p
5dafeb0c3a Fix add forgotten file to discard and close 2022-09-27 09:18:03 +02:00
Filip Sykala - NTB T15p
d0ffe16964 Fix rotation Text relative around Z axis 2022-09-13 15:41:21 +02:00
Filip Sykala - NTB T15p
78f002cee8 Limit count of thread generating preview image of font (Limitation of opened files on Linux) 2022-09-12 16:57:28 +02:00
Filip Sykala - NTB T15p
9cefc74e3d Fix using of deprecated opengl functions 2022-08-31 15:53:13 +02:00
Filip Sykala - NTB T15p
ac6a91debe Fix opengl core using -- remove GL_ALPHA to use texture with GL_RGBA
-- take more memory from GPU but works universaly(independent on opengl version)
2022-08-31 15:28:23 +02:00
Filip Sykala - NTB T15p
41aaa13ce7 fix switching between styles 2022-08-04 15:35:44 +02:00
Filip Sykala - NTB T15p
a6ffbb63f0 Remove undo button after style selector 2022-08-04 12:52:58 +02:00
Filip Sykala - NTB T15p
a1914f5f94 add getter on font atlas into style manager
- get imgui font could return nonValid imgui font to recognize font without loaded symbol
2022-08-03 19:28:02 +02:00
Filip Sykala - NTB T15p
003c7fc54f Rename FontItem to EmbossStyle 2022-08-03 10:29:05 +02:00
Filip Sykala - NTB T15p
ee03ed6d07 Rename file 2022-08-03 09:16:39 +02:00
Filip Sykala - NTB T15p
4267af64e5 Rename FontManager to EmbossStyleManager 2022-08-03 09:11:00 +02:00
Filip Sykala - NTB T15p
26eb8b02ef fix style 'save as' operation + 'rename' 2022-08-01 13:56:00 +02:00
Filip Sykala - NTB T15p
569ba0600c Fix rename and save as style text 2022-07-29 18:21:40 +02:00
Filip Sykala - NTB T15p
f7eef00abb Separate actual style from styles
(save button will save only actual style no others)
2022-07-29 09:06:20 +02:00
Filip Sykala - NTB T15p
e86477f20a Fix blinking when undo change 2022-07-26 11:00:38 +02:00
Filip Sykala - NTB T15p
1bdc291dba When create new text object discard style changes
Fix style issue 15
2022-07-26 10:24:04 +02:00
Filip Sykala - NTB T15p
13fdde796f Fix update texture with font names after close combobox 2022-06-29 17:09:16 +02:00
Filip Sykala
4af976e19c Inform user about unsuccessfull cut surface from job 2022-06-02 09:38:47 +02:00
Filip Sykala
abea5c95f3 Font name in selecetion of font 2022-05-17 11:17:37 +02:00
Filip Sykala
664fb8120c font style combo contain grayed style text 2022-05-13 15:30:22 +02:00
Filip Sykala
872bccb530 Delete button for style delete actual style if it is possible 2022-05-13 13:16:13 +02:00
Filip Sykala
bbbe809cbc cache wxFont 2022-05-13 09:56:27 +02:00
Filip Sykala
0964c074d9 Fix undo changes for italic and bold 2022-05-13 09:23:03 +02:00
Filip Sykala
48420b33d0 Change GUI of emboss 2022-05-12 15:22:27 +02:00
Filip Sykala
101e57e9ad initialization is detected set/unset gui_cfg 2022-05-12 09:21:21 +02:00
Filip Sykala
73edac761b Move text object on bed 2022-05-11 19:12:16 +02:00
Filip Sykala
370e84b785 Fix surface after chenge position
Fix position when change type and using surface
2022-05-11 17:30:13 +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
8f14b5395f Icons for part type 2022-05-02 10:09:26 +02:00