Corner[3 , n] is now Corner[-1, n]

Mathieu Blossier shared this question 5 years ago
Answered

Hi,


For future development, the Corner[] command will now compute the point at one of the 8 corners of the 3D view with this syntax:

    Corner[-1, n]

instead of

    Corner[3 , n]


Hopefully for those that already use this command with beta version, this will not be too hard to fix.


Cheers,

Mathieu

Comments (7)

photo
1

Hi Mathieu,


Hopefully for those that already use this command with beta version, this will not be too hard to fix.
It seems that fixing old files is not too easy if you used to (like I often do) put the corners in a list, e.g.15adecbf3cb769f958683376ad201ab0You can't just simply redefine the list:4d539377f7e0352cf13fbfcdee43583fUpper part: List of 3D-corners in an older version

Middle part: The same file in 4.9.309

Bottom part: Error message when redefining C_3 to the new syntax.


What's necessary is to define a new list (C3D) with the new syntax and then replace in the definitions of all depending objects C_3 by C3D .


It seems that if a list has descendants may cannot redefine it.

If I delete all descendants of a list I may redefine it.


BTW, does this (top: 4.9.307, bottom: 4.9.309)

e72c4da396a1f406e54b2f5c91ad43e1mean that LaTex gets more restricted in the future?


Gerhard

photo
1

hello

i think you can try this:

do backup of your files

open the ggb file with winzip

open geogebra.xml with wordpad

replace corner[3 with corner[-1

save when you close wordpad


it is possible this avoid redefine errors

saludos

photo
1

Hi,


Can you post your file ? I can't reproduce your bug in a simple case.


Cheers,

Mathieu

photo
1

Hi mathmagic,


I'm aware of this possibility, but it would more convenient if you could simply redefine the objects in GGB.


Thanks anyway


Gerhard

photo
1

Hi Mathieu,


here's the file:

https://ggbm.at/567867

Try changing the definition of the list C_3 from Sequence[Corner[3, i], i, 1, 9] to

    Sequence[Corner[-1, i], i, 1, 9]

and you'll get the error message.

You must delete the descendants T3 (TableText) and Text2 (contains T3) to be able to change C_3.


Gerhard

photo
1

Hi,


Thanks for the report: should be fixed on next release.


Cheers,

Mathieu

photo
1

Hi Mathieu,


thanks, fixed in 4.9.319!


Gerhard

© 2019 International GeoGebra Institute