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

Keep corners only of a square

New Here ,
Apr 07, 2022 Apr 07, 2022

Copy link to clipboard

Copied

How can I create a square keeping only the cornes? I've tried clipping masks and I end up with the opposite result. 

VikasB838_0-1649356211752.png

 

TOPICS
Draw and design

Views

460

Translate

Translate

Report

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
Adobe
Community Expert ,
Apr 07, 2022 Apr 07, 2022

Copy link to clipboard

Copied

There are probably several ways to go about it, here are the steps for one of them...

  1. Choose the Rectangle tool and draw out the square
  2. With the square still selected, choose Object > Expand Shape
  3. Choose Object > Path > Add Anchor Points
  4. And again, choose Object > Path > Add Anchor Points
  5. With the Direct Select tool, marquee select the center anchor points of the top and bottom sides, press Delete
  6. With the Direct Select tool, marquee select the center anchor points of the left and right sides, press Delete

 

JohnMensinger_1-1649358658830.png

JohnMensinger_2-1649358681160.png

JohnMensinger_3-1649358701671.png

JohnMensinger_4-1649358723965.png

JohnMensinger_5-1649358752267.png

JohnMensinger_6-1649358773538.png

 

Votes

Translate

Translate

Report

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 ,
Apr 07, 2022 Apr 07, 2022

Copy link to clipboard

Copied

If you need finer control over the exact size.

 

Draw  these 3 shapes, option click to enter sizes, and align center on both axis

MikeGondek_0-1649361338029.png

Unite the red shapes, then subtract from the bottom shape using pathfinder. In outline mode with the hollow arrow tool draw a frame to select and delete these 4 points.

MikeGondek_2-1649361482267.png

MikeGondek_3-1649361515900.png

 

 

 

 

 

 

Votes

Translate

Translate

Report

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 ,
Apr 07, 2022 Apr 07, 2022

Copy link to clipboard

Copied

Another method is using a Knockout Group.

Add 2 fill to the stroked rectangle.

Use Effect > Convert to Shape > Rectangle to create 2 rectangles that cover the unwanted stroke areas.

Set the Opacity of both fills to 0%

Set the Opacity option below the Stroke and Fills to Knockout Group.

You can change everything if necessary.

Corners.png

Votes

Translate

Translate

Report

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 ,
Apr 07, 2022 Apr 07, 2022

Copy link to clipboard

Copied

LATEST

Vikas,

 

Based on a stroked path with Butt Cap and Round Join you can also use Dashed line to get the desired appearance with the right values of Dash and Gap as described here,

https://helpx.adobe.com/illustrator/using/stroke-object.html

 

when you search the page for "Align Dashes to Corners and Path Ends, Adjusting Length to Fit"

 

Votes

Translate

Translate

Report

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