114 Commits

Author SHA1 Message Date
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
53ee0092b0 Create emboss object on cursor position 2022-01-28 18:00:10 +01:00
Filip Sykala
ed818f9177 Transformation of text is now allowed only inside object instance 2022-01-27 13:38:52 +01:00
Filip Sykala
137399ef1a Style select with rendered name
Fix negative volume color when dragging
2022-01-27 10:47:05 +01:00
Filip Sykala
d55f09d75b add Enumerate fonts. not Finished 2022-01-21 20:19:06 +01:00
Filip Sykala
770a5c5501 Redesign GUI of emboss 2022-01-20 16:09:48 +01:00
Filip Sykala
83372764ad Fix font index for store to AppConfig 2022-01-14 09:37:11 +01:00
Filip Sykala
4d31128837 Separate font manager to be able manage imgui font for all fonts
Separate FontListSerializable
Rename Emboss::Font to Emboss::FontFile
2022-01-13 22:00:53 +01:00
Filip Sykala
2c3477d3d7 Dynamic skew not only for linux 2022-01-12 09:48:53 +01:00
Filip Sykala
310d53c1b9 Duplicate font item GUI 2022-01-11 14:07:38 +01:00
Filip Sykala
734026bf96 Reorder font list by draging font 2022-01-10 13:30:42 +01:00
Filip Sykala
3e0bc4a529 Only unique name of font item
Add FontListSerializable for store/load font list from AppConfig
2022-01-10 10:59:10 +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
5800d21ad6 add skew for linux italic without italic inside font 2022-01-06 16:19:29 +01:00
Filip Sykala
4ec4bafe19 Create Emboss::Font as unique ptr not optional
Reason: Job need pointer on font until finished
2022-01-06 16:12:15 +01:00
Filip Sykala
82ee1c5e4a Add boldness and skew(italic) for embossed text
Change line_gap and char_gap to optional value
2022-01-05 16:56:20 +01:00
Filip Sykala
4e559daece Not use shared raycasters 2022-01-04 15:31:49 +01:00
Filip Sykala
5869f86d97 Initial shape for emboss is not cached any more 2022-01-04 13:21:31 +01:00
Filip Sykala
0a3fc00851 Fix Rename window> size + text 2022-01-03 15:40:24 +01:00
Filip Sykala
bd0ebeaac9 Fix add depth test for rendering dragged text 2022-01-03 15:21:38 +01:00
Filip Sykala
d0b5417a13 Apply transformation after draging text above object 2022-01-03 14:53:21 +01:00
Filip Sykala
e55e418c61 Separate raycaster manager
Dragging text object over model surface - only temporary preview
2022-01-03 12:23:44 +01:00
Filip Sykala
1259b878fb add NSVG utils into cmakelists
Move trunc to ImGuiWrapper
2021-12-20 21:58:21 +01:00
Filip Sykala
35b54eb455 Linux fix include 2021-12-20 21:01:40 +01:00
Filip Sykala
a34a4954bd Separate into class files 2021-12-20 20:49:43 +01:00
Filip Sykala
01d0f96720 Ray caster starts 2021-12-20 14:22:43 +01:00
Filip Sykala
2435b7af07 Enable rotation by propagation on_mouse event into gizmo 2021-12-17 09:14:36 +01:00
Filip Sykala
27bae18aab start using jobs 2021-12-14 19:13:33 +01:00
Filip Sykala
cb4a52b8f8 fix warnings 2021-12-14 17:55:47 +01:00
Filip Sykala
6a66436858 Fix icons.
Fix error message on uknown glyph in font
2021-12-13 16:02:55 +01:00
Filip Sykala
3552004118 GLGizmoRotate in local coor 2021-12-02 16:29:30 +01:00
Filip Sykala
3fab53894e Emboss rotation 2021-12-02 12:59:53 +01:00
Filip Sykala
ef1bdf60ee transformation of object 2021-12-01 13:56:52 +01:00
Filip Sykala
b36a535763 Preview for Rotation of text 2021-11-30 09:08:56 +01:00
Filip Sykala
01b85e4051 Calculate window size 2021-11-26 14:39:19 +01:00
Filip Sykala
b143c543c7 Move call after close in code (I hope in change way of modify volume) 2021-11-26 13:48:22 +01:00
Filip Sykala
89a5e5071e fix end of non void function 2021-11-25 15:50:53 +01:00
Filip Sykala
1e719bab26 Separate create volume from edit 2021-11-25 15:26:45 +01:00
Filip Sykala
bba9dab8c8 Create Stopable job 2021-11-24 10:20:37 +01:00
Filip Sykala
43d200a7fb Using of Re run Job 2021-11-23 22:21:14 +01:00
Filip Sykala
d624940b7a Fix finish job
Fix initial position
2021-11-23 10:34:04 +01:00
Filip Sykala
081a398cee Maximize height of text input by window size 2021-11-23 09:40:13 +01:00
Filip Sykala
93131ab69c clean emboss from add volume 2021-11-15 15:38:06 +01:00
Filip Sykala
eaaa59be86 Fix Creation of the new text object 2021-11-15 09:22:08 +01:00
Filip Sykala
f16648bd3a Emboss on thread - partialy - test for linux 2021-11-12 13:38:19 +01:00
Filip Sykala
378d8af7ac Set fine position 2021-11-08 12:18:10 +01:00
Filip Sykala
2bf876e96c Add font family to .3mf 2021-11-04 13:47:51 +01:00
Filip Sykala
43230b2709 Move projection into separate utils to not slow down translation of files using Camera.hpp 2021-11-04 13:19:43 +01:00
Filip Sykala
d3dd025833 Draw text convex hull 2021-11-04 12:41:53 +01:00