Align with preview bounds doesn't work with transform effect copies
I created a gear by creating a circle, then a box for one of the pieces. I created a point in the middle of the circle and grouped the box with that point. Then I used the transform effect on that group to create a circular array. Then I grouped that and added a pathfinder-Add effect to make it one piece, but still keep it nice and editable. Then I punched a hole in the middle by adding another circle, grouping it to that, and adding an effect, pathfinder-Subtract.
I then added two lines of text as one object. Those, of course, don't align to anything useful unless you outline them, so I added an outline effect, again so that it's still editable.
And of course you have to make sure you enable "use preview bounds" in the preferences, or none of this will work.
In the attached file, I expanded the appearance of one of the gears (check with showing outline mode), and you can probably see why it's not working as it should. If you align the text to the gear of the outlined object, it's centered as expected, based on the bounding box of the text (not where I would Actually put it because inside of a round object it looks better to use a circular bounding box, then center it based on that. But there's no tool for that, and this still shows the issue)
For the gear on the right that is build non-destructively, the text is using it's bounding box correctly, but it's not using the preview bounding box of the gear. It's using the bounding box of the original lines Only, even though there are more parts there. And it doesn't matter if you try and outline it either. It still doesn't work.
I narrowed it down to the transform effect and copies. It works with just transform, but it doesn't work on any subsequent copies. But it Should work on the preview bounds of the shape. So this is a bug. Now whether it's a programmer error where they didn't understand the intent, or a software bug of a function, I don't know. But it's still a bug.
-
Thanks for the explanation.
Indeed, Use Preview Bounds does not take the preview bounds of the gear object into consideration when aligned. It gets even more obvious if you make a rectangle larger.
Bug it is.(Edited by admin)