Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to inset/taper rectangle top uniformly?

New Here ,
Sep 10, 2024 Sep 10, 2024

Hello, so I've created a rectangle, and I'd like the top left & right corners inset, say...  8 pixels on both the left & right side.  What would be the best way to do so?

I can use the pen tool and manipulate each anchor point individually, guesstimating visually how far I've inset each one, but is there a better way?  I'd like to be able to use something to inset the top left & right anchor points by, say...  8 pixels.  How would I do so?  I can select each one with the pen tool individually, and use the left and right arrow pad buttons to do a specific amount, but it seems very tedious.  Is there a better way?  I'd imagine there should be a way to select each anchor point, and specify it's absolute X/Y values, but it only seems to work for the overall shape?


Thanks for any help!

TOPICS
How to
280
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 11, 2024 Sep 11, 2024

In Ae you can't directly access the position properties of vertices (anchor points) in the interface.

So there is no way I have ever seen of doing this natively that isn't tedious.

 

In most situations I would probably just do what you suggested using the arrow keys:

1. Select the two anchor points at the top of the rectangle

2. Double-click on one of them to add a bounding box to transform them.

3. Hold Cmd (ctrl if yo are on windows) and drag the one of the Anchor points towards the other. They will both scale towards the center. 

But this makes you do it by eye.

 

There are addons like penpal (https://aescripts.com/penpal/)  that can make it easier to work with vertices in AE but they aren't free.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 12, 2024 Sep 12, 2024

Create Nulls for the mask using the respective script function, animate the Null positions.

 

Mylenium

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 12, 2024 Sep 12, 2024
LATEST

This may work.

1. Make a solid layer to the dimensions you want your square/rectangle to be.

2. Add the Corner Pin effect to it.

3. The effect lets you adjust the position of the coeners using pixel values

 

If you really want to use a shape layer I would precomp it otherwise Corner pin tends to offset it's position.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines