Was looking for some help solving an issue i’m running into. What I have is a pencil that is made up of a clipping mask. When I expand the shape and merge it, it looks all messed up. I’m trying to merge it so I can divide it.
The top pencil is before expand and merge. The bottom pencil is after.
You have several clipping masks there; the lead tip, the tapered naked wood, and the eraser.
Go back to the original state and Ungroup if necessary, then select just one masked object at a time and use the Pathfinder > Crop function to apply and eliminate each respective clipping mask. (You won’t see a visible change on the artboard, but Layers panel shows the difference.)
For instance:
Click on the eraser shape to select the masked object.
Click the Crop button in the Pathfinder panel.
This will “crop” the underlying object to the confines of the mask and leave just the new, mask-shaped object.
Repeat individually for the other masked objects.
After that, you’ll get a more viable result from your Expand operations.
Of course I thought the same thing, but it occurred to me that maybe the pencil graphic wasn’t originally built by the OP. A lot of clipart-type items come with odd constructs like this.
It looks to me like you have multiple clipping masks, perhaps nested in an outer one.
Right, the end product required no use of clipping masks whatsoever. In fact the clipping masks themselves constitute the composition, and could each have just contained its respective fill, as opposed to masking another object containing that fill.