yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #01437
[svn] r1852 - trunk/scripts/test
Author: eudoxos
Date: 2009-07-10 11:52:33 +0200 (Fri, 10 Jul 2009)
New Revision: 1852
Modified:
trunk/scripts/test/collider-stride.py
Log:
1. Fix collider-stride.py to match changed parameters. (it is quite useless now, anyway
Modified: trunk/scripts/test/collider-stride.py
===================================================================
--- trunk/scripts/test/collider-stride.py 2009-07-10 09:49:09 UTC (rev 1851)
+++ trunk/scripts/test/collider-stride.py 2009-07-10 09:52:33 UTC (rev 1852)
@@ -1,3 +1,6 @@
+#
+# chec kvisually whether swept bounding boxes work as expected
+#
O.bodies.append([
utils.facet([[1,0,0],[-1,2,0],[-1,-2,0]]),
@@ -22,15 +25,14 @@
try:
renderer=qt.Renderer()
renderer['Body_bounding_volume']=True
+ qt.Controller(); qt.View()
except ImportError: pass
O.timingEnabled=True
isc['stride']=3
-isc['sweepDistSafetyFactor']=.1
-isc['sweepTimeSafetyFactor']=.1
+isc['sweepTimeFactor']=1.1
+isc['sweepVelocity']=1000
#log.setLevel('InsertionSortCollider',log.DEBUG)
#log.setLevel('BoundingVolumeMetaEngine',log.DEBUG)
O.saveTmp()
-#O.run(10000,True)
-#timing.stats()
O.step()