Question #190529 on Yade changed:
https://answers.launchpad.net/yade/+question/190529

Christian Jakob posted a new comment:
Ok, i found out, that it is much more easy with

        for i in O.interactions:
                z_int=i.geom.contactPoint[2]    #z coordinate of interaction
                if ((z_int < water_height) and (i.isReal)):
                        print z_int

but i see negative coordinates, how is this possible?
my model is everywhere z > 0 , but i get:

-0.000325541292072                                                              
                                                                       
-0.000760969137883                                                              
                                                                       
-0.000368990828872                                                              
                                                                       
-0.000660870523873                                                              
                                                                       
-0.000396151777372                                                              
                                                                       
-0.000625752246923                                                              
                                                                       
-0.000506016794083                                                              
                                                                       
-0.000366152868505                                                              
                                                                       
-0.000415623873535                                                              
                                                                       
-0.000442005286835                                                              
                                                                       
-0.000364966155445

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to