# Rectangle tool not producing Rectangles?

**URL:** <https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604>\
**Category:** Pro\
**Created:** [October 28, 2021, 2:58am UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604 "2021-10-28T02:58:48Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsharp](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/gsharp/32/25083_2.png) [@gsharp](https://forums.sketchup.com/u/gsharp)\
**Post date:** [October 28, 2021, 2:58am UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/1 "2021-10-28T02:58:49Z")

</div>

Just had an interesting discussion on a Facebook Sketchup Group…

One person indicated that they had a lot of problems with the rectangle tool not producing 90 degree rectangles,

" I get myself in trouble using the rectangle tool all.the.time. Before using the color by axis or without using guide lines. When using the rectangle tool not all the lines will necessarily be parallel even if at right corner in one plane. I know there is a better way to describe it in geometric terms but unless you are snapping to a parallel line in the same plane, you are going to have some issues. "

I was rather surprised at this , maybe my workflow avoids the problem they say they encounter…

has anyone else experienced this issue?

---

<div class="post-metadata">

**Author:** ![Box](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/box/32/235164_2.png) [@Box](https://forums.sketchup.com/u/Box)\
**Post date:** [October 28, 2021, 3:00am UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/2 "2021-10-28T03:00:56Z")

</div>

Sounds like pilot error, would need to see an example.  
Most likely caused by having Snap to length enabled.

---

<div class="post-metadata">

**Author:** ![gsharp](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/gsharp/32/25083_2.png) [@gsharp](https://forums.sketchup.com/u/gsharp)\
**Post date:** [October 28, 2021, 3:04am UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/3 "2021-10-28T03:04:40Z")

</div>

I have asked for a more detailed example… even with Snap to length on surely the rectangle is still a rectangle… ie opposite lines are parallel and corners 90 degrees?

---

<div class="post-metadata">

**Author:** ![Box](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/box/32/235164_2.png) [@Box](https://forums.sketchup.com/u/Box)\
**Post date:** [October 28, 2021, 3:07am UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/4 "2021-10-28T03:07:01Z")

</div>

It should be, but I suspect there is enough flex for it to be forced out by .0000123, which is why the snapping can be a problem

---

<div class="post-metadata">

**Author:** ![gsharp](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/gsharp/32/25083_2.png) [@gsharp](https://forums.sketchup.com/u/gsharp)\
**Post date:** [October 28, 2021, 3:09am UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/5 "2021-10-28T03:09:22Z")

</div>

Can any of the Sketchup team confirm the Rectangle Tool always produces Rectangles with 90 degree corners?

---

<div class="post-metadata">

**Author:** ![Box](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/box/32/235164_2.png) [@Box](https://forums.sketchup.com/u/Box)\
**Post date:** [October 28, 2021, 3:19am UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/6 "2021-10-28T03:19:04Z")

</div>

Here’s an example.  
I started with a square and deleted one edge, then used the move tool to move the endpoint of the bottom edge .0001m to the left.  
So as you see when I draw a square using the rectangle tool and the inference I get a tilde in the angle.  
This is why once you get an error it continues through your model.  
 ![Tilde](https://global.discourse-cdn.com/sketchup/original/3X/4/a/4a7dd7907a8b530eb95e5373e880ac8929767b30.gif)

If I change the units to mm you can see that it isn’t a square.  
 ![mm](https://global.discourse-cdn.com/sketchup/original/3X/9/c/9c0aa0731a662f306a9a370e1f344a85ce236b34.gif)

---

<div class="post-metadata">

**Author:** ![gsharp](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/gsharp/32/25083_2.png) [@gsharp](https://forums.sketchup.com/u/gsharp)\
**Post date:** [October 28, 2021, 4:01am UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/7 "2021-10-28T04:01:35Z")

</div>

!WTF!

Hmmm that explains why I don’t usually encounter a problem with my workflow, I create a raw rectangle, group it and then copy, rotate and scale it to create my object geometry… but hell, the tool should be renamed the “Sometimes Rectangle Tool”

PS thanks for the video explanation Box!

---

<div class="post-metadata">

**Author:** ![Box](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/box/32/235164_2.png) [@Box](https://forums.sketchup.com/u/Box)\
**Post date:** [October 28, 2021, 4:09am UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/8 "2021-10-28T04:09:51Z")

</div>

> [@gsharp](#):
>
> should be renamed the “Sometimes Rectangle Tool”

Not really, you have to force it to make a mistake. I personally have never had an issue with it but have seen and repaired many models that are suffering from this sort of thing. Basically a good workflow with length snapping off won’t produce problems.

---

<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:** [October 28, 2021, 4:24am UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/9 "2021-10-28T04:24:56Z")

</div>

This could be related:

> [@Bug in Rectangle tool ( in both desktop and web versions )](https://forums.sketchup.com/t/bug-in-rectangle-tool-in-both-desktop-and-web-versions/167387):
>
> There is a bug in Rectangle tool. I wonder since when we have this case ?.. innocent The Rectangle tool in some cases does not create a face, because one corner is not on a same plane. The animation is created in web version, but I was able to reproduce in SU 17.2.2555 Make and SU 21.1.279. I guess “all” versions are “infected.” [bug\_rectangle] (The ladybug has been inserted by me into animation, this is not built in feature… wink)

😊

---

<div class="post-metadata">

**Author:** ![gsharp](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/gsharp/32/25083_2.png) [@gsharp](https://forums.sketchup.com/u/gsharp)\
**Post date:** [October 28, 2021, 4:25am UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/10 "2021-10-28T04:25:03Z")

</div>

Well, agree to disagree there Box 🙂 …

If Trimble had clearly advised users that the rectangle tool sometimes does not create rectangles then ok! But the fact that the rectangle tool in some circumstances may not be a rectangle is clearly negligent of the software and causes us all lost time and effort… it should not be distorting a rectangle…regardless of what it snaps too! You and I by chance or design have workflows that bypass the issue; thousands and thousands have not… and are not even aware of the issue… (including me until today!)… and I keep myself pretty well SU informed…

Is this issue stemming from the decision at the outset to use “inches” as the base unit ? I guess not, just bad code

---

<div class="post-metadata">

**Author:** ![ene\_su](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/ene_su/32/103091_2.png) [@ene\_su](https://forums.sketchup.com/u/ene_su)\
**Post date:** [October 28, 2021, 8:12am UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/11 "2021-10-28T08:12:55Z")

</div>

There is also an issue if the open group/component has been sheared/skewed. Many SU tools assume the drawing axes are perpendicular, but in rare cases they are not.

---

<div class="post-metadata">

**Author:** ![Wo3Dan](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/wo3dan/32/7450_2.png) [@Wo3Dan](https://forums.sketchup.com/u/Wo3Dan)\
**Post date:** [October 28, 2021, 10:01am UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/12 "2021-10-28T10:01:14Z")

</div>

> [@Bug in Rectangle tool ( in both desktop and web versions )](https://forums.sketchup.com/t/bug-in-rectangle-tool-in-both-desktop-and-web-versions/167387/3):
>
> > [@Bug in Rectangle tool ( in both desktop and web versions )](https://forums.sketchup.com/t/bug-in-rectangle-tool-in-both-desktop-and-web-versions/167387/2):
> >
> > This diagonal indicates that one of the two new endpoints is not coplanar
> 
> No. The diagonal line is indicates if it is Golden ratio or Square  
> [https://help.sketchup.com/en/sketchup/drawing-basic-shapes#draw-rectangle](https://help.sketchup.com/en/sketchup/drawing-basic-shapes#draw-rectangle)

@jean_lemire_1 was 100% right. The dashed line has nothing to do with “square” or “golden section” **!**  
The dashed line in this case is a warning that an extra edge will be needed to obtain a segmented surface.  
Both the possible cursor indications: “From Point Square” and “From Point Golden Section” are false and misleading. **The cursor information in these cases should be left out completely** or “From Point (no rectangle)”.  
**The manual about the rectangle tool should mention the dashed line as being a warning.**  
**SketchUp’s code is** ~~_not_~~ **buggy in creating geometry. The text on screen should be taken care of.**

altered: “…is not buggy…” in “…is ~~not~~ buggy…”

---

<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:** [October 28, 2021, 10:38am UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/13 "2021-10-28T10:38:13Z")

</div>

> [@Wo3Dan](#):
>
> @jean_lemire_1 was 100% right. The dashed line has nothing to do with “square” or “golden section” **!**

I would say he was 90% right 😉, since normally the dashed line indicating the “square” or “golden section” and there is nothing else mentioned in the manual. You pointed that right (and I agree):

> [@Wo3Dan](#):
>
> **The manual about the rectangle tool should mention the dashed line as being a warning.**

> [@Wo3Dan](#):
>
> Both the possible cursor indications: “From Point Square” and “From Point Golden Section” are false and misleading. **The cursor information in these cases should be left out completely** or “From Point (no rectangle)”.

You are absolutely right. In my opinion this is also a kind of bug (wrong cursor indication.)

> [@Wo3Dan](#):
>
> SketchUp’s code is not buggy in creating geometry.

I do not agree. The rectangle tool is buggy, because in some cases it is creating four edges out of plane and thees will not format a rectangle.  
The **rectangle tool should create a rectangle** - or nothing - in any case. Don’t you think? 😉

---

<div class="post-metadata">

**Author:** ![Wo3Dan](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/wo3dan/32/7450_2.png) [@Wo3Dan](https://forums.sketchup.com/u/Wo3Dan)\
**Post date:** [October 28, 2021, 1:29pm UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/14 "2021-10-28T13:29:15Z")

</div>

> [@dezmo](#):
>
> > [@Wo3Dan](#):
> >
> > SketchUp’s code is not buggy in creating geometry.
> 
> I do not agree. The rectangle tool is buggy, because in some cases it is creating four edges out of plane and thees will not format a rectangle.  
> The **rectangle tool should create a rectangle** - or nothing - in any case. Don’t you think? 😉

@dezmo, I must admit, a rectangle tool should only create rectangles. The code must ignore that last “out of alignment” (pilot error-) endpoint inference and stick to three used endpoints to create the fourth corner endpoint in plane. Thus forming a rectangle and its face.

So not even a dashed line option should be presented.

_Corrected the post above yours._

---

<div class="post-metadata">

**Author:** ![slbaumgartner](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/slbaumgartner/32/7302_2.png) [@slbaumgartner](https://forums.sketchup.com/u/slbaumgartner)\
**Post date:** [October 28, 2021, 2:23pm UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/15 "2021-10-28T14:23:32Z")

</div>

I think the issue is not with the rectangle tool per-se, but with a quirk in SketchUp’s merging of nearby vertices during the cleanup step after new geometry is added. In every case when merging SketchUp must make a choice about which vertex to keep and which to eliminate. I have noticed that it tends to favor the pre-existing one, even when it is at an irregular location and even when an inference lock suggests you really meant the new edge to be exactly on axis. In other words, I think the rectangle tool drew a true rectangle and cleanup warped it!

In the attached image, I drew an edge exactly 5.0" along the green axis from the origin. I then moved a copy of it in the red direction exactly 5.0". Next I moved the end point of the copy back 0.0005" in the green direction - intentionally below SketchUp’s nearby vertex tolerance for merging. Then I drew another edge from the end of the original edge with inference lock on the red direction until I saw a snap for the end of the second edge. SketchUp violated the inference lock during cleanup to make the new edge land on the moved vertex of the other edge. You can see from the image that the length of the copied edge is still 4.9995 and the angle of the new edge from the green axis isn’t 90 degres even though the other three corners are!

 ![Screen Shot 2021-10-28 at 10.20.00 AM](https://global.discourse-cdn.com/sketchup/original/3X/9/6/96b30cc48ab43e759c24e551f05af1fc84a22507.png)

Edit: The crux of the issue may be that by the time the cleanup operation runs, the context from which SketchUp might know your intent is gone; there is just a database of geometry that needs to be checked for nearby vertices. So SketchUp favors whichever came first, probably based on older ID.

---

<div class="post-metadata">

**Author:** ![MikeWayzovski](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/mikewayzovski/32/98346_2.png) [@MikeWayzovski](https://forums.sketchup.com/u/MikeWayzovski)\
**Post date:** [October 28, 2021, 4:26pm UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/17 "2021-10-28T16:26:46Z")

</div>

Negative.You might have moved the mouse in the other direction?

---

<div class="post-metadata">

**Author:** ![tuna1957](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/tuna1957/32/232524_2.png) [@tuna1957](https://forums.sketchup.com/u/tuna1957)\
**Post date:** [October 28, 2021, 4:37pm UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/18 "2021-10-28T16:37:30Z")

</div>

How can I move the mouse in the wrong direction when I let go of mouse and type dimensions and hit enter ? Hand not near mouse….

---

<div class="post-metadata">

**Author:** ![MikeWayzovski](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/mikewayzovski/32/98346_2.png) [@MikeWayzovski](https://forums.sketchup.com/u/MikeWayzovski)\
**Post date:** [October 28, 2021, 4:48pm UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/19 "2021-10-28T16:48:23Z")

</div>

It needs to know where to go….

---

<div class="post-metadata">

**Author:** ![tuna1957](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/tuna1957/32/232524_2.png) [@tuna1957](https://forums.sketchup.com/u/tuna1957)\
**Post date:** [October 28, 2021, 5:06pm UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/20 "2021-10-28T17:06:58Z")

</div>

O.k. maybe misunderstood the point you where trying to make. I do move the mouse the intended direction before entering the dimension in the measurements box.

---

<div class="post-metadata">

**Author:** ![MikeWayzovski](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/mikewayzovski/32/98346_2.png) [@MikeWayzovski](https://forums.sketchup.com/u/MikeWayzovski)\
**Post date:** [October 28, 2021, 7:27pm UTC](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604/21 "2021-10-28T19:27:45Z")

</div>

Moving up and typing should get rid of the minus sign, I do misinterpret them sometimes for ~, too.  
The colors of the edges would give the most predictable output before clicking the second endpoint, you can lock them with the shift key.

[Next page](https://forums.sketchup.com/t/rectangle-tool-not-producing-rectangles/179604.md?page=2)
