Skip to content

Hatch boundaries non linear scaling boundaries#1008

Open
Mikolaj505 wants to merge 2 commits intoDomCR:masterfrom
Mikolaj505:hatch-boundaries-non-linear-scaling-boundaries
Open

Hatch boundaries non linear scaling boundaries#1008
Mikolaj505 wants to merge 2 commits intoDomCR:masterfrom
Mikolaj505:hatch-boundaries-non-linear-scaling-boundaries

Conversation

@Mikolaj505
Copy link
Copy Markdown
Contributor

Description

Both Hatch.BoundaryPath.Arc and Hatch.BoundaryPart.Ellipse was not handling non-linear scaling when ApplyingTransform. I think the most proper way should be like in this PR -> reconstrucing Ellipse / Arc from points, after applying the non uniform scales.

It clearer words, when applying a scale (1.5, 2, 2) to a circle, one cannot just scale the radius by some value. The circle would change it's shape. Similiar here.

@DomCR DomCR self-requested a review March 24, 2026 08:35
@DomCR DomCR added the bug Something isn't working label Mar 24, 2026
@DomCR
Copy link
Copy Markdown
Owner

DomCR commented Mar 24, 2026

Hi @Mikolaj505,

This change is not needed for the Hatch.BoundaryPath.Arc, due it will always have a ratio of 1, if the user needs an elliptical arc it must always use ellipse instead, but throwing an exception after the check it will cause an unnecessary complexity in the code.

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants