discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

modeling a complex object

JD
John David
Tue, Jun 23, 2026 11:43 AM

I would vote THAT for inclusion in a gallery ;-)

On Mon, Jun 22, 2026 at 5:18 PM Glenn Butcher via Discuss <
discuss@lists.openscad.org> wrote:

Well, I modeled this in plain 'ole OpenSCAD, with only the
RoundAnything/polyround.scad library and a path_extrude() routine I found
somewhere:

This was my first attempt at anything in OpenSCAD.  I'm a programmer, so I
was already familiar with working a language, found its quirks and just
worked around them.  The above is about 5000 lines of OpenSCAD.

For "geometric" models, I find OpenSCAD quite satisfactory, haven't run
into a locomotive part I can't make, yet.  Most helpful are loops, to do
regular patterns like rivet courses, and extrusions, both linear_ and
rotate_ .  modules are the backbone of organizing, once I made one driver
wheel, the others were just a 'translate(...) wheel();'
On 6/22/2026 11:06 AM, Jordan Brown via Discuss wrote:

On 6/21/2026 7:24 AM, Sanjeev Prabhakar via Discuss wrote:

Thanks, John
It is definitely a difficult part to create purely in openscad.
I feel someone should work on improving the language openscad if not
adopting python.

More important, I think, is that it's a hard object to describe in any
language.

On 6/21/2026 7:58 AM, jon jonbondy.com via Discuss wrote:

What "gallery"?

I assume that he's talking about the OpenSCAD gallery at
https://openscad.org/gallery.html .  I don't think that much has been
done with it in quite a long time - most of the images have gone stale.

I don't think this is a good match for the OpenSCAD gallery per se,
because this model is really defined in Python, not in OpenSCAD-language.
(Yes, it's translated to OpenSCAD-language, but the result is not suitable
for human consumption.)  If PythonSCAD had a gallery, and if this was using
PythonSCAD (which I don't think it is, but am not sure), then that would be
a good place.  I would hope that it would get a bunch of comments since
it's quite complex and much of the intent of the gallery is to teach
techniques.


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


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

I would vote THAT for inclusion in a gallery ;-) On Mon, Jun 22, 2026 at 5:18 PM Glenn Butcher via Discuss < discuss@lists.openscad.org> wrote: > Well, I modeled this in plain 'ole OpenSCAD, with only the > RoundAnything/polyround.scad library and a path_extrude() routine I found > somewhere: > > This was my first attempt at anything in OpenSCAD. I'm a programmer, so I > was already familiar with working a language, found its quirks and just > worked around them. The above is about 5000 lines of OpenSCAD. > > For "geometric" models, I find OpenSCAD quite satisfactory, haven't run > into a locomotive part I can't make, yet. Most helpful are loops, to do > regular patterns like rivet courses, and extrusions, both linear_ and > rotate_ . modules are the backbone of organizing, once I made one driver > wheel, the others were just a 'translate(...) wheel();' > On 6/22/2026 11:06 AM, Jordan Brown via Discuss wrote: > > On 6/21/2026 7:24 AM, Sanjeev Prabhakar via Discuss wrote: > > Thanks, John > It is definitely a difficult part to create purely in openscad. > I feel someone should work on improving the language openscad if not > adopting python. > > > More important, I think, is that it's a hard object to describe in any > language. > > On 6/21/2026 7:58 AM, jon jonbondy.com via Discuss wrote: > > What "gallery"? > > > I assume that he's talking about the OpenSCAD gallery at > https://openscad.org/gallery.html . I don't think that much has been > done with it in quite a long time - most of the images have gone stale. > > I don't think this is a good match for the OpenSCAD gallery per se, > because this model is really defined in Python, not in OpenSCAD-language. > (Yes, it's translated to OpenSCAD-language, but the result is not suitable > for human consumption.) If PythonSCAD had a gallery, and if this was using > PythonSCAD (which I don't think it is, but am not sure), then that would be > a good place. I would hope that it would get a bunch of comments since > it's quite complex and much of the intent of the gallery is to teach > techniques. > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
SP
Sanjeev Prabhakar
Fri, Jun 26, 2026 1:00 AM

You can watch this interesting video for details on how I model in OpenSCAD:
https://youtu.be/hBnJgf14BoY

On Sun, 21 Jun 2026 at 17:01, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

I had another attempt at this strange shape yesterday and this time it is
a slightly more respectable copy. It's amazing to see the power of python

