Commit graph

37690 commits

Author SHA1 Message Date
Erwan MATHIEU
ea25f42e64 Do the heavy faces propagation in Uvula 2026-02-09 22:31:57 +01:00
HellAholic
deffe7fbd8 Use deque for coplanar BFS and UV handling
Replace list-based flood-fill with collections.deque for O(1) pops, using popleft() to traverse connected faces. Add a brush-size -> angle_threshold mapping and pass it into _getCoplanarConnectedFaces so brush size controls coplanarity. Optimize neighbor enqueueing with deque.extend and tighten docstrings. Simplify UV polygon collection by skipping None coords, building/scaling UV arrays, and collecting Polygons. In QML, remove the disabled condition on the shape size slider so it is always enabled. These changes improve traversal performance and make face selection responsive to brush size.
2026-02-05 23:26:58 +01:00
HellAholic
3655d446b3 Add 'Face' brush and disable size controls
Introduce a new BrushShapeButton for the Face brush (Cura.PaintToolBrush.FACE) with icon and localized label. Disable the "Brush Size" label and slider when the selected BrushShape is FACE, since size is not applicable for this brush.
2026-02-05 22:14:16 +01:00
HellAholic
996f2e7ba1 Add FACE brush shape and face-mode UV painting
Introduce a FACE brush shape and implement painting/preview logic that targets whole visual faces instead of individual triangles. Adds Shape.FACE enum and two helpers: _getCoplanarConnectedFaces (flood-fill neighbor faces by normal similarity, default angle_threshold 0.99) and _getUvAreasForFace (collects UV polygons for all connected coplanar triangles, scales by texture dimensions). Integrates face-mode in event handling so the cursor and painting operations use the full face UV areas; falls back to existing stroke-based behavior for other brush shapes and handles missing UVs or mesh data gracefully.
2026-02-05 22:14:03 +01:00
HellAholic
2e1a12c70a
Merge pull request #21367 from Ultimaker/CURA-12950-5.12_upgrade-script
Some checks failed
conan-package-resources / conan-package (push) Has been cancelled
conan-package / conan-package (push) Has been cancelled
printer-linter-format / Printer linter auto format (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
conan-package-resources / signal-curator (push) Has been cancelled
CURA-12950 5.12 upgrade script
2026-02-05 10:07:24 +01:00
Erwan MATHIEU
0748b98348 Enable skin support for all printers under 40% infill density
CURA-12950
2026-02-05 09:55:29 +01:00
HellAholic
ccd281c12c
Merge branch 'main' into CURA-12950-5.12_upgrade-script 2026-02-05 09:00:21 +01:00
HellAholic
635d9fc185
Merge pull request #21372 from Ultimaker/CURA-12955_update-evil-infills-tooltip
CURA-12955 Add quality warning for self-intersecting infills
2026-02-05 08:59:10 +01:00
Erwan MATHIEU
e996947416
Refine text for better readability
Co-authored-by: HellAholic <alireza.doustdar@gmail.com>
2026-02-05 08:01:05 +01:00
Erwan MATHIEU
20f36f2a3a
Refine text for better readability
Co-authored-by: HellAholic <alireza.doustdar@gmail.com>
2026-02-05 08:00:39 +01:00
HellAholic
fba94926db
Merge branch 'main' into CURA-12950-5.12_upgrade-script
Some checks failed
conan-package-resources / conan-package (push) Has been cancelled
conan-package / conan-package (push) Has been cancelled
printer-linter-format / Printer linter auto format (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
conan-package-resources / signal-curator (push) Has been cancelled
2026-02-04 17:52:14 +01:00
HellAholic
5a625e8e4f
Merge branch 'main' into CURA-12955_update-evil-infills-tooltip
Some checks failed
conan-package-resources / conan-package (push) Has been cancelled
conan-package / conan-package (push) Has been cancelled
printer-linter-format / Printer linter auto format (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
conan-package-resources / signal-curator (push) Has been cancelled
2026-02-04 17:28:02 +01:00
HellAholic
197740ae7c
Merge pull request #21329 from Ultimaker/PP-709-Decrease-S6-and-S8-shell-thickness-in-default-profiles
Some checks are pending
conan-package-resources / conan-package (push) Waiting to run
conan-package-resources / signal-curator (push) Blocked by required conditions
printer-linter-format / Printer linter auto format (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
PP-709 Decrease S6 and S8 shell thickness in default balanced profiles for PLA and Tough PLA
2026-02-04 17:24:32 +01:00
HellAholic
f7ccfa1f11 Values for the variants should remain the same as S5 definition
We do not want to update these profiles as they are based on S5 machine
2026-02-04 16:47:00 +01:00
HellAholic
03099dc572
Merge branch 'main' into PP-709-Decrease-S6-and-S8-shell-thickness-in-default-profiles 2026-02-04 16:28:29 +01:00
HellAholic
5eb4b1560a
Merge pull request #21369 from Ultimaker/PP-713-Honeycomb-for-S-line
PP-713-Honeycomb-for-S-line and zigzag for other High Speed profiles
2026-02-04 16:22:50 +01:00
Remco Burema
b7176ea4f1 Skin removal width (skin_preshrink) to 0; would leave too large holes (pending investigation).
Was never really meant for (close to or) (much) more than 1 wall-width, I think?

CURA-12956, part of PP-709, CURA-12927, related to PPQ-55
2026-02-04 15:52:09 +01:00
wawanbreton
bce53ad662 Apply printer-linter format 2026-02-04 14:48:30 +00:00
Erwan MATHIEU
12f56e3d7b Refine warning message text
CURA-12955
2026-02-04 15:46:37 +01:00
Remco Burema
8115c5d495 Merge remote-tracking branch 'origin/main' into PP-709-Decrease-S6-and-S8-shell-thickness-in-default-profiles 2026-02-04 15:36:47 +01:00
wawanbreton
388f279b31 Apply printer-linter format 2026-02-04 12:34:48 +00:00
Erwan MATHIEU
3e4f73843b Add quality warning for self-intersecting infills
CURA-12955
2026-02-04 13:33:08 +01:00
HellAholic
5fc46b29c0
Merge branch 'main' into PP-713-Honeycomb-for-S-line
Some checks failed
conan-package-resources / conan-package (push) Has been cancelled
conan-package / conan-package (push) Has been cancelled
printer-linter-format / Printer linter auto format (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
conan-package-resources / signal-curator (push) Has been cancelled
2026-02-04 12:38:31 +01:00
HellAholic
d280d7fc88
Merge pull request #21368 from Ultimaker/CURA-12951_sometimes_hide_self_intersect_infill
Some checks failed
conan-package-resources / conan-package (push) Waiting to run
conan-package-resources / signal-curator (push) Blocked by required conditions
printer-linter-format / Printer linter auto format (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
conan-package / conan-package (push) Has been cancelled
[CURA-12951] Hide certain infills for fast printers.
2026-02-04 11:29:58 +01:00
Remco Burema
ff2c02b1ac Use proper item-type. Make sure it shows up the same on other systems.
part of CURA-12951
2026-02-04 11:09:24 +01:00
HellAholic
2cfc133690
Merge pull request #21366 from Ultimaker/CURA-12952-5.12_new-settings-visibility-check
CURA-12952 Add new settings proper visibility
2026-02-04 11:08:18 +01:00
HellAholic
172e14fea0
Merge pull request #21340 from Ultimaker/PPQ-55
Some checks failed
conan-package-resources / conan-package (push) Has been cancelled
conan-package / conan-package (push) Has been cancelled
printer-linter-format / Printer linter auto format (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
conan-package-resources / signal-curator (push) Has been cancelled
Restore skin_preshrink s6/s8
2026-02-04 08:19:35 +01:00
HellAholic
2db02c9578
Merge branch 'PP-709-Decrease-S6-and-S8-shell-thickness-in-default-profiles' into PPQ-55 2026-02-04 08:14:15 +01:00
HellAholic
93e42d5561
Merge branch 'main' into PP-709-Decrease-S6-and-S8-shell-thickness-in-default-profiles 2026-02-04 08:14:01 +01:00
Remco Burema
79be6bbabf User shouldn't interact with workaround textbox.
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
part of CURA-12951
2026-02-03 16:15:58 +01:00
HellAholic
fd38d8f34c
Merge pull request #21363 from Ultimaker/CURA-12919_application-crash-if-model-reloaded-in-paint-mode
Some checks are pending
conan-package / conan-package (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
CURA-12919 Application crash if model reloaded in paint mode
2026-02-03 16:13:16 +01:00
THeijmans
3f8f4437d3 Set max angle for skin removal to 75 degrees for two-walled (tough) PLA profiles
Some checks are pending
conan-package-resources / conan-package (push) Waiting to run
conan-package-resources / signal-curator (push) Blocked by required conditions
printer-linter-format / Printer linter auto format (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
2026-02-03 15:49:20 +01:00
THeijmans
87273018f7 PP-713 Honeycomb for S-line High Speed Engineering profiles, zigzag for the other high speed profiles 2026-02-03 15:12:42 +01:00
Remco Burema
416f2cb26a Don't remove self-intersect infill from S8,S6 after all.
part of CURA-12917
2026-02-03 14:56:33 +01:00
Erwan MATHIEU
8daab8e43d
Do not force honeycomb infill for S6/S8
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
2026-02-03 14:54:17 +01:00
Erwan MATHIEU
768f299187 Add actual upgrade script
CURA-12950
2026-02-03 13:46:06 +01:00
Casper Lamboo
4d67d51c3e
Update copyright year
CURA-12951
2026-02-03 13:30:06 +01:00
Erwan MATHIEU
e82171c861 Restore skin support enabled based on previous bridge_sparse_infill_max_density
CURA-12950
2026-02-03 13:14:44 +01:00
Erwan MATHIEU
609d9fbc0c Make upgrade script for 5.12
CURA-12950
2026-02-03 13:13:58 +01:00
Remco Burema
1d8ccea14b Hide certain infills for fast printers.
This is some of the most hacky code I've ever committed to Cura, but it works. I blame the imminent feature freeze.
The reason I throw around the ordering in fdmprinter is because otherwise the index would get messed up, and then it selects another infill; there are ways around this, but that would require rewriting more of the QML than I'm comfortable with given the situation.
The reason there is a textfield is so we can show it if hidden options are selected somehow anyway (there are various ways in which this can still end up happening, and we don't want to cpmpletely prevent it; for ex. via the custom settings).

part of CURA-12951
2026-02-03 12:29:59 +01:00
Erwan MATHIEU
faf297f85d
Merge branch 'main' into CURA-12952-5.12_new-settings-visibility-check 2026-02-03 12:07:27 +01:00
HellAholic
71ebf8d853
Merge pull request #21350 from Ultimaker/Add-open-log-to-help-menu-as-an-option
Some checks are pending
conan-package-resources / conan-package (push) Waiting to run
conan-package-resources / signal-curator (push) Blocked by required conditions
conan-package / conan-package (push) Waiting to run
printer-linter-format / Printer linter auto format (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
Add open log to help menu as an option
2026-02-03 10:56:45 +01:00
Erwan MATHIEU
39930c1362 Add new settings proper visibility
CURA-12952
2026-02-03 10:54:42 +01:00
HellAholic
74304fd458
Merge pull request #21345 from Ultimaker/CURA-12937
Fix material diameter for method line
2026-02-03 10:53:46 +01:00
Erwan MATHIEU
9d26e6dec9
Merge branch 'main' into CURA-12919_application-crash-if-model-reloaded-in-paint-mode
Some checks failed
conan-package / conan-package (push) Has been cancelled
unit-test / Run unit tests (push) Has been cancelled
2026-02-03 08:40:49 +01:00
HellAholic
282c098d31
Merge pull request #21209 from GregValiant/adj_TweakAtZ
Update TweakAtZ.py
2026-02-03 08:24:47 +01:00
HellAholic
a7c68f91ef
Merge pull request #21264 from GregValiant/UpdateAnnealingOrDrying
Update AnnealingOrDrying.py
2026-02-03 08:19:18 +01:00
Erwan MATHIEU
2a295f4d03 Remove unused code
CURA-12919
2026-02-02 16:42:06 +01:00
Erwan MATHIEU
527d76edea Recalculate UV coordinates after mesh data was reloaded
CURA-12919
2026-02-02 16:41:30 +01:00
HellAholic
9b39907188 Fix opening cura.log path across OSes
Use the appropriate resource path and construct a proper file URL before opening the log. Linux now uses UM.Resources.Resources while other OSes use UM.Resources.Preferences; the code builds logFilePath, prefixes with "file:///" on Windows (converting backslashes) and "file://" on Linux, then calls Qt.openUrlExternally. This ensures cura.log opens correctly on Windows and Linux.
2026-01-30 21:32:44 +01:00