|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Multiplier plugin » » » » Post: Re: Multiplier plugin |
Print at Dec 17, 2025, 10:46:11 PM |
| Posted by Keet at Jan 18, 2024, 10:05:31 PM |
|
Re: Multiplier plugin I did some more testing and it's getting stranger. I multiplied a simple group of 5 boxes 5 times. The resulting M-group now contains 25 individual boxes AND 5 groups of 5 boxes. I can select one of the individual boxes in the M-group by clicking in the furniture list but I can not click in one of the generated groups. Trying to click a box in a group in the M-group selects the group, not the individual box. It's as if the group is empty but still lists 5 boxes. I suspect that is the basis for the problem. Either make sure the boxes remain in a group or don't multiply the groups but only the objects in it. It still gets weirder :D When I move the M-group in the 2Dview it looks like a copy of the M-group jumps all over the 3Dview while the original M-group remains displayed in the 3Dview. You can no longer select it so I assume that the display is no longer connected to an actual group/object. Worse, at some point I lost all levels except the current one. By-the-way, if you don't group in an M-group the problem is more or less the same: multiple individual objects and multiple generated groups. Now you can click on a box in a generated group: it will select the individual box that is supposed to be in that group :D There are two possible ways to solve this: 1. Make sure to first ungroup until you only have individual objects in the selection. 2. Try to really multiply with groups where the resulting M-group contains multiplied groups. @1: This is a quick fix that should be easy and should be in a fixed version very soon because my testing caused lost levels and the 3Dview gets messed up. (The levels returned after quit without save and reopening.) Make sure you also check and ungroup nested groups until you only have individual objects in the selection. @2. I have no idea if this is easy or difficult. If groups are handled properly like groups then all of the other problems will probably be solved. But that's different from how you now handle multiplying. It gets more complicated if the user selects a few single objects AND a group AND a group with other groups in it. When you start testing yourself also try to cut the boxes that are supposed to be in a group: The boxes are cut but the 'empty' group you want to past into also disappears. Somewhere a little of the parent-child relation of group and boxes is still there. I think the problem lies in the connection between the actual objects and the display in both the 2Dview and the 3Dview, and of course the furniture list. I can't reproduce it but after some moving I selected a box in the M-group and it showed an outline in the 2Dview where nothing was. The outline still represented an object and I could modify furniture and rotate. But of course there was nothing to see because the object didn't show in the 2Dview anyway, just the selection outline. I think that is where I lost the levels. The solution is probably making sure the objects that belong in a group really are stored in that group OR don't support groups at all. ---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects |
|
|
Current timezone is GMT Dec 17, 2025, 10:46:11 PM |