23031 Commits

Author SHA1 Message Date
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
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
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
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
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
YuSanka
9c254b6782 CutGizmo: Fixed a moving of the cut plane on dragging.
There no unexpected jumping any more
2023-07-19 10:25:48 +02:00
YuSanka
34af44b4bf WIP: Cut with TAG
Added experimental rendering for the cutPlane mesh
2023-07-19 10:25:48 +02:00
YuSanka
9067f601d8 WIP: Cut with tongue and groove
* Suppress to apply connectors to the model, when cut with TAG
* Add grabbers to move cutPlane during Y axes, when groove angle is non-zero
2023-07-19 10:25:48 +02:00
YuSanka
e8bdd9e78d Code refactoring: Rivet is changed to Snap 2023-07-19 10:25:48 +02:00
YuSanka
e4fde63c47 WIP: Cut with tongue and groove
* Allow to change angle of the groove
* Rewrite rendering for the cut plane
+ Added reset_cut_by_contours() on flip of cutPlane and switch of cutPlane mode
2023-07-19 10:25:47 +02:00
YuSanka
7cd99d98f5 WIP: Cut with Rivets
* Code refactoring: get_connector_mesh() and apply_cut_connectors() moved from ModelObject to CutGizmo.
* Allow to change values of space and bulges for snaps
2023-07-19 10:25:47 +02:00
YuSanka
2e6d1ff08f WIP: Cut with Tongue and Groove
* Changed limit value for tolerances
* Set optimize rendering value to true by default
2023-07-19 10:25:47 +02:00
YuSanka
83fa61ee41 Cut: Extend WIP: Add new connector - "Rivet" to set max value and max tolerance 2023-07-19 10:25:47 +02:00
YuSanka
9fd3de5e46 WIP: Add new connector - "Rivet"
* Code refactoring for its_make_rivet() to change a shape of rivet
+ Implemented perform the cut with rivets
2023-07-19 10:25:47 +02:00
YuSanka
6a2afc9153 WIP: Add new connector - "Rivet"
* Improves for UI
* Implemented Rivet mesh
2023-07-19 10:25:47 +02:00
YuSanka
92c7a31f42 WIP: Cut with Tongue and Groove
* Added move possibility during X axis for cut plane
* Added possibility to optimize rendering (recalculate new cut only on stop dragging)
* Next fix for flickering (code refactoring for toggle_model_objects_visibility())
2023-07-19 10:25:47 +02:00
YuSanka
034bb31341 WIP: Cut with Tongue and Groove
* Improved cut plane rendering, when moving the plane
* Added update of the scene after switching between cut modes
2023-07-19 10:25:47 +02:00
YuSanka
0777139d19 WIP: Cut with Tongue and Groove
* Implemented Z rotation for TAG plane
2023-07-19 10:25:47 +02:00
YuSanka
159d92cf6a WIP: Cut with Tongue and Groove
* Implemented a check for invalid groove detection
2023-07-19 10:25:47 +02:00
YuSanka
1aa8d8ea99 WIP: Cut with Tongue and Groove
* Implemented preview rendering of groove
2023-07-19 10:25:47 +02:00
YuSanka
ceb9582cb1 WIP: Cut with Tongue and Groove
* Implemented cut with groove
+ Cut by contour extracted to separate function perform_cut_by_contour
2023-07-19 10:25:47 +02:00
YuSanka
519ee6af92 WIP: Cut with Tongue and Groove
- Implemented parameters input for the cut plane
2023-07-19 10:25:47 +02:00
YuSanka
a9a0414cc3 WIP: Cut with Tongue and Groove
- Implemented rendering for the cut plane
2023-07-19 10:25:46 +02:00
Filip Sykala - NTB T15p
9a8f716d80 SPE-1818: Show debug windows only when log level is set at minimal to INFO 2023-07-17 11:12:33 +02:00
Pavel
7f8b03fd79 Fix of SPE-1811 - rarely, the support spot generator runs supper slow. Caused by too many slice connections detected by z-graph. The Z-Graph issue is not solved.
github issue https://github.com/prusa3d/PrusaSlicer/issues/10940
2023-07-17 09:37:16 +02:00
rtyr
646d6dc44f
Initial Sovol bundle 2023-07-14 13:30:05 +02:00
Lukas Matena
917ae80cc2 Bugfix: extruder indices mismatch when using specific extruder for the wipe tower (followup of 2d6d37f, which was wrong) 2023-07-12 13:40:55 +02:00
Lukas Matena
4092da7aef Revert "Bugfix: When specific wipe tower extruder is set, the extruder indices for the placeholder parser are shifted"
This reverts commit 2d6d37f68572419c7051178de9e4e61051641dc9.
2023-07-12 09:52:59 +02:00
Lukas Matena
d907a004cf Fixed a bug in cooling buffer resulting in G-codes setting fan to more than 100 % 2023-06-30 11:10:54 +02:00
Lukas Matena
4981b33b01 Fix of #10890 (crash when switching light/dark mode with Height Range Modifier active) 2023-06-30 11:10:30 +02:00
Lukas Matena
2d6d37f685 Bugfix: When specific wipe tower extruder is set, the extruder indices for the placeholder parser are shifted 2023-06-30 11:10:21 +02:00
rtyr
d6c721b42e
Initial LNL3D bundle.
https://github.com/prusa3d/PrusaSlicer/pull/10843
2023-06-27 11:12:50 +02:00
Lukas Matena
e0f7263a4c Bumped up version to 2.6.0 version_2.6.0 2023-06-19 14:07:14 +02:00
YuSanka
092c75c1b5 Manually merged CA dictionary from PR(#10824) 2023-06-19 10:17:03 +02:00
YuSanka
e6537b3a12 Beautification for notification about used templates (follow-up 23a72cec1f) 2023-06-16 11:56:29 +02:00
YuSanka
6a9139bd0b Localization: Updated internal dictionaries
+ Fixed localization marker in GCodeViewer
2023-06-16 11:56:29 +02:00
rtyr
b321084b02
Added new Prusament Resins. 2023-06-15 17:44:48 +02:00
David Kocik
5865788d7a Fix of parameters in InfoDilaog
followup 23a72cec1f2e1b4795846078dafab332ca27d778
2023-06-15 13:51:23 +02:00
Lukas Matena
a0f5fe0fb7 Bumped up version to 2.6.0-rc2 2023-06-14 20:40:57 +02:00
enricoturri1966
1338b78c8d SPE-1776: Stop backward adding M104 lines when commands G28/G29 are found, during postprocessing gcode version_2.6.0-rc2 2023-06-14 16:36:02 +02:00
YuSanka
cb6262cb5f Localization: Updated POT + fixed some phrases
+ Updated wxLocale for BE dictionary
+ Updated community dictionaries
2023-06-14 16:25:49 +02:00
Lukas Matena
cc45644a25 Fix an incorrect extra travel when using the wipe tower with no ramming and with extruder offset applied #10801 2023-06-14 15:02:11 +02:00
David Kocik
23a72cec1f Add url to documentation for template filament warning
followup 45ba32d29ad9509064e7c7501989ef7e9e305170
2023-06-14 14:38:35 +02:00