ENH: add timelapse pos picker

1. refine code structure
2. prevent moving tool head between camera and object
3. consider raft layer

jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ic0004791bfd4036d4323045a041709d861e5c8d0
(cherry picked from commit 7dc269f99473421162ad89c555bfac7ace0e9a6b)
This commit is contained in:
xun.zhang
2025-03-25 14:51:45 +08:00
committed by Noisyfox
parent 5647312a16
commit b5756d1702
8 changed files with 504 additions and 8 deletions

View File

@@ -4638,7 +4638,7 @@ int Print::load_cached_data(const std::string& directory)
return ret;
}
BoundingBoxf3 PrintInstance::get_bounding_box() {
BoundingBoxf3 PrintInstance::get_bounding_box() const {
return print_object->model_object()->instance_bounding_box(*model_instance, false);
}