← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3838: set b.aspherical=True in utils.polyhedron and utils.tetraPoly

 

------------------------------------------------------------
revno: 3838
committer: Jan Stransky <jan.stransky@xxxxxxxxxxx>
timestamp: Wed 2016-04-13 10:39:42 +0200
message:
  set b.aspherical=True in utils.polyhedron and utils.tetraPoly
modified:
  py/utils.py


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'py/utils.py'
--- py/utils.py	2016-01-28 15:00:38 +0000
+++ py/utils.py	2016-04-13 08:39:42 +0000
@@ -277,7 +277,7 @@
 	inertia = b.shape.GetInertia()
 	center = b.shape.GetCentroid()
 	_commonBodySetup(b,volume,inertia,material,noBound=noBound,pos=center,fixed=fixed)
-	b.aspherical=False
+	b.aspherical=True
 	b.state.ori = b.shape.GetOri()
 	b.mask=mask
 	b.chain=chain
@@ -323,7 +323,7 @@
 	inertia = b.shape.GetInertia()
 	center = b.shape.GetCentroid()
 	_commonBodySetup(b,volume,inertia,material,noBound=noBound,pos=center,fixed=fixed)
-	b.aspherical=False
+	b.aspherical=True
 	b.state.ori = b.shape.GetOri()
 	b.mask=mask
 	b.chain=chain