Create personalized meshes to animate vectors and images.Photoshop’s PSD files integration to easily import, rig and animate your bitmap characters and backgrounds. The most powerful 2D and easy to use rigging system on the market, including Smart Bones, Vitruvian Bones, FK & IK, Advanced Constraints, Shy bones and much more.Includes all features from MOHO DEBUT, and also: for which I don't actually have a need right now.Powerful technology designed for 2D animation It seems that I can't export these layers without adding a root group. I would be really glad if you were still following this thread. It may help to look at the test.psd and collapse all the groups then expand the root group one level at a time to see how the bone hierarchy is set up. Therefore, the layer name is "item bone(hand_r)". There is an example of this in the test.psd where there is an "item" object-layer that is meant to be attached to the hand_r bone-group. To override the bone name for an object, use the format "object_name bone(bone_name)", where object_name is the name of the object-layer and bone_name is the name of the bone-group in the root group. The bounds of all the layers within the group will be used to determine the location of the bone.įor each object exported, the root group will be searched for a group with the same name. If a top level group named "root" is found, the hierarchy within the group will be used to parent the exported objects to bones. The order of the groups and layers is used as the draw order. If the layer is in a group, the image file will be placed in a directory using the group name. The exported files will be placed in the same directory as the PSD file.Įach visible layer will be exported as a cropped PNG image file using the layer name. I don't have a step by step tutorial ready, but here are a few notes on the requirements of the plugin until I can write up something more complete. Ref74.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') ) ĭesc143.putReference( charIDToTypeID('Usng'), ref74 ) ĮxecuteAction( charIDToTypeID('Mk '), desc143, DialogModes.NO ) ĪctiveDocument.saveAs(saveFile, pngSaveOptions, true,Extension.LOWERCASE) Ref73.putClass( charIDToTypeID('Dcmn') ) ĭesc143.putReference( charIDToTypeID('null'), ref73 ) ĭesc143.putString( charIDToTypeID('Nm '), ) Var saveFile= File(oldPath + "/" + docname + "/" + +".png") Īpp.activeDocument.close(SaveOptions.DONOTSAVECHANGES) New Folder(oldPath + "/" + docname).create() įor(var a=0 a activeDocument.activeLayer = () Īim(TrimType.TRANSPARENT,true,true,true,true) I have only tested on CS6 but pretty sure it will work on CS5 You can then access the command (after a restart) from File > Scripts > Export Layer Groups to PNGs (In the example image the ungrouped layer1, a scanned image I am tracing from, is not exported)Īs I can't upload jsx files, just copy and paste the script below into your text editor and save it as 'Export Layer Groups to PNGs.jsx' and copy the file to your Photoshop CS6/Presets/Scripts folder. Head.png (which would have merge the sub group too) The script creates a subfolder in the same directory as the psd, named with the psd's name and within (in this example) would be: For example if you have layers organised as per attached image. I have been working on improving my workflow and have written a simple Photoshop script to exports the contents of each top level layer group into a separate flattened png file for use as in Spriter. This isn't a Spriter Plugin, but a handy Photoshop one to export to Spriter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |