PolyMesh Duplicator v1.2.1

Plugins linking to this thread: (hide)

PolyMesh DuplicatorAuthor: Nassos Yiannopoulos
V1.2.1 Nassos' recreation of Guillaume Laforge's addon (see video). Creates multiple procedural copies of a mesh which can be accessed from an ICE tree. Just like Houdini's Copy/Duplicate SOP. See video tutorial on vimeo, and for more details see the si-community discussion link.

local backup: PolyMeshDuplicator1.2.1.zip

nassosy
Posts: 81
Joined: 02 Oct 2009, 23:50
Location: Greece
Contact:

PolyMesh Duplicator v1.2.1

Post by nassosy » 20 Oct 2009, 22:45

********Update
v1.1: Added a command to separate the duplicated mesh into multiple objects.
The stack of the duplicated mesh must NOT be frozen (it needs the PolyMeshDuplicator operator).
Right now clusters, animation and uv coords are completely ignored.
The "separate" command is meant to be fast (hopefully someone will also make it feature complete)
because all the other scripts i found on the net are way too slow.
The commands have been moved to the "Modeling > Modify > PolyMesh" menu.
Added a "Move to 3D Grid with CopyID" ICE compound, to help make 3D Grid formations.
Source code is included.

v1.0 info:
Makes procedural duplicates of a polygonMesh object that can be manipulated in ICE.
Just like Houdini's Copy/Duplicate SOP.
I saw Guillaume Laforge's op here
http://www.vimeo.com/groups/ice/videos/6996197
and since i couldn't find his online, i decided to make my own.
Use it at your own risk.

For XSI 7.01 x86-x64 windows

Posted a video tutorial of it here:
http://www.vimeo.com/7218396


Update: Added "Random with CopyID", "Transform to PointCloud with CopyID"
and "Move to 3D Grid with CopyID" ICE compounds

Local copy can be found here: http://www.si-community.com/download/pl ... v1.2.1.rar

Usage:
Now you no longer have to open up an ICE tree to get it working.

To use "PolyMesh Duplicator for Pointcloud":
- Select the mesh that is used as instance shape.
- Choose Modify->Poly.Mesh->PolyMesh Duplicator for Pointcloud
- Pick the pointcloud to which the geometry should be matched.
- In the "Copies" field of the PolyMeshDuplicator operator, enter the
number of particles.

If you do not know the number of particles, you can
find it out by choosing View->Scripting->SDK Explorer. Then select the
pointcloud, choose "Object Details" and scroll down until you see: "Number of particles: xxxxx"
Attachments
PolyMeshDuplicator Addon v1.2.1.rar
(61.39 KiB) Downloaded 1247 times
CopyID Compounds.rar
(4.18 KiB) Downloaded 1029 times
PolyMeshDuplicator Addon v1.1.rar
(40.17 KiB) Downloaded 1016 times
Last edited by nassosy on 26 May 2010, 13:34, edited 8 times in total.

wailingmonkey
Posts: 14
Joined: 21 Aug 2009, 07:49

Re: PolyMesh Duplicator

Post by wailingmonkey » 21 Oct 2009, 18:49

that looks to be quite handy!

Thank you for sharing it, nassosy, and thank you for
generously sharing your other recent ICE goodies as well!

:)

scaron
Posts: 119
Joined: 08 Jul 2009, 05:16

Re: PolyMesh Duplicator

Post by scaron » 21 Oct 2009, 20:18

whats the chances you would make the source available?

nassosy
Posts: 81
Joined: 02 Oct 2009, 23:50
Location: Greece
Contact:

Re: PolyMesh Duplicator

Post by nassosy » 21 Oct 2009, 21:09

DL it from above. :-bd
Last edited by nassosy on 23 Oct 2009, 12:31, edited 1 time in total.

scaron
Posts: 119
Joined: 08 Jul 2009, 05:16

Re: PolyMesh Duplicator

Post by scaron » 23 Oct 2009, 04:13

thanks! more of this open shared knowledge will only help bring more customizations to our community

User avatar
Maximus
Posts: 1103
Joined: 09 Jun 2009, 15:45

Re: PolyMesh Duplicator v1.1

Post by Maximus » 06 Nov 2009, 22:19

any chance you're gonna compile it for softimage 2010 x64 ?
i tried and doesnt work :)
thanks for sharing !

nassosy
Posts: 81
Joined: 02 Oct 2009, 23:50
Location: Greece
Contact:

Re: PolyMesh Duplicator v1.1

Post by nassosy » 07 Nov 2009, 17:44

