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

Divide A Shape Evenly?

Community Beginner ,
Nov 27, 2010 Nov 27, 2010

Copy link to clipboard

Copied

Is there a way to divide a shape equally? I'm just trying to divide a rectangle into 7 different equally sized sections. I want to be able change the color of each section. I've been trying for a while now and I'm getting really frustrated because I'm guessing it's pretty simple.

Please note, I can't copy and paste multiple small rectangles to make one large one because the whole thing needs to fit in a certain pre determined area. (I would have to know precisely how large to make each piece, and that sounds like a pain to find out)

Thanks!

Views

82.8K

Translate

Translate

Report

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

Participant , Nov 28, 2010 Nov 28, 2010

Presuming you want to divide it in to strips, either vertically or horizontally, i think it would be best to set up some guides.

ctrl + click on your rectangle shape in your layers panel to load it as a selection.

drag some guides from your rulers (ctrl +r to make them visible) to touch each side of your shape (they should snap to the selection)

double click on a ruler to change the units to pixels.

F8 to get your info panel to show the dimensions of your shape.

divide the width of your shape by 7.

wi

...

Votes

Translate

Translate
Adobe
LEGEND ,
Nov 28, 2010 Nov 28, 2010

Copy link to clipboard

Copied

7? getting it evenly divided in an even number of sections would be hard, but in uneven numbers? there's no way to do it other than getting a pen and paper and start drawing to figure out the exact position and size of each section.

Votes

Translate

Translate

Report

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 ,
Nov 28, 2010 Nov 28, 2010

Copy link to clipboard

Copied

I suspect one might be able to Script something like this, but actually I’m not sure what »this« is exactly.

Once again a screenshot or a sketch might have been hugely beneficial to communicating the issue …

Votes

Translate

Translate

Report

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
Participant ,
Nov 28, 2010 Nov 28, 2010

Copy link to clipboard

Copied

Presuming you want to divide it in to strips, either vertically or horizontally, i think it would be best to set up some guides.

ctrl + click on your rectangle shape in your layers panel to load it as a selection.

drag some guides from your rulers (ctrl +r to make them visible) to touch each side of your shape (they should snap to the selection)

double click on a ruler to change the units to pixels.

F8 to get your info panel to show the dimensions of your shape.

divide the width of your shape by 7.

with the rectangle marquee tool change the style from normal to fixed size and enter the width as the seventh of the original shape, keep the height as the original shape).

now click and you'll have a strip one seventh of the width - you can move this to snap to your previous guides and then drag out a new guide down the side -move the selection again and drag out a new guide. Repeat this 6 times.

Hopefully this will work, does't take as long as you may think.

Votes

Translate

Translate

Report

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
LEGEND ,
Nov 28, 2010 Nov 28, 2010

Copy link to clipboard

Copied

If it's just vertical/horizontal then make guides around the entire object, select the Slice tool, click on Slices from Guides then select the Slice Select tool, select the slice containing your rectangle and click on Divide. If you have View->Snap to->Slices selected then you'll be able to quickly make selections with the Rectangular Marquee tool that will snap to the slices that you just made.

Votes

Translate

Translate

Report

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
Valorous Hero ,
Nov 28, 2010 Nov 28, 2010

Copy link to clipboard

Copied

soundweave wrote:

....

Please note, I can't copy and paste multiple small rectangles to make one large one because the whole thing needs to fit in a certain pre determined area. (I would have to know precisely how large to make each piece, and that sounds like a pain to find out)

Thanks!

Why not? I think that's actually the easiest way to do it.

You should already know the size of the total rectangle encompassing all or have a layer with that size.

Then, first make sure that in the View menu there is a checkmark in front of Snap and Snap To > Layers.

Then just create a random rectangular shape. Duplicate it and snap it by moving it with the Move tool (V) and holding the Alt key. Also holding Shift key after you start dragging constrains the moving. Repeat this for the number of divisions you want. Then select all layers with these rectangles  by clicking on the first shape layer in the Layers's palette, holding Shift, and clicking on the last shape layer. Then press Ctrl + T and drag the transformation handles at the corners of the transformation box to snap to the layer with the total size rectangle . If you don't have a reference layer, type the dimensions for W and H in the options bar after choosing the desired reference point. If you need to change the units, right click in the entry fields and pick another unit.

Votes

Translate

Translate

Report

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 Beginner ,
Nov 28, 2010 Nov 28, 2010

Copy link to clipboard

Copied

thanks guys! I'm still totally new at photoshop and the most helpful parts of the explanations are the little shortcuts you guys give

Votes

Translate

Translate

Report

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
New Here ,
Nov 30, 2010 Nov 30, 2010

Copy link to clipboard

Copied

oh u want to slice it one way.. u might try drawing 1px lines in seperate layers and aligning them.. this should give u an equal space between each line..

Votes

Translate

Translate

Report

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
New Here ,
Nov 30, 2010 Nov 30, 2010

Copy link to clipboard

Copied

i guess u flunked geometry in school? how can u divide a rectangle into 7 equal peaces? u better do 8 pal or 6

Votes

Translate

Translate

Report

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 ,
Nov 30, 2010 Nov 30, 2010

Copy link to clipboard

Copied

The easiest way would be 7 colums (or lines).

But if, as I interpreted it, »I'm just trying to divide a rectangle into 7 different equally sized sections.« means that the resulting sections should be of the same square footage but not shape, one could add variance and cumulate x columns (x >= 2) and divide the resulting area into x parts but cut in the other direction.
Then one could apply this operation to on any pair or higher of the resulting segments again.
And this is keeping the shapes rectangular, which is not even explicitly implied in the term »sections«, I guess.
rectangleSegmentation2.gif
But I might be misunderstanding something.

Votes

Translate

Translate

Report

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
LEGEND ,
Nov 30, 2010 Nov 30, 2010

Copy link to clipboard

Copied

A rectangle can have odd divisions.

For example a rectangle divided into thirds. You only have to set the guide lines to 33% and 66 %

Votes

Translate

Translate

Report

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
New Here ,
Dec 01, 2010 Dec 01, 2010

Copy link to clipboard

Copied

LATEST

align didnt work but i just had another idea u can try linear halftone

Votes

Translate

Translate

Report

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 ,
Nov 30, 2010 Nov 30, 2010

Copy link to clipboard

Copied

This sort of thing is so much easier in Illustrator: slap a few guides up there, select them like any other object, and click on Distribute.

Votes

Translate

Translate

Report

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
New Here ,
Nov 30, 2010 Nov 30, 2010

Copy link to clipboard

Copied

im not at home so i dont have photoshop here.. ill try to find u an answer when i get back in couple hours

Votes

Translate

Translate

Report

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