Juraj Posted November 12, 2014 Share Posted November 12, 2014 Hi, I would like to separate simulation into smaller simulations. I need to use simulated constraint network from one simulation in another. (bring constraint network back to sop level) And active attribute as well. Can it be done with dopimport node? Thanks Quote Link to comment Share on other sites More sharing options...
Juraj Posted November 13, 2014 Author Share Posted November 13, 2014 So I've managed to import constraint network with Object merge node with this Object parameter: /obj/geo/dopnet_sim:Relationships/constraintnetwork1/constraintnetwork/Geometry as described here: http://www.sidefx.com/docs/houdini11.1/dynamics/io#id419749 and here: http://forums.odforce.net/topic/10928-hair-system/?p=70324 But this constraint geo is not following rbd pieces. I would like to export what is shown when Show Guide Geometry in Constraint Network is enabled. 1 Quote Link to comment Share on other sites More sharing options...
jkunz07 Posted November 29, 2014 Share Posted November 29, 2014 So I've managed to import constraint network with Object merge node with this Object parameter: /obj/geo/dopnet_sim:Relationships/constraintnetwork1/constraintnetwork/Geometry as described here: http://www.sidefx.com/docs/houdini11.1/dynamics/io#id419749 and here: http://forums.odforce.net/topic/10928-hair-system/?p=70324 But this constraint geo is not following rbd pieces. I would like to export what is shown when Show Guide Geometry in Constraint Network is enabled. Have you tried /obj/geo/dopnet_sim:Relationships/constraintnetwork1/constraintnetwork It should get the guide geo which follows the rbd pieces 1 Quote Link to comment Share on other sites More sharing options...
Juraj Posted November 30, 2014 Author Share Posted November 30, 2014 Thanks it works. Do you know by any chance how to export attributes from dop network? For example an active attribute. Quote Link to comment Share on other sites More sharing options...
Juraj Posted November 30, 2014 Author Share Posted November 30, 2014 Have you tried /obj/geo/dopnet_sim:Relationships/constraintnetwork1/constraintnetwork It should get the guide geo which follows the rbd pieces It works with Object Merge node. But I cannot get it working with Dop Import node. Any suggestions how to bring that data with Dop Import? Quote Link to comment Share on other sites More sharing options...
jgaspari Posted February 22, 2019 Share Posted February 22, 2019 (edited) Hi guys, I'm having the exact same problem except the sop path you described does not export the simed constraint network. If anyone has any help I would be so grateful!! ExportConstraintNetwork.hipnc Edited February 22, 2019 by jgaspari I placed the file in the middle of my sentence Quote Link to comment Share on other sites More sharing options...
Nicholas Ralabate Posted November 18, 2019 Share Posted November 18, 2019 i am also having the same exact problem... is there any way to grab the animated constraint geo from DOPs into SOPs? Quote Link to comment Share on other sites More sharing options...
rayman Posted November 18, 2019 Share Posted November 18, 2019 (edited) You have to do it manually. Plug the constraints into attribute wrangle and simulated pieces into the second input. Then use this expression: int pt = findattribval(1,"point","name",s@name); if(pt>=0)v@P = point(1,"P",pt); Edited November 18, 2019 by rayman Quote Link to comment Share on other sites More sharing options...
Nicholas Ralabate Posted November 23, 2019 Share Posted November 23, 2019 Sweet! That is closer than I was before, thank you so much. It doesn't seem to work when constraints break though -- for example I'm doing chains with hard constraints and breaking them mid-simulation. How would I take the topology change into account with your solution? 1 Quote Link to comment Share on other sites More sharing options...
vicvvsh Posted November 24, 2019 Share Posted November 24, 2019 On 23.11.2019 at 11:36 AM, xxyxxy said: Sweet! That is closer than I was before, thank you so much. It doesn't seem to work when constraints break though -- for example I'm doing chains with hard constraints and breaking them mid-simulation. How would I take the topology change into account with your solution? Look at constraints' dop data with name "Visualization" for this constraints_vis.hipnc 2 1 Quote Link to comment Share on other sites More sharing options...
Nicholas Ralabate Posted November 25, 2019 Share Posted November 25, 2019 Nice! Thanks! Is this also possible with fluid visualizations, for example the "Visualization" data underneath vel in Pyro? I don't get an error in my object merge but I also don't have anything visible. 1 Quote Link to comment Share on other sites More sharing options...
vicvvsh Posted November 25, 2019 Share Posted November 25, 2019 (edited) 4 hours ago, xxyxxy said: Nice! Thanks! Is this also possible with fluid visualizations, for example the "Visualization" data underneath vel in Pyro? Yes vel_vis.hipnc 4 hours ago, xxyxxy said: I don't get an error in my object merge but I also don't have anything visible. Are constraints guides invisible? Check if the "Show Guide Geometry" parameter of constraint network dop turn on Edited November 25, 2019 by vicvvsh Quote Link to comment Share on other sites More sharing options...
Nicholas Ralabate Posted November 25, 2019 Share Posted November 25, 2019 (edited) Chicken dinner! Was curious specifically if it were possible with Object Merge but that is good to know! Edited November 25, 2019 by xxyxxy Quote Link to comment Share on other sites More sharing options...
vicvvsh Posted November 25, 2019 Share Posted November 25, 2019 ../../AutoDopNetwork:pyro/vel/Visualization Write this string in an object merge sop and you get the same. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.