I only have 2010 SP1 x64 and it works
If you try to import scenes from previous releases (ex. 7.01),
you have to re-apply the operator,
because SI doesn't seem to properly connect it
(don't know why)

I attached a sample scene
(the forum doesn't allow uploads > 256kb, :-?
so it is split :-?? )
Attachments
PolyMesh_Duplicator 2010 sample 01.part03.rar
(86.34 KiB) Downloaded 708 times
PolyMesh_Duplicator 2010 sample 01.part02.rar
(256 KiB) Downloaded 756 times
PolyMesh_Duplicator 2010 sample 01.part01.rar
(256 KiB) Downloaded 769 times

Robert_XSI
Posts: 31
Joined: 10 Nov 2009, 10:59

Re: PolyMesh Duplicator v1.1

Post by Robert_XSI » 10 Nov 2009, 11:12

Thanks for your great tool!! :ymhug:

Is it possible to reproduce this effect with your addon?


http://vimeo.com/groups/ice/videos/6999806

http://vimeo.com/groups/ice/videos/6996197

And I would like to make, for instance, random distribution of these spheres, is it possible somehow.

Thanks in advance!

nassosy
Posts: 81
Joined: 02 Oct 2009, 23:50
Location: Greece
Contact:

Re: PolyMesh Duplicator v1.1

Post by nassosy » 10 Nov 2009, 13:55

Robert_XSI wrote:Thanks for your great tool!! :ymhug:

Is it possible to reproduce this effect with your addon?


http://vimeo.com/groups/ice/videos/6999806

http://vimeo.com/groups/ice/videos/6996197

And I would like to make, for instance, random distribution of these spheres, is it possible somehow.

Thanks in advance!
I added some compounds to help you make it happen,
DL from above.
Attachments
PolyMesh Ramdom.png
PolyMesh Ramdom.png (172.11 KiB) Viewed 20559 times

Robert_XSI
Posts: 31
Joined: 10 Nov 2009, 10:59

Re: PolyMesh Duplicator v1.1

Post by Robert_XSI » 11 Nov 2009, 13:00

Thanks Nassosy for you reply and the compound.
It is such a great tool, so as ICE. I am only a newbie, but sucking in ICE info..

Unfortunately I rather thought about the other movie, this one

http://vimeo.com/6999806

Can I attach your duplicated objects to another cloud points, just like in the above movie?

Highly appreciate you contribution to this small, hopefully fast-expanding community.

THX

nassosy
Posts: 81
Joined: 02 Oct 2009, 23:50
Location: Greece
Contact:

Re: PolyMesh Duplicator v1.1

Post by nassosy » 11 Nov 2009, 14:32

Robert_XSI wrote:
Can I attach your duplicated objects to another cloud points, just like in the above movie?
That's what the "Transform to PointCloud with CopyID" compound does,
plug the point cloud to the geometry port and that's it.

Squizmek
Posts: 53
Joined: 11 Jul 2009, 13:13
Skype: squizmek

Re: PolyMesh Duplicator v1.1

Post by Squizmek » 11 Nov 2009, 15:33

Hi nassosy,
Thank you for sharing your addon, it's very useful!
I would like to modify your script a little to automatically plug in a pointcloud into the "Transform to Pointcloud" node. Do you mind if I re-publish your modified work here?

nassosy
Posts: 81
Joined: 02 Oct 2009, 23:50
Location: Greece
Contact:

Re: PolyMesh Duplicator v1.1

Post by nassosy » 11 Nov 2009, 16:49

Squizmek wrote:Hi nassosy,
Thank you for sharing your addon, it's very useful!
I would like to modify your script a little to automatically plug in a pointcloud into the "Transform to Pointcloud" node. Do you mind if I re-publish your modified work here?
Be my guest :-bd

Squizmek
Posts: 53
Joined: 11 Jul 2009, 13:13
Skype: squizmek

Re: PolyMesh Duplicator v1.1

Post by Squizmek » 12 Nov 2009, 19:33

Ok, now you can convert your pointcloud to a polymesh directly without having to open any ICE-trees!

I have also added a GNU General Public License so this addon remains free. I hope this is ok with you ^:)^

I simply added the following functionality:

New function "PolyMesh Duplicator for Pointcloud"
- Select the mesh that is used as instance shape.
- Choose Modify->Poly.Mesh->PolyMesh Duplicator for Pointcloud
- Pick the pointcloud to which the geometry should be matched.
- In the "Copies" field of the PolyMeshDuplicator operator, enter the
number of particles.

If you do not know the number of particles, you can
find it out by choosing View->Scripting->SDK Explorer. Then select the
pointcloud, choose "Object Details" and scroll down until you see: "Number of particles: xxxxx"

Thanks again for your great Addon!
Attachments
PolyMeshDuplicator Addon v1.2.rar
(61.08 KiB) Downloaded 456 times

nassosy
Posts: 81
Joined: 02 Oct 2009, 23:50
Location: Greece
Contact:

Re: PolyMesh Duplicator v1.1

Post by nassosy » 12 Nov 2009, 21:33

v1.2.1

I corrected some bugs i found to the 1.2 version you posted.
Changed it, so it automatically sets the Copies to the number of particles there are at the current frame,
and renamed the "Transform Geometry to Pointcloud" compound to "Transform PmDuplicated to Pointcloud"
to avoid user confusion.

just uninstall/delete the old addon and install the new one.
Attachments
PolyMeshDuplicator Addon v1.2.1.rar
(61.39 KiB) Downloaded 303 times
Last edited by nassosy on 13 Nov 2009, 10:30, edited 1 time in total.

nassosy
Posts: 81
Joined: 02 Oct 2009, 23:50
Location: Greece
Contact:

Re: PolyMesh Duplicator v1.1

Post by nassosy » 12 Nov 2009, 21:38

Squizmek wrote:
I have also added a GNU General Public License so this addon remains free. I hope this is ok with you ^:)^
Frankly, even if they stole the source code,
I personally doubt that anyone would pay for
such a simple plugin like this.

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests