Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

how to convert instancer to polygon or object

how to convert instancer to polygon or object

Anonymous
Not applicable
20,172 Views
7 Replies
Message 1 of 8

how to convert instancer to polygon or object

Anonymous
Not applicable

I tried using options from modify. Its not working. need help

0 Likes
Accepted solutions (1)
20,173 Views
7 Replies
Replies (7)
Message 2 of 8

ray
Advocate
Advocate

The command you used converts instance objects (objects duplicated as instances with the duplicate special command) into geometry, not the particle instancer.

I don't know if Maya has some tool available for baking particle instancer into geo, I see many people are using a script, like this:

 

http://www.sigillarium.com/blog/lang/en/726/

 

 

Message 3 of 8

mspeer
Consultant
Consultant
Accepted solution

Hi!

You can't convert Particle Instances to Polygons.

But MASH can do this (Bake Instancer to objects)  and you can connect nparticles to MASH:

http://help.autodesk.com/view/MAYAUL/2017/ENU/?guid=GUID-4CAEABB4-2D1B-473B-B5BD-F2FB00AE8CB4

Message 4 of 8

mspeer
Consultant
Consultant

Hi!

I might need to add here that this MASH tool of course also works with the Particle Instancer node (it's the same Instancer node as used for MASH).

Message 5 of 8

iekomedia
Enthusiast
Enthusiast

Hello can you explain how the Mash  instancer to geo works. I have a scene or rather you can read my post from the link below. it looks like its working but nothing shows up in outliner during processing and I believe while waiting it crashed so I don't know how far it got. but considering the lack of information, would be hard to tell if its working or how it works. Thank you!

https://forums.autodesk.com/t5/maya-dynamics/trying-to-convert-a-nparticle-instancer-to-polygon-and-...

0 Likes
Message 6 of 8

pixelwash
Enthusiast
Enthusiast

I didn't understand how to use MASH to "import" the nParticle instances, and convert them to geometry either, but I did find another MEL script on Highend3d which still worked with Maya 2018. https://www.highend3d.com/maya/script/instancer-baking-for-maya

(To those that don't know how to get this to work, simply open this script in Notepad, copy it, and paste it into the MEL script editor (after first clearing the editor's display completely). Then select the script in the editor, and select "Save Script to Shelf" in the editor File menu. Select your particle node, and the shelf, and I found there was no need to check anything to do a basic instance to geometry conversion. It takes a while though if you have tens of thousands of instances.

0 Likes
Message 7 of 8

la19c.djimenez
Observer
Observer

I used it in maya 2022and still works! still takes a while but works perfectly : https://www.highend3d.com/maya/script/instancer-baking-for-maya

 

0 Likes
Message 8 of 8

andymc4997
Advocate
Advocate

Hey everyone, 

 

Any way to do this with Maya '24? the High End 3D link is broken, and the InstancetoGeo python script gives me this error:

 

# Error: Missing parentheses in call to ‘print’. Did you mean print(…)?

 

I thought I found a slick way to simulate rice filling up a container, but now I'm at a roadblock :/. 


andymc4997_0-1706142747915.png

 

0 Likes