Set Dimensions in Edit Mode

This is great !!!

Just a quick update to build upon knowledge already shared by Benny_G, and Zimlorog.

The Mesh Tools AddOn is now distributed with Blender 2.80, but does not (Yet?) include the Set Dimensions tool. Thus I initially ran into an AddOn instillation conflict when installing Set Dimensions because it still references MeshTools in its code.

To fix this I opened the edit_dimensions.py file that was downloaded from GitHub with Microsoft Visual Studio Code and changed all references of “Mesh Tools” and “MeshTools” to “Set Dimensions”. Though really the only reference to “MeshTools” that needs to be altered to make the AddOn work harmoniously with the current version of Blender 2.80 (July 5th build) is:

Line 28: “name”: “Mesh Tools”,

So to sum up, to get Set Dimensions to work with Blender 2.80 as of July 5th 2019 edit the following lines of code in the edit_dimensions.py file:

Line 28
From: “name”: “Mesh Tools”,
To: “name”: “Set Dimensions”,

Line 31
From: “blender”: (2, 78, 0),
To: “blender”: (2, 80, 0),

Line 107
From: box.label(“New dimensions:”)
To: box.label(text=“New dimensions:”)

I also changed the version number:

Line 30
From: “version”: (1, 0),
To: “version”: (1, 1),

Just because.

Anyhow, I hope this adds to the chain of help for the next individual utilizing Blender 2.80 and seeking a tool like Set Dimensions. I know I was elated to find it.

P.S. A special thank you to the original developer of this AddOn, Graphics_Dev, if they are still around.

2 Likes


Thank you for the instructions to update this to 2.80. Also a long time Lightwave User, and modo, and I missed being able to specify Exact Measurements, for any dimension and have the other two conform. Is there anyway to push the ‘corrections’ to GitHub? or is that subject to the developer only?? I have made the changes as suggested. Thank you.

SyntaxError: invalid character in identifier
fake_module: addon missing ‘bl_info’ gives bad performance!: ‘C:\Users\paulhart\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\edit_dimensions.py’
Modules Installed () from ‘D:\downloads176\MeshTools-master\edit_dimensions.py’ into ‘C:\Users\paulhart\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons’

1 Like

Are you able to publish the adjust file so it’s easy to install and use in 2.8? Also does it work in 2.81.

Hello, friends.
After the amendments proposed by debCreative
I’m trying to install this add-on in version 2.81, but an error occurs.
Can I ask for help with the update?
I attach a modified file.
Thank you .
edit_dimensions.py (3.7 KB)

@juliushibert @paulhart2 @Nanomanpro Does this pull request work for you: https://github.com/ekaj2/MeshTools/pull/1

Raw file here for this pull request: https://raw.githubusercontent.com/ekaj2/MeshTools/41481d9c78a345286ca3df95378a42cbb177b412/edit_dimensions.py

2 Likes

Works for me, thank you very much :slight_smile:

Works for me, currently using Blender 2.82a… Thank you.

Guys, this thing is broken in 2.93.0…When I do a Set Dimensions in Edit mode, it just has “New Dimensions:” in an empty box and no ability to enter any values whatsoever. Sadly, I use this damn thing multiple times per day… : - ( Can the dev fix this please?.. Today if possible!. Chop chop! ; - )

Anyone?.. This is pretty dang urgent. Or if there is some other way to set dimensions on x/y/z of selected verts, edges and faces in Edit Mode in Blender 2.93.0+ (with exactly the same results as Set Dimensions script), please, I beg you, edify me! I really, really need to be able to do this!

I’m actually volunteering at a camp with restricted access to tech, so I’ll look at it if someone pings me again in a couple months. Sorry. Look at the threads that have linked to this one and you might find a workaround, otherwise do your modeling in an older version and bring it up to 2.9 afterwards

Also, I don’t make any money off of this add-on. There is no obligation whatsoever on my end to support it. So just be careful of your expectations with this and most other Blender add-ons.

2 Likes

Personally, I’m still working on version 2.8, but it will definitely be time to move to the next level.
This addon is extremely helpful, so if you decide to develop it in the next versions of the blender, I will be able to support you financially without hesitation.
Just put it on blendermarket or gumroad :slight_smile:

Calm down bro… my pleas were meant to be lighthearted/comedic, and I am very sorry you took it as some kind of nasty command. Maybe a nice nature walk could help. Enjoy camp. ; - )

… and yes, I too would plunk down some dough to have this ability again in 2.93.0+…

In the meantime, if any other devs want to make a nice competing addon that does exactly what Set Dimensions does, myself (and possibly Nanomanpro) and presumably others will have money waiting for you.

1 Like

You see if this “CAD Mesh Dimensions” addon is useful for you:

Before installing the addon you will probably need to install the python xxhash module. In Linux if you have “pip” installed you do from the terminal “pip install xxhash” (or “/usr/bin/python -m pip install xxhash”). In windows I have no idea, you see if you can install the addon by default without installing xxhash.

1 Like

YAFU do the cad tools work in 2.92? Or 2.83.16? On the download page they are being used on 2.91.Thanks

I have only tried installing the “CAD Mesh Dimensions” addon, I have not tried the other addons. I tested it in master (3.0), and installing it in the way that I have explained.

1 Like

Sorry, I don’t mean to be harsh, but I can’t really determine tone over text. And it isn’t uncommon to be pressured on open source projects to make changes (even by users who aren’t paying anything). I could try to sell it, but that is a lot of effort for something that might already be replaced by the actual Blender devs (IDK…haven’t been keeping up on it recently).

Selling add-ons isn’t quite what you might think it is though in terms of returns. This might get one or two $5 purchases and that’s about it. And if it takes, say, 20 hours to make, then it is not going to even come close to minimum wage in the US for sure. A software developer can make far more than minimum wage, so it is really a waste of time unless you have something groundbreaking. So we generally make these add-ons because they are useful to us, we just want to give back to the Blender community, or we are having fun learning how to make them.

Also, there’s no need for a “competing” add-on. Mine is on GitHub with a license that allows anyone to copy and redistribute it as long as they keep the same license (most Blender add-ons have the same exact license, even if you sell on Blender Market).

The fastest route for you would be to nicely ask a developer (perhaps hire a freelancer if it is really important and you are willing to pay like $100 for it…that’s probably a ballpark of what it would be for a one-off) to make a pull request that fixes it on the repository that’s already on GitHub. Chances are it is just updating it to use a new library for getting values. I’m guessing the rest of it should be essentially the same.

1 Like

Would probably be best to make a different thread, but you can definitely link between the two if these solve the same problem.

I think this could be a Blender limitation, it is not a CAD program after all:
https://blenderartists.org/t/do-floating-point-errors-bother-you/1167588/5

You could create a new thread in Modeling section for asking about how to “set dimensions in Edit mode” and you briefly and respectfully talk there about the alternatives that you have found and the problems that you are having.