# Center of a square/rectangle face

**URL:** <https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064>\
**Category:** SketchUp\
**Created:** [May 8, 2021, 5:54pm UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064 "2021-05-08T17:54:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![antjoh2007](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@antjoh2007](https://forums.sketchup.com/u/antjoh2007)\
**Post date:** [May 8, 2021, 5:54pm UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/1 "2021-05-08T17:54:23Z")

</div>

Sorry for this offensively simple question 😛 , but I seem to be unable to find the center point of squares and rectangles faces. Note that Im doing this solely with the move tool, I could use Tape tool somehow but it interferes with me moving the objects, anyhow.  
Circles are fine, the mouse snaps to the center face just like I would expect it to.  
So in short, why isn’t my mouse snapping to square or rectangle centers?

I googled and couldnt find my question asked. Most seem to be about square in a square or how to draw the rectangle from a center point.

---

<div class="post-metadata">

**Author:** ![endlessfix](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/endlessfix/32/148757_2.png) [@endlessfix](https://forums.sketchup.com/u/endlessfix)\
**Post date:** [May 8, 2021, 5:59pm UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/2 "2021-05-08T17:59:47Z")

</div>

The inference engine remembers the last few points you focus on. Hover over the midpoint of one edge (blue circle). Then move to hover over the midpoint of an adjacent edge. Then move to the center of the rectangle, the two inference lines will appear referencing the previous midpoints and snap to the object center.

---

<div class="post-metadata">

**Author:** ![antjoh2007](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@antjoh2007](https://forums.sketchup.com/u/antjoh2007)\
**Post date:** [May 8, 2021, 6:16pm UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/3 "2021-05-08T18:16:51Z")

</div>

I can find the both lines from the edges blue points, red and green lines in this case. But there is no exact center point to grab on to.  
So what Im about to do is put a larger square on top of a smaller square, with both being centers aligned so to say.

---

<div class="post-metadata">

**Author:** ![Shep](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/shep/32/41669_2.png) [@Shep](https://forums.sketchup.com/u/Shep)\
**Post date:** [May 8, 2021, 6:23pm UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/4 "2021-05-08T18:23:29Z")

</div>

You might try using four sided polygons, at least for squares.

---

<div class="post-metadata">

**Author:** ![antjoh2007](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@antjoh2007](https://forums.sketchup.com/u/antjoh2007)\
**Post date:** [May 8, 2021, 6:28pm UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/5 "2021-05-08T18:28:22Z")

</div>

Yes that works. A bit fiddly to work with since I have to rotate and reshape the polygon to match the expected rectangle dimensions, and it doesnt solve rectangle. But it’s something

---

<div class="post-metadata">

**Author:** ![endlessfix](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/endlessfix/32/148757_2.png) [@endlessfix](https://forums.sketchup.com/u/endlessfix)\
**Post date:** [May 8, 2021, 6:29pm UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/6 "2021-05-08T18:29:17Z")

</div>

Modifier key with rectangle tool draws from center.

---

<div class="post-metadata">

**Author:** ![antjoh2007](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@antjoh2007](https://forums.sketchup.com/u/antjoh2007)\
**Post date:** [May 8, 2021, 6:32pm UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/7 "2021-05-08T18:32:38Z")

</div>

The center of the large square has to have the same center as the tiny square

---

<div class="post-metadata">

**Author:** ![simoncbevans](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/simoncbevans/32/15904_2.png) [@simoncbevans](https://forums.sketchup.com/u/simoncbevans)\
**Post date:** [May 8, 2021, 6:56pm UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/8 "2021-05-08T18:56:45Z")

</div>

You can also use two construction lines drawn from corner to opposite corner. The meeting point will be the centre.

Or you can use the Midpoint extension. I use it all the time.

---

<div class="post-metadata">

**Author:** ![antjoh2007](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@antjoh2007](https://forums.sketchup.com/u/antjoh2007)\
**Post date:** [May 8, 2021, 7:17pm UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/9 "2021-05-08T19:17:22Z")

</div>

Yeah I know about the diagonal Tape lines, it requires a little more work for me but its doable.  
Slower, I mean compared to just finding the center point how I hoped Sketchup would do it.

I found a midpoint extension that I managed to install.  
Now I can work with my rectangles and squares just with the freedom I need.

thanks

---

<div class="post-metadata">

**Author:** ![monospaced](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/monospaced/32/53363_2.png) [@monospaced](https://forums.sketchup.com/u/monospaced)\
**Post date:** [May 8, 2021, 7:29pm UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/10 "2021-05-08T19:29:15Z")

</div>

> [@antjoh2007](#):
>
> put a larger square on top of a smaller square, with both being centers aligned

You might consider just using the offset tool for this. You select the square, and then offset it to create a larger square around it. Perfectly centered.

---

<div class="post-metadata">

**Author:** ![simoncbevans](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/simoncbevans/32/15904_2.png) [@simoncbevans](https://forums.sketchup.com/u/simoncbevans)\
**Post date:** [May 9, 2021, 7:41am UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/11 "2021-05-09T07:41:40Z")

</div>

I guess there may be a small argument in favour of having a tool or extension that finds the centroid of a “closed” element. By that I mean either a 2D object that has one surface and no edges other than the bounding ones, or a 3D object that Solid Inspector would call solid.

---

<div class="post-metadata">

**Author:** ![dezmo](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/dezmo/32/51058_2.png) [@dezmo](https://forums.sketchup.com/u/dezmo)\
**Post date:** [May 9, 2021, 8:15am UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/12 "2021-05-09T08:15:13Z")

</div>

> [@simoncbevans](#):
>
> having a tool or extension that finds the centroid of a “closed” element

In my today’s knowledge I can see, it is not well coded at all and implementation is a bit awkward 😊… But there is such a thing as an alternative Line tool:  
[https://sketchucation.com/plugin/2130-dezmo\_proline](https://sketchucation.com/plugin/2130-dezmo_proline)

Maybe one day I’ll rewrite …

---

<div class="post-metadata">

**Author:** ![colin](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/colin/32/266703_2.png) [@colin](https://forums.sketchup.com/u/colin)\
**Post date:** [May 9, 2021, 2:53pm UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/13 "2021-05-09T14:53:08Z")

</div>

Here’s one way that doesn’t need extra lines or guides to be drawn.

[https://global.discourse-cdn.com/sketchup/original/3X/a/9/a975011c13260b5a4f9f3b6d8b66931c2008df5b.mov](https://global.discourse-cdn.com/sketchup/original/3X/a/9/a975011c13260b5a4f9f3b6d8b66931c2008df5b.mov)

It would be nice if there was a center of mass inference point. Here’s a page that shows the arithmetic involved (this includes irregular polygons, not just rectangles):

> <https://math.stackexchange.com/questions/2476682/is-there-a-way-to-find-the-center-of-mass-of-an-irregular-polygon>

---

<div class="post-metadata">

**Author:** ![TIG](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/tig/32/198_2.png) [@TIG](https://forums.sketchup.com/u/TIG)\
**Post date:** [May 9, 2021, 3:30pm UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/14 "2021-05-09T15:30:16Z")

</div>

I wrote a Center-of-Gravity [CofG] extension some time ago - it works on ‘solids’ and assumes the same density for each ‘part’…  
[https://sketchucation.com/pluginstore?pln=CofG](https://sketchucation.com/pluginstore?pln=CofG)  
There’s also a separate CofG ‘reporter’…  
[https://sketchucation.com/pluginstore?pln=cofgreporter](https://sketchucation.com/pluginstore?pln=cofgreporter)

Note - you can also combine different density materials’ CofGs to get a combined CofG result…

---

<div class="post-metadata">

**Author:** ![endlessfix](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/endlessfix/32/148757_2.png) [@endlessfix](https://forums.sketchup.com/u/endlessfix)\
**Post date:** [May 9, 2021, 5:57pm UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/15 "2021-05-09T17:57:51Z")

</div>

> [@antjoh2007](#):
>
> The center of the large square has to have the same center as the tiny square

I must be confused about the goal, this sounds easy with native inferencing, no guides or center points necessary? Drawing a rectangle centered on another, use rectangle tool and press modifier toggle key to draw rectangle from center, inference midpoint of two adjacent sides, snap to center, draw.

![1](https://global.discourse-cdn.com/sketchup/original/3X/4/6/4696223a36340091c6acb0b84eae3bd3dce8a998.gif)

Or to move one rectangle into another, grab by the center with inference and move to center with inference.

![2](https://global.discourse-cdn.com/sketchup/original/3X/9/1/91e984d7fe9084254cdde0d89805d3db0a6c2e19.gif)

---

<div class="post-metadata">

**Author:** ![simoncbevans](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/simoncbevans/32/15904_2.png) [@simoncbevans](https://forums.sketchup.com/u/simoncbevans)\
**Post date:** [May 11, 2021, 10:46am UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/16 "2021-05-11T10:46:13Z")

</div>

There are lots of solutions here but if one rereads the OP, the main question is why there is no centrepoint to a square/rectangle like there is with a circle. I seem to remember that there used not to be one for circles either but it was added a few years ago (and very necessary it was too!).

I guess the answer is that you can’t expect to have a default centrepoint for every polygonal shape. It exists for a circle because it is a common shape and there is no other quick and easy way to determine it.

---

<div class="post-metadata">

**Author:** ![dezmo](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/dezmo/32/51058_2.png) [@dezmo](https://forums.sketchup.com/u/dezmo)\
**Post date:** [May 11, 2021, 11:16am UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/17 "2021-05-11T11:16:55Z")

</div>

😉 😇  
Just for fun…  
[Non square rect with center.skp](https://forums.sketchup.com/uploads/short-url/1dlw2i7bHwOC2jPczYWdXpsmG3S.skp) (10.7 KB)  
 ![nonsqrecwcent](https://global.discourse-cdn.com/sketchup/original/3X/e/2/e20931fe5a5aee06f37be44dfddc1743d16bbaa7.gif)

---

<div class="post-metadata">

**Author:** ![simoncbevans](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/simoncbevans/32/15904_2.png) [@simoncbevans](https://forums.sketchup.com/u/simoncbevans)\
**Post date:** [May 11, 2021, 11:20am UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/18 "2021-05-11T11:20:59Z")

</div>

How have you done that? I don’t get a tooltip that reads Center, though I can find the centre with offsets from line centres.

---

<div class="post-metadata">

**Author:** ![dezmo](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/dezmo/32/51058_2.png) [@dezmo](https://forums.sketchup.com/u/dezmo)\
**Post date:** [May 11, 2021, 11:26am UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/19 "2021-05-11T11:26:28Z")

</div>

![hownonsqrecwcent](https://global.discourse-cdn.com/sketchup/original/3X/d/9/d928b084972625695f08c69009d32c34fcf49264.gif)

---

<div class="post-metadata">

**Author:** ![dezmo](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/dezmo/32/51058_2.png) [@dezmo](https://forums.sketchup.com/u/dezmo)\
**Post date:** [May 11, 2021, 11:32am UTC](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064/20 "2021-05-11T11:32:18Z")

</div>

![hownonsqrecwcent2](https://global.discourse-cdn.com/sketchup/original/3X/e/f/ef381fe1f2e1d35f31d9b2eb73740aec70ea960f.gif)

[Next page](https://forums.sketchup.com/t/center-of-a-square-rectangle-face/164064.md?page=2)
