217 Commits

Author SHA1 Message Date
YuSanka
102d3e0d2c Localization:
* Fixed phrases
* Updated POT
* New POT is merged with community POs
2023-04-03 11:32:50 +02:00
YuSanka
989ca9d8ee CutGizmo: Fix for Cut by Line 2023-03-27 16:00:13 +02:00
enricoturri1966
98346824e8 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_show_sla_supports 2023-03-24 08:49:35 +01:00
YuSanka
18e56c3d53 Localization: Fixes for some phrases
+ Added/Fixed comments where it's needed
2023-03-23 22:55:38 +01:00
YuSanka
19f2a1d9e9 Unified usage of localization macros in slic3r/libslic3r 2023-03-23 22:55:38 +01:00
YuSanka
760f74ce6a CutGizmo: Respect to the SLA shift 2023-03-22 12:36:51 +01:00
YuSanka
b0a8757b12 CutGizmo: Use isApprox() instead of "==" operator for Vec3d values 2023-03-13 16:32:48 +01:00
Lukas Matena
1fbbaaae9b Fixed several warnings 2023-03-07 14:47:25 +01:00
YuSanka
efb6b747cb Cut Tool: Cut off the top of frustum connectors 2023-03-07 09:06:36 +01:00
YuSanka
c8daef865b CutGizmo: Fixed label width 2023-03-03 16:56:28 +01:00
YuSanka
3985250b87 Fix for SPE-1544 - Dowels come from model during camera moving in edit connectors mode 2023-03-01 12:22:52 +01:00
YuSanka
2098ce9cfa Follow-up 3054156f9e 2023-02-27 16:31:17 +01:00
YuSanka
3054156f9e Cut: Add missed check if selected object inside update_bb() 2023-02-27 15:03:21 +01:00
YuSanka
ec0a3658b0 Implemented SPE-1512 - Cut tool: changing visualization of holes in dowel mode
Related to https://github.com/prusa3d/PrusaSlicer/issues/9771#issuecomment-1438534966
2023-02-27 12:17:22 +01:00
YuSanka
b767c76adb Localization: Updated POT 2023-02-27 10:07:45 +01:00
YuSanka
97414fa4fd Follow-up 923f7cf8d764d420e332d9034d1e397574a0d956 - CutGizmo : Added missed parameter for transformed_bounding_box on activate gizmo 2023-02-24 16:25:25 +01:00
YuSanka
0c78a4474c Fix for SPE-1529 - Cut tool: Wrong position of the Plug connectors with some depth tolerance
+ Some code refactoring
2023-02-24 16:04:12 +01:00
YuSanka
923f7cf8d7 Cut bug fixing: SPE-1511 and SPE-1525
* Fixed Cut by line
* Added missed snapshots for Undo/Redo
* Fix for set new position do the cut plane
* Fixed update_clipper()
2023-02-23 18:40:43 +01:00
YuSanka
be74338e53 Follow-up a41dd8eeed50b9bfbb9f37769569f091512d8124 - Added missed updates for transformed bounding box
+ Fixed Arrow Up/Down action. Cut plane is moved during the its own normal instead of during the Z axes
2023-02-23 10:01:40 +01:00
YuSanka
d6c7312181 FOllow-up a41dd8eeed50b9bfbb9f37769569f091512d8124 - Fix for SPE-1521 - Use the arrows to move the cut plane out of the object 2023-02-22 16:58:49 +01:00
YuSanka
a41dd8eeed Follow-up dc0275f70d4c5d163e1906828cfc08ee46b6d081 - Cut: Next performance fix.
Refactor a code to avoid redundant recalculation of an object bounding box and transformed bounding box.
2023-02-21 12:44:08 +01:00
Lukas Matena
304424b6d4 Do not calculate the AABB raycaster in cut gizmo, it does not use it 2023-02-17 12:45:22 +01:00
YuSanka
dc0275f70d Cut bug fixing:
* Fix for https://dev.prusa3d.com/browse/SPE-1489 - The text is misaligned in cut dialog.
* Fix for https://dev.prusa3d.com/browse/SPE-1382 - Cut Plane does not move smoothly for multipart models.
+ Code cleanup - unused code is removed.
2023-02-17 09:48:10 +01:00
enricoturri1966
7b255aa2ab Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_transformations 2023-02-16 12:43:45 +01:00
YuSanka
7eec10c95e Fix for #9576 - A single cut can be made on the same model, after which the Cut tool is disabled
But really bug is a wrong detection of an CutObject as a DowelConnector
2023-02-15 13:56:13 +01:00
YuSanka
ffd484eb04 Cut bug fixing:
* Disable "Add/Edit connectors" button then cut to parts
* Fixed flip_cut_plane()
* Fixed cut by Line, when draw line over the cut plane
* Fixed apply of the transformations, when cut to parts

