The Interactive Geometry Software Cinderella
Forums-> Cinderella Support (E)-> Creating new points in script
dirkd
|
Creating new points in script
|
|
As I understand it, it is impossible to create new points in Cindyscript (I mean real geometric objects, that can attach segments to, not just dots on the screen). If I want to construct a perspective view of a cube, I have to manually construct 8 free points, label them by hand in some systematic way and then calculate the right coordinates in Cindyscript, all the time being very careful not to use the wrong labels in the calculation. Frankly, I don't understand why it isn't possible to generate free points, with apropriate labels, directly in script. This would make it possible to write much more general programs that could easily be re-used across different constructions. Some idea for a future update?
The documentation on Cindyscript could use some elaboration. I was a bit confused at first about the importance of the ';'-operator. Not getting any error messages doesn't make things easier. Couldn't error messages be turned on or off by the user? Preferably in each script-module seperately? That way, thouroughly debugged scripts might have error messaging turned of, while experimental script lines could have them on. I'm not sure I understand the event 'Initialising'. Is this part of the script just evaluated once? Or is is evaluated most often, previous to all other events?
|
|
|
|