← Back to team overview

yade-users team mailing list archive

Re: [Question #699286]: Scene radius must be positive - Ignoring value

 

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

Description changed to:
Hello dear

I use yadedaily:
Yade 20210909-5909~5b11526~focal1
Using python version: 3.8.10 (default, Jun 2 2021, 10:49:15)
[GCC 9.4.0]

Ubuntu 20.04

I'm trying to generate clumps. Sometime I must save simulation of base script and finishing run with base script and then load saved simulation.In this run I run a script for restore simulation ; so in controller window  when I click "show 3D" or click "Reference" or "Center" to show the model in different direction, there will be:
In [1]: Scene radius must be positive - Ignoring value
With this notification, the scene moves strange when I adjust it through mouse.

or there will be this warning:
In [2]: <WARNING> GLViewer:248 virtual void yade::GLViewer::postDraw(): More than 500 grid segments (currently: 550) take too long to draw, using previous value: 6. If you need denser grid try calling: yade.qt.center(suggestedRadius,gridOrigin,suggestedCenter,gridDecimalPlaces); (each parameter is optional) to reduce scene grid radius. Current values are: yade.qt.center(suggestedRadius=13.717,gridOrigin=(0,0,0),suggestedCenter=(6.06378,9.62361,0),gridDecimalPlaces=4)
Press '-' (decrease grid density) in View window to remove this warning.


I couldn`t see model and check it.


 My script has 2 files as input data .The below link shows my script for loading saved simulation and clump data files:
https://www.filemail.com/d/fnbgmkpuvqwgynu


Please help me about this error.
Best regards,

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.