Cut improvements:
* Process "Ctrl"
* Change color of the cut plane when it's hovered
* Don't apply Cut information for result object(s), if cut doesn't have any connector or is cut to parts
  (partially related to #9633 - Add option to Invalidate Cut Info at the time of cutting)
2023-02-15 12:02:10 +01:00
YuSanka
7755231866 Cut: Fix for a normal for color clipping plane 2023-02-15 12:02:10 +01:00
enricoturri1966
224ee922c5 'gouraud' shader modified to allow to draw an object with two different colors in Cut Gizmo 2023-02-15 12:02:10 +01:00
YuSanka
b40473be51 CutGizmo: Improvements to identify Upper/Lower parts_count
+ Rework CutDialog
+ Added "Cut to" section (Idea from #9564[Cut: Keep results as parts of current idea] was used, but there is other implementation)
+ Fix for #9657 - Inconvenient gizma, blocks the view of the cut of small parts
+ Add functionality "Flip cut plane" = Fix for #9632 - Adding connectors to either split cut part
+ ImGuiWrapper: added tooltip for button
2023-02-15 12:02:10 +01:00
enricoturri1966
9510c4b4fa Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_transformations 2023-02-15 08:57:35 +01:00
YuSanka
b71e0bfd34 Follow-up 8913fdf6ab
* Deleted/Temporary commented redundant call of app_config->save()
 * Use app_config->get_bool() function on all places
2023-02-13 17:23:49 +01:00
YuSanka
a913bd493f Fix for #9697 - Cut tool tolerance by measurement 2023-02-13 14:08:21 +01:00
enricoturri1966
1a505f1af4 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_transformations 2023-02-10 12:49:31 +01:00
YuSanka
b52ce29d12 Fix to #9629 - Cut tool will not cut unless there is an object
Allow to perform a cut even if CutPlane doesn't cross the solid parts of object.
But show the warning line
2023-02-09 15:22:01 +01:00
enricoturri1966
04a144f00e Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_transformations 2023-02-08 14:09:24 +01:00
YuSanka
20e5083350 Cut: Fixed a scale for grabbers and thickness of the cut plane 2023-02-08 13:06:00 +01:00
enricoturri1966
bf48848b00 Small optimization - Removed unneeded normalization from gizmos Move, Rotate and Scale 2023-02-08 10:21:33 +01:00
YuSanka
d09f31db9c Fix for #9500 - Cut tool - minimal connector size
Minimal connector size is decreased to 1mm
2023-02-03 13:57:37 +01:00
YuSanka
e4ef82d1c1 CutGizmo: Add info icons to the connector types 2023-02-03 12:56:14 +01:00
YuSanka
e4ccfda0b0 Cut: Fix for apply of tolerance to the connectors
Bug was caused by refactoring in 0201a5055a
2023-02-02 12:23:54 +01:00
YuSanka
b173927ad1 CutGizmo: Fixed clipper behavior after slicing in SLA mode 2023-01-31 15:54:07 +01:00
tamasmeszaros
fc9b7ed59c Merge branch 'master' into et_tm_sla_volumes_6-SPE-1285 2023-01-13 11:02:06 +01:00
YuSanka
bfb60875fa CutGizmo: Allow to cut by line when only one cut part is selected.
+ Updated splashscreen
2023-01-04 17:40:22 +01:00
YuSanka
0addb3b9e7 Cut: Hide Debug window, leave rectangle mode for the cut plane
+ Fixed CameraUtils::ray_from_persp_screen_pos() to return a correct value of the point
2022-12-19 13:11:38 +01:00
YuSanka
4da322d527 CutGizmo: Some beautification/reorganization 2022-12-16 10:57:36 +01:00
YuSanka
7832d600ff CutGizmo: Allow to add connectors for SLA 2022-12-15 13:22:22 +01:00
YuSanka
24366c6294 Cut: Fixed connector rendering in "cut plane" mode 2022-12-13 16:36:10 +01:00
YuSanka
0d512a4256 Cut: Extended detection if connector is outside of cut contour
It respects to the whole connector contour now
2022-12-09 18:26:59 +01:00
YuSanka
7edc2acfc0 Cut: Connectors mode: Implemented forward/downward view to the cut plane
+ updated cut ikons
2022-12-09 11:15:48 +01:00
Lukas Matena
595ef873ad Change the way how cut gizmo detects hits on cut plane:
it did not work well on meshes with overlapping surfaces
2022-12-07 16:15:25 +01:00