logo

Show HN: React-scad: Component-based authoring for OpenSCAD (JSX → .scad)

Posted by cmger |3 hours ago |1 comments

cmger 3 hours ago

Hi HN,

Creator here: My OpenSCAD projects always ended up looking like spaghetti code. I'm a web developer and used to building things with components and props (React, JSX), so I wanted to see if that could still spit out something that runs in OpenSCAD.

So I built react-scad. It’s a component-based authoring layer that emits plain .scad. You describe the model as a tree of React components and it writes a file that opens in OpenSCAD or any slicer. I’m sharing it in the hope it makes OpenSCAD more accessible and opens up the community to people who think like me.

It's all open source: https://github.com/react-scad/react-scad

Happy to answer questions