{"by":"flowful","descendants":6,"id":44260649,"kids":[44263975,44263239],"score":52,"text":"Hey HN,<p>I&#x27;m a beginner at CAD so I built an app that does it for me ;) Describe a part and ChatToSTL writes the OpenSCAD code, shows a live render with size sliders, then exports the STL&#x2F;3MF file. Because the output is parametric, it&#x27;s easy to modify (unlike mesh models like Shap-E or DreamFusion).<p>Try it (needs your own OpenAI key): <a href=\"https:&#x2F;&#x2F;huggingface.co&#x2F;spaces&#x2F;flowfulai&#x2F;ChatToSTL\" rel=\"nofollow\">https:&#x2F;&#x2F;huggingface.co&#x2F;spaces&#x2F;flowfulai&#x2F;ChatToSTL</a><p>How it works: Text prompt → o4-mini generates OpenSCAD code → live render + sliders → refine in chat → export.<p>Examples &amp; Code:<p>* Walkthrough + real prints (bowl, hook, box, door stop): <a href=\"https:&#x2F;&#x2F;medium.com&#x2F;@nchourrout&#x2F;vibe-modeling-turning-prompts-into-parametric-3d-prints-a63405d36824\" rel=\"nofollow\">https:&#x2F;&#x2F;medium.com&#x2F;@nchourrout&#x2F;vibe-modeling-turning-prompts...</a><p>* 90-sec demo: <a href=\"https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ZK_IDaNn1Mk\" rel=\"nofollow\">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ZK_IDaNn1Mk</a><p>* MIT repo: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;nchourrout&#x2F;chat-to-stl\">https:&#x2F;&#x2F;github.com&#x2F;nchourrout&#x2F;chat-to-stl</a><p>Current limitations (it&#x27;s not replacing Fusion 360 anytime soon):<p><pre><code>  - Simple shapes only. Even a mug can end up with a misplaced handle\n  - Works best with CAD-style language (&quot;extrude 5mm&quot;)\n  - AI can&#x27;t see the render, so no self-correction yet\n</code></pre>\nI&#x27;m particularly interested in feedback on improving the 3D generation quality: should I add vision feedback so that it can self critique? use CADQuery instead of OpenSCAD? use a different model?<p>Thanks!\nNico","time":1749751091,"title":"Show HN: ChatToSTL – AI text-to-CAD for 3D printing","type":"story","url":"https://huggingface.co/spaces/flowfulai/ChatToSTL"}