frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: FluidCAD – Parametric CAD with JavaScript

https://fluidcad.io/
48•maouida•2h ago
Hello HN users,

This is a CAD by code project I have been working on on my free time for more than year now.

I built it with 3 goals in mind:

- It should be familiar to CAD designers who have used other programs. Same workflow, same terminology.

- Reduce the mental effort required to create models as much as possible. This is achieved by:

    - Provide live rendering and visual guidance as you type.
    - Allow the user to reference existing edges/faces on the scene instead of having to calculate everything.
    - Provide interactive mouse helpers for features that are hard to write by code: Only 3 interactive modes for now: Edge trimming, Sketch region extrude, Bezier curve drawing.
    - Implicit coding whenever possible: e.g: There are sensible defaults for most parameters. The program will automatically fuse intersecting objects together so you do not have to worry about what object needs to be fused with what.
- It should be reasonably fast: The scene objects are cached and only the updated objects are re-computed.

I think I have achieved these goals to a good extent. The program is still in early stages and there are many features I want to add, rewrite but I think it is already usable for simple models.

Update to add more details: This is based on Opencascade.js WASM binding. So you get all the good things that come with any brep kernel. Fillets, chamfers, step import and export...

The scene is webview but the editing is in your local file. You use your own editor and the environment you are familiar with.

One important feature that I think make this stand out among other code based cad software is the ability to transform features not just shapes. More here: https://fluidcad.io/docs/guides/patterns You can see it in action in the lantern example: https://fluidcad.io/docs/tutorials/lantern

Comments

alterom•1h ago
What 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!

maouida•1h ago
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.
kaesve•1h ago
I was also curious, looks like open cascade, and a pretty good range of operations supported (see https://github.com/Fluid-CAD/FluidCAD/tree/main/lib/oc). Super cool!
WillAdams•1h ago
Why use this rather than Maker.js?

https://www.microsoft.com/en-us/garage/profiles/maker-js/

astroalex•1h ago
One obvious difference I can see at a glance is that Maker.js doesn't support 3D models, while FluidCAD does. I assume Maker.js is a lower level library aimed at interfacing directly with CNC machines, while FluidCAD is focused on 3D design.
WillAdams•53m ago
Maker.js is supposed to also support openjscad (or whatever they're call it these days, the JavaScript enabled version of OpenSCAD).
CWIZO•1h ago
This looks great. I just started trying to generate some models using golang and the ecosystem doesn't seem great. Will check this out, might work out better.
shocks•1h ago
This looks awesome.
bsimpson•13m ago
The thing that made Flash magical was that it had the approachability of a design tool (and it really did have some of the best design tools ever), with the extensibility of a scripting language. You could start by drawing on a canvas and grow into programmatically generating designs.

This looks like it could do the same thing for constraint modeling. That's awesome!

unforbiddenYet•12m ago
Nice work and kudos for programming it by hand! Starred the project and plan to try it out soonish.
ramses0•4m ago
I'll throw my hat in on the feedback... looks great!

https://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.

Show HN: FluidCAD – Parametric CAD with JavaScript

https://fluidcad.io/
49•maouida•2h ago•11 comments

Show HN: A WYSIWYG word processor in Python

https://codeberg.org/chrisecker/miniword
25•chrisecker•2h ago•12 comments

Show HN: Marimo pair – Reactive Python notebooks as environments for agents

https://github.com/marimo-team/marimo-pair
113•manzt•3d ago•28 comments

Show HN: Keeper – embedded secret store for Go (help me break it)

https://github.com/agberohq/keeper
56•babawere•11h ago•32 comments

Show HN: I run AI background removal in the browser–no upload,no server

https://www.allplix.com/en/background-remover
4•shadoxise•2h ago•0 comments

Show HN: Dynamic Map of YouTube Channels

https://www.ytmap.xyz/
5•Bachal•3h ago•7 comments

Show HN: QVAC SDK, a universal JavaScript SDK for building local AI applications

28•qvac•1d ago•9 comments

Show HN: Figma for Coding Agents

https://getdesign.md
6•omeraplak•5h ago•4 comments

Show HN: I built a Cargo-like build tool for C/C++

https://github.com/randerson112/craft
164•randerson_112•1d ago•156 comments

Show HN: CSS Studio. Design by hand, code by agent

https://cssstudio.ai
161•SirHound•1d ago•97 comments

Show HN: Druids – Build your own software factory

https://github.com/fulcrumresearch/druids
60•etherio•2d ago•12 comments

Show HN: Do All the Things

https://www.doallthethings.app/
6•brainbun•9h ago•5 comments

Show HN: Steadcast – Free Mac podcast player for learning, not background noise

https://steadcast.co
3•steadcast•7h ago•1 comments

Show HN: Rust based eBook library for Python, with MIT license

https://github.com/arc53/fast-ebook
30•larry-the-agent•22h ago•3 comments

Show HN: Moon simulator game, ray-casting

https://mooncraft2000.com
109•JKCalhoun•4d ago•25 comments

Show HN: Kaggle x Duolingo x Codecrafters

https://capalent.com
3•gen_specialist•6h ago•3 comments

Show HN: FeedSense – A private recommendation system built from your own sources

4•langtang1996•6h ago•1 comments

Show HN: Zeroclawed: Secure Agent Gateway

https://github.com/bglusman/zeroclawed
3•bglusman•7h ago•3 comments

Show HN: VigIA – A deterministic FSM in .NET 10 to stop LLM hallucinations

https://github.com/JordanCT/VigIA-Orchestrator
2•JordanCT•7h ago•0 comments

Show HN: Guruka.com – free guided mediations. No signup, private, works offline

https://guruka.com/
32•eummm•1d ago•12 comments

Show HN: Orange Juice – Small UX improvements that make HN easier to read

http://oj-hn.com/
141•latchkey•2d ago•157 comments

Show HN: Brutalist Concrete Laptop Stand (2024)

https://sam-burns.com/posts/concrete-laptop-stand/
783•sam-bee•3d ago•236 comments

Show HN: Is Hormuz open yet?

https://www.ishormuzopenyet.com/
475•anonfunction•1d ago•209 comments

Show HN: 41 years sea surface temperature anomalies

https://ssta.willhelps.org
147•willmeyers•1d ago•71 comments

Show HN: A (marginally) useful x86-64 ELF executable in 301 bytes

https://github.com/meribold/btry
64•meribold•4d ago•19 comments

Show HN: I pipe free sports streams into Jellyfin – no ads, just HLS

https://github.com/pcruz1905/hls-restream-proxy
114•pruz•2d ago•36 comments

Show HN: Unicode Steganography

https://steganography.patrickvuscan.com
55•PatrickVuscan•3d ago•14 comments

Show HN: We built a camera only robot vacuum for less than $300 (well almost)

https://indraneelpatil.github.io/blog/2026/robot-vacuum/
107•indraneelpatil•4d ago•55 comments

Show HN: Mdpdf a 2k line C CLI to convert Markdown to tiny PDFs

https://github.com/schicho/mdpdf
13•bastscho•1d ago•4 comments

Show HN: Go-Bt: Minimalist Behavior Trees for Go

https://github.com/rvitorper/go-bt
62•rvitorper•2d ago•12 comments