nameSTACK [1.02.20]

It should be there, currently there is a preset system where an ok (customizable text) appears when a preset is active, the preset itself can be a simple count, sort and transfer or any number of naming operations.

image

This is just the beginning, I intend to make nS the best naming solution available.

This preset is compatible with search and replace in the stack too, so when search and replace is performed it then performs the preset that is active, such as sorting and counting.

2 Likes

I overlooked it. I’m sorry.
It’s great to be able to easily transfer object name to object data!
This add-on was very handy for its ease of use in 2.79. I think it would be great to hear that 2.8 will achieve further growth.

However, if you press the filtering button several times, the stack itself may disappear.
Can you tell me how to deal with this? This is the error message at that time.

Traceback (most recent call last):
File “DIR/addons/nS/addon/pt/stack.py”, line 17, in draw
stack.draw(self, context)
File “DIR/addons/nS/addon/pt/util/stack.py”, line 14, in draw
stack = util.stack.collect.names(context)
File “DIR/addons/nS/addon/util/stack/collect/init.py”, line 53, in names
for data in getattr(datablock, filter)(current.datablock):
File “DIR/addons/nS/addon/util/stack/collect/datablock.py”, line 52, in mesh_loop_color_layer
return stack.searched((col for col in obj.data.vertex_colors))
AttributeError: ‘Armature’ object has no attribute ‘vertex_colors’
location: :-1

We have hidden the profile directory name. If the error message is long, I’m thinking about posting in a screenshot.

When I examined which button it was, it turned out that it disappeared from the panel with the following button. It seems that an error appears if object do not have data.
I am sorry if there was already a report.

shape_key
mesh_uv_loop_layer
mesh_color_loop_layer

Thanks for pointing those out, they will be fixed along with a couple other issues in the next update

Could you simplify your menu system more to be more like this:

https://www.highend3d.com/maya/script/quick-rename-tool-for-maya

I just want to rename selected objects but the menu system is fairly confusing, for batch renaming though the filter is useful but I don’t find it very intuitive for simple select and rename. Not saying that you need to remove the preset system and stuff but maybe to add a similar menu like the one linked above in a tab would be nice.

I can see that value in getting to quick naming, I was thinking about adding a simple preset state where the options would be presented in more classic way, options not visible in this state would be ignored for the preset.

I should have time over the next few weeks to work this in and other features & optimizations + docs.

Sounds good! I like the UI otherwise. I think my only other feedback is maybe add something in preferences like “If multiple objects selected, renaming one of them will rename the rest.” That way you wouldn’t need to open up a menu and it can do the renaming based on a preset. So if the preset says “add a counter” the user doesn’t need to worry about name.001, and can get name_01.

Also! If you could have options for the numbering to be like _001 or _01, allow the user to put as many zeros as they want to lol

1 Like

I just came across this tool this morning and I was hoping to try it out on Blender 2.79. I have installed it, but can’t figure out how to access it. The screen shots that I’ve seen are for 2.8, but I’m not familiar enough with blender to find the menu. Any help would be much appreciated. Thanks.

Make sure you download and install the 2.79 version, the panel should appear in the N-Panel under the Name Category.

I found it, thanks to you! Thank you for helping a noob. Do you know if the 2.8 version is stable enough for me (noob) to buy it now?

It is stable enough, however it does not have the full feature set available in 2.79 in regards to datablock access available from the stack, this is in the works.

Batch naming is also handled differently, where presets are designated and ran at your discretion when clicked or on find and replace operations.

This means that you can follow up a find and replace with a common recount operation (or any preset) with the same ok button.

This system is also in the works, the plan being to be as capable as the 2.79 varient in regards to naming.

Currently it is pretty capable, I do need to work on the counting a bit, perhaps recursively stripping numbers at the end as an option.

Bones and bone constraint support also needs to be brought back.

I’d say though overall current namestack has a better foundation for not only naming but organizing and accessing, you should get it now while it’s low in price, I will be ticking the price up over time.

Is it possible to change the Tab from Name to another of my choice? Can I do it by editing a word or line in the py files?

In the addon’s directory you can go to addon > pt > stack.py, if you look at line 11 you will see bl_category = 'Name', you can change that to whatever, I will add a option to name it custom as time permits.

1 Like

how can i batch rename bones, and if not possible at the moment can you help me whit a script to rename and skeleton to another
example
head to spine 6
chest to spine 5
leg1 to leg
leg 2 to ankle

Batch naming for bones and bone constraints is planned for next release, which is about 80% done.

2 Likes

nice, but i found a work around renaming vertex groups

however create the stack was a little annoying because the ui so i wold like a more robust ui build in the preference of the addon to properly create the operation stack and also name the operations

for now good to now where is the file that store the presets

Thanks really handy addon :slight_smile:

I plan to add a paged layout for the stack and also a stack preview for naming, Name Stack is pretty young in it’s current form, but it will get there, especially with support.

Edit: stack is paged

good to read that
can wait for next update :slight_smile:

hello , i have little problem, * The selected and unselected ICON are indistinguishable ,White or grey,if have some back ground color that will be great

There used to be a “Show only Selected”. Did it get removed? NameStack slows down the viewport quite a bit when there are many objects.