discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

A field of stars for (U.S.) Memorial Day in BlockSCAD (which affords OpenSCAD code)

WF
William F. Adams
Mon, May 26, 2025 1:57 PM

Working on something a bit different --- worked up the code for making the union of a U.S. Flag at:

https://www.blockscad3d.com/community/projects/1963433

Note that ensuring that this adheres to U.S. Flag code is left as an exercise for the reader --- there should be sufficient parameters for that (and the numbers I initially used should have been correct, but didn't look right).

Next aspect to this is re-writing in Python so that it can be shared at: https://pythonscad.org/share_design.php

(which will hopefully show multi-colour DXF generation sufficiently simply/clearly that it will be of use to folks)

William

--
Sphinx of black quartz, judge my vow.
https://designinto3d.com/

Working on something a bit different --- worked up the code for making the union of a U.S. Flag at: https://www.blockscad3d.com/community/projects/1963433 Note that ensuring that this adheres to U.S. Flag code is left as an exercise for the reader --- there should be sufficient parameters for that (and the numbers I initially used _should_ have been correct, but didn't look right). Next aspect to this is re-writing in Python so that it can be shared at: https://pythonscad.org/share_design.php (which will hopefully show multi-colour DXF generation sufficiently simply/clearly that it will be of use to folks) William -- Sphinx of black quartz, judge my vow. https://designinto3d.com/
ME
Mark Erbaugh
Mon, May 26, 2025 3:19 PM

I developed an OpenSCAD file to generate a US flag following official dimensions. The attached file has code to generate layers for my BambuLab 3D printer, but the geometry is in independent modules.

The only issue I had was that the stars while geometrically correct, didn’t look right when printed due to the extrusion width. I added a parameter to increase the star size to make it look right when extruded.

FWIW, I also created an OpenSCAD file for the Ohio State flag (where I live). It was much more difficult as the official specs are a drawing from the early 20th century and the stars are rotated.

Mark

On May 26, 2025, at 9:57 AM, William F. Adams via Discuss discuss@lists.openscad.org wrote:

Working on something a bit different --- worked up the code for making the union of a U.S. Flag at:

https://www.blockscad3d.com/community/projects/1963433

Note that ensuring that this adheres to U.S. Flag code is left as an exercise for the reader --- there should be sufficient parameters for that (and the numbers I initially used should have been correct, but didn't look right).

Next aspect to this is re-writing in Python so that it can be shared at: https://pythonscad.org/share_design.php

(which will hopefully show multi-colour DXF generation sufficiently simply/clearly that it will be of use to folks)

William

--
Sphinx of black quartz, judge my vow.
https://designinto3d.com/


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

I developed an OpenSCAD file to generate a US flag following official dimensions. The attached file has code to generate layers for my BambuLab 3D printer, but the geometry is in independent modules. The only issue I had was that the stars while geometrically correct, didn’t look right when printed due to the extrusion width. I added a parameter to increase the star size to make it look right when extruded. FWIW, I also created an OpenSCAD file for the Ohio State flag (where I live). It was much more difficult as the official specs are a drawing from the early 20th century and the stars are rotated. Mark > On May 26, 2025, at 9:57 AM, William F. Adams via Discuss <discuss@lists.openscad.org> wrote: > > Working on something a bit different --- worked up the code for making the union of a U.S. Flag at: > > https://www.blockscad3d.com/community/projects/1963433 > > Note that ensuring that this adheres to U.S. Flag code is left as an exercise for the reader --- there should be sufficient parameters for that (and the numbers I initially used _should_ have been correct, but didn't look right). > > Next aspect to this is re-writing in Python so that it can be shared at: https://pythonscad.org/share_design.php > > (which will hopefully show multi-colour DXF generation sufficiently simply/clearly that it will be of use to folks) > > William > > -- > Sphinx of black quartz, judge my vow. > https://designinto3d.com/ > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org