Stroke is sticking out of the shape

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
Jedi
Posts: 4
Joined: Wed Aug 09, 2017 1:53 pm

Stroke is sticking out of the shape

Post by Jedi »

Image

How do i make it stay inside of the shape?
User avatar
hayasidist
Posts: 3492
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Stroke is sticking out of the shape

Post by hayasidist »

select the shape that contains that line / style window / advanced / clear the round caps checkbox

that will work best when the line joins the outer shape at right angles.

hth
Jedi
Posts: 4
Joined: Wed Aug 09, 2017 1:53 pm

Re: Stroke is sticking out of the shape

Post by Jedi »

Yeah, but as you said that's not a perfect decision since it's depends of angle.. is it the only way?
User avatar
slowtiger
Posts: 6067
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Re: Stroke is sticking out of the shape

Post by slowtiger »

1. The endpoint of the stroke doesn't need to be exacly on the line. Depending on the size of the object (you don't give any indication), this might be good enough, not visible.
2. If this is something important and will be visible while zoomed in, you could use a distorted black rectangle, of which the points can align perfectly with the outline.
AS 9.5 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15

Moho 14.1 Mac Mini Plus OS 13.5
will_f
Posts: 26
Joined: Sun Jan 15, 2017 12:58 am

Re: Stroke is sticking out of the shape

Post by will_f »

Jedi, you also could try this:

1. Place another point on the same black line, about a millimeter or two from the point in question.

2. Then select the hide line segment tool (H) and click on the segment closest to the edge.

3. You may have to slide the new point you created a bit to one side or the other, in order to get it to line up correctly.

Make sure you go back and rebind all points to their appropriate bones, if you had gotten that far.

Good luck.
User avatar
slowtiger
Posts: 6067
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Re: Stroke is sticking out of the shape

Post by slowtiger »

will_f wrote: 1. Place another point on the same black line, about a millimeter or two from the point in question.
2. Then select the hide line segment tool (H) and click on the segment closest to the edge.
3. You may have to slide the new point you created a bit to one side or the other, in order to get it to line up correctly.
Woah, that's a nice little trick! Still, the angle of the end will not necessarily correspond to the outline.
AS 9.5 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15

Moho 14.1 Mac Mini Plus OS 13.5
User avatar
Greenlaw
Posts: 9192
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Stroke is sticking out of the shape

Post by Greenlaw »

If you need to trim the line perfectly, you might consider using the purple shape as a mask.
User avatar
hayasidist
Posts: 3492
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Stroke is sticking out of the shape

Post by hayasidist »

you could use the Bezier handles to adjust the precise shapes of the lines if the exact shape isn't critical (and maybe add a point or two to the outline and/or the traversing line to help you to make a right-angled connection - no need in this case to hide short line segments)...

many ways to solve this.
Post Reply