Commit Graph

9 Commits

Author SHA1 Message Date
Mack 10de7e8d10 ENH:brim ears calculate the maximum value of the detection radius
jira: nojira
Change-Id: Ic43f1279c8456bf6f00e9d6e4de737c6a84a0a12
2024-10-28 20:51:35 +08:00
Bastien Nocera 3547728ded slic3r: Fix missing union_ex/diff_ex declaration
src/slic3r/GUI/Gizmos/GLGizmoBrimEars.cpp: In member function ‘void Slic3r::GUI::GLGizmoBrimEars::first_layer_slicer()’:
src/slic3r/GUI/Gizmos/GLGizmoBrimEars.cpp:870:27: error: ‘union_ex’ was not declared in this scope; did you mean ‘union’?
  870 |                 part_ex = union_ex(part_ex, sliced_layer);
      |                           ^~~~~~~~
      |                           union
src/slic3r/GUI/Gizmos/GLGizmoBrimEars.cpp:876:21: error: ‘diff_ex’ was not declared in this scope
  876 |     m_first_layer = diff_ex(part_ex, negative_ex);
      |                     ^~~~~~~
2024-10-28 08:33:48 +08:00
Mack fe5ebf0614 FIX: brim gizmo closes the program without prompting dialog
jira: STUDIO-8383
Change-Id: I7e83d19768be754ef79f0063d76624358bba5102
2024-10-15 15:50:26 +08:00
Mack 754198cd03 ENH:brim ears prompt to set manual type [STUDIO-8407]
[STUDIO-8401]slicer failed

[STUDIO-8402]unable to save modified brim data

jira: details
Change-Id: I354bbf2c55bad41e09a1558cb6bddf49fc87f7c7
2024-10-15 15:50:26 +08:00
Mack 34fb47a618 FIX:fix brim ear bugs
1.[STUDIO-8385] Fix switch to split tool crash;

2.[STUDIO-8406]brim ears only works in manual mode;

2.[STUDIO-8410] Disable brim width modification when brim type is manual;

3.[STUDIO-8382] Warning message not cleared;

4.[STUDIO-8239] Translation issues;

5.[STUDIO-8380]Disable brim ears for non-part models

6.[STUDIO-8285]Clicking the delete brim button did not recalculate;

jira: details
Change-Id: Id333179236d6b6f23de5081bd9b8d94b08c7dd62
2024-10-15 15:50:26 +08:00
Mack 183108c436 FIX:brim ear detection redius not work
jira: nojira
Change-Id: If89c3d7bc0a1246373c18ee8baae50f602860c46
2024-10-15 15:50:26 +08:00
Mack 38c5c25cdd ENH:add brim ear invalid warning
1.fix dragging causes wrong orientation

2.clean up useless include

jira:nojira

Change-Id: Ia723da626ac5434a1675e4a1b781579057f1403a
(cherry picked from commit 252ff6f0247546761ac9660e04ecf1bb2951d80e)
2024-10-15 15:50:26 +08:00
Mack a45a2eec54 ENH:brim ears are saved in 3MF
1.The default diameter setting is 16 times the init layer line width

2.Fixed the slice button was not reset after data changed

3.Fixed normal is initialized to the wrong value

4.Fixed delete button crash

jira: nojira
Change-Id: I3b331d81e762aa02f92edf0fd5067b97857f2f8e
2024-10-15 15:50:26 +08:00
Mack 92c85a13d0 NEW: add brim ear gizmo
jira: STUDIO-7378
Change-Id: Ib6b5dbd3b113981612b05e01e59f62054ff0b654
(cherry picked from commit 37120830a2f958f464719db1f5d0180882bc4095)
2024-10-15 15:50:26 +08:00