Damir Galeev
80bfb59837
Fix false "Multi-part object detected" question; rotate imported layout as a whole ( #17096 )
...
Turn imported layout as one piece and keep objects in place when centering
Preferred orientation turned every imported object around its own part
origins and then centered it in X, Y and Z without moving its instance.
Objects sank by half their height before the multi-part check, which then
asked about objects standing on the bed, AMF objects shifted by the
offset of their mesh from the file origin, and multi-part objects fell
apart at non-zero angles.
Model::rotate_and_center_objects() turns the file's content as one piece,
around the placed layout's center, or around the file origin for objects
without instances, and centers every placed object with its instances
compensating the shift, so nothing moves and origin_translation keeps
recording only uncompensated centering. Unplaced objects are centered in
XY only, as before minus Z, until they are placed.
Fixes #17084
2026-11-09 20:20:18 +08:00
..
2026-11-04 19:09:57 +08:00
2026-10-03 13:45:21 +08:00
2026-11-03 14:14:17 +08:00
2026-10-05 16:47:17 +08:00
2026-10-19 12:05:55 -03:00
2026-11-07 14:24:08 -06:00
2026-11-07 11:32:51 -03:00
2026-10-07 14:22:32 +08:00
2026-11-01 02:35:55 +08:00
2026-10-04 14:50:15 +08:00
2026-10-03 13:45:21 +08:00
2026-10-05 23:06:01 -05:00
2026-10-05 16:47:17 +08:00
2026-10-07 14:22:32 +08:00
2026-10-05 16:47:17 +08:00
2026-10-03 13:45:21 +08:00
2026-11-08 15:01:52 +08:00
2026-10-08 13:40:36 +08:00
2026-10-30 18:38:40 -03:00
2026-10-21 22:12:48 +08:00
2026-10-26 22:45:30 +08:00
2026-10-03 13:45:21 +08:00
2026-10-19 20:44:24 -05:00
2026-10-03 13:45:21 +08:00
2026-11-06 22:39:38 -03:00
2026-10-27 18:33:28 -05:00
2026-10-21 16:08:29 -03:00
2026-10-21 16:08:29 -03:00
2026-10-04 14:50:15 +08:00
2026-10-10 16:03:34 -03:00
2026-10-03 13:45:21 +08:00
2026-10-10 01:44:42 -04:00
2026-10-13 10:53:57 -03:00
2026-10-29 15:48:04 -05:00
2026-11-03 14:14:17 +08:00
2026-10-26 15:01:47 -03:00
2026-10-05 21:49:32 -03:00
2026-10-11 22:36:16 -03:00
2026-10-20 18:24:23 +08:00
2026-10-30 22:00:00 -05:00
2026-10-31 20:35:45 +08:00
2026-10-07 14:22:32 +08:00
2026-10-12 21:59:17 -03:00
2026-11-01 14:20:34 -06:00
2026-11-06 16:44:11 -06:00
2026-10-16 18:47:49 +08:00
2026-11-09 20:20:18 +08:00
2026-10-05 16:47:17 +08:00
2026-10-03 13:45:21 +08:00
2026-10-03 13:45:21 +08:00
2026-10-03 13:45:21 +08:00
2026-10-03 13:45:21 +08:00
2026-10-05 16:47:17 +08:00
2026-10-19 15:53:32 -03:00
2026-10-03 13:45:21 +08:00
2026-11-04 19:09:57 +08:00
2026-10-26 13:45:55 -05:00
2025-12-08 22:42:11 +08:00
2026-10-09 11:52:55 +08:00
2026-10-05 16:47:17 +08:00
2026-10-05 16:47:17 +08:00
2026-10-05 14:19:47 +08:00
2026-11-06 09:23:38 -06:00
2026-10-29 07:01:55 -05:00
2026-10-03 13:45:21 +08:00
2026-10-03 13:45:21 +08:00
2026-10-29 13:37:23 +08:00
2026-10-24 11:10:48 -03:00
2026-10-23 16:28:34 +08:00
2026-10-19 15:53:32 -03:00
2026-10-05 16:47:17 +08:00
2026-10-05 18:29:35 +08:00
2026-10-03 13:45:21 +08:00
2026-10-03 13:45:21 +08:00
2026-10-03 13:45:21 +08:00
2026-10-03 13:45:21 +08:00
2026-11-03 14:14:17 +08:00
2026-10-05 14:19:47 +08:00
2026-10-22 18:27:32 +08:00
2026-10-24 16:11:01 -05:00
2026-11-01 17:54:09 +08:00
2026-11-04 21:45:25 +08:00
2026-10-28 10:06:29 -05:00
2026-10-03 13:45:21 +08:00
2026-10-04 14:50:15 +08:00
2026-10-26 14:02:54 +08:00
2026-11-02 17:20:33 +08:00
2026-10-07 14:22:32 +08:00
2026-11-03 21:41:16 -03:00
2026-10-22 13:19:51 +08:00
2026-10-05 16:47:17 +08:00
2026-10-19 20:30:03 -03:00
2026-10-19 20:30:03 -03:00