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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MjQ2NTAsIm5iZiI6MTczOTYyNDM1MCwicGF0aCI6Ii85MjA5MDY4NC8zMzE1MjExMzUtNWY4OGU1ZGMtNWQ3Zi00MzY3LTk1OGQtMmYxMTdjMjdlNGE2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDEyNTkxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI0ODk5ZWFhYWYwMzQ0OWE3MjU0MDA4MjI2MjRkY2QyMzY4MzhiZjgyODA5MGUzNjUzMzliYjIzZDg4YmFlMDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ssdEf9J_ZD5tb9f0CDnSNHQyTBHBTvNR9Z4HFA52QiQ)
![image_2024_05_17T08_29_04_729Z](https://private-user-images.githubusercontent.com/92090684/331521147-925243b6-6710-4f80-8852-1c6fd0c8b0df.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MjQ2NTAsIm5iZiI6MTczOTYyNDM1MCwicGF0aCI6Ii85MjA5MDY4NC8zMzE1MjExNDctOTI1MjQzYjYtNjcxMC00ZjgwLTg4NTItMWM2ZmQwYzhiMGRmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDEyNTkxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYwZmRmNjIxMmE0MGUxYTI1Y2Q2YmNlNjk1YzBjNGNmMjgzNjU3ZjYxODI1OTc3YTNjYWI0MWRmOTRlNzAzYTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.HXdCSqRbs49Ql6lXN1HyXOpvlJCnBR8KWeoxmV8lIGM)
Beta Was this translation helpful? Give feedback.
All reactions