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•55m 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•15m 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•14m ago
Nice work and kudos for programming it by hand! Starred the project and plan to try it out soonish.
ramses0•6m 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.

Ads in AI Chatbots? An Analysis of How LLMs Navigate Conflicts of Interest

https://arxiv.org/abs/2604.08525
1•StatsAreFun•1m ago•0 comments

Show HN: Agentic Web :handshake: Human Web

https://epsteingacha.com/llms.txt
1•pityrate•1m ago•0 comments

Abstraction is the only thing that has ever scaled

https://toto.tech/docs/abstraction
2•afunk•2m ago•0 comments

The acyclic e-graph: Cranelift's mid-end optimizer

https://cfallin.org/blog/2026/04/09/aegraph/
1•fanf2•3m ago•0 comments

Open Source card game cuttle.cards has its world championship Saturday at 1pm ET

1•aleph_one•7m ago•0 comments

Claude Mythos: 'It's a PR Scam' – Ed Zitron [video]

https://www.youtube.com/watch?v=RojN74P1lDI
1•xbmcuser•8m ago•0 comments

Apollo 8, Artemis 1 and 2 Orbit Comparison [video]

https://www.youtube.com/watch?v=PNQ7MoL7erI
1•nixass•10m ago•0 comments

Building C/C++ libraries for HarmonyOS with vcpkg

https://www.qt.io/blog/building-libraries-for-harmonyos-with-vcpkg
1•molinwow•10m ago•0 comments

ESA Launches 7 New Missions to Supercharge Space Data Transfer

https://www.universetoday.com/articles/esa-launches-7-new-missions-to-supercharge-space-data-tran...
1•rbanffy•13m ago•0 comments

Microsoft says Windows 11's bugs are all "resolved"

https://www.windowscentral.com/microsoft/windows-11/microsoft-says-windows-11-bugs-are-resolved
4•tencentshill•16m ago•0 comments

Show HN: I built a tool to bootstrap VLESS and REALITY over SSH (with rollback)

1•insany•16m ago•0 comments

Show HN: Django app for email-based learning platforms

https://github.com/AvaCodeSolutions/django-email-learning
2•payamnj•16m ago•0 comments

Scanners are too late for AI-driven actions

1•pinfloyd•17m ago•0 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...
7•joeax•20m ago•1 comments

AIs diagnose people with obviously fake eye disease "bixonimania"

https://twitter.com/HedgieMarkets/status/2042430442448548273
2•josephcsible•21m ago•0 comments

Anti-Distillation for Employee Skills

https://github.com/leilei926524-tech/anti-distill
2•mooreds•21m ago•0 comments

From Coal Tip to Clean Energy: Turning UK Coal Mines into Renewable Powerhouses

https://bylinetimes.com/2026/04/09/from-coal-tip-to-clean-energy-the-uk-projects-turning-former-m...
2•DamonHD•22m ago•0 comments

Lemlist Outage Postmortem

https://lempire.notion.site/lemlist-Outage-Apr-8-9-Customer-Impact-Report-33ddfb675ef480e39627ecf...
2•warent•24m ago•0 comments

Nono – Runtime safety infrastructure for AI agents

https://nono.sh
2•jossclimb•25m ago•0 comments

Time Brings Order to the Universe

https://nautil.us/time-brings-order-to-the-universe-1279584
2•rbanffy•25m ago•0 comments

Plans to possibly retire the big-endian PowerPC/POWER platforms

https://chimera-linux.org/news/2026/03/retiring-powerpc.html
2•PaulHoule•28m ago•0 comments

We're running out of benchmarks to upper bound AI capabilities

https://www.lesswrong.com/posts/gfkJp8Mr9sBm83Rcz/we-re-actually-running-out-of-benchmarks-to-upp...
5•gmays•28m ago•0 comments

Molotov cocktail thrown at home of OpenAI chief executive Sam Altman

https://www.ft.com/content/46ec2fa5-834d-4e49-81ef-6fb736b7e81d
6•fuzzfactor•28m ago•0 comments

Coming Home May Be the Most Dangerous Part of Artemis II

https://www.nytimes.com/2026/04/09/science/nasa-artemis-ii-earth-return-heat-shield.html
4•bookofjoe•28m ago•1 comments

EU AI Act compliance layer for Claude Managed Agents (MCP, open source)

https://docs.geiant.com/integrations/claude-managed-agents/
2•camilo_ayerbe•29m ago•0 comments

Artemis II Flight Day 10: Crew Completes Final Burn Before Splashdown

https://www.nasa.gov/blogs/missions/2026/04/10/artemis-ii-flight-day-10-crew-completes-final-burn...
4•thinkingemote•30m ago•0 comments

Phone's Deal with the Devil [video]

https://www.youtube.com/watch?v=NG-lLt5X3Rs
2•pinkmuffinere•30m ago•0 comments

We mapped 153 gaps in science using 5 parallel AI research agents

https://github.com/fainir/science-gaps
2•fainir•31m ago•0 comments

The Gigawatt Delusion: Why Measuring AI in Power Capacity Is a Category Error

https://aiafterhours.substack.com/p/the-gigawatt-delusion-why-silicon
2•shwetankk•32m ago•0 comments

AgentLint: Real-time guardrails for Claude Code (open source)

https://github.com/mauhpr/agentlint
3•maupr92•33m ago•0 comments