Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Fix bug where SectionPlanes are clipping DistanceMeasurements too coarsely #180

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

xeolabs
Copy link
Member

@xeolabs xeolabs commented Apr 1, 2024

SectionPlanes clipping distance measurements too coarsely.

A DistanceMeasurement is designed to become entirely invisible whenever either of its end points are clipped by a SectionPlane.

When clipping a SectionPlane, we are clipping the end points, but are also incorrectly clipping the intermediate points that are used when showing the X,Y,Z axis.

For some cases, this has the undesirable effect of causing DistanceMeasurements to be clipped when a SectionPlane is actually far away from the end points.

Screencast.from.01.04.2024.18.08.42.webm

@xeolabs xeolabs merged commit 03465e4 into master Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant