24015 Commits

Author SHA1 Message Date
YuSanka
1d69dd82f8 CutGizmo: Code refactoring
to extract post process procedures over the Upper/Lower objects into separate function
2023-08-10 13:02:57 +02:00
Filip Sykala - NTB T15p
33e07c6dd5 Fix after merge 2023-08-10 12:36:56 +02:00
YuSanka
6cd6ee2f18 Cut: TaG mode: Fixed post-processing for the cut objects 2023-08-10 12:06:42 +02:00
YuSanka
6215393ae5 Fix for SPE-1836 : CUT_rotate circle isn't updated after undo 2023-08-10 11:02:26 +02:00
YuSanka
88dbb2db6c Fix for SPE-1835 : Scaling one part of an object after cutting with connectors, when open Scale gizmo with "S"-shortcut. 2023-08-10 10:44:12 +02:00
enricoturri1966
6b1dc90075 Added new printer metadata for binary gcode files 2023-08-10 10:30:28 +02:00
Filip Sykala - NTB T15p
14b22e7310 Merge branch 'fs_dir_per_glyph_SPE-1597' into fs_svg
# Conflicts:
#	src/libslic3r/Emboss.cpp
#	src/slic3r/GUI/TextLines.cpp
2023-08-10 10:17:34 +02:00
tamasmeszaros
7b9982bcfe Disable building of the cmd tool for libbgcode
Needs nowide, problematic integration, we would need to get rid of boost::nowide inside PS codebase
2023-08-10 09:23:09 +02:00
Filip Sykala - NTB T15p
acb3e6dd37 Textline offset same as Vertical center of text 2023-08-10 08:55:43 +02:00
YuSanka
5852c60b80 CutGizmo: Fixed a rendering of the sliced object in SLA mode 2023-08-09 17:27:20 +02:00
Filip Sykala - NTB T15p
f51c0e651b Visualization by torus 2023-08-09 15:53:10 +02:00
YuSanka
6b6f7bc309 CutGizmo: Improvements for TaG mode.
Don't recalculate cut during editing a groove parameters.
2023-08-09 15:16:35 +02:00
YuSanka
91fae9a154 CutGizmo: Code cleaning 2023-08-09 14:10:24 +02:00
Filip Sykala - NTB T15p
eebb2ea4d0 Torus visualization of base line. 2023-08-09 14:02:45 +02:00
YuSanka
1b451cdf9f CutGizmo: Big code refactoring.
All manipulations related to cut are extracted to CutUtils now
2023-08-09 13:22:11 +02:00
Filip Sykala - NTB T15p
a482635f3e Fix
../src/libslic3r/Emboss.cpp:1984:9: warning: unused variable 'line_height' [-Wunused-variable]
../src/libslic3r/Emboss.cpp:1986:9: warning: unused variable 'center_line' [-Wunused-variable]
../src/slic3r/GUI/TextLines.cpp:197:16: warning: unused variable 'distance' [-Wunused-variable]
2023-08-08 17:43:39 +02:00
Filip Sykala - NTB T15p
d7335a383f Merge branch 'fs_dir_per_glyph_SPE-1597' into fs_svg 2023-08-08 17:14:27 +02:00
Filip Sykala - NTB T15p
719e8a2899 Merge branch 'master' into fs_dir_per_glyph_SPE-1597 2023-08-08 17:14:11 +02:00
Filip Sykala - NTB T15p
b699e6da9b Merge branch 'fs_dir_per_glyph_SPE-1597' into fs_svg
# Conflicts:
#	src/libslic3r/Emboss.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp
#	src/slic3r/GUI/Jobs/CreateFontStyleImagesJob.cpp
#	src/slic3r/GUI/TextLines.cpp
2023-08-08 17:13:15 +02:00
Pavel
57b2f364e0 Improve and fix curvature estimation algorithm 2023-08-08 13:12:58 +02:00
YuSanka
190a4cde48 CutGizmo: Next bug fixing
* Fixed a crash on UndoRedo action when switching between cut modes
* Fixed update of the CutGizmo parameters when selected object is changed
2023-08-08 13:01:42 +02:00
enricoturri1966
e1724e1fa1 Fixes required by changes in interface of libbgcode 2023-08-08 12:42:26 +02:00
YuSanka
bb9a04fc48 Fixed TextCtrl::value_was_changed() function to respect changes, when type of Field is coPoints. 2023-08-08 12:00:11 +02:00
Filip Sykala - NTB T15p
88cc4d1385 Move per glyph line offset to 1/3 of line height. 2023-08-07 17:39:46 +02:00
Filip Sykala - NTB T15p
7df988dd2d Recalculate text lines after change text direction 2023-08-07 17:38:31 +02:00
Filip Sykala - NTB T15p
006c1e6f56 Merge branch 'master' into fs_dir_per_glyph_SPE-1597 2023-08-07 16:00:30 +02:00
Filip Sykala - NTB T15p
36d5353c67 Vertical alignemnt center is now in 1/3 of the font ascent
Default vertical alignement is center (for closer result to previous unaligneg version)
2023-08-07 15:59:55 +02:00
YuSanka
096d10ef62 Fix for #10941 - Prusa 2.6.0 freezes when trying to change color 2023-08-07 15:30:44 +02:00
YuSanka
e9d967f4b2 Fix for #11070 - Crash on cut 2023-08-07 12:58:17 +02:00
enricoturri1966
57df182d6c GCodeViewer: Fixed crash when selecting Layer time view after importing a binary gcode encoded using MeatPack with no comments 2023-08-07 12:17:13 +02:00
YuSanka
89d66737b5 CutGizmo: Put the check of groove flaps validity to the has_valid_groove() function to avoid perform a cut with non valid groove 2023-08-07 11:03:56 +02:00
YuSanka
0c2913f20c CutGizmo: Code refactoring to correct a modifiers processing during a cut.
Now it's work in same way for all types of cut. After cut we leave just only modifiers which are intersecting with solid parts bounding box.
+ Clean code in perform_cut_with_groove. Deleted non-used anymore code.
+ Extract same code (for perform_cut_by_contour and perform_cut_with_groove) to separate functions
+ Save CutInfo for objects which was cut with Tongue and Groove mode
2023-08-07 10:25:01 +02:00
enricoturri1966
7b822184a7 Fixes in Plater::convert_gcode_to_ascii() and Plater::convert_gcode_to_binary() 2023-08-07 09:20:50 +02:00
enricoturri1966
5deb4470c7 Changes required by updated library libbgcode 2023-08-04 14:44:45 +02:00
tamasmeszaros
954b6d85b0 Merge branch 'tm_fix_find_wxwidgets' 2023-08-04 13:03:54 +02:00
tamasmeszaros
831ea57483 Simplify and fix wxWidgets find procedure with up to date find module 2023-08-04 14:10:50 +02:00
enricoturri1966
eb8d01888d Added import of config from binary gcode files 2023-08-04 12:35:40 +02:00
enricoturri1966
87f6fed274 Fixed link of RelWithDebInfo configuration 2023-08-04 10:16:37 +02:00
YuSanka
6659d108d5 CutGizmo: Fixed memory leaks.
All temporary ModelObjectPtrs have to belong to some Model to correct memory de-allocation
2023-08-04 10:10:23 +02:00
tamasmeszaros
7ab044fb86 Add debug build for LibBGCode in deps
Probably no need for debug build of it's respective heatshrink dependency, as it's a C only lib
2023-08-04 08:43:15 +02:00
enricoturri1966
28346f78dd Fixed naming of metadata exported to gcode file in binary format 2023-08-04 08:33:28 +02:00
YuSanka
492e356a21 CutGizmo: Fixed and improved Undo/Redo. 2023-08-03 16:09:28 +02:00
enricoturri1966
1e993a481a Implemented command 'Convert ascii G-code to binary' 2023-08-03 15:44:04 +02:00
enricoturri1966
cd43a8e744 Fixes required by changes into libbgcode library interface 2023-08-03 15:31:13 +02:00
YuSanka
4e74e4ecc0 CutGizmo: Implemented validation of groove size/position 2023-08-03 13:15:05 +02:00
enricoturri1966
ec16420f11 Integrated library libbgcode 2023-08-03 12:57:55 +02:00
enricoturri1966
c82f9c7627 Removed code moved to libbgcode library 2023-08-03 12:37:41 +02:00
tamasmeszaros
793a2710dd Change libbgcode git repo link to use https instead of git@ 2023-08-03 09:46:58 +02:00
Filip Sykala - NTB T15p
6c0d7b79e3 Set default align to center as mentioned in SPE-1597
Align visualization warning is active only for multiline
2023-08-03 09:12:49 +02:00
enricoturri1966
07065c9e19 Partial revert of 7e56d807185348987026786c4f8607fcfdc84d6e - Removal of integrated Heatshrink library 2023-08-03 08:56:21 +02:00