frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: FluidCAD – Parametric CAD with JavaScript

https://fluidcad.io/
55•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•2h 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.
alterom•15m ago
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?

maouida•11m ago
You are welcome.

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

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•2h 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•1h 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•38m 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•38m ago
Nice work and kudos for programming it by hand! Starred the project and plan to try it out soonish.
ramses0•30m 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.

interstice•23m ago
I've been working on this exact idea! But it's late, will remember to come back and check this out to compare notes.

1D Chess

https://rowan441.github.io/1dchess/chess.html
462•burnt-resistor•5h ago•94 comments

Chimpanzees in Uganda locked in vicious 'civil war', say researchers

https://www.bbc.com/news/articles/cr71lkzv49po
86•neversaydie•1h ago•51 comments

WireGuard makes new Windows release following Microsoft signing resolution

https://lists.zx2c4.com/pipermail/wireguard/2026-April/009561.html
303•zx2c4•5h ago•93 comments

Industrial design files for Keychron keyboards and mice

https://github.com/Keychron/Keychron-Keyboards-Hardware-Design
211•stingraycharles•4h ago•66 comments

JSON Formatter Chrome Plugin Now Closed and Injecting Adware

https://github.com/callumlocke/json-formatter
69•jkl5xx•2h ago•32 comments

Watgo – A WebAssembly Toolkit for Go

https://eli.thegreenplace.net/2026/watgo-a-webassembly-toolkit-for-go/
40•ibobev•2h ago•3 comments

Helium Is Hard to Replace

https://www.construction-physics.com/p/helium-is-hard-to-replace
196•JumpCrisscross•6h ago•121 comments

Show HN: FluidCAD – Parametric CAD with JavaScript

https://fluidcad.io/
55•maouida•2h ago•14 comments

What is RISC-V and why it matters to Canonical

https://ubuntu.com/blog/risc-v-101-what-is-it-and-what-does-it-mean-for-canonical
45•fork-bomber•2d ago•10 comments

CPU-Z and HWMonitor compromised

https://www.theregister.com/2026/04/10/cpuid_site_hijacked/
191•pashadee•7h ago•78 comments

Launch HN: Twill.ai (YC S25) – Delegate to cloud agents, get back PRs

https://twill.ai
28•danoandco•4h ago•25 comments

Bluesky April 2026 Outage Post-Mortem

https://pckt.blog/b/jcalabro/april-2026-outage-post-mortem-219ebg2
108•jcalabro•5h ago•43 comments

You can't trust macOS Privacy and Security settings

https://eclecticlight.co/2026/04/10/why-you-cant-trust-privacy-security/
379•zdw•5h ago•133 comments

Bild AI (YC W25) Is Hiring a Founding Product Engineer

https://www.ycombinator.com/companies/bild-ai/jobs/dDMaxVN-founding-product-engineer
1•rooppal•4h ago

DOJ Wants to Scrap Watergate-Era Rule That Makes Presidential Records Public

https://theintercept.com/2026/04/09/trump-documents-library-presidential-records-act/
86•tlhunter•1h ago•11 comments

Clojure on Fennel Part One: Persistent Data Structures

https://andreyor.st/posts/2026-04-07-clojure-on-fennel-part-one-persistent-data-structures/
105•roxolotl•3d ago•7 comments

AI assistance when contributing to the Linux kernel

https://github.com/torvalds/linux/blob/master/Documentation/process/coding-assistants.rst
74•hmokiguess•2h ago•61 comments

A security scanner as fast as a linter – written in Rust

https://github.com/peaktwilight/foxguard
13•peaktwilight•2d ago•2 comments

Show HN: A WYSIWYG word processor in Python

https://codeberg.org/chrisecker/miniword
28•chrisecker•2h ago•14 comments

I've Seen a Thousand OpenClaw Deploys. Here's the Truth

https://blog.nishantsoni.com/p/ive-seen-a-thousand-openclaw-deploys
24•sonink•2h ago•14 comments

Combining spicy foods with mint boosts anti-inflammatory effects 100x or more

https://scitechdaily.com/this-spice-combo-could-slash-inflammation-hundreds-of-times-more-effecti...
20•joeax•44m ago•2 comments

The best seat in town

https://www.torched.la/the-best-seat-in-town/
17•NaOH•1d ago•8 comments

The difficulty of making sure your website is broken

https://letsencrypt.org/2026/04/10/test-sites.html
42•mcpherrinm•4h ago•16 comments

Mysteries of Dropbox: Testing of a Distributed Sync Service (2016) [pdf]

https://www.cis.upenn.edu/~bcpierce/papers/mysteriesofdropbox.pdf
95•JackeJR•3d ago•22 comments

A compelling title that is cryptic enough to get you to take action on it

https://ericwbailey.website/published/a-compelling-title-that-is-cryptic-enough-to-get-you-to-tak...
114•mooreds•4h ago•69 comments

FBI used iPhone notification data to retrieve deleted Signal messages

https://9to5mac.com/2026/04/09/fbi-used-iphone-notification-data-to-retrieve-deleted-signal-messa...
528•01-_-•9h ago•269 comments

HBO Obtains DMCA Subpoena to Unmask 'Euphoria' Spoiler Account on X

https://torrentfreak.com/hbo-obtains-dmca-subpoena-to-unmask-euphoria-spoiler-account-on-x/
76•speckx•3h ago•45 comments

DOJ Top Antitrust Litigators Exit After Ticketmaster Accord

https://www.bloomberg.com/news/articles/2026-04-08/doj-top-antitrust-litigators-exit-after-ticket...
31•1vuio0pswjnm7•1h ago•6 comments

Penguin 'Toxicologists' Find PFAS Chemicals in Remote Patagonia

https://www.ucdavis.edu/health/news/penguin-toxicologists-find-pfas-chemicals-remote-patagonia
134•giuliomagnifico•14h ago•63 comments

A new trick brings stability to quantum operations

https://ethz.ch/en/news-and-events/eth-news/news/2026/04/a-new-trick-brings-stability-to-quantum-...
220•joko42•17h ago•47 comments