The Interactive Geometry Software Cinderella

Forum: Cinderella Support (E)

Forums->Cinderella Support (E)->Gravity

wardie
1 stars
Gravity


What a great program!! I fear posting on forums like this - always worried that I will come across as a fool. But in dealing with matters like this I can easily admit my shortcomings. It says in documentation that the gravity simulates the gravity on earth. But at the same time you can easily change the strength of gravity. This can be achieved by changing the length of the arrow but you can also change the strength in the gravity properties. So how do I set gravity to be eaqual to gravity at sea level (9.8 ms2 - or something like that).

I am probably missing something basic - but i have been googling and searching. Great product - but the name Cinderella makes it hard to google biggrin



 
on: Sun 15 of Jun, 2014 [16:07 UTC] reads: 94726

Posted messages

author message
Aw: Gravity
on: Mon 07 of Jul, 2014 [15:17 UTC]
Hi,

the physics simulation feature in Cinderella is not meant to be used for "real world". We are working with a simplified model, because if you start using the real constant of gravity, you also have to start working with real measurements on screen…

If you really want to do that, there is still a way: You can query the force that is applied to an element A of the construction using CindyScript:
A.f


If you just put a single mass (with 1 unit of mass) in the construction then you can adjust the gravity slider and/or the gravity arrow until the force matches the gravitational force with g=9.81 m/s^2. To do this, just place a single mass A in the construction, open the script editor (CMD-9) and put
print(A.f)
in the draw event. Then adjust until you like the force applied...

Does that work for you?

Ulli




Show posts:
 
Language