320 Commits

Author SHA1 Message Date
Filip Sykala - NTB T15p
abc3d52416 Fix set of font for macOs 2023-01-11 16:55:12 +01:00
Filip Sykala - NTB T15p
b46df99d42 Text object has no option to change type in emboss window 2023-01-11 16:30:29 +01:00
Filip Sykala - NTB T15p
d3ee9b37ec Allow move with emboss window 2023-01-11 10:57:44 +01:00
Filip Sykala - NTB T15p
ac7c611755 Fix issue #92 disallow text as modifier in simple mode 2023-01-10 22:19:23 +01:00
Filip Sykala - NTB T15p
8197322249 Remove icons from embossed text type selection 2023-01-10 22:12:54 +01:00
Filip Sykala - NTB T15p
4d12f08da7 Fix imgui font size on scaled objects
issue #96
2023-01-10 21:25:25 +01:00
Filip Sykala - NTB T15p
92f76b8e36 Change emboss UI by @JosefZachar 2023-01-10 19:59:58 +01:00
Filip Sykala - NTB T15p
02c927d285 Add check of face name for same OS 2023-01-10 18:03:06 +01:00
Filip Sykala - NTB T15p
625e2fa25a Fix issue #97
load of style stored in 3mf
2023-01-10 11:48:50 +01:00
Filip Sykala - NTB T15p
301ccbdc65 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-10 08:36:52 +01:00
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
enricoturri1966
bb8a001963 Replace abf918e7281d912f7d432b8fb460f8599b2db604 with a better fix 2023-01-10 08:25:05 +01:00
enricoturri1966
2c02db3514 Tech ENABLE_WORLD_COORDINATE - Fixed size of Rotate Gizmo in 3D scene 2023-01-09 12:25:26 +01:00
Filip Sykala - NTB T15p
09fc025cd5 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-05 19:57:48 +01:00
Filip Sykala - NTB T15p
c01453c2c7 Fix dragging of mirrored object 2023-01-05 12:04:26 +01:00
Filip Sykala - NTB T15p
b08263ffbd Fix translation 2023-01-05 12:04:03 +01:00
enricoturri1966
bf0cef30e0 Fixed build when tech ENABLE_WORLD_COORDINATE is disabled 2023-01-04 15:56:41 +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
b90e109b41 Fix:
../src/slic3r/GUI/GLCanvas3D.cpp:3474:46: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelObject*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
../src/slic3r/GUI/GLCanvas3D.cpp:3477:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelVolume*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:249:62: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelObject*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3603:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelObject*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
2022-12-21 10:51:02 +01:00
Filip Sykala - NTB T15p
a080e83e88 Put origin on surface when change style 2022-12-20 14:29:42 +01:00
Filip Sykala - NTB T15p
994da70ed3 Fix transformation to closest point 2022-12-19 13:27:11 +01:00
Filip Sykala - NTB T15p
aa97f869e4 Try to find correct font face name in list 2022-12-19 10:54:21 +01:00
Filip Sykala - NTB T15p
e8e50b50f1 Project text origin on object surface when use surface is set. When no intersection thans closest point is selected
(@vojta wants it)
2022-12-15 19:27:58 +01:00
Filip Sykala - NTB T15p
e02c5e84cc Overwritte common transformation stored in gl_volume by emboss surface transformation instead of rewrite result in CallAfter 2022-12-12 17:46:43 +01:00
Filip Sykala - NTB T15p
a32b2764c6 Disable move of text out of object surface 2022-12-12 17:08:21 +01:00
Filip Sykala - NTB T15p
99d4884074 remove anonymous namespace and use priv instead of it 2022-12-12 17:00:48 +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
Filip Sykala - NTB T15p
4bc0d1dee2 Disallow float window 2022-12-08 15:20:40 +01:00
Filip Sykala - NTB T15p
4b3fc0f821 fix:
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:2675:15: warning: unused variable 'font_prop' [-Wunused-variable]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3463:13: warning: 'Slic3r::Transform3d priv::create_transformation_on_bed(const Vec2d&, const Slic3r::GUI::Camera&, const std::vector<Eigen::Matrix<double, 2, 1, 2> >&, double)' defined but not used [-Wunused-function]
2022-12-08 14:10:17 +01:00
Filip Sykala - NTB T15p
f188e0ef88 Draw circle on the origin 2022-12-08 13:17:15 +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
25bb81b9f6 Merge branch 'master' into fs_emboss 2022-12-07 13:34:40 +01:00
Filip Sykala - NTB T15p
c0a60d4637 scale for text height information showed to user 2022-12-07 13:34:36 +01:00
Filip Sykala - NTB T15p
c8503d5835 Add using camera direction together with use surface 2022-12-06 14:45:25 +01:00
Filip Sykala - NTB T15p
307d541eaf Add option to use camera orientation for text. 2022-12-06 14:34:16 +01:00
enricoturri1966
028dfb5d9e Tech ENABLE_LEGACY_OPENGL_REMOVAL set as default 2022-12-06 12:17:01 +01:00
Filip Sykala - NTB T15p
2168d0935a Allow letter "T" for open text gizmo 2022-12-05 16:52:35 +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
5266c6be8e Fix typo 'activ_' to 'active_' 2022-12-02 19:03:26 +01:00
Filip Sykala - NTB T15p
9d1204d6f5 Fix typo 'activ_font' to 'active_font' 2022-12-02 19:00:44 +01:00
Filip Sykala - NTB T15p
9f395a26a3 Remove test 2022-12-01 17:20:23 +01:00
Filip Sykala - NTB T15p
36f6c8bf65 temporary add scope guard test for MacOs 2022-11-30 15:46:27 +01:00
Filip Sykala - NTB T15p
1309dab7e7 Do not inform user about disable cut surface functionality 2022-11-30 11:35:48 +01:00
Filip Sykala - NTB T15p
9a40e63a11 Disable background fadeout animation for modal imgui windows 2022-11-30 10:49:53 +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
22a17e92e7 weird crash on mac due to pop style 2022-11-23 15:24:51 +01:00
Filip Sykala - NTB T15p
52460f0c89 Fix truncation text by imgui width 2022-11-23 13:35:59 +01:00