Skip to main content
Danny51
Inspiring
September 1, 2023
Resuelto

Crop effect to shape layer and not entire artboard?

  • September 1, 2023
  • 2 respuestas
  • 1453 visualizaciones

Okay I have no idea how to better formulate this or even search for this:

I have several vector shapes that I turned into shape layers in After Effects. And the bounding boxes of those shapes are only surrounding the shape, as they should - but when I want to apply an effect, for example corner pin, the bounding box is suddenly the size of the whole canvas.

How do I get the pins to be on the outside corners of the shape and not the canvas?

 

I hope the gif clarifies what I mean....

 

Este tema ha sido cerrado para respuestas.
Mejor respuesta de Rick Gerard

The problem with Corner Pin and shape layers is that a shape layer has no dimensions for Corner Pin to look at, so it chooses the comp frame size. 

 

The only reason to convert a vector layer (Illustrator file) to a shape layer is to use shape layer animators, animate the vector path itself, or extrude the layer. If you are not doing any of those things, don't convert the layer to a shape layer. Converting fouls up brushes, blends, gradients, a bunch of other Illustrator tools, and render time actually increases a little bit. 

 

If you absolutely need to create a shape layer from an Illustrator layer and you want to use Corner Pin, the only option is to pre-compose the Shape layer, open the Pre-comp, use the Region Of Interest tool to include only the shape layer boundaries, then choose Composition/Crop Composition to Region of interest menu.  This will put the corners at the corners of the nested comp, but as soon as you Collapse Transformations, the corners will revert to the corners of the composition. The position of the pre-composed shape layer will also change when you crop the comp. 

 

 

2 respuestas

Rick GerardCommunity ExpertRespuesta
Community Expert
September 1, 2023

The problem with Corner Pin and shape layers is that a shape layer has no dimensions for Corner Pin to look at, so it chooses the comp frame size. 

 

The only reason to convert a vector layer (Illustrator file) to a shape layer is to use shape layer animators, animate the vector path itself, or extrude the layer. If you are not doing any of those things, don't convert the layer to a shape layer. Converting fouls up brushes, blends, gradients, a bunch of other Illustrator tools, and render time actually increases a little bit. 

 

If you absolutely need to create a shape layer from an Illustrator layer and you want to use Corner Pin, the only option is to pre-compose the Shape layer, open the Pre-comp, use the Region Of Interest tool to include only the shape layer boundaries, then choose Composition/Crop Composition to Region of interest menu.  This will put the corners at the corners of the nested comp, but as soon as you Collapse Transformations, the corners will revert to the corners of the composition. The position of the pre-composed shape layer will also change when you crop the comp. 

 

 

Giddy_personality5D25
Adobe Employee
Adobe Employee
September 5, 2023

One hack for the illustrator to vector layer issue in AE, if you have XD, open the AI file in XD and under the file menu, under export, you will get an option to export as After Effects file and it creates all the layers as native AE elements other than images and videos if any.

Mylenium
Legend
September 1, 2023

You have to pre-compose and adjust the size of the pre-comp. Effects always use layer bounds. That's just how AE works.

 

Mylenium