Recalculate bounding box #4778
Unanswered
danilokrulj
asked this question in
Q&A
Replies: 1 comment 2 replies
-
First off, very nice use of MV's advanced features! Please feel free to share your site on our show & tell or on twitter and @modelviewer. The bounding box gets recalcuated by |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, has anyone had the need to recalculate objects bounding box at some point? I show/hide parts of the model which changes the models height, but the dimension hotspot guides stay the same. I would like to recalculate the bounding box and redraw the dimension lines when the changes happen.
I guess I could change the values of the hotspots manually for this case but I was wondering is there a better / faster way to do this?
Example images:
![image_2024_05_17T08_28_55_284Z](https://private-user-images.githubusercontent.com/92090684/331521135-5f88e5dc-5d7f-4367-958d-2f117c27e4a6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg3MzI5MDAsIm5iZiI6MTcxODczMjYwMCwicGF0aCI6Ii85MjA5MDY4NC8zMzE1MjExMzUtNWY4OGU1ZGMtNWQ3Zi00MzY3LTk1OGQtMmYxMTdjMjdlNGE2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE4VDE3NDMyMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZkYzZkNmM1ZWU5NTc5MjFlODk3ZWQ3NjI0MzU1MTk2ODZlNDkwODVlMjdhMGM2NTFkMGJjOGU5YzI5ZmI5YTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ByldUYMr-6iE6t6yZkiIVovdvRZHOCrtE9zwSXuXHMM)
![image_2024_05_17T08_29_04_729Z](https://private-user-images.githubusercontent.com/92090684/331521147-925243b6-6710-4f80-8852-1c6fd0c8b0df.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg3MzI5MDAsIm5iZiI6MTcxODczMjYwMCwicGF0aCI6Ii85MjA5MDY4NC8zMzE1MjExNDctOTI1MjQzYjYtNjcxMC00ZjgwLTg4NTItMWM2ZmQwYzhiMGRmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE4VDE3NDMyMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFkY2Y5OGMxNDE5ODkyN2RmNWVhYTAwMTUwNmY1ZmY3YWQwMjU5NjI5NzU5ZTcxNzNkNjViMTRmMzEzZTliNjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.-LC0d-FJZOvurP08UwjcMJz0Bdid23W3wlcoIpZBZug)
Beta Was this translation helpful? Give feedback.
All reactions