Stroke is sticking out of the shape

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

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

Stroke is sticking out of the shape

Postby Jedi » Tue Apr 03, 2018 12:33 pm

Image

How do i make it stay inside of the shape?
Jedi
 
Posts: 4
Joined: Wed Aug 09, 2017 1:53 pm

Re: Stroke is sticking out of the shape

Postby hayasidist » Tue Apr 03, 2018 12:57 pm

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
User avatar
hayasidist
 
Posts: 1805
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Stroke is sticking out of the shape

Postby Jedi » Tue Apr 03, 2018 5:58 pm

Yeah, but as you said that's not a perfect decision since it's depends of angle.. is it the only way?
Jedi
 
Posts: 4
Joined: Wed Aug 09, 2017 1:53 pm

Re: Stroke is sticking out of the shape

Postby slowtiger » Tue Apr 03, 2018 6:04 pm

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 RAM OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB RAM OS 10.11 Quicktime 10.7.3
User avatar
slowtiger
 
Posts: 5176
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany

Re: Stroke is sticking out of the shape

Postby will_f » Tue Apr 03, 2018 6:17 pm

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.
will_f
 
Posts: 24
Joined: Sun Jan 15, 2017 12:58 am

Re: Stroke is sticking out of the shape

Postby slowtiger » Tue Apr 03, 2018 7:54 pm

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 RAM OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB RAM OS 10.11 Quicktime 10.7.3
User avatar
slowtiger
 
Posts: 5176
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany

Re: Stroke is sticking out of the shape

Postby Greenlaw » Tue Apr 03, 2018 9:09 pm

If you need to trim the line perfectly, you might consider using the purple shape as a mask.
D.R. Greenlaw
Artist/Partner - Little Green Dog | Greenlaw's 2017 Demo Reel

Image
User avatar
Greenlaw
 
Posts: 3332
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles

Re: Stroke is sticking out of the shape

Postby hayasidist » Wed Apr 04, 2018 10:15 am

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.
User avatar
hayasidist
 
Posts: 1805
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England


Return to How Do I...?

Who is online

Users browsing this forum: No registered users and 1 guest