This looks like it could do the same thing for constraint modeling. That's awesome!
Show HN: FluidCAD – Parametric CAD with JavaScript
11–20 of 44 posts
Re: Show HN: FluidCAD – Parametric CAD with JavaScript
#12Re: Show HN: FluidCAD – Parametric CAD with JavaScript
#13https://github.com/openscad/openscad/pull/4478#issuecomment-...
My pet use case is: "My naive approach as a programmer would be: `pen := new Pen(q,r,s,t); box := new Box( pen.L, pen.W, pen.H )`" along with being able to sometimes work with the whole pen, and sometimes touch the pen vs. the cap separately.
Since it's all javascript, it seems like there's a chance that this use case would work (ie: `p = Pen(...).render().getWidth()`)? Additionally, your intermediate step screenshots really makes it seem like a SketchUp-ish GUI would be perfect! Obviously a ton of work, but SketchUp's "grab face + extrude / push", but if it were "sticky" to the underlying parametric components seems like it'd be an awesome combo... something like group/components, but backed by code instead of GUI-only (or GUI-centric) editing.
Re: Show HN: FluidCAD – Parametric CAD with JavaScript
#14Re: Show HN: FluidCAD – Parametric CAD with JavaScript
#15What geometry kernel is it using? Which operations are supported? (Booleans? ...) Where's the API link? ...finally, was this vibe-coded? Inquiring minds want to know!
Based on opencascade wasm. Features in the docs. Api coming soon. No it was not, I started this before I even started using coding agents. It took many iterations and rewrites before settling on the current shape. After building the core features I started using claude to add more features, improve test coverage and generte docs.
> Features in the docs
The Docs section of the website has "Installation", "Editor setup", and "Your First Model".
Not a list of operations/features.
The front page lists some (extrusion, fillets), but not all.
Is the entirety of OpenCASCADE exposed to the user via the JS API, or are you only supporting a curated subset?
Re: Show HN: FluidCAD – Parametric CAD with JavaScript
#16Earlier quoted context omitted.
Based on opencascade wasm. Features in the docs. Api coming soon. No it was not, I started this before I even started using coding agents. It took many iterations and rewrites before settling on the current shape. After building the core features I started using claude to add more features, improve test coverage and generte docs.
Thanks! > Features in the docs The Docs section of the website has "Installation", "Editor setup", and "Your First Model". Not a list of operations/features. The front page lists some (extrusion, fillets), but not all. Is the entirety of OpenCASCADE exposed to the user via the JS API, or are you only supporting a curated subset?
There is a guide section and one tutorial: https://fluidcad.io/docs/guides/
This week will be all for documentation.
It is only a subset of features focused on solid modeling. Surface modeling will come in future versions
Re: Show HN: FluidCAD – Parametric CAD with JavaScript
#17Re: Show HN: FluidCAD – Parametric CAD with JavaScript
#18Re: Show HN: FluidCAD – Parametric CAD with JavaScript
#19I've been revisiting OpenSCAD recently but find it very frustrating. I just got started with build123d which is great but I'll definitely be trying this. The workflow is exactly what I'm looking for.
I'll drop an issue if I have feedback. Are you open to PRs?
Re: Show HN: FluidCAD – Parametric CAD with JavaScript
#20I don't know much about CAD but it is surprising to me this hasn't existed before seems so natural. great work
Irrespective - This project is pretty cool to see!