sidebar features
sidebar content

Go Back   Blender Artists Forums > General Forums > Python & Plugins

Reply
 
Thread Tools
FourMadMen FourMadMen is offline
Member
 
Join Date: Jan 2004
Posts: 506
Layer Manager version 1.3...

New UI design proposal in post #29. Feedback requested. Thank you for your attention.

---Version 1.1 Announcement ---
FourMadMen Layer Manager script Version 1.1 is now available. If you want to know about what this script does please visit the Layer Manager Homepage.

Download Script

---ORIGINAL POST FOLLOWS---
I'm writing a Layer script and would like input on what people think would be useful to them. Basically just gathering requirements at the moment but I do envision persisting this information in a seperate file so the settings can be re-used.

At this time the skeleton is written which does what the layer buttons do. So if you have anything you'd like to see in a script like this please speak up.

Thnx,
4MM

Last edited by FourMadMen; 13-Sep-08 at 17:12.
#1   Old 18-Jan-06, 08:12   
Reply With Quote


FourMadMen FourMadMen is offline
Member
 
Join Date: Jan 2004
Posts: 506
Here is where it is so far.



Next step is serializing the dictionary that is used to store the information. After that I'll be adding Layer Groups.
#2   Old 18-Jan-06, 19:00   
Reply With Quote
Blenderer's Avatar
Blenderer Blenderer is offline
Member
 
Join Date: Nov 2004
Location: Sunshine coast, Australia
Posts: 550
Nice :o) named layers... mmm...
#3   Old 18-Jan-06, 23:41   
Reply With Quote
vliegtuig's Avatar
vliegtuig vliegtuig is offline
Member
 
Join Date: Feb 2005
Location: Beer Capital of the World
Posts: 1,371
  • The ability to assign layer names to them.
    Colour codes for related layers or the ability to group layers.
    Locking layers
    Only visibility for layers user created. In case you only need a few layers.
    Which also means the option to remove layers.
    What if you need more then 20 layers?
    Don't know if a preview is possible but if you could, WOW.(think Photoshop)
P
............................................
So what if I call myself an airplane? Others call themselves a bush. What's smart about that?
#4   Old 19-Jan-06, 02:10   
Reply With Quote
FourMadMen FourMadMen is offline
Member
 
Join Date: Jan 2004
Posts: 506
When I first stated I had to decide whether or not I wanted the GUI to be Photoshop like (i.e. list based with add and remove) or 20 controls like the current layer buttons. I choose the latter of those two.

Please visit the script index page for more information on what has been done and was is being done (and a few screenshots too). However since some suggestions have been made let me address them:

The ability to assign layer names to them.
That's requrement #1 for me and already does this.

Colour codes for related layers or the ability to group layers.
Layer groups are also planned.

Locking layers
I'm pretty sure I know what you mean by locking but can you give a specific example of how that would be used? Locked, I assume, as in always visible no matter what else is selected/deselected. Yes?

Only visibility for layers user created. In case you only need a few layers.
Which also means the option to remove layers.

I like that idea so much I've already coded it (and have a screenshot of the results of hiding several layers). Thanks!

What if you need more then 20 layers?
Believe me, I've considered it, but to do you you'd have to have a setup step where you defined which objects are in which "virtual" layer. After that however it's simply a case of moving the from layer to layer as needed/required. But for now I'll just call that one food for thought.

Don't know if a preview is possible but if you could, WOW.(think Photoshop)
Now that would be very nice. Worth looking into.
#5   Old 19-Jan-06, 06:40   
Reply With Quote
macouno's Avatar
macouno macouno is offline
Member
 
Join Date: Jan 2002
Location: netherlands
Posts: 2,514
I'm really not sure... but I think I rememer a "layer window" with a lot of this functionality in an "orange build"?

I'd check on that before spending a lot of time coding... but remember... I'm not sure at all.
#6   Old 19-Jan-06, 13:10   
Reply With Quote
FourMadMen FourMadMen is offline
Member
 
Join Date: Jan 2004
Posts: 506
Well I looked and did not see anything. Either way it's a good learning excersice as I've not done all that much Python coding.

So...

The code for version 1.0 is ready, I just need to workup some documentation and then I'll be ready to release:

#7   Old 21-Jan-06, 10:23   
Reply With Quote
FourMadMen FourMadMen is offline
Member
 
Join Date: Jan 2004
Posts: 506
Version 1.0 released. See first post for links.
#8   Old 22-Jan-06, 01:29   
Reply With Quote
bauhaus bauhaus is offline
 
Join Date: Feb 2005
Location: Pacific Northwest, U.S.A.
Posts: 5
Just tried this out and it looks like a great script! This will be very helpful organizing objects in larger projects and scenes. The only things I could possibly think of adding would be the 'locked layer' feature vliegtuig mentioned (the ability to lock layers with objects that remain visible without being able to select, modify, or move the items on those layers) and a 'layer by color' feature where layers could be assigned colors. Ideally, the layer color would be the wireframe color for the objects on that layer. Many CAD programs use these tools for organizing items in models/drawings.

Very cool script... many thanks for all your work!
#9   Old 22-Jan-06, 09:06   
Reply With Quote
vliegtuig's Avatar
vliegtuig vliegtuig is offline
Member
 
Join Date: Feb 2005
Location: Beer Capital of the World
Posts: 1,371
Quote:
Originally Posted by bauhaus
the ability to lock layers with objects that remain visible without being able to select, modify, or move the items on those layers
Exactly.

