discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Rotating a cylinder along its own axis

JT
jpm2nice-tech@yahoo.fr
Tue, Jul 18, 2023 4:22 PM

Hello, all,

I want to create a squared pyramid.
I use the Cylinder function with $fn=4.
The solid obtained is rotated 45deg over the pyramid axis.
I cannot rotate it differently on this axis.

Am I doing wrong? Which alternate solution is possible?

cylinder(h=3,d1=3,d2=4,center=true,$fn=4);

Thanks for any idea on this.

RV

Hello, all, I want to create a squared pyramid.\ I use the Cylinder function with $fn=4.\ The solid obtained is rotated 45deg over the pyramid axis.\ I cannot rotate it differently on this axis. Am I doing wrong? Which alternate solution is possible? `cylinder(h=3,d1=3,d2=4,center=true,$fn=4);` Thanks for any idea on this. RV