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

Picking for measurement tools or "show shape properties" does not honor clipping planes #55

Closed
MatthiasJ1 opened this issue Feb 8, 2024 · 4 comments
Labels
wontfix This will not be worked on

Comments

@MatthiasJ1
Copy link

Occlude a feature with a shape and then hide that shape using the Clipping tab. Attempting to select the feature will only select the occluding shape.

@bernhard-42
Copy link
Owner

Clipping isn't meant to fully hide objects. Please use the eye/mesh buttons for that.
The two views "Tree" and "Clipping" solve different tasks

@MatthiasJ1
Copy link
Author

In my scenario, I have a single object which has interior features. I wanted to use the measuring tools to inspect an internal face so naturally I used the clipping planes feature to expose the interior. When I attempt to select the clearly visible interior feature, it selects the non-visible exterior feature.

@bernhard-42 bernhard-42 added the wontfix This will not be worked on label Feb 10, 2024
@bernhard-42
Copy link
Owner

Understood, but afaik, this is not how threejs works. Clipping and hiding are different concepts. As far as I understand, clipping tells the renderer which part of the object to render, hiding will remove it temporarily from the scene. Selecting works with raycasting and the rays bypass hidden objects, but not clipped objects.
I am not sure I really understand these aspects, however, I use threejs mostly as is and don't / can't change its behaviour.

Alternatively, show object.faces() instead of object for the surrounding object, then you can remove the faces that are in the way

@bernhard-42
Copy link
Owner

Will close now, since clipping is disabled in measure mode anyhow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants