ambi
(ambi)
March 4, 2016, 8:24am
1
Hi guys. I made this simple script because I needed to know the area my UV uses but couldn’t find a function in Blender to calculate it. It supports only tris and quads and ignores UV overlap in the calculation. Let me know if there’s actual need to convert this into an addon.
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# ##### END GPL LICENSE BLOCK #####
bl_info = {
"name": "UV Statistics",
This file has been truncated. show original
edit: Added functionality to calculate UV island amount.
1 Like
ambi
(ambi)
March 4, 2016, 10:43am
3
jimpaw80:
How do i install this?
You don’t. Just open the .py file in a text editor and run the script sc inside Blender. It outputs the info to the system console.
Thanks, I’ll check it out later.
ambi
(ambi)
March 5, 2016, 5:21am
5
Added the ability to approximate UV island count. Moved the script to Github.
ambi
(ambi)
March 14, 2016, 2:28pm
6
The script is now an addon in the UV/Image editor and works while in edit mode.
jimpaw80
(jimpaw80)
January 18, 2017, 2:16pm
8
What an great update, wanted something like this for a long time!
ambi
(ambi)
April 11, 2017, 3:48am
9
Updated the addon to work on much larger UV sets. It also doesn’t spam garbage into the console if there is no selected object with UV. The speed improvement should be very noticeable.
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# ##### END GPL LICENSE BLOCK #####
bl_info = {
"name": "UV Statistics",
This file has been truncated. show original
1 Like
TheMoonMan
(TheMoonMan)
March 15, 2019, 11:06am
11
Love the addon, I got it to work in the text editor but doesn’t seem to install as a .py. Do you know about TexTools by renderhjs? Maybe you should team up and merge your awesome work with his .
ambi
(ambi)
April 2, 2019, 9:08am
12
If somebody wants to integrate this addon to others, they are very welcome to do so. If and when renderhjs upgrades his TexTools addon to 2.8, I can give it another look. Until that happens, it’s kind of pointless.
Benjay
(Benjay)
November 19, 2019, 9:36am
13
In case anybody wants to use this very useful addon in 2.80 , I made the necessary changes to integrate it into the side panel.
UV_Waste_Percentage.py (7.0 KB)
3 Likes
ambi
(ambi)
November 19, 2019, 11:07am
14
Looks good. Thanks for the PR!
2 Likes
stom
(stom)
July 19, 2020, 5:46pm
15
Great plugin, wish I’d had this sooner.
Is there a way to make this work when multiple objects are selected?
ambi
(ambi)
July 19, 2020, 6:04pm
16
Not at the moment, I think, but pull requests are always welcome.
stom
(stom)
July 19, 2020, 6:45pm
17
While it’s beyond my abilities, hopefully someone else feels inspired by this suggestion. Thanks again for the plugin!