[image: Screenshot 2026-06-20 at 10.10.45 PM.png]
[image: Screenshot 2026-06-20 at 10.11.30 PM.png]
[image: Screenshot 2026-06-20 at 10.12.04 PM.png]
If anyone wants to try
the scad file can be downloaded from :
https://github.com/sprabhakar2006/openSCAD/blob/main/strange_shape.scad

python code can be downloaded from:
https://github.com/sprabhakar2006/openSCAD/blob/main/strange_shape.txt

You can watch this interesting video for details on how I model in OpenSCAD: https://youtu.be/hBnJgf14BoY On Sun, 21 Jun 2026 at 17:01, Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > I had another attempt at this strange shape yesterday and this time it is > a slightly more respectable copy. It's amazing to see the power of python > > [image: Screenshot 2026-06-20 at 10.10.45 PM.png] > [image: Screenshot 2026-06-20 at 10.11.30 PM.png] > [image: Screenshot 2026-06-20 at 10.12.04 PM.png] > If anyone wants to try > the scad file can be downloaded from : > https://github.com/sprabhakar2006/openSCAD/blob/main/strange_shape.scad > > python code can be downloaded from: > https://github.com/sprabhakar2006/openSCAD/blob/main/strange_shape.txt > >>
JJ
jon jonbondy.com
Fri, Jun 26, 2026 1:17 AM

Well, the code is not OpenSCAD, so why do you say "how I model in OpenSCAD"?

On 6/25/2026 9:00 PM, Sanjeev Prabhakar wrote:
You can watch this interesting video for details on how I model in OpenSCAD:
https://youtu.be/hBnJgf14BoYhttps://urldefense.proofpoint.com/v2/url?u=https-3A__youtu.be_hBnJgf14BoY&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=1PTvybYjUOgGMxfeY8BpffdzR6vJUp2S_X3ETy9Nxcsj4rn3TMOKFCnEhxzsYk1v&s=LSjtkfmM0qPC4NSa9Kynmd9V-WYAuUdZcx9a6EPGmOw&e=

On Sun, 21 Jun 2026 at 17:01, Sanjeev Prabhakar <sprabhakar2006@gmail.commailto:sprabhakar2006@gmail.com> wrote:
I had another attempt at this strange shape yesterday and this time it is a slightly more respectable copy. It's amazing to see the power of python

[Screenshot 2026-06-20 at 10.10.45 PM.png]
[Screenshot 2026-06-20 at 10.11.30 PM.png]
[Screenshot 2026-06-20 at 10.12.04 PM.png]
If anyone wants to try
the scad file can be downloaded from :
https://github.com/sprabhakar2006/openSCAD/blob/main/strange_shape.scadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_sprabhakar2006_openSCAD_blob_main_strange-5Fshape.scad&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=1PTvybYjUOgGMxfeY8BpffdzR6vJUp2S_X3ETy9Nxcsj4rn3TMOKFCnEhxzsYk1v&s=7oDlHPNIfl_oF_X_Y41j2EsiQM2wDl20fAwrrTAwrYY&e=

python code can be downloaded from:
https://github.com/sprabhakar2006/openSCAD/blob/main/strange_shape.txthttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_sprabhakar2006_openSCAD_blob_main_strange-5Fshape.txt&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=1PTvybYjUOgGMxfeY8BpffdzR6vJUp2S_X3ETy9Nxcsj4rn3TMOKFCnEhxzsYk1v&s=C6vjngbo98_Z6hhpnnOOS56SChIlL-frCqewYC4Dna4&e=

