Page 1 of 5

Re: PolyMesh Duplicator v1.1

Posted: 11 Nov 2009, 14:32
by nassosy
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.

Re: PolyMesh Duplicator v1.1

Posted: 11 Nov 2009, 15:33
by Squizmek
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?

Re: PolyMesh Duplicator v1.1

Posted: 11 Nov 2009, 16:49
by nassosy
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

Re: PolyMesh Duplicator v1.1

Posted: 12 Nov 2009, 19:33
by Squizmek
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!

Re: PolyMesh Duplicator v1.1

Posted: 12 Nov 2009, 21:33
by nassosy
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.

Re: PolyMesh Duplicator v1.1

Posted: 12 Nov 2009, 21:38
by nassosy
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.

Re: PolyMesh Duplicator v1.1

Posted: 12 Nov 2009, 21:41
by nassosy
And BTW,
my apologies for the messy C++ source.

Re: PolyMesh Duplicator v1.1

Posted: 12 Nov 2009, 23:40
by Maximus
i dont understand how this work...
i have SI 2010 x64 SP1

Following your vimeo tutorial.
After install i open a new fresh scene, create cube -> Polygon MEsh - > polymesh duplicator, then i get an error wich is this:


' VERBOSE : ApplyPolyMeshDuplicator_Execute called
' ERROR : 2028-EDIT-AddICECompoundNode - Invalid argument specified. - [line 97 in C:\Users\Max\Autodesk\Softimage_2010_SP1\Addons\PolyMeshDuplicator\Application\Plugins\ApplyPolyMeshDuplicator.vbs]
' ERROR : 2028-CUST-ApplyPolyMeshDuplicator - Invalid argument specified.
ApplyPolyMeshDuplicator

Then i check the explorer, and i found Cube and cube_copies wich has "PolyMeshDuplicator" under modeling construction mode. I click that open it up and change the values from 1 to anything else and they dont duplicate, nothing happens.

No idea whats wrong.. i installed the last one you posted, this one:

PolyMeshDuplicator Addon v1.2.1.rar [61.33 KiB]

Can help me please ? :D
Thanks a lot for your patience

Re: PolyMesh Duplicator v1.1

Posted: 13 Nov 2009, 00:45
by Squizmek
Maximus wrote: ' VERBOSE : ApplyPolyMeshDuplicator_Execute called
' ERROR : 2028-EDIT-AddICECompoundNode - Invalid argument specified. - [line 97 in C:\Users\Max\Autodesk
Restart XSI after installing the Addon. Then it will find the new compounds.

Re: PolyMesh Duplicator v1.1

Posted: 13 Nov 2009, 09:11
by Maximus
did that, i do the same thing as before and nothing happens

Image

No idea whats wrong :(

Re: PolyMesh Duplicator v1.1

Posted: 13 Nov 2009, 10:28
by nassosy
when changing the scripts i "cut & pasted" instead of "copying & pasting" some parts
my mistake. x_x :-s :(

redownload from here please

Re: PolyMesh Duplicator v1.1

Posted: 13 Nov 2009, 13:17
by Maximus
thanks!!!! works perfect! :)

Re: PolyMesh Duplicator v1.1

Posted: 14 Nov 2009, 01:37
by wireframex
Hi

I can't install this script maybe it is not compatible with 7.01 x64 ?

Phil

Re: PolyMesh Duplicator v1.1

Posted: 14 Nov 2009, 02:06
by nassosy
What do you mean you can't install?
Does it give you an error?
Does it's icon in the Plugin Manager have a red triangle?
Does it install and does nothing?
Does it crash 7.01?
What??? :-??

Re: PolyMesh Duplicator v1.1

Posted: 14 Nov 2009, 11:40
by wireframex
Sorry,

There is the message from XSI :

The plugin is not compatible with the current platform ...

PolymeshDuplicator installed from Install Add-On menu

XSI 7.01 x64
windows 7 Ultimate x64
RAM 8 Go

Phil

Re: PolyMesh Duplicator v1.1

Posted: 14 Nov 2009, 12:13
by nassosy
This is weird, since i compiled it with the 7.01 x64 libraries.
on my winxp 64 machine it works fine.

I repacked the addon from inside 7.01 x64
if it still doesn't work
i rar'ed the folder structure of the addon
so just decompress it in your "Addons"
user directory under the name "PolyMeshDuplicator"
and either restart XSI or manually load it.