23078 Commits

Author SHA1 Message Date
tamasmeszaros
2730d2e14f Remove unneeded check from fill bed test 2023-08-16 09:59:10 +02:00
tamasmeszaros
e90f9e7088 Usable workaround for missing items when filling the bed 2023-08-16 09:59:10 +02:00
tamasmeszaros
9c7fd4f692 Implement correct centroid in DecomposedShape 2023-08-16 09:59:10 +02:00
tamasmeszaros
ccc7009719 Add more comments to Scene.hpp 2023-08-16 09:59:10 +02:00
tamasmeszaros
ea62d7b8fb Fix SLA crash 2023-08-16 09:59:10 +02:00
tamasmeszaros
8db0f20516 WIP on outline caching 2023-08-16 09:59:10 +02:00
tamasmeszaros
c360f4c70d Fix libnest2d cmake script on older cmake versions 2023-08-16 09:59:10 +02:00
tamasmeszaros
0b31ef6e1e Beginning of arrange gen2 2023-08-16 09:59:10 +02:00
YuSanka
a386d092b7 CutGizmo: Set "emission_factor" for shader, when rendering GLModels
to avoid flickering of the connectors on change camera view
2023-08-15 14:37:00 +02:00
YuSanka
6671413023 Fix for SPE-1843 - PresetComboBoxes on Settings Tabs doesn't revert the selection, when "Cancel" button is clicked in UnsaveChangesDilalog
This bug was caused by mistakenly commented line of code in 9e4859ebbf
2023-08-15 10:39:51 +02:00
YuSanka
f79f2557d6 Revert of 88dbb2db6c6a48a449bb13b5425431f28eee8e0c
+ Fix for SPE-1835 : Scaling one part of an object after cutting with connectors, when open Scale gizmo with "S"-shortcut.
2023-08-14 12:19:14 +02:00
YuSanka
836a70f4b2 Merge remote-tracking branch 'origin/ys_cut_rivets' into master 2023-08-11 16:05:44 +02:00
YuSanka
840f1b0ea9 Cut: Experiment: Fixed a variable declaration of m_cut_matrix, which caused an ASAN-crash 2023-08-11 15:58:08 +02:00
YuSanka
49ed94ff77 CutGizmo: TaG mode: Fix of volume relation to upper/lower object when whole volume is over a cut plane 2023-08-11 10:09:31 +02:00
YuSanka
b213ff01d4 CutGizmo: Next bug-fixing:
* Performance during drawing of the cut line. Recalculate cut only when Mouse button is up.
* Reset button for Depth / Width modification + tolerance
2023-08-10 16:40:20 +02:00
YuSanka
8a1a5d2259 GalleryDialog: Fixed a memory leak 2023-08-10 15:06:54 +02:00
YuSanka
e241e905ec CutGizmo: Manually cherry-picked 6dbbbfea7a.
This changed fixed cut for mirrored object
2023-08-10 14:52:20 +02:00
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
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
YuSanka
5852c60b80 CutGizmo: Fixed a rendering of the sliced object in SLA mode 2023-08-09 17:27:20 +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
YuSanka
1b451cdf9f CutGizmo: Big code refactoring.
All manipulations related to cut are extracted to CutUtils now
2023-08-09 13:22:11 +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
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
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
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
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
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
YuSanka
492e356a21 CutGizmo: Fixed and improved Undo/Redo. 2023-08-03 16:09:28 +02:00
YuSanka
4e74e4ecc0 CutGizmo: Implemented validation of groove size/position 2023-08-03 13:15:05 +02:00
Lukas Matena
ba25da571a MeshRaycaster: added a function to check for mesh-line intersections 2023-08-02 15:09:35 +02:00
Pavel
b6ed64428a SPE-1820 Fix missing solid infill in thin parts by improving the ensuring filtering 2023-08-02 10:32:28 +02:00
enricoturri1966
eacffe0a57 SPE-1765: Fixed redundant emit of EVT_GLCANVAS_WIPETOWER_MOVED event 2023-08-02 10:01:16 +02:00
YuSanka
75eccfd650 Added new type of SceneRaycaster (FallbackGizmo)
to add possibility to split the Gizmo grabbers to two priority of "raycastering".
meshes with Gizmo type has highest priority then FallbackGizmo.

+ CutGizmo: Use SceneRaycaster type for CutPlane grabber
2023-08-01 16:23:18 +02:00
YuSanka
0c686f1ff9 CutGizmo improvements: Reworked CutPlane grabber for TaG mode 2023-08-01 16:15:51 +02:00
YuSanka
c239c54dc6 CutGizmo: Bug fixing and improvements:
* Get correct labels width form all label
* Set Plane mode as default for cut
* Fixed tooltip for CutPlane in TaG mode
* Fixed Crash when "Instances" item is selected with open CutGizmo
* Fixed move limits for CutPlane
* TaG mode: Suppressed perform a cut when CutPlane is out of object
* Update warning info lines when switch between modes
* Don't allow to switch to TaG mode, when cut has connectors
2023-08-01 10:58:31 +02:00
Lukas Matena
5de69b962e MeshRaycaster: added a function to check for mesh-line intersections 2023-07-31 16:04:41 +02:00
YuSanka
bd43118148 Fix of Asserts and incompatible filament selection, when hide/show template filaments (SPE-1786) 2023-07-31 13:28:26 +02:00
YuSanka
724d2aec20 Fix for SPE-1788 - Redundant sidebar layout on object move 2023-07-31 13:28:17 +02:00
tamasmeszaros
10b6d355ca Merge branch 'tm_fix_export_crash_SPE-1801' 2023-07-27 15:34:45 +02:00
tamasmeszaros
c5b22163c5 Fix crash when exporting to stl 2023-07-27 15:33:05 +02:00
Lukas Matena
3ab20de3c0 Wipe tower: Use perimeter_speed and infill_speed instead of the hardcoded values 2023-07-27 12:53:10 +02:00
Lukas Matena
3571812a3d Fix cmake (follow-up to previous commit) 2023-07-25 13:28:38 +02:00