Well, the code is not OpenSCAD, so why do you say "how I model in OpenSCAD"? On 6/25/2026 9:00 PM, Sanjeev Prabhakar wrote: You can watch this interesting video for details on how I model in OpenSCAD: https://youtu.be/hBnJgf14BoY<https://urldefense.proofpoint.com/v2/url?u=https-3A__youtu.be_hBnJgf14BoY&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=1PTvybYjUOgGMxfeY8BpffdzR6vJUp2S_X3ETy9Nxcsj4rn3TMOKFCnEhxzsYk1v&s=LSjtkfmM0qPC4NSa9Kynmd9V-WYAuUdZcx9a6EPGmOw&e=> On Sun, 21 Jun 2026 at 17:01, Sanjeev Prabhakar <sprabhakar2006@gmail.com<mailto:sprabhakar2006@gmail.com>> wrote: I had another attempt at this strange shape yesterday and this time it is a slightly more respectable copy. It's amazing to see the power of python [Screenshot 2026-06-20 at 10.10.45 PM.png] [Screenshot 2026-06-20 at 10.11.30 PM.png] [Screenshot 2026-06-20 at 10.12.04 PM.png] If anyone wants to try the scad file can be downloaded from : https://github.com/sprabhakar2006/openSCAD/blob/main/strange_shape.scad<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_sprabhakar2006_openSCAD_blob_main_strange-5Fshape.scad&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=1PTvybYjUOgGMxfeY8BpffdzR6vJUp2S_X3ETy9Nxcsj4rn3TMOKFCnEhxzsYk1v&s=7oDlHPNIfl_oF_X_Y41j2EsiQM2wDl20fAwrrTAwrYY&e=> python code can be downloaded from: https://github.com/sprabhakar2006/openSCAD/blob/main/strange_shape.txt<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_sprabhakar2006_openSCAD_blob_main_strange-5Fshape.txt&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=1PTvybYjUOgGMxfeY8BpffdzR6vJUp2S_X3ETy9Nxcsj4rn3TMOKFCnEhxzsYk1v&s=C6vjngbo98_Z6hhpnnOOS56SChIlL-frCqewYC4Dna4&e=>
SP
Sanjeev Prabhakar
Fri, Jun 26, 2026 1:31 AM

Correction:
Modeling in openscad with python library

On Fri, 26 Jun, 2026, 6:47 am jon jonbondy.com, jon@jonbondy.com wrote:

Well, the code is not OpenSCAD, so why do you say "how I model in
OpenSCAD"?

On 6/25/2026 9:00 PM, Sanjeev Prabhakar wrote:

You can watch this interesting video for details on how I model in
OpenSCAD:
https://youtu.be/hBnJgf14BoY
https://urldefense.proofpoint.com/v2/url?u=https-3A__youtu.be_hBnJgf14BoY&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=1PTvybYjUOgGMxfeY8BpffdzR6vJUp2S_X3ETy9Nxcsj4rn3TMOKFCnEhxzsYk1v&s=LSjtkfmM0qPC4NSa9Kynmd9V-WYAuUdZcx9a6EPGmOw&e=

On Sun, 21 Jun 2026 at 17:01, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

Correction: Modeling in openscad with python library On Fri, 26 Jun, 2026, 6:47 am jon jonbondy.com, <jon@jonbondy.com> wrote: > Well, the code is not OpenSCAD, so why do you say "how I model in > OpenSCAD"? > > > On 6/25/2026 9:00 PM, Sanjeev Prabhakar wrote: > > You can watch this interesting video for details on how I model in > OpenSCAD: > https://youtu.be/hBnJgf14BoY > <https://urldefense.proofpoint.com/v2/url?u=https-3A__youtu.be_hBnJgf14BoY&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=1PTvybYjUOgGMxfeY8BpffdzR6vJUp2S_X3ETy9Nxcsj4rn3TMOKFCnEhxzsYk1v&s=LSjtkfmM0qPC4NSa9Kynmd9V-WYAuUdZcx9a6EPGmOw&e=> > > On Sun, 21 Jun 2026 at 17:01, Sanjeev Prabhakar <sprabhakar2006@gmail.com> > wrote: > >> I had another attempt at this strange shape yesterday and this time it is >> a slightly more respectable copy. It's amazing to see the power of python >> >> [image: Screenshot 2026-06-20 at 10.10.45 PM.png] >> [image: Screenshot 2026-06-20 at 10.11.30 PM.png] >> [image: Screenshot 2026-06-20 at 10.12.04 PM.png] >> If anyone wants to try >> the scad file can be downloaded from : >> https://github.com/sprabhakar2006/openSCAD/blob/main/strange_shape.scad >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_sprabhakar2006_openSCAD_blob_main_strange-5Fshape.scad&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=1PTvybYjUOgGMxfeY8BpffdzR6vJUp2S_X3ETy9Nxcsj4rn3TMOKFCnEhxzsYk1v&s=7oDlHPNIfl_oF_X_Y41j2EsiQM2wDl20fAwrrTAwrYY&e=> >> >> python code can be downloaded from: >> https://github.com/sprabhakar2006/openSCAD/blob/main/strange_shape.txt >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_sprabhakar2006_openSCAD_blob_main_strange-5Fshape.txt&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=1PTvybYjUOgGMxfeY8BpffdzR6vJUp2S_X3ETy9Nxcsj4rn3TMOKFCnEhxzsYk1v&s=C6vjngbo98_Z6hhpnnOOS56SChIlL-frCqewYC4Dna4&e=> >> >>>