Hello,
I would like to create a new primitive (4-4ring179.dat).
To do this, I looked at the primitive 4-4ring18.dat. I noticed that the values of the individual points are, in my opinion, incorrect.
A quarter circle consists of four circle segments. The angle of each piece of the quarter circle is 22.5°.
The first line in the primitive file looks like this:
4 16 19 0 0 17.5541 0 7.2713 16.6302 0 6.8886 18 0 0
19 0 0 is the point at the bottom right of the first circular arc segment. For the second point counterclockwise, the following applies:
x = cos(22.5°) * 19 ~ 0.923879 * 19 ~ 17.55371111 -> 17.5537
y = sin(22.5°) * 19 ~ 0.382683 * 19 ~ 7.27098521 -> 7.2709
These values differ from the values in the file.
The deviation is very small, but it is there.
My question is: is the value in the file correct and I have made a mistake in my thinking? If so, what is it?
Best regards,
Manfred
I would like to create a new primitive (4-4ring179.dat).
To do this, I looked at the primitive 4-4ring18.dat. I noticed that the values of the individual points are, in my opinion, incorrect.
A quarter circle consists of four circle segments. The angle of each piece of the quarter circle is 22.5°.
The first line in the primitive file looks like this:
4 16 19 0 0 17.5541 0 7.2713 16.6302 0 6.8886 18 0 0
19 0 0 is the point at the bottom right of the first circular arc segment. For the second point counterclockwise, the following applies:
x = cos(22.5°) * 19 ~ 0.923879 * 19 ~ 17.55371111 -> 17.5537
y = sin(22.5°) * 19 ~ 0.382683 * 19 ~ 7.27098521 -> 7.2709
These values differ from the values in the file.
The deviation is very small, but it is there.
My question is: is the value in the file correct and I have made a mistake in my thinking? If so, what is it?

Best regards,
Manfred
