quickShutter
Plugins linking to this thread: (hide)
QuickShatter
aka QuickShutter. An easy to use shatter script working on any object, polygon or
polygon islands selection. Includes unmerge.pys and unmergeParent.pys, two scripts
which convert the polygon islands that were created to individual objects.
local backup: quickShatterAll.pys Unmerge.pys UnmergeParent.pys
local backup: quickShatterAll.pys Unmerge.pys UnmergeParent.pys
sortSequence
A file automation script that works in a given windows folder. It detects any existing
sequence of files and for each one, creates a folder with the same base name and then
copies the files of the sequence into that folder.
local backup: sortSequence.pys
local backup: sortSequence.pys
quickShutter
Hi everyone, here is my new script quickShutter.
How it work, see video:
and bonus:
quickUnmerge - unmerging all merge objects and select them, and delete source object
quickUnmergeParent - unmerging all merge objects and select them, and move all object into source object (if you need to keep animation!)
sortSequence - this scripts work with your windows folder, where you have many image sequence and you need to move image sequence to folder with the same name respectively (but you need change 'e:\\test\\' to your path and Run)
download
https://drive.google.com/folderview?id= ... sp=sharing
How it work, see video:
and bonus:
quickUnmerge - unmerging all merge objects and select them, and delete source object
quickUnmergeParent - unmerging all merge objects and select them, and move all object into source object (if you need to keep animation!)
sortSequence - this scripts work with your windows folder, where you have many image sequence and you need to move image sequence to folder with the same name respectively (but you need change 'e:\\test\\' to your path and Run)
download
https://drive.google.com/folderview?id= ... sp=sharing
- wireframex
- Posts: 399
- Joined: 08 Jun 2009, 23:02
- Location: France
Re: quickShutter
Thanks a lot for sharing this
Phil
Phil
"without mastery, power is nothing" - Softimage Addict User
CPU 3990x 128 Threads / 2 x 3090 RTX - 24 Go / 96 Go memory
CPU 3990x 128 Threads / 2 x 3090 RTX - 24 Go / 96 Go memory
Re: quickShutter
Wow nice! The shatter script you have is exactly what I was thinking to.. search for and use for a potential client. Beautiful. Thanks!
-
- Posts: 253
- Joined: 17 Feb 2010, 15:13
Re: quickShutter
this looks great!
unfortunately i get an empty mesh called "meshshutter01" when using quickShatterAll.pys.
using softimage 2015
unfortunately i get an empty mesh called "meshshutter01" when using quickShatterAll.pys.
using softimage 2015
SI 2015 @ WIN7-64
Re: quickShutter
thanx guys
caledonian_tartan, sorry i dont have 2015 to test it, but i think it should work, im work in 2013
so, you select an object, and after you click Run in script editor, your object is gone??
can you screenshot whats the error and log write script editor
caledonian_tartan, sorry i dont have 2015 to test it, but i think it should work, im work in 2013
so, you select an object, and after you click Run in script editor, your object is gone??
can you screenshot whats the error and log write script editor
-
- Posts: 253
- Joined: 17 Feb 2010, 15:13
Re: quickShutter
i basically just put a cube in the scene and run the script.
at the end, just a empty polymesh is left. no errors.
at the end, just a empty polymesh is left. no errors.
Code: Select all
#create a cube and subdivide a little bit
Application.CreatePrim("Cube", "MeshSurface", "", "")
Application.SetValue("cube.polymsh.geom.subdivu", 24, "")
Application.SetValue("cube.polymsh.geom.subdivv", 24, "")
Application.SetValue("cube.polymsh.geom.subdivbase", 24, "")
Application.FreezeObj("", "", "")
#running the script
Application.GetPrim("PointCloud", "", "", "")
Application.SetValue("pointcloud.Name", "pcshutter01", "")
Application.GetPrim("EmptyPolygonMesh", "", "", "")
Application.SetValue("polymsh.Name", "meshshutter01", "")
Application.ApplyOp("ICETree", "pcshutter01", "siNode", "siPersistentOperation", "", 0)
Application.AddICECompoundNode("Build Slice Planes", "pcshutter01.pointcloud.ICETree")
Application.ConnectICENodes("pcshutter01.pointcloud.ICETree.port1", "pcshutter01.pointcloud.ICETree.Build_Slice_Planes.execute")
Application.SetValue("pcshutter01.pointcloud.ICETree.Build_Slice_Planes.Reference1", "cube", "")
Application.ApplyOp("ICETree", "meshshutter01", "siNode", "siPersistentOperation", "", 0)
Application.AddICECompoundNode("Create Basic Shatter from Point Cloud", "meshshutter01.polymsh.ICETree")
Application.ConnectICENodes("meshshutter01.polymsh.ICETree.port1", "meshshutter01.polymsh.ICETree.Create_Basic_Shatter_from_Point_Cloud.Execute")
Application.AddICENode("GetDataNode", "meshshutter01.polymsh.ICETree")
Application.SetValue("meshshutter01.polymsh.ICETree.SceneReferenceNode.reference", "pcshutter01", "")
Application.ConnectICENodes("meshshutter01.polymsh.ICETree.Create_Basic_Shatter_from_Point_Cloud.Point_Cloud_Name", "meshshutter01.polymsh.ICETree.SceneReferenceNode.outname")
Application.AddICENode("GetDataNode", "meshshutter01.polymsh.ICETree")
Application.SetValue("meshshutter01.polymsh.ICETree.SceneReferenceNode[1].reference", "cube", "")
Application.ConnectICENodes("meshshutter01.polymsh.ICETree.Create_Basic_Shatter_from_Point_Cloud.Polygon_Mesh_Name", "meshshutter01.polymsh.ICETree.SceneReferenceNode[1].outname")
Application.SetValue("pcshutter01.pointcloud.ICETree.Build_Slice_Planes.Seed", 679, "")
Application.FreezeModeling("meshshutter01", "", "siUnspecified")
Application.DeleteObj("cube")
Application.DeleteObj("pcshutter01")
SI 2015 @ WIN7-64
- Daniel Brassard
- Posts: 878
- Joined: 18 Mar 2010, 23:38
- Location: St. Thomas, Ontario
- Contact:
Re: quickShutter
Hi Caledonian_tartan
In your code, the line defining "meshshutter01" should it not be?
In your code, the line defining "meshshutter01" should it not be?
Code: Select all
Application.GetPrim("EmptyPolygonMesh", "", "", "")
Application.SetValue("EmptyPolygonMesh.Name", "meshshutter01", "")
$ifndef "Softimage"
set "Softimage" "true"
$endif
set "Softimage" "true"
$endif
-
- Posts: 253
- Joined: 17 Feb 2010, 15:13
Re: quickShutter
unfortunately not. polymsh is fine.
if i prevent object deletion and freeze and change this: (set integer value to one)
Application.SetValue("meshshutter01.polymsh.ICETree.Create_Basic_Shatter_from_Point_Cloud.Init_PolyMeshTopologyArray.IntegerNode.value", 1, "")
i can see one chunk...
but building an array there doesn't help
if i prevent object deletion and freeze and change this: (set integer value to one)
Application.SetValue("meshshutter01.polymsh.ICETree.Create_Basic_Shatter_from_Point_Cloud.Init_PolyMeshTopologyArray.IntegerNode.value", 1, "")
i can see one chunk...
but building an array there doesn't help
SI 2015 @ WIN7-64
- Daniel Brassard
- Posts: 878
- Joined: 18 Mar 2010, 23:38
- Location: St. Thomas, Ontario
- Contact:
Re: quickShutter
What does your ICETree on the pointcloud and EmptyPolygonMesh look like? Comment the DeleteObj line in the script and check Softimage scene structure and both IceTree.
The script is basically an automation of this on whatever polygon mesh is selected at the time
http://download.autodesk.com/global/doc ... 1-1033.htm
The script is basically an automation of this on whatever polygon mesh is selected at the time
http://download.autodesk.com/global/doc ... 1-1033.htm
$ifndef "Softimage"
set "Softimage" "true"
$endif
set "Softimage" "true"
$endif
Who is online
Users browsing this forum: No registered users and 16 guests