yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #02351
Re: [Branch ~yade-dev/yade/trunk] Rev 1815: Fix bug with import facets from stl
Now core/State.hpp produces a LOT of warnings during compilation.
Please, fix it, when you finish with that.
Thank you
______________________________
Anton Gladkyy
2009/11/26 Sergei D. <sj2001@xxxxxxxxx>
>
> > Are you sure this is OK? Can it mean that wrong State will be used?
> >> ## resets state (!!)
> >> - b.state=b.mat.newAssocState()
> >> + if resetState: b.state=b.mat.newAssocState()
> >> mass=volume*b.mat['density']
>
> So, is the state defined by the material? Logically...
> Then, this is workaround, because when geometry is imported from a stl,
> the STLImporter first creates facets and specifies the state, after
> which the user specifies the remaining variables. Thus, the material is
> specifies by the second... and resets the imported state.
>
> S.D.
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help : https://help.launchpad.net/ListHelp
>
References