News for hackers. Stuff that matters.
Re:Can LLMs write better code if you keep asking them to "wr... by strongpigeon on Friday January 03, 2025 @12:24PM (#42587554)
What has been your experience with using ChatGPT for OpenSCAD? I tried it (o1) recently for a project and it was pretty bad. I was trying to model a 2 color candy cane and the code it would give me was ridden with errors (e.g.: using radians for angles while OpenSCAD uses degrees) and the shape it produced looked nothing like what I had hoped.

I used it in another project to solve some trigonometry problems for me and it did great, but for OpenSCAD, damn it was awful.

Re:Can LLMs write better code if you keep asking them to "wr... by btbuildem on Friday January 03, 2025 @02:52PM (#42588879)
It's been pretty underwhelming. My use case was a crowned pulley with 1mm tooth pitch (GT2) which is an unusual enough thing that I could not find one online.

The LLM kept going in circles between two incorrect solutions, then just repeating the same broken solution while describing it as different. I ended up manually writing the code, which was a nice brain-stretch given that I'm an absolute noob at OpenSCAD.