InteractiveClipping plugin anomaly
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
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
Hi Adam works for me too thank you very much andrea
On Tue, Apr 6, 2021 at 8:53 PM Adam Stefan Costa @.***> wrote:
Hi...
The above code works 4 me (interactive-clipping.ts):
//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— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/xBimTeam/XbimWebUI/issues/333#issuecomment-814361794, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKRWMTA23OCIAMVE2D4KN3THNKBNANCNFSM42CABOVQ .
You welcome Andrea!
Glad I can help you.