If I wait a little bit more I get  messages included to attach file.
______________________________
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями

Anton Gladkyy


2009/6/25 Anton Gladky <[email protected]>

> Hi, all!
>
> I have that YADE crashes because of 1 string in my script.
>
> CODE:
> #_______________________________________________________________________
> a = 62
> b = 40
> h = 33
> boxThick = 3
> boxCoef = 5
> a = 0.001*a
> b = 0.001*b
> h = 0.001*h
>
> #Side 1
>
> O.bodies.append(utils.facet([(a/2*boxCoef,b/2*boxCoef,0),(a/2*boxCoef,-b/2*boxCoef,0),(a/2*boxCoef,-b/2*boxCoef,boxThick*boxCoef)],dynamic=False,color=[0.98,0.984,0.576]))
> #_______________________________________________________________________
>
> The process crashes after last string.
> But when I change:
> ...
>
> O.bodies.append(utils.facet([(a/2*boxCoef,b/2*boxCoef,0),(a/2*boxCoef,-b/2*boxCoef,0)..........................
> ...
>
> to
> ...
>
> O.bodies.append(utils.facet([(a/2*boxCoef,b/2*boxCoef,0),(a/2*boxCoef-0.000001,-b/2*boxCoef,0)
> ...
>
> it works perfect. Maybe there is the division on zero somewhere?
>
> ______________________________
> [ENG] Best Regards
> [GER] Mit freundlichen Grüßen
> [RUS] С наилучшими пожеланиями
> [UKR] З найкращими побажаннями
>
> Anton Gladkyy
>

Attachment: yade_crash.tgz
Description: GNU Zip compressed data

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp
_______________________________________________
yade-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/yade-users

Reply via email to