Quote:
Originally Posted by bauhaus
and a 'layer by color' feature where layers could be assigned colors. Ideally, the layer color would be the wireframe color for the objects on that layer.
Exactly.

I hope your layer system will be implemented or at least be an inspiration for the ones who are developing it.
P
............................................
So what if I call myself an airplane? Others call themselves a bush. What's smart about that?
#10   Old 22-Jan-06, 17:18   
Reply With Quote
FourMadMen FourMadMen is offline
Member
 
Join Date: Jan 2004
Posts: 506
Thanks guys, I hope it's helpful to you. Both excellent features. I've just written my first spacehandler script as a test but it doesn't play nice with "Undo" (crashes Blender).

Update to the script, now on Version 1.0a. I removed exit on ESC key (Q key and Exit button remain) and since Undo "kills" the running GUI scripts I have added an autoload feature that will load the most recent file on startup if it exists).

Layer Manager Homepage
#11   Old 22-Jan-06, 20:36   
Reply With Quote
FourMadMen FourMadMen is offline
Member
 
Join Date: Jan 2004
Posts: 506
Version 1.0b is out. Autoload was not refreshing the visible layer list after loading.
#12   Old 23-Jan-06, 00:14   
Reply With Quote
FourMadMen FourMadMen is offline
Member
 
Join Date: Jan 2004
Posts: 506
Version 1.1 now released. This is probably the last in the flurry of releases for awhile. It adds 3 new buttons and fixes an issue with CTRL+Click. See Layer Manager Homepage for full description of changes.
#13   Old 23-Jan-06, 03:00   
Reply With Quote
vliegtuig's Avatar
vliegtuig vliegtuig is offline
Member
 
Join Date: Feb 2005
Location: Beer Capital of the World
Posts: 1,371
Great work!
P
............................................
So what if I call myself an airplane? Others call themselves a bush. What's smart about that?
#14   Old 23-Jan-06, 13:22   
Reply With Quote
FourMadMen FourMadMen is offline
Member
 
Join Date: Jan 2004
Posts: 506
Thanks, having fun and learning a thing or two about Python (and the Blender API).

After using the script more and more I was finding it difficult (or atleast not fun) to move objects from layer to layer. After the second time of having to "translate" the Script Later dispaly to the Blender layer buttons I said...

Time for Version 1.2. Updated the page with expanded docs, notes, and keyboard shortcuts. Enjoy.

Can now move selected objects to selected layers from the script GUI. Also have the start of layer locking, but am not happy at how the event/redraw system is working so that function is not quite what I'd like it to be.
#15   Old 24-Jan-06, 05:37   
Reply With Quote
wavk's Avatar
wavk wavk is offline
Member
 
Join Date: Mar 2002
Location: The Netherlands
Posts: 336
Hi FourMadMen,

This would be a script that would be on all the time right? Well then I would not create two columns of layer buttons, but put them in one column. That saves a lot of space and you could have it as a nice side bar.

Wybren
#16   Old 24-Feb-06, 07:52   
Reply With Quote
hoxolotl's Avatar
hoxolotl hoxolotl is offline
Member
 
Join Date: May 2002
Location: Netherlands
Posts: 702
Nice work, good luck on the locking layers.
Another maybe nice feature: a small overview of what is in the layers next to the buttons (for those messy people like me who tend to forget where they put stuff 8) ) like this

(button) (button) (...) (1Camera, 4cubes, 8lights)
(button)(button) (....) (7 bones, 2 planes)
etc...

It's just a suggestion, like you could tell me just to name my layers correctly

"Lazyness is just another form of efficiency"
............................................
"If the best view is seen from the edge of a cliff, it's best to know which way you're facing before thinking two steps ahead."
#17   Old 24-Feb-06, 08:18   
Reply With Quote
tioilmo's Avatar
tioilmo tioilmo is offline
Member
 
Join Date: Oct 2005
Location: São Paulo - Brazil
Posts: 32
The first time I heard about layers in animation was when I opened the Flash 2D Application.

They have a nice layer system. You can open as many layers you want (although I think 20 is enough to be organized). Suppose you just need 2 layers in your project, you do not need to show 20 layers in the Menu as Blender 3d default works. The best in Flash layers is the way they manage the status of the layers. They have some little bottons beside each layer where you can just click to chose if the layer is locked, visible etc ... If a developer analised the Flash layer system i think he could extract many ideas to Blender 3D become better in this tool.

I think it sounds a good idea improve the Blender 3D layers layout to something like Flash layers structure, but I do not know if it is totaly applicable.

Thanks,

Tio Ilmo
#18   Old 24-Feb-06, 16:28   
Reply With Quote
roofoo's Avatar
roofoo roofoo is offline
Member
 
Join Date: Jan 2004
Location: North Carolina, USA
Posts: 1,236
I don't know if my idea is feasible or not, but it would be nice to be able to affect the alpha transparency of a selected layer, for animations where objects fade in/out. Just a thought....
#19   Old 27-Feb-06, 04:56   
Reply With Quote
FourMadMen FourMadMen is offline
Member
 
Join Date: Jan 2004
Posts: 506
Sorry for the delay in getting back to respond but I've been sick the past week or so. Thanks for the suggestions everyone. I'm finalizing some research into coding the next version and will make an announcement here in the next few days. Stay tuned...
#20   Old 03-Mar-06, 07:07   
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 12:42.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Blender Headlines
Featured Artwork
Short animation: Barrel by Phlopper
Woolly mammoth by sebastian_k
Photorealistic classic furniture by eMirage
Social BlenderArtists