The part where the side must be narrowed. If I select all the objects and narrow them together it works out fine. However, if I group them first and narrow the group things get out of alignment. In the gif I do it without grouping first and then after grouping. You can see the misalignment. Note the layers and objects dialog to see when I created the group with Ctrl+G
Scaling groups will scale the stroke. Just how it is.
You mean that misalignment comes from changes in stroke width and its consequences on bounding box : that's it ?
If I understand :
When stroke scaling option (see pic) is disabled, individual objects or selection of individual objects keep their stroke width (and thus their bounding box alignement), whatever the proportions of horizontal or vertical scaling (ratio).
For groups, if ratio isn't preserved, stroke width is resized as if the stroke scaling option was enabled ?
That makes the problem clearer, it's worse than it seemed. What I did in the GIF I tried both with "scale stroke width" turned on and off and it got misaligned horizontally all the same. Now I see that when it's off things get messed up vertically as well. Too bad. Very strange indeed, it has to be a bug
Not a bug, it is the result of transforms being retained on groups. The paths data nested in the group is not transformed, and thus the "scale stroke with path" is not respected.
The Enter group command and then select all, I see. But how about if a group has subgroups? If you enter a group with subgroups, and Select All, the subgroups will be selected instead of the objects. Is there a way to select all the objects instead? Just asking in case you or someone else knows the trick.
It also allows strange strokes behaviors : sometime interesting, perhaps : once you scaledย the circle-in-a-group, you can select the circle in the group and modify it, it keeps it's deformed stroke. Just ungroup the group containing this circle, it recovers an even stroke.ย
I am checking the cardbox example/tutorial.
The part where the side must be narrowed. If I select all the objects and narrow them together it works out fine. However, if I group them first and narrow the group things get out of alignment. In the gif I do it without grouping first and then after grouping. You can see the misalignment. Note the layers and objects dialog to see when I created the group with Ctrl+G
Is this some bug?
ย
Scaling groups will scale the stroke. Just how it is.
You mean that misalignment comes from changes in stroke width and its consequences on bounding box : that's it ?
If I understand :
It's quite strange.
That makes the problem clearer, it's worse than it seemed. What I did in the GIF I tried both with "scale stroke width" turned on and off and it got misaligned horizontally all the same. Now I see that when it's off things get messed up vertically as well. Too bad. Very strange indeed, it has to be a bug
ย
Not a bug, it is the result of transforms being retained on groups. The paths data nested in the group is not transformed, and thus the "scale stroke with path" is not respected.
How do you do what I was trying to do in the GIF with the group, then?
I could only do it by transforming each object individually, which is OK in this simple exercise. But what if it was a big complex group?
It kinda boils down to "it is what it is...".ย ย
It is not particularly outrageous to enter a group, select-all and transform, regardless of how many objects there are.ย
Sure, complex designs have complex issues. It only stands to reason.
The Enter group command and then select all, I see. But how about if a group has subgroups? If you enter a group with subgroups, and Select All, the subgroups will be selected instead of the objects. Is there a way to select all the objects instead? Just asking in case you or someone else knows the trick.
It also allows strange strokes behaviors : sometime interesting, perhaps : once you scaledย the circle-in-a-group, you can select the circle in the group and modify it, it keeps it's deformed stroke. Just ungroup the group containing this circle, it recovers an even stroke.ย
ย
wow, it does. I think I'll never use strokes again unless absolutely necessary.
BTW, I'm not getting notifications about replies to my own threads. I have to check them out manually.
Is my account ok?