RW
Raymond West
Tue, Jun 3, 2025 7:41 PM
Hi,
Some months ago, I mentioned that I was experimenting in using ChatGPT
to generate OpenSCAD script. It was hard going. However, it is now much
improved, although it It still tends to hallucinate towards Python, as
it is considerably better at python. Of course, you have to know how to
frame the questions, for it to give the answers you want.
Anyway, I used it to generate a helper for PythonSCAD, as an html file,
but since there is little documentation for PythonSCAD, (but plenty for
Python) it invented a number of useful functions, that do not yet exist.
I thought i could make a similar helper for OpenSCAD, as an exercise,
not a necessity. However, I started to discover that unless I paid for
ChatGPT, or waited a day between responses, it could not create more
than a few KB of code.
So, I tried Deepseek and it fairly quickly understood my basic
requirements, and after a while of tweaking it to create the layout that
I wanted, It produced the attached html. I have made random checks on
the code examples, and they seem to work OK, but I certainly have not
verified all of them. Anyway, the html script is attached, for anyone to
use in any way they wish. I'm pretty sure much has been left out, but I
find it to be quite impressive that it was able to find or generate
succinct example texts, and create a searchable html file.
Best wishes,
Ray
Hi,
Some months ago, I mentioned that I was experimenting in using ChatGPT
to generate OpenSCAD script. It was hard going. However, it is now much
improved, although it It still tends to hallucinate towards Python, as
it is considerably better at python. Of course, you have to know how to
frame the questions, for it to give the answers you want.
Anyway, I used it to generate a helper for PythonSCAD, as an html file,
but since there is little documentation for PythonSCAD, (but plenty for
Python) it invented a number of useful functions, that do not yet exist.
I thought i could make a similar helper for OpenSCAD, as an exercise,
not a necessity. However, I started to discover that unless I paid for
ChatGPT, or waited a day between responses, it could not create more
than a few KB of code.
So, I tried Deepseek and it fairly quickly understood my basic
requirements, and after a while of tweaking it to create the layout that
I wanted, It produced the attached html. I have made random checks on
the code examples, and they seem to work OK, but I certainly have not
verified all of them. Anyway, the html script is attached, for anyone to
use in any way they wish. I'm pretty sure much has been left out, but I
find it to be quite impressive that it was able to find or generate
succinct example texts, and create a searchable html file.
Best wishes,
Ray
GH
gene heskett
Tue, Jun 3, 2025 8:13 PM
On 6/3/25 15:42, Raymond West via Discuss wrote:
Hi,
Some months ago, I mentioned that I was experimenting in using
ChatGPT to generate OpenSCAD script. It was hard going. However, it is
now much improved, although it It still tends to hallucinate towards
Python, as it is considerably better at python. Of course, you have to
know how to frame the questions, for it to give the answers you want.
Anyway, I used it to generate a helper for PythonSCAD, as an html
file, but since there is little documentation for PythonSCAD, (but
plenty for Python) it invented a number of useful functions, that do
not yet exist.
I thought i could make a similar helper for OpenSCAD, as an exercise,
not a necessity. However, I started to discover that unless I paid
for ChatGPT, or waited a day between responses, it could not create
more than a few KB of code.
So, I tried Deepseek and it fairly quickly understood my basic
requirements, and after a while of tweaking it to create the layout
that I wanted, It produced the attached html. I have made random
checks on the code examples, and they seem to work OK, but I certainly
have not verified all of them. Anyway, the html script is attached,
for anyone to use in any way they wish. I'm pretty sure much has been
left out, but I find it to be quite impressive that it was able to
find or generate succinct example texts, and create a searchable html
file.
Best wishes,
Ray
And that looks pretty good Ray, thank you.
Cheers, Gene Heskett, CET.
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
On 6/3/25 15:42, Raymond West via Discuss wrote:
> Hi,
>
> Some months ago, I mentioned that I was experimenting in using
> ChatGPT to generate OpenSCAD script. It was hard going. However, it is
> now much improved, although it It still tends to hallucinate towards
> Python, as it is considerably better at python. Of course, you have to
> know how to frame the questions, for it to give the answers you want.
>
> Anyway, I used it to generate a helper for PythonSCAD, as an html
> file, but since there is little documentation for PythonSCAD, (but
> plenty for Python) it invented a number of useful functions, that do
> not yet exist.
>
> I thought i could make a similar helper for OpenSCAD, as an exercise,
> not a necessity. However, I started to discover that unless I paid
> for ChatGPT, or waited a day between responses, it could not create
> more than a few KB of code.
>
> So, I tried Deepseek and it fairly quickly understood my basic
> requirements, and after a while of tweaking it to create the layout
> that I wanted, It produced the attached html. I have made random
> checks on the code examples, and they seem to work OK, but I certainly
> have not verified all of them. Anyway, the html script is attached,
> for anyone to use in any way they wish. I'm pretty sure much has been
> left out, but I find it to be quite impressive that it was able to
> find or generate succinct example texts, and create a searchable html
> file.
>
> Best wishes,
>
> Ray
And that looks pretty good Ray, thank you.
>
>
>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
MH
Matthieu Hendriks
Wed, Jun 4, 2025 6:32 AM
I'm using claude.ai for code generation, it's pretty good.
Met vriendelijke groet,
Matthieu Hendriks
gene heskett via Discuss schreef op 2025-06-03 22:13:
On 6/3/25 15:42, Raymond West via Discuss wrote:
Hi,
Some months ago, I mentioned that I was experimenting in using
ChatGPT to generate OpenSCAD script. It was hard going. However, it is
now much improved, although it It still tends to hallucinate towards
Python, as it is considerably better at python. Of course, you have to
know how to frame the questions, for it to give the answers you want.
Anyway, I used it to generate a helper for PythonSCAD, as an html
file, but since there is little documentation for PythonSCAD, (but
plenty for Python) it invented a number of useful functions, that do
not yet exist.
I thought i could make a similar helper for OpenSCAD, as an exercise,
not a necessity. However, I started to discover that unless I paid
for ChatGPT, or waited a day between responses, it could not create
more than a few KB of code.
So, I tried Deepseek and it fairly quickly understood my basic
requirements, and after a while of tweaking it to create the layout
that I wanted, It produced the attached html. I have made random
checks on the code examples, and they seem to work OK, but I certainly
have not verified all of them. Anyway, the html script is attached,
for anyone to use in any way they wish. I'm pretty sure much has been
left out, but I find it to be quite impressive that it was able to
find or generate succinct example texts, and create a searchable html
file.
Best wishes,
Ray
And that looks pretty good Ray, thank you.
Cheers, Gene Heskett, CET.
I'm using claude.ai for code generation, it's pretty good.
Met vriendelijke groet,
Matthieu Hendriks
gene heskett via Discuss schreef op 2025-06-03 22:13:
> On 6/3/25 15:42, Raymond West via Discuss wrote:
>
>> Hi,
>>
>> Some months ago, I mentioned that I was experimenting in using
>> ChatGPT to generate OpenSCAD script. It was hard going. However, it is
>> now much improved, although it It still tends to hallucinate towards
>> Python, as it is considerably better at python. Of course, you have to
>> know how to frame the questions, for it to give the answers you want.
>>
>> Anyway, I used it to generate a helper for PythonSCAD, as an html
>> file, but since there is little documentation for PythonSCAD, (but
>> plenty for Python) it invented a number of useful functions, that do
>> not yet exist.
>>
>> I thought i could make a similar helper for OpenSCAD, as an exercise,
>> not a necessity. However, I started to discover that unless I paid
>> for ChatGPT, or waited a day between responses, it could not create
>> more than a few KB of code.
>>
>> So, I tried Deepseek and it fairly quickly understood my basic
>> requirements, and after a while of tweaking it to create the layout
>> that I wanted, It produced the attached html. I have made random
>> checks on the code examples, and they seem to work OK, but I certainly
>> have not verified all of them. Anyway, the html script is attached,
>> for anyone to use in any way they wish. I'm pretty sure much has been
>> left out, but I find it to be quite impressive that it was able to
>> find or generate succinct example texts, and create a searchable html
>> file.
>>
>> Best wishes,
>>
>> Ray
> And that looks pretty good Ray, thank you.
>
>> _______________________________________________
>> OpenSCAD mailing list
>> To unsubscribe send an email to discuss-leave@lists.openscad.org
>
> Cheers, Gene Heskett, CET.
I
info@hjcreations.nl
Wed, Jun 4, 2025 6:38 AM
I think this is a great and clear action!
I use now the Brave browser with build in AI and give also good
basic information and sometimes new views on solutions.
I'm not a pro but use OpenSCAD regular base to make 3D prints.
Thanks again!
Harm
Raymond West via Discuss schreef op 2025-06-03 21:41:
Hi,
Some months ago, I mentioned that I was experimenting in using
ChatGPT to generate OpenSCAD script. It was hard going. However, it is
now much improved, although it It still tends to hallucinate towards
Python, as it is considerably better at python. Of course, you have to
know how to frame the questions, for it to give the answers you want.
Anyway, I used it to generate a helper for PythonSCAD, as an html
file, but since there is little documentation for PythonSCAD, (but
plenty for Python) it invented a number of useful functions, that do
not yet exist.
I thought i could make a similar helper for OpenSCAD, as an exercise,
not a necessity. However, I started to discover that unless I paid
for ChatGPT, or waited a day between responses, it could not create
more than a few KB of code.
So, I tried Deepseek and it fairly quickly understood my basic
requirements, and after a while of tweaking it to create the layout
that I wanted, It produced the attached html. I have made random
checks on the code examples, and they seem to work OK, but I certainly
have not verified all of them. Anyway, the html script is attached,
for anyone to use in any way they wish. I'm pretty sure much has been
left out, but I find it to be quite impressive that it was able to
find or generate succinct example texts, and create a searchable html
file.
Best wishes,
Ray
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
I think this is a great and clear action!
I use now the Brave browser with build in AI and give also good
basic information and sometimes new views on solutions.
I'm not a pro but use OpenSCAD regular base to make 3D prints.
Thanks again!
Harm
Raymond West via Discuss schreef op 2025-06-03 21:41:
> Hi,
>
> Some months ago, I mentioned that I was experimenting in using
> ChatGPT to generate OpenSCAD script. It was hard going. However, it is
> now much improved, although it It still tends to hallucinate towards
> Python, as it is considerably better at python. Of course, you have to
> know how to frame the questions, for it to give the answers you want.
>
> Anyway, I used it to generate a helper for PythonSCAD, as an html
> file, but since there is little documentation for PythonSCAD, (but
> plenty for Python) it invented a number of useful functions, that do
> not yet exist.
>
> I thought i could make a similar helper for OpenSCAD, as an exercise,
> not a necessity. However, I started to discover that unless I paid
> for ChatGPT, or waited a day between responses, it could not create
> more than a few KB of code.
>
> So, I tried Deepseek and it fairly quickly understood my basic
> requirements, and after a while of tweaking it to create the layout
> that I wanted, It produced the attached html. I have made random
> checks on the code examples, and they seem to work OK, but I certainly
> have not verified all of them. Anyway, the html script is attached,
> for anyone to use in any way they wish. I'm pretty sure much has been
> left out, but I find it to be quite impressive that it was able to
> find or generate succinct example texts, and create a searchable html
> file.
>
> Best wishes,
>
> Ray
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org