Put “rotate([0,0,45])” on the same line in front of “cylinder...”
On Tue, Jul 18, 2023 at 11:28 jpm2nice-tech--- via Discuss <
discuss@lists.openscad.org> wrote:
---------- Forwarded message ----------
From: jpm2nice-tech@yahoo.fr
To: discuss@lists.openscad.org
Cc:
Bcc:
Date: Tue, 18 Jul 2023 16:22:51 +0000
Subject: [OpenSCAD] Rotating a cylinder along its own axis
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
---------- Forwarded message ----------
From: jpm2nice-tech--- via Discuss discuss@lists.openscad.org
To: discuss@lists.openscad.org
Cc: jpm2nice-tech@yahoo.fr
Bcc:
Date: Tue, 18 Jul 2023 16:22:51 +0000
Subject: [OpenSCAD] Rotating a cylinder along its own axis
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Put “rotate([0,0,45])” on the same line in front of “cylinder...”
On Tue, Jul 18, 2023 at 11:28 jpm2nice-tech--- via Discuss <
discuss@lists.openscad.org> wrote:
>
>
>
> ---------- Forwarded message ----------
> From: jpm2nice-tech@yahoo.fr
> To: discuss@lists.openscad.org
> Cc:
> Bcc:
> Date: Tue, 18 Jul 2023 16:22:51 +0000
> Subject: [OpenSCAD] Rotating a cylinder along its own axis
>
> 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
>
>
>
> ---------- Forwarded message ----------
> From: jpm2nice-tech--- via Discuss <discuss@lists.openscad.org>
> To: discuss@lists.openscad.org
> Cc: jpm2nice-tech@yahoo.fr
> Bcc:
> Date: Tue, 18 Jul 2023 16:22:51 +0000
> Subject: [OpenSCAD] Rotating a cylinder along its own axis
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
>