discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

rotate extrude example from wikibooks doesn't match appearance when using current builds

WF
William F. Adams
Mon, Sep 29, 2025 1:35 AM

Is it a concern that the code from:

https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/2D_to_3D_Extrusion

rotate_extrude(convexity = 10)
    translate([2, 0, 0])
        circle(r = 1, $fn = 100);

when processed in the current version of PythonSCAD (9-19) or OpenSCAD nightly (9-28) has an odd appearance?

(see attached)

If one adds a global $fn definition such as:

$fn = $preview ? 32 : 256;

then the appearance is as expected.

William

Is it a concern that the code from: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/2D_to_3D_Extrusion rotate_extrude(convexity = 10)     translate([2, 0, 0])         circle(r = 1, $fn = 100); when processed in the current version of PythonSCAD (9-19) or OpenSCAD nightly (9-28) has an odd appearance? (see attached) If one adds a global $fn definition such as: $fn = $preview ? 32 : 256; then the appearance is as expected. William
MK
Marius Kintel
Mon, Sep 29, 2025 2:26 AM

The appearance looks the same as in the manual. I don’t think anything is odd about it. The manual gives another example below the one you mention, which also increases $fn of the rotation itself.

-Marius

On Sep 28, 2025, at 21:35, William F. Adams via Discuss discuss@lists.openscad.org wrote:

Is it a concern that the code from:

https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/2D_to_3D_Extrusion

rotate_extrude(convexity = 10)
translate([2, 0, 0])
circle(r = 1, $fn = 100);

when processed in the current version of PythonSCAD (9-19) or OpenSCAD nightly (9-28) has an odd appearance?

(see attached)

If one adds a global $fn definition such as:

$fn = $preview ? 32 : 256;

then the appearance is as expected.

William
<1759109502406blob.jpg><1759109745045blob.jpg>_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

The appearance looks the same as in the manual. I don’t think anything is odd about it. The manual gives another example below the one you mention, which also increases $fn of the rotation itself. -Marius > On Sep 28, 2025, at 21:35, William F. Adams via Discuss <discuss@lists.openscad.org> wrote: > > Is it a concern that the code from: > > https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/2D_to_3D_Extrusion > > rotate_extrude(convexity = 10) > translate([2, 0, 0]) > circle(r = 1, $fn = 100); > > when processed in the current version of PythonSCAD (9-19) or OpenSCAD nightly (9-28) has an odd appearance? > > (see attached) > > If one adds a global $fn definition such as: > > $fn = $preview ? 32 : 256; > > then the appearance is as expected. > > William > <1759109502406blob.jpg><1759109745045blob.jpg>_______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
AM
Adrian Mariano
Mon, Sep 29, 2025 2:27 AM

What does "has an odd appearance" mean?  I get the same result in 2021.01
as in a nightly build and the appearance seems reasonable to me and not
"odd".

On Sun, Sep 28, 2025 at 9:36 PM William F. Adams via Discuss <
discuss@lists.openscad.org> wrote:

Is it a concern that the code from:

https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/2D_to_3D_Extrusion

rotate_extrude(convexity = 10)
translate([2, 0, 0])
circle(r = 1, $fn = 100);

when processed in the current version of PythonSCAD (9-19) or OpenSCAD
nightly (9-28) has an odd appearance?

(see attached)

If one adds a global $fn definition such as:

$fn = $preview ? 32 : 256;

then the appearance is as expected.

William


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

What does "has an odd appearance" mean? I get the same result in 2021.01 as in a nightly build and the appearance seems reasonable to me and not "odd". On Sun, Sep 28, 2025 at 9:36 PM William F. Adams via Discuss < discuss@lists.openscad.org> wrote: > Is it a concern that the code from: > > https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/2D_to_3D_Extrusion > > rotate_extrude(convexity = 10) > translate([2, 0, 0]) > circle(r = 1, $fn = 100); > > when processed in the current version of PythonSCAD (9-19) or OpenSCAD > nightly (9-28) has an odd appearance? > > (see attached) > > If one adds a global $fn definition such as: > > $fn = $preview ? 32 : 256; > > then the appearance is as expected. > > William > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
WF
William F. Adams
Mon, Sep 29, 2025 10:55 AM

On Sunday, September 28, 2025 at 10:26:32 PM EDT, Marius Kintel marius@kintel.net wrote:

The appearance looks the same as in the manual. I don’t think anything is odd about it. 
The manual gives another example below the one you mention, which also increases $fn of the rotation itself.

OIC. The image is provided first, then the code.

Nothing to see here, move along.

Thanks.

William

On Sunday, September 28, 2025 at 10:26:32 PM EDT, Marius Kintel <marius@kintel.net> wrote: >The appearance looks the same as in the manual. I don’t think anything is odd about it.  >The manual gives another example below the one you mention, which also increases $fn of the rotation itself. OIC. The image is provided first, then the code. Nothing to see here, move along. Thanks. William
JB
Jordan Brown
Mon, Sep 29, 2025 6:30 PM

On 9/29/2025 3:55 AM, William F. Adams via Discuss wrote:

OIC. The image is provided first, then the code.

That is a little confusing.  I rearranged it a bit and made the images
smaller so they are more likely to be displayed side-by-side.  While I
was there, I tried to clean up some other stuff.  Tell me what you think.

On 9/29/2025 3:55 AM, William F. Adams via Discuss wrote: > OIC. The image is provided first, then the code. That *is* a little confusing.  I rearranged it a bit and made the images smaller so they are more likely to be displayed side-by-side.  While I was there, I tried to clean up some other stuff.  Tell me what you think.