← Back to team overview

yade-dev team mailing list archive

Re: Euclid.py module

 

Ok, thank you. Will try.

Not sure about svn access. Will check it. But anyway, I'd like to be my code
inspected on early stages.

______________________________
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями

Anton Gladkyy


2009/5/29 Václav Šmilauer <eudoxos@xxxxxxxx>

>
> > What about including in Yade Euclid module
> > http://pyeuclid.googlecode.com ?
> >
> > I use it, but have to write absolute path to it. Maybe I do something
> >  wrong?
>
> If it is in your current dir, you can
>
> import sys; sys.path.append('.')
>
> and then import euclid.
>
> I was hoping that at some point, python would wrap Vector3r in some
> suitable python class, but that is not yet the case and it would be
> barely doable with the current state of the wrapper. Another thing is
> that the (familiar) methods of Wm3::Vector3r are named differently than
> in euclid.
>
> But apart from that, you can add it to the svn in gui/py (most likely)
> and add the Install stanza to gui/SConscript, where there is utils.py,
> eudoxos.py, runtime.py etc. (You have the svn access already, right?)
>
> Vaclav
>
>
>
> _______________________________________________
> 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