T-Shirt Forums banner

Diagonal lines inside of a rectangle

2394 Views 9 Replies 5 Participants Last post by  jordanm256
I am needing to fill a rectangle with diagonal lines. I can individually create the lines but I am searching for a much quicker method. This is in Adobe Illustrator CS4. Thanks for any input you may have!
1 - 10 of 10 Posts
You can draw the line, click it and hold option + shift and drag it over till you have the spacing you want. After you let go hold command + D and it will repeat what you just did over and over till you let go. As for filling it in a rectangle I'd just use a mask.
  • Like
Reactions: 1
Incredible! Thanks a bunch. I greatly appreciate your reply and I did in about 10 seconds what probably would have taken me quite a while.
Thanks,
JD
what is the hold option?
i've been trying to figure that out to...
I know people are trying to help but... there are several different ways to accomplish things in just about every application. Usually there is the long and tedious way to do things.. and then there is the quick and correct way to do things.. In illustrator, I would use your line segment tool.. Create a line with the stroke weight you want.. create the line in the direction and angle you want it to go.... then edit/copy/edit paste in front.... use your selection tool and move that duplicated line to the location you want it... do not worry about the length of the lines as long as you create them bigger than the rectangle you want to put them in.. it is irrelevant. once you are looking at 2 lines you have created, select them both, then go to your toolbox and select your blend tool... double click on the blend tool and it will open up it's options... select specified steps and choose how many you want... it will create a blend with equal size lines and each line will be perfectly equidistant... once you have your "blend".... create a rectangle directly over those lines,dont forget to duplicate your rectangle cause the first one will dissapear after u use it as the"mask".... using your selection tool, select all the objects, then go to object/ clipping mask/create clipping mask... and the rectangle u made and used as the mask will kind of act like a "cookie cutter" and make the lines fit inside of the rectangle.. then take your masked lines and and align them with the duplicated rectangle that you made and "voila" u have lines inside of your rectangle.. perfect fit.. I use this method all the time.. especially for fire departments who love to have the american flag fit inside of the left chest of the fire department maltese logo. It's the same concept.. I use the pattern (the maltese logo or the rectangle) and use it as the mask to make the underlying image look like it fits inside.. go to illustrator help and read about clipping masks.. seems intimidating at first but once you get the hang of it, it only takes seconds. Good luck
See less See more
  • Like
Reactions: 1
Works great! Thank you very much! Now for the tough question...what if I want to make half the lines navy and half of the gold? Is there a way in the process to do that as well?
Thanks,
JD
Works great! Thank you very much! Now for the tough question...what if I want to make half the lines navy and half of the gold? Is there a way in the process to do that as well?
Thanks,
JD
either make 2 different blends one with navy and one with orange or u make 2 lines.. one naby and one orange then select them both, make your blend and it will gradually with each blended line, transition from one color to the other.. u can also use the blend tool in the same manner on shapes... make a circle, then a square, then select both and blend... all the blended images will transition from one shape all the way to the next.. once u get the hang of blending, u will see how it is such a powerful tool.. good luck.. play around a bit.. you will get it
  • Like
Reactions: 1
This is awesome! Thanks....thought I had a good grip on AI but am always learning something new. Much appreciated.
JD
I know people are trying to help but... there are several different ways to accomplish things in just about every application. Usually there is the long and tedious way to do things.. and then there is the quick and correct way to do things.. In illustrator, I would use your line segment tool.. Create a line with the stroke weight you want.. create the line in the direction and angle you want it to go.... then edit/copy/edit paste in front.... use your selection tool and move that duplicated line to the location you want it... do not worry about the length of the lines as long as you create them bigger than the rectangle you want to put them in.. it is irrelevant. once you are looking at 2 lines you have created, select them both, then go to your toolbox and select your blend tool... double click on the blend tool and it will open up it's options... select specified steps and choose how many you want... it will create a blend with equal size lines and each line will be perfectly equidistant... once you have your "blend".... create a rectangle directly over those lines,dont forget to duplicate your rectangle cause the first one will dissapear after u use it as the"mask".... using your selection tool, select all the objects, then go to object/ clipping mask/create clipping mask... and the rectangle u made and used as the mask will kind of act like a "cookie cutter" and make the lines fit inside of the rectangle.. then take your masked lines and and align them with the duplicated rectangle that you made and "voila" u have lines inside of your rectangle.. perfect fit.. I use this method all the time.. especially for fire departments who love to have the american flag fit inside of the left chest of the fire department maltese logo. It's the same concept.. I use the pattern (the maltese logo or the rectangle) and use it as the mask to make the underlying image look like it fits inside.. go to illustrator help and read about clipping masks.. seems intimidating at first but once you get the hang of it, it only takes seconds. Good luck
Yeah that way works great too. Wouldn't say it's "easier" or the "correct" way though. These programs have a lot of different easy ways to get stuff done.
1 - 10 of 10 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top