Jump to content

Dop fracture sim export to maya, fbx? as seperate pieces


gcas

Recommended Posts

I have looked and looked and looked. And cannot find anything, I would think this is a common workflow.

DOP sim, create seperate group for the seperate pieces create.. >> connectiveity>partition>clean>group(to delete inside/outside shared faces)>rop

this successfully creates an OBJ sequence of each piece in its own group; when import as a single OBJ file.

Can I make an obj sequence from these to maya? 1# and 2# does each piece stay in the same group upon creation?

Also I can use this OBJ cache in Houdini and and then export an FBX, but when it comes into maya the fracture sim geo is all one piece.

Anyone actually have an answer to this workflow in its entirety?

Would be greatly appreciated! Thanks!

file attached!

break_sphere_test.hip

Link to comment
Share on other sites

I don't have maya, so I have no way to test, but my gut tells me, the nature of FBX, you would have to have each piece in it's own geo node, and export those geo nodes to have them separate pieces... so it's something that would really require a script ala shelf tool to make it at all feasible if there are more than 10 pieces..

Link to comment
Share on other sites

yes, have successfully figured out how to write out each seperate piece, but how would create a new geometry object for each and place each cache in a new node, and continue to do this for each piece?

then yes, i could simple export and fbx, and it would be all seperated in maya like one should expect..? anyone?

Link to comment
Share on other sites

Like I said, you would need to write a script that looks at the total number of pieces, and loops through creating a geometry node for each and you can then copy an object merge node that has an explicit reference to your main object and put the name of the group in the group field. It's not an impossible code, but it will take some effort, definitely using python would be best I think..

Give it a go..

Link to comment
Share on other sites

thank you! yes i understand what needs to happen and how it gets there; but i need to i guess create "script" or "digital asset" that after simulation; it will read the file cache and create a new geo node, place and object merge and reference that per the animation?

I guess I just dont where to being to find how digital assets and python correlate with the nodes in houdini... any suggestions? or samples that I can study for reference?

thanks again for your help.

Link to comment
Share on other sites

Start here

http://www.sidefx.com/docs/houdini11.0/hom/

I have no idea what your scripting level is, but if you are completely new to python you may want to check out dive into python

http://www.diveintopython.net/

It's easier to answer more specific questions so see what you can sort out....

to get you started it's prolly easiest to use the hou.session module and create a User-defined method. then call that method in the shell... later you can move your method to a button in the shelf if you like or run it as a post sim process... but while you are deving try the hou.session.

http://www.sidefx.com/docs/houdini11.1/hom/session

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...