Finding The Missing Dot
our traces indicate that we are missing a critical dot. in this video we will explore and understand why we are missing a dot and then track it down and add it to our points vector.
Video Transcript
00:00Now we could even you know, let's just
00:04We could delete all this we just don't need it really we're gonna look deeper into this in a second
00:10So first of all if our line is the same you want to draw the BG
00:13Not only do you want to draw the BG we want to take our path and want to add it into our corners
00:17And how do we gonna do that? We're just gonna create a new vector
00:21And we're gonna just add into the vector. We're gonna split our line into two segments
00:26Basically with the segments that we want to split it into we want to split it into two
00:30So let's just first split our vector first of all we're gonna just create just a few traces because it always makes our life easier
00:36I'm just gonna do a little trace first race is gonna be our
00:39corners and our corners is our V corners
00:48Nexus we want to start splicing so
00:51Slice one is going to be our V whoops
00:55Up and down up and down. It's gonna be our V corners from where until where because we're in the exact same a line
01:02That didn't change really what we know is that we want to take everything that's until a and then everything that's from B
01:09So really what we want is we want to take our corners, and we want to slice
01:14from the beginning
01:16All the way to a or maybe a plus one. Let's see if a is enough or we want a plus one
01:22alright, so let's try it first with a and
01:25We'll just do the same thing quickly just create that slice to just so we could see all the pieces before we glue them up together
01:34Alright, so here. We are at dot two and
01:39In dot two we want to take a same thing
01:41But instead of that we want to slice from B all the way to the end
01:45So B all the way then would do that and let's just give this a little trace for a second
01:50Yeah, what are we missing here? We're missing here a comma
01:57That should sort that out pressure period extra spaces so we could see what's going on
02:02Alright, so let's see this in action
02:04So first of all we're having an issue. We're not getting that trace that we were hoping to get
02:15That's not too good, right, so let's see what's going on here first of all
02:20Well first of all we deleted that draw which is seems that that means that our aa is not happening
02:26So let's do your quick trace. It's just a trick trace
02:31To see what is the value of this value that we're getting here. Oh
02:41Right yeah, sorry about that because we're not actually we're not closing a circle right we said we're for now
02:47It's only going to create it when we create a full rectangle, so we have to go right back to the first line alright great
02:53That's why we didn't solve any other scenarios yet
02:56Alright, so let's see if this is good enough so first we could see already that it's not right because our corners
03:01We should be at 2 3 which is 0 1 2 3 so we should get this should be our first segment
03:07This should be our second segment second segment looks like it's fine
03:11First segment we need one more, so we just have to go to our new line a and just add one to it
03:17All right, so that should sort that problem out
03:22All right, so we're one step further, so we know this is our first slice
03:25Second slice and really the next part that's left is to put in between these two slices our path
03:32Now we still have one more problem
03:36This is gonna be a little bit hard to see again, but we're gonna make it work
03:40So first of all if I'm going forwards then no biggie, right?
03:44I'm just gonna grab this just so we could see this really really nicely
03:47I'm just gonna open a new flash file, so it's easy to break this apart
03:51All right, so first of all our first corner great second corner great now
03:58X 155 and 480 is that the right dot that goes right here. Let's see first of all
04:05155 480 480 seems like that's about right, but that number is a little bit too high, right?
04:17All right, but it is it does seem right that value
04:25We're gonna have to fix this, but it is in the right right place so first of all 480 is really a 478
04:30We were hoping for and that really puts us in this perfect spot where our 318 478
04:37X that's exactly where it should go now because our X is also between 318 and 2
04:44now another way around what would be
04:48Well is this really the right direction actually because when we're looking at this
04:54We have your two
04:56Two problems right first of all these numbers seem to not really work
05:02Right here because when I'm looking at this I'm seeing here my X is 155 480
05:08Now the last dot that we were at right now is 318
05:13478 and that is this stuff. It's like the biggest number right?
05:17We're in the biggest number that what we would expect now is a big number. That's a little bit smaller
05:23But at the same time we would be expecting to have two of them
05:26We'd be expecting to have one here one here that are all sharing the same Y
05:32Sorry the same X, so we're looking for something that's sharing. It should be sharing the same X on both edges
05:38But on that but we're seeing here that we're having here some extra information that doesn't really match our hopes
05:47Let's try to visualize this so even if I just take these numbers of 155 by 480
05:55155 by 480 so 155 would be this way 480 would be really low
06:02The next step would be 155
06:04479 so already I'm seeing here that I'm having one more than I would want to have there's like a call here
06:10That's just not relevant and then I have here another call, which is 155
06:18379 and
06:20I'm missing a dot. That's what's happening. I'm missing a dot
06:23What is the dot that I'm missing the dot that I'm missing here seems to be that extra push that extra?
06:30Point that our current BG that we probably added here when we drew we probably moved to here
06:36we go we moved directly into this X position and
06:40Then we lined right into there as well, so
06:44even though technically our X is fine our
06:49Ending point isn't because we really wanted to be in a scenario
06:54Where we're back to that 480 line or at least that we have two X's that are the same in the beginning and then then
07:00Or two Y's that are the same so we should have had here a correlation that it's the same so to sort that out
07:05We probably need to add into before we even start working with our view paths. We want to probably push into it
07:12Whoopsie, they're gonna change a few things around a bit, so we're gonna push into it a new dot
07:21new point
07:22Let's see what values first of all those point that point is going to be that X and Y coordinates
07:27So those X and Y coordinates are that dot X dot Y
07:31So that's added to the end now
07:37We probably will not need this line anymore because we're going through all of the different points
07:43So let's see if let's see if now this helped us a bit
07:47All right, so let's see the values again
07:50And let's see if we're getting now numbers that are helping us more so first of all we have here that are our
07:56Why now is the same even though? It's not exactly the same. It's almost the same so this is more
08:01Realistic and we have your X that's 155 and an X that's 116 perfect, so this is exactly what we would hope for
