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

InteractiveClipping plugin anomaly #333

Open
theextremeandy opened this issue Mar 30, 2021 · 3 comments
Open

InteractiveClipping plugin anomaly #333

theextremeandy opened this issue Mar 30, 2021 · 3 comments

Comments

@theextremeandy
Copy link

Hi
we are testing the InteractiveClipping plugin, with the sample SampleHouse model
after positioning the line and clicking, the model disappears completely

we observed that in this typescript version there is no difference between the clippingPlaneA and clippingPlaneB functions and the clippingPlane function of the javascript version

can you please check on your work?

are there any suggestions to understand the reason for the anomaly?

Thanks in advance

Version of the xBIM Viewer: ^2.0.1-pre202103091921

@adam9000
Copy link

adam9000 commented Apr 6, 2021

Hi...

This code works 4 me (interactive-clipping.ts line 124):

        //Compute normal in WCS
        var BA = vec3.subtract(vec3.create(), A, B);
        var BC = vec3.subtract(vec3.create(), C, B);
        var N = vec3.normalize(vec3.create(),vec3.cross(vec3.create(), BA, BC));
        //https://github.com/xBimTeam/XbimWebUI/issues/310

@theextremeandy
Copy link
Author

theextremeandy commented Apr 7, 2021 via email

@adam9000
Copy link

You welcome Andrea!

Glad I can help you.

tomlee-dev pushed a commit to ictway/XbimWebUI that referenced this issue Mar 29, 2023
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

No branches or pull requests

2 participants