[Soya-user] Molecul program

2008-09-23 Thread Jan Filip Tristan
Hi,

I'm developing some days on this project. I have the basics now, but there is 
one problem I have, and I can't find my mistake. 

Here there is the code: http://filip.hasecke.com/molekuel-program/view

When starting run.py there should be a ring of 6 C-Atoms, this ring has a 
crack in it. I don't know why, either my Vectors for the depiction of the 
bindings or the connection_points have wrong values. I can't find the 
mistake.


Happy for all help.

TIA, Filip

P.S. Souvarine: The matrix works well. Thanks for your help.

___
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user


Re: [Soya-user] Molecul Program

2008-09-09 Thread Jan Filip Tristan Hasecke
hi,

is it possible to rotate an object along a vector?

[german]

Kann man ein Objekt einem Vektor nach drehen?

[/german]

If yes, how to?

TIA, Filip

__
"Hostage" mit Bruce Willis kostenlos anschauen!
Exklusiv für alle WEB.DE Nutzer. http://www.blockbuster.web.de


___
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user


Re: [Soya-user] Molecul Program

2008-09-09 Thread Jan Filip Tristan Hasecke
That must be german now, sorry

Ich habe durch das pdf gesehen, dass du dich gut mit ode auskennst, kann man 
nicht die hingejoints benutzen um die Atombindungen herzustellen, die können 
sich ja um diese Achse drehen. Kann man in ode auch magnetische Werte vergeben, 
sodass sich die Atome so verhalten, wie in echt und sich ausrichten?

Danke, Filip
__
"Hostage" mit Bruce Willis kostenlos anschauen!
Exklusiv für alle WEB.DE Nutzer. http://www.blockbuster.web.de


___
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user


Re: [Soya-user] Molecul Program

2008-09-09 Thread Jan Filip Tristan Hasecke
hi,

I've found this in the pdf:
  
   print ( earth >> sun ) . angle_to ( earth >> moon)

is there a funktion like moon.set_angle_to(earth, x=109, y=109, z=109) ?

You know the bindings has an angle of 109 to all the others.

TIA, 
Filip
__
"Hostage" mit Bruce Willis kostenlos anschauen!
Exklusiv für alle WEB.DE Nutzer. http://www.blockbuster.web.de


___
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user


Re: [Soya-user] Molecul Program

2008-09-09 Thread Jan Filip Tristan Hasecke

> Sorry for german mail, just saw web.de...
> Best you answer english if you want others to participate in the discussion.
> 
> regards
> Markus

Certainly it will be opensource. I'll send news about it, but I think it will 
not be the best program. :-/

Yours,
Filip

_
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=0066


___
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user


Re: [Soya-user] Molecul Program

2008-09-08 Thread Markus Raab
Am Montag, 8. September 2008 schrieb Markus Raab:
> Am Montag, 8. September 2008 schrieb Jan Filip Tristan:
> > Thanks to all help!
>
> [.. german text ..]

Sorry for german mail, just saw web.de...
Best you answer english if you want others to participate in the discussion.

regards
Markus

___
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user


Re: [Soya-user] Molecul Program

2008-09-08 Thread Markus Raab
Am Montag, 8. September 2008 schrieb Jan Filip Tristan:
> Thanks to all help!

Du kennst sicher schon im Tutorial die rotierende Welt, die Zylinder musst du 
dir wohl mit Koordinaten selber zeichnen (und dann entsprechend drehen), ist 
aber sicher nicht alt so schwer!

Hab mal ein Tutorial geschrieben:
http://www.markus-raab.org/ftp/soya3d.pdf

Vielleicht kann es dir helfen.
Bin auf jeden Fall intressiert was du da schreibst, wär super wenn du davon 
dann auch berichtest wenn was da ist. Wird es opensource sein?

mfg Markus

___
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user


[Soya-user] Molecul Program

2008-09-08 Thread Jan Filip Tristan
Hi,

I'm starting a project with soya. I want to create a program you can stick 
atoms and molecules together. You can type in a DNA-sequence or a 
RNA-sequence a the program generates the proteins for you, now you can rotate 
it or "fly" into it or whatever.

I've got some questions:

I have a World "Atom" it has a body( a sphere ) and 4 positions for the 
bindings.
I have two atom-worlds and I want to select one binding of each of them and 
connect them, now the Points used as bindings should have the same 
coordinates and the worlds of the atoms should be rotated and located to 
fulfill this condition. May there should be something like a cylinder between 
the bindings, so one end of the cylinder should be attached to one binding 
and the other end to the binding of the other atom.  

How to set the Points to the right coordinate in one Atom, every atom has four 
of them all angles to the center has 109.-- degree.

Thanks to all help!

TIA, Filip

___
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user