[Plugin] Layers Panel 1.2.1
-
WARNING : Layers panel is not maintained anymore.
It is open-source, anyone can contribute and update it. Here is the repo : https://github.com/jiminy-billy-bob/Layers-PanelAs a result, I'm not responding to bug or feature requests anymore. You can still post them, in case another developer might want to fix/add them.
If you're a developer, take a look at [url=http://sketchucation.com/forums/viewtopic.php?p=525648#p525648:3q55jzcd]Layers Panel's API[/url:3q55jzcd], to make your plugin interact with it
Layers Panel basically replaces Sketchup's layers window. It reproduces every features of it, and adds the ability to group layers, sort them, hide/collapse groups, choose which layers to render, etc.
It was designed to be very similar to Photoshop's layers panel, as I use it a lot and find it very handy.Layer states:
Render feature:
Warnings
- Although the undo/redo support was improved a lot since the alpha versions, sometimes it still messes up (rarely), which prevents you to redo some operations.
- By using this plugin, you agree to send completely anonymous data, used to improve it.
Recommended : Windows Vista-7-8, OSX 10.7+, Sketchup 8+, Internet Explorer 9+.
Should work with (no support) : Windows XP, Sketchup 7, Internet Explorer 8.
Usage
Add a new group
Add a new layer. Hold-down click on the button to access extra options
Delete highlighted layer(s) and all its content
Delete highlighted layer(s) and move its content to layer0
Delete highlighted layer(s) and move its content to the active layer
Toggle color by layer
Collapse or expand the group
Drag and drop layer
Make layer the active layer
Toggle the layer's visibility (See shortcuts below)
Toggle layer's visibility at rendertime (See below)
Lock highlighted layer(s): It can't be deleted or purged from within Layers Panel (It can still be deleted or purged from Sketchup)
Move the selection to the highlighted layer[img:3q55jzcd]http://i.imgur.com/NRmqKNA.png[/img:3q55jzcd] Select highlighted layer's content
[img:3q55jzcd]http://i.imgur.com/8yIEtNw.png[/img:3q55jzcd] Highlight the selection's layer(s)
[img:3q55jzcd]http://i.imgur.com/TxunVg6.png[/img:3q55jzcd] Make the selection's layer(s) active
Shortcuts
- CTRL+G : Group highlighted layers
- CTRL+SHIFT+G : Ungroup layers
- CTRL+A : Select all
- CTRL+E : Merge highlighted layers
- ALT+click on layer visibility : Isolate layer
- CTRL+click on layer visibility : Isolate layer in its group
- SHIFT+click on layer visibility : Toggle all highlighted layers
Right-click on a color to change it. (SU2014+ only)
The way you sort/nest layers is simple, just grab the handle on the left of a layer/group, and drop it where you want. To choose the depth of the nesting, move the layer to the right or the left, like this :
[img:3q55jzcd]http://i.imgur.com/06x6Zia.png[/img:3q55jzcd]
Download
Directly on the PluginStore :
http://sketchucation.com/resources/pluginstore?pln=Layers_Panel
Your feedback would be very appreciated, improvement ideas, features, etc...
If you encounter any bug, please tell me, with instructions to who reproduce it. And please include your OS, SU version, and IE version.
Hope you'll like it !
[url=https://www.paypal.com/cgi-bin/webscr?cmd=_donations%26amp;business=thomash76%40gmail%2ecom%26amp;lc=GB%26amp;item_name=Thomas%20Hauchecorne%26amp;cy_code=EUR%26amp;bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted:3q55jzcd]Donate...[/url:3q55jzcd]
Changelog :
1.2.1
- Fixed a major issue that could corrupt the model (Caused by SU14 and below)
- Fixed States dialog
- Added API methods
1.2.0
- Added an History dialog, to easily revert back if groups/order disappear
- Added a right-click menu
- Fixed an issue causing an infinite undo loop
- Fixed encoding issue with non-english characters and alphabets
- The dialog now remembers its position in OSX
- Fixed minimizing
- Added support for KeyShot5
1.1.1
- Fixed a major issue that would freeze Layers Panel when using several features (e.g adding a group)
- Added an API that allows other plugins to interact with Layers Panel
1.1.0
- Added layer "states" (with new dialog). States allows to save snapshots of the current layers visibility, and restore them later.
- Fixed several bugs
1.0.6
- Improved "add layer" menu (Hold-down the add layer button), based on Jim's great "Add layer" plugin
- Fixed "Win32api" error when opening a file from a different drive than sketchup's. (Thanks to Dan Rathbun and TIG)
- Fixed layer colors vanishing when switching scenes
1.0.5
- Fixed major issues that would freeze Layers Panel, or delete every groups
- Added API for rendering
1.0.4
- Added better feedback when sorting multiple layers/groups at once
- Added support for Podium V2+
- Fixed support for Indigo
1.0.3
- Fixed multiple important issues on OSX
1.0.2
- All selected layers are now sorted together
- Added shift-click for multiple selection
- Fixed issue when copy/pasting from another instance creates a new layer
- Fixed minimize/maximize
1.0.1
- Fixed bug with undo operations
1.0.0
- Added layer colors for SketchUp 2014 (Right-click on a color to change it)
- Fixed issue with undo operations
0.10.2
- Better management of multiple models opened on OSX (You need to pan/orbit/zoom to trigger the change)
- Added debug dialog
- Fixed bug at startup
0.10.1
- Fixed options dialog on OSX
- Added Command key for shortcuts on OSX
- Fixed naming issue with Google Earth terrain
0.10
- Added compatibility with Keyshot renderer
- Added "Add layer on new pages"
- "New layer" button hold-down time is now faster
- Minimize/maximize should work better
0.9.1
- Fixed options dialog on OSX
- Disabled automatic display of floating toolbar on OSX
- Fixed "Add layer hidden on new pages"
- Fixed clash with RichSections plugin
- Several bug fixes
0.9
- OSX support
- Fixed clicking on layer's name not selecting it
0.8
- Added ALT+click on layer visibility : Isolate layer
- Added CTRL+click on layer visibility : Isolate layer in its group
- Added SHIFT+click on layer visibility : Toggle all highlighted layers
- Added button to highlight selection's layer
- Added button to select highlighted layer's entities
- Fix copy/paste between instances
0.7
- Added a dark bar at the top to minimize/maximize the dialog
- Added CTRL+G : Group selected layers
- Added CTRL+SHIFT+G : Ungroup layers
- Added CTRL+A : Select all
- Added CTRL+E : Merge selected layers
- Added different color for groups
- Layer0 is now selectable
- Fix bug with sorted groups
- Potential fix for IE version bug
0.6
- Fix scene auto-update (This is now an option)
- Adds an options to hide the warning for outdated IE versions (This is intended for people with the warning appearing even though their IE is up to date)
0.5.2
- Fix bug where "old layers" (created before Layers Panel was installed) were not listed
- Fix bug where groups couldn't be renamed after being nested in another one.
0.5.1
- Fix gap at the top when hiding the render toolbar
0.5
- Displays a warning when drawing geometry to another layer than layer0
- New Delete button that moves content to the current layer
- New button to set selection's layer as current layer
- New button to move selection to highlighted layer
- Now supports Podium render
- Option to purge unused groups
- Option to hide the render toolbar
- Option to open Layers Panel when Sketchup starts
- Potential fix for rename bug
0.4
- Adds the ability to choose which layers to render (Works with Vray, Maxwell, Indigo, and Kerkythea)
- Fix bug when having too many layers
- The dialog now remembers its size and position when closed
- Fix focus jumping at the top of the dialog
0.3.2
- Fix bugsplat when deleteing/purging layers with Outliner opened
- New naming conventions (For the Extension Warehouse)
0.3.1
- Fix group names disappearing
0.3
- Locking layers (Works only when purging or deleting from the plugin's menu)
- Ability to add a layer only visible in the current scene (New pop-up menu when holding the "Add layer" button)
- Layers Panel is now a toolwindow, but you can't dock nor collapse it
- Two different delete buttons, for better performance (The red cross deletes the layer content, the green arrow moves the content to the default layer)
- Several bug fix
0.2
- Fix bug with existing layers
-
And plugin of the year award goes to jiminy-billy-bob!
Do you think selecting multiple layers to drag them all at once inside a folder possible in the future?
Again beautiful work can't wait to see what you come up with next...cheers!
-
@renderiza said:
And plugin of the year award goes to jiminy-billy-bob!
-
@renderiza said:
Do you think selecting multiple layers to drag them all at once inside a folder possible in the future?
It would indeed be usefull. I already tried, but I use a jquery plugin for sorting/nesting, I didn't write the feature. I guess I'll have to dig into this
-
Exellent! I'll give this a go later..
@unknownuser said:
It would indeed be usefull. I already tried, but I use a jquery plugin for sorting/nesting, I didn't write the feature. I guess I'll have to dig into this
I suspect you are using Jquery draggable, droppable and sortable, right?
I'm working on similar things for my "node-editor". So far I get the impression (from all over the place) implementing "multiselect" is a bit funky. At least if you would like to do some kind of rectangle-select-multi-thingy and use thoose 3 UI features mentioned. I hope I'm wrong, cause it would be great if it could be done easily and stable.
Anyhooo... Here's a snippet that at least let you select multiple and drag them..
Now, sorting/dropping them is another thing..(hint use ctrl to select 1 instance)
edit: Sorry posted wrong fiddle:
-
@jolran said:
I suspect you are using Jquery draggable, droppable and sortable, right?
Nope, I'm using NestedSortable, and jQueryUI's "Selectable" feature. I'll have to combine the two.
-
Ahh, I see. That's a different matter then..
-
I've been waiting for this forever...
@unknownuser said:
It does not work on OSX !
I tested it on windows 7 and 8, with Sketchup 8 and 2013, and Internet Explorer 10.Does that mean I'll just have to wait longer β i.e. it doesn't work YET on OSX, but should with additional testing / debugging β or is it that it CAN'T work on OSX?
Really hoping that a future release will include OSX compatibility. Great work in any case!
-
It should with some addition/modification of the code. The main problem is that I don't have a mac, so I'll need a mac user to help me testing.
-
This is so incredibly useful it takes my breath away.
There isn't a smilie that comes close to expressing how great this plugin is even in a beta state. -
I added it but for future updates you can familiarize yourself with the links below
http://sketchucation.com/my-plugins/
http://sketchucation.com/forums/viewforum.php?f=382
http://sketchucation.com/forums/viewtopic.php?f=382&t=52516
http://sketchucation.com/resources/pluginstore?pauthor=jiminy-billy-bob
-
Thanks a lot for your kind words, guys. I'm glad you like it.
@rich o brien said:
I added it but for future updates you can familiarize yourself with the links below
Great, thanks !
-
Installed your plugin. Hope this is the type of feedback you wish to have.
Image 1 - Error received after trying to open layer panel menu.
Image 2 - Error received after trying to save the file as template.
Hope this helps.
Sketchup V13 pro
Window 7
Thanks for this plugin. Hope you get it working.
Ken
-
Very nice and useful plugin.
Thank you! -
Awesome. Another very needed plugin to help sort and organize. This will get a ton of use.
THANK YOU
Daniel -
Ken > Your first bug was coming from layers created before the plugin installation, this new version 0.2 should fix it : http://sketchucation.com/resources/pluginstore?pln=Layers_Panel
Not sure about the second... Do you have this problem with every file you're trying to save as template, even a brand new one ?
-
@jiminy-billy-bob said:
Ken > Your first bug was coming from layers created before the plugin installation, this new version 0.2 should fix it : http://sketchucation.com/resources/pluginstore?pln=Layers_Panel
Not sure about the second... Do you have this problem with every file you're trying to save as template, even a brand new one ?
I can save a template files OK. No problems.
And yes the layers were created before installing your plugin. They are layers I had on my template. Will remove all my layers and try again.
Thanks for the quick response.
Ken
-
The new version should work ok with old layers. No need to remove them.
-
@jiminy-billy-bob said:
It should with some addition/modification of the code. The main problem is that I don't have a mac, so I'll need a mac user to help me testing.
I am very much willing to help testing.
-
That's kind of you, but do you have any knowledge in ruby/javascript development ?
Advertisement