Commit Graph

19903 Commits

Author SHA1 Message Date
Filip Sykala - NTB T15p
16a84ebc49 Fix build 2022-08-25 15:01:09 +02:00
Filip Sykala - NTB T15p
63121cee2e Better healing for Glyph shape - remove duplicit points + self intersections
Add search of intersecting points (compared with CGAL)
Triangulation can [optionaly] accept multi points
2022-08-25 13:28:10 +02:00
Filip Sykala - NTB T15p
94f735168c fix warnings:
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1452:18: warning: unused variable 'volume_id' [-Wunused-variable]
../src/slic3r/Utils/EmbossStyleManager.cpp:64:18: warning: unused variable 'loaded' [-Wunused-variable]
2022-08-16 18:12:08 +02:00
Filip Sykala - NTB T15p
4fddeccdac Try fix MacOs Build on build server 2022-08-16 18:04:36 +02:00
Filip Sykala - NTB T15p
ab807c4992 Fix of divided UTF8 symbol
Issue 67
2022-08-16 09:16:17 +02:00
Filip Sykala - NTB T15p
3f350b628c Merge branch 'fs_emboss' of https://github.com/Prusa-Development/PrusaSlicerPrivate into fs_emboss 2022-08-15 12:10:06 +02:00
Filip Sykala - NTB T15p
e631d3999c Fix path for just created font by description
Fix for issue #64 - linux loading windows font
2022-08-15 12:04:22 +02:00
Lukas Matena
6efab63dc9 Fix build on macOS 2022-08-09 15:54:38 +02:00
Filip Sykala - NTB T15p
64728feec3 Store configuration on gizmo close not destructor 2022-08-05 15:28:12 +02:00
Filip Sykala - NTB T15p
fa773f09d3 Store last activ style index into configuration 2022-08-04 15:45:52 +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
5e76d86460 rename font_item to style 2022-08-03 13:05:06 +02:00
Filip Sykala - NTB T15p
8e261ace29 add setter for wx_font in style manager 2022-08-03 11:29:23 +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
ef3a2e2744 changing type in emboss 2022-08-02 19:24:26 +02:00
Filip Sykala - NTB T15p
7770034492 Fix warnings 2022-08-02 13:29:30 +02:00
Filip Sykala - NTB T15p
2fdcdad796 Fix of modified font in style 2022-08-02 12:24:08 +02:00
Filip Sykala - NTB T15p
3f269e0719 When font is loaded from .3mf it could have different type but it is not problem 2022-08-02 11:24:44 +02:00
Filip Sykala - NTB T15p
a8f87bde22 Create AABB tree on demand 2022-08-02 07:22:53 +02:00
Filip Sykala - NTB T15p
b26dec03e5 fix for issue 62 - Text is no more placed to modifiers 2022-08-01 16:45:31 +02:00
Filip Sykala - NTB T15p
ded488d516 Paralelization of filtration in AOI triangles 2022-08-01 16:14:11 +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
e9d65da046 Add stylename into 3mf 2022-07-27 10:08:03 +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
5558523b19 Fix for emboss from exactly -Z direction 2022-07-26 09:15:10 +02:00
Filip Sykala - NTB T15p
8396b13902 Fix for issue 44 2022-07-25 14:39:39 +02:00
Filip Sykala - NTB T15p
8e1c08dac3 Fix for Issue number 53
https://cfl.prusa3d.com/display/SPE/Emboss+-+Test
2022-07-25 14:38:39 +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
011aa53c5a Move source code using CGAL into CGAL project 2022-07-22 16:30:59 +02:00
Filip Sykala - NTB T15p
a0eecb91c8 Using aabb tree for lines to detect closest expolygons 2022-07-22 15:34:12 +02:00
Filip Sykala - NTB T15p
8f4b799ddb Add cereal include
+ simplify load/save to serialize
2022-07-20 14:46:48 +02:00
Filip Sykala - NTB T15p
0b798267d6 Fix after merge 2022-07-20 13:41:28 +02:00
Filip Sykala - NTB T15p
79a7f588b9 Merge branch 'et_world_coordinates' into fs_emboss
# Conflicts:
#	src/libslic3r/CMakeLists.txt
#	src/libslic3r/Format/3mf.cpp
#	src/libslic3r/Model.hpp
#	src/libslic3r/Technologies.hpp
#	src/slic3r/GUI/GLCanvas3D.cpp
#	src/slic3r/GUI/GUI_App.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoBase.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoBase.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoRotate.cpp
#	src/slic3r/GUI/Selection.cpp
#	src/slic3r/GUI/Selection.hpp
2022-07-20 13:02:07 +02:00
enricoturri1966
b38001b1a6 Fixed conflicts after merge with master 2022-07-20 11:02:25 +02:00
Filip Sykala - NTB T15p
eb8f0df07b Remove useless assert 2022-07-20 10:07:56 +02:00
enricoturri1966
90c49f4c1a Added filtering of key auto repeat for SHIFT and CTRL keys in GLCanvas3D 2022-07-20 08:15:38 +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
f93cefb668 add getter on mesh shared ptr(suggested by @Vojta) 2022-07-19 14:05:30 +02:00
enricoturri1966
de635f9088 Fixed GLGizmoBase::render_input_window() to properly require for an extra frame the first time an imgui window is shown 2022-07-19 12:57:26 +02:00
enricoturri1966
6e6ab640f4 Fixed missing update of object position when dragging it on the plate while Place on Face gizmo is open 2022-07-19 12:13:07 +02:00
enricoturri1966
92cf1d6e0c Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-07-19 10:04:07 +02:00
enricoturri1966
0d5de5fdf2 Tech ENABLE_WORLD_COORDINATE - Removed unneeded parameter from GLGizmoRotate::mouse_position_in_local_plane() declaration 2022-07-19 10:03:46 +02:00
Filip Sykala - NTB T15p
aba094dcd8 Add closest unsorted 2022-07-18 15:30:29 +02:00