Skip to content

PartDesign: Apply pattern transform in Feature not VP#26697

Merged
chennes merged 1 commit intoFreeCAD:mainfrom
kadet1090:fix-preview-position-2
Jan 12, 2026
Merged

PartDesign: Apply pattern transform in Feature not VP#26697
chennes merged 1 commit intoFreeCAD:mainfrom
kadet1090:fix-preview-position-2

Conversation

@kadet1090
Copy link
Member

This is followup for #26563 which fixed previews for a given file but broke it for others.

This approach should be more robust as it is applied in the Feature itself and not on view provider level which should give us more precise control and per feature transform ability.

Issues

Before and After Images

@kadet1090
Copy link
Member Author

@wavexx can you compile and test if it works correctly now? I checked your both files, but you are quite good at finding stuff that I missed 😅

@kadet1090 kadet1090 added this to the 1.1 milestone Jan 6, 2026
@kadet1090 kadet1090 added backport releases/FreeCAD-1-1 Applied to a PR that is on main to trigger the automatic creation of another PR onto 1.1 Type: Bug This issue or PR is related to a bug labels Jan 6, 2026
@maxwxyz maxwxyz moved this from Queue to Merge Meeting in Merge Queue Jan 6, 2026
@maxwxyz maxwxyz self-requested a review January 6, 2026 13:00
@maxwxyz maxwxyz linked an issue Jan 6, 2026 that may be closed by this pull request
Copy link
Collaborator

@maxwxyz maxwxyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works with the file from the issue

@maxwxyz maxwxyz added the Approved: Tested The PR was manually tested and approved label Jan 6, 2026
@maxwxyz maxwxyz moved this from Merge Meeting to Approved in Merge Queue Jan 6, 2026
@github-actions github-actions bot added the Mod: Part Design Related to the Part Design Workbench label Jan 7, 2026
@wavexx
Copy link
Contributor

wavexx commented Jan 7, 2026

This fixes the second test case, but breaks again the first sample I posted in issue #26561

@kadet1090 kadet1090 force-pushed the fix-preview-position-2 branch from 226ac42 to 42744a5 Compare January 7, 2026 17:00
@kadet1090
Copy link
Member Author

kadet1090 commented Jan 7, 2026

@wavexx Ah I did push older version of the PR, thanks! Should be good now.

@wavexx
Copy link
Contributor

wavexx commented Jan 7, 2026

@kadet1090 I confirm the last version works correctly.

Not the best place to ask but.. is there any idea to eventually implement previews for the "part workbench" as well?

This is followup for FreeCAD#26563 which
fixed previews for a given file but broke it for others.

This approach should be more robust as it is applied in the Feature
itself and not on view provider level which should give us more precise
control and per feature transform ability.
@maxwxyz maxwxyz force-pushed the fix-preview-position-2 branch from ed245fe to e20e345 Compare January 7, 2026 20:47
@chennes chennes merged commit 4fae2b8 into FreeCAD:main Jan 12, 2026
13 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Done in Merge Queue Jan 12, 2026
@freecad-ci-runner
Copy link
Collaborator

Successfully created backport PR for releases/FreeCAD-1-1:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved: Tested The PR was manually tested and approved backport releases/FreeCAD-1-1 Applied to a PR that is on main to trigger the automatic creation of another PR onto 1.1 Mod: Part Design Related to the Part Design Workbench Type: Bug This issue or PR is related to a bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

PartDesign: Polar pattern transform body wrong preview

5 participants