Cylinders and Sequences - Bug?

Coulomb79 shared this question 8 years ago
Answered

Hi everyone,


I tryed to build my on coordinate system in 3D view. The scaling marks on the axes sould bw displayed as cylinders. I tried to build a sequence of cylinders for the marks on the x-axis. The result can be seen in the uploaded file. The code I used was


    CylinderX=Sequence[Cylinder[(i,0,0)-(h,0,0),(i,0,0)+(h,0,0),r],i,-2,4]

    CylinderY=Sequence[Cylinder[(0,i,0)-(0,h,0),(0,i,0)+(0,h,0),r],i,-2,4]

    CylinderZ=Sequence[Cylinder[(0,0,i)-(0,0,h),(0,0,i)+(0,0,h),r],i,-2,4]


where h is the length of the cylinders, r the radius.


x-axis: It seems, that the y-coordinate of the centers of the faces are set to same value as the x-value.

y-axis: It seems, that the z-coordinate of the centers of the faces are set to same value as the y-value except for the sign, depending on the face (top or bottom).

z-axis: works as intended


Is this a bug or a feature? :)


Greetings,

Oli

https://ggbm.at/5679810b20b6b03f83769729cdd50f2b447f75

Comments (2)

photo
1

Hi,


Should be fixed on next release.


Cheers,

Mathieu

photo
1

Hi Matthieu,


thanks a lot for the quick answer, works now fine.


Greetings,

Oli

© 2023 International GeoGebra Institute