Cannot create tool including Corner[] command (workaround)

slik shared this question 9 years ago
Answered

Hi,


For some reason I cannot create a tool for Point A in the attached file.


Can anyone see why?

https://ggbm.at/554265

Comments (3)

photo
1

hello

newly the old problem with corner[] and tools (see list3, if we eliminate element[list3,n] in definition of A then the tool is possible)


saludos

photo
1

Yes I noticed that list3 is the problem. It's not simply the corners but maybe corners in a list.


Replace Element[list3,n] by

    If[n ≤ 4, Corner[n], If[n ≟ 5, (Corner[1] + Corner[2]) / 2, (Corner[3] + Corner[4]) / 2]]

I can create a tool


Simon


Changed title to make it better for searches

photo
1

Hi,


I tried to explain and think of a solution here:

http://jira.geogebra.org/br...

I guess this one won't go to 4.0 even if we fix it soon.


Workaround should be to make sure that list3 depends on some input (add dummy +0*n) or to use

Element[{Corner ....},n] directly without list3 (basically equivalent to your workaround).


Cheers,

Zbynek

© 2021 International GeoGebra Institute