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

Trim lines

Explorer ,
Feb 17, 2018 Feb 17, 2018

Hi,

So I made a shape with lines, but I want to cut them so they align nicely with the shape (hexagon).
What is the best way to do this?
Screen Shot 2018-02-17 at 14.03.31.png

Also for example with this one:Screen Shot 2018-02-17 at 14.03.52.png

1.6K
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

correct answers 1 Correct answer

Community Expert , Feb 17, 2018 Feb 17, 2018

If Monika Gause​ answer doesn't work so you can use this:

1- select all of your lines.

2- Go to Object>Path>Outline stroke

4- Select all lines and shapes

5- Select the Shape Builder Tool

6- Alt+Click + Drag the line shape you don't need.

Translate
Adobe
Community Expert ,
Feb 17, 2018 Feb 17, 2018

"The best" depends upon what you need to do with the artwork.

In most situations a clipping mask should do what you need. You could select all the lines, then Edit > Cut, then select the black shape, go into Draw inside mode by pressing Shift+D twice. Then paste in Place

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
Explorer ,
Feb 17, 2018 Feb 17, 2018

Hi Monica,
Thank you for your answer. The clipping mask gives the same result as the other option you suggested.
The lines are trimmed, you only can see they where there when you hoover over with your mouse (see image below).
Any ideas or solutions for that?
Screen Shot 2018-02-17 at 17.32.37.png

Thank you so much!

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 ,
Feb 17, 2018 Feb 17, 2018

When you cut away live strokes, you will get those overlapping corners. So you would have to first outline the strokes and then use the shapebuilder tool (or similar). That's why I asked what you need this for.

Usually clipping masks are not an issue.

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 ,
Feb 18, 2018 Feb 18, 2018
LATEST

I an suggest you to use Blend tool.

Draw hexagon and then place two lines ,place two edge lines (of the triangle)Capture.PNG and then use blend tool. You can control number of lines , or distance between lines  in Blend Panel. See attachment.

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 ,
Feb 17, 2018 Feb 17, 2018

Hey there

You could also select the hexagon and the lines, pick up the Shape Builder Tool, and alt/option drag across the lines that you want to trim away.

Hope that helps.

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
Explorer ,
Feb 17, 2018 Feb 17, 2018

Thanks for your tip Tony. I just tried it but doesn't seem to work unfortunately

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 ,
Feb 17, 2018 Feb 17, 2018

If Monika Gause​ answer doesn't work so you can use this:

1- select all of your lines.

2- Go to Object>Path>Outline stroke

4- Select all lines and shapes

5- Select the Shape Builder Tool

6- Alt+Click + Drag the line shape you don't need.

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