Hacker News new | ask | show | jobs
by mafm 14 days ago
There has been a recent explosion in open source cad options.

fluidcad appears to be a remarkably good option now - particularly for something that only started development about a year ago.

I have used freecad, solvespace and onshape for at least a hundred hours each to make some reasonably complex parts. fluidcad resolves pretty much everything I found painful about those options.

I have some more limited experience with build123d which is also nice, but just not as easy and interactive as fluidcad.

Fluidcad provides normal interactive 3d cad interface with tools like extrudes/revolves/sketches but explicitly generates code as an intermediate step to constructing geometry and the code can be edited and refactored easily.

The linking between the code and the gui works remarkably well in practice.

It’s far easier to manage parameters and constraints in fluidcad where they are written out explicitly and can be edited vs what happened in a gui-only interface like Onshape.

If you’re playing around with a semi-constrained sketch to understand kinematics onshape tends to “helpfully” add random constraints which is really annoying to identify and correct. In fluidcad everything is way more explicit and visible and clear.

I have only spent about 5 hours using fluidcad but it looks remarkably useful despite some minor rough edges. It’s pretty much exactly what I wanted onshape or build123d to be.

Solvespace is a really beautiful piece of software but quite limited. fluidcad has the same sort of nice vibes as solvespace but is way more powerful.

9 comments

I love open source ( although slightly less relevant now ), and so I spent many many hours using OpenSCAD to write parts that in hindsight would have taken me 1/10 time in something like Fusion. When I finally learned Fusion, I regretted not learning it earlier.

However now everything has changed. I personally believe that the days of designing by hand are numbered. I think the current apps are a bit like the early days of AI assisted coding - autocompleting certain manual steps. Compared with full agentic "solve x" prompts.

I've been working on my own AI-First CAD ( and CAM! ), thinking about everything from first principles for AI - is it easier to think in terms of operations? or start with the finished product? I'm pretty happy with the engine ( and kernel ) I've (+agents) built, it can do full assemblies, including interactive sliders to move them etc, and then do the 3 axis CAM ( or export to STL for printing). I'm really interested in genuine feedback if anyone has a few minutes to try it out www.zelm.ai.

As a mechanical and software engineer I've been following this space closely, and similarly thinking about what interfaces will power the CAD packages of the future.

I checked out your project but was a bit disappointed to see that it's closed source. As you're probably aware in the last 6 months there have been a ton of new OSS B-Rep kernels and CAD programs hitting the ground, many of them working towards the same goals that you and I have.

It's my personal opinion is that in this new age of AI coding, the best way for a project like this to gain momentum and user base is to make it free and open for other users/contributors to work on and with.

Just my 2c.

I totally get the sentiment, but I think software has changed quite a bit. If we're honest, AI 99.9% built this, I just provided the vision.

I've contributed to open source, and ran my own open source projects in the past, but when everyone can have the software exactly they want it's just a different ballgame. I think the value of Zelm isn't so much the code, but the infrastructure around it to make it a seamless experience.

If there is a feature you want, just ask for it in the chat or via MCP, and it will be added to the backlog automatically.

Open source was never about free as in beer, but in this case Zelm is pretty close to free if you use it as a MCP server.

I've been having some interesting discussions with friends about this exact topic, whether AI will be a boon to OSS, or the end of it.

I think that many tools, services, and programs will be more personalized, and maybe less shared. But that the core building blocks of the tools will stay open and continue to be refined by the community.

When I'm coding with AI, one of the main reasons it's so capable is the ability to build off of languages, packages, and frameworks that are battle tested across many deployments. The end result is better if my (+ my agents) focus is on what's new and different about what I want to create, not reinventing the wheel. So I'll import a proven serial library rather than writing my own, pick the right programming language for my use case rather than writing in assembly.

With regards to your project and CAD, I think it's a clean and efficient interface, and part I generated looked good. Personally I need more traditional CAD features for my day to day (drawings, multi part assemblies, hand editing) but it looks like a good tool for the right use cases.

To finish my open vs closed source thought - have you considered open sourcing your b-rep kernel? Your app may be the secret sauce, but the kernel is boring but vital core. Parasolid has been developed over the last 35 years and is the reference point. NVIDIA open sourced SMLib but it is buggy and incomplete. OCCT exists but doesn't handle fillets well. Zoo spent two years with tens of developers building their kernel from the ground up (also unfortunately closed). There are a dozen new kernels written in Rust on github but none are complete.

I really think that if all of the smart people trying to roll their own kernel worked together and put effort into really completing a good open source kernel, it would be the start of a cambrian explosion of CAD tools and AI enabled hardware engineering tools. Food for thought.

Have you seen https://solidcraft.io/solidcore/ ? It's a rust CAD kernel and open source. It's a port from SMLib. It also seems to have an active open source community.

I don't really know much about CAD kernels, and so I really don't think I should be running a cad kernel open source project/community ( which is what successful open source is about ) I wouldn't be able to decide if we should do feature x or not.

> Personally I need more traditional CAD features for my day to day (drawings, multi part assemblies, hand editing)

Zelm supports drawings ( including custom drawings, see Download button ), assemblies ( with movement interfaces, click on Features ), and while it doesn't support hand editing ( i.e. with a mouse ), designs are parametric so you can tweak them ( click on Params down the bottom ).

This is an example: https://www.zelm.ai/p/v8nzvHBhz7?share=Kis1TuAUtwn7nR3VNx-rj...

>I don't really know much about CAD kernels, and so I really don't think I should be running a cad kernel open source project/community ( which is what successful open source is about ) I wouldn't be able to decide if we should do feature x or not.

Is this some kind of joke I'm not getting? People use AI to do things so far outside their competency to the point where they have no idea about anything? I mean, who exactly would trust such a project? I'd rather do it myself.

I don't buy it! The value in open sourcing is no different than it was before: help others save mental effort by letting them build on yours. Previously, this was meat mental effort, now it's tokens and your (not insignificant) mental effort and time it took with the guidance!

I think open source is still very valuable, and we can still build on top of each others collective efforts (resulting in LLM).

I'm not really sure about AI CAD. The things I CAD are very specific, I can't just go "give me a generic box", it needs to be these exact dimensions, it needs to have cutouts at this position with this size, it needs holes at this spot, manufactured with these materials and tolerances, then I need this all nicely parametric and easy to change. If I need to put that many specific details in my prompt (and then double check the work afterwards) I might as well just do it myself.

And how would iteration look like? It's a million times faster and easier to just navigate around a 3d model, click on the feature to edit, start editing. Describing which feature for the AI to change seems like a nightmare.

I was a Solidworks/Shapr3D user before but it was too time consuming for me to make intricate designs (I design lithium battery packs with cells, electronics and wires inside). Now I use http://www.extrastep.ai for many of my projects, you can point directly at the 3d model and say "I want holes here and here" or point at an edge and say "filet that with R=2mm", you can put requirements that the model keeps following like "keep these faces 10mm apart going forward", I believe they keep some parametric model underneath from what I see in the agent reasoning.
I tried to use an LLM for reasoning about a quite simple 3D project (a box with rabbet joinery) and it created a convincing UI and so forth, but when the DXF was examined, it was _not_ workable.

I was able to (eventually) get a working file by laboriously describing the geometry of each part and its joinery in exhaustive detail:

https://community.carbide3d.com/t/a-simple-cnc-box-in-depth/...

Next up is adding a hinged lid to the existing sliding and no-lid options.

I've been hoeing this row for a while now and have arrived at:

https://github.com/WillAdams/gcodepreview

which I am working to integrate with this new realm of apps.

Fed your tool the prompt:

>Create the parts for a box with hinged lid using rabbeted joinery with V grooves at the edges to hide the end grain, arranging all joinery to minimize voids.

and it did manage a rather prosaic sort of box which uses hinges, rather than the integrated sort which I was envisioning:

https://www.zelm.ai/p/gm7gfQLtL6

However, the DXF views seem to all be top-down and were not useful for actually cutting.

That said, I went through a lot more to arrive at a usable tool to make rabbeted boxes w/ sliding lids and an option for no lids:

https://studio.flet.dev/apps/bicQWc3Aul

https://cutrocket.com/p/x3snfnc9k1mx8

Thing is, I find natural language a really bad fit it describe a 3d model.
That's why the better tools use 3D images to generate the CAD models. And use natural language optionally to describe the model
Been a free tier fusion 360 user for years and recently switched to solid craft, it’s been amazing. Faster and nicer for what I do (3d printing stuff mostly) no cloud stuff and I can also use it via MCP which I find to be a nicer workflow than openscad

https://solidcraft.io/

Freecad never really worked for me well would get stuck frequently and not be able to figure it out.

This is probably best full on AI clone we've seen. It is very bad news for all the established (Adobe, Autodesk) software.

The authors have this custom process where humans pick yes/no on features/commits without looking at the code at all. The are abusing many claude 200usd subs and the tokens costs are apparently close to 100k usd.

But still this is very bad news for traditional software.

+1

I’m now using Solidcraft as a daily driver and it’s great. Some areas seem perhaps a bit ‘fragile’ (filleting, possibly surfacing) but overall it’s very stable and usable.

FYI Fusion free tier also has an mcp, which is enabled in the settings. However, unless you give it guardrails like using constraints etc AI will make very shitty unmaintainable designs.
I used MCP to design a video game controller holder that clips onto a mic stand (e.g. for Rock Band/Stage Tour).

Took a lot of effort. I was certainly supervising, but I don't know enough CAD to replicate an industrial designed video game controller. It made something that would have been outside of my skillset, and it did indeed hold a real controller on the first print.

Why would anyone use fusion these days.
Because CAD only solves half the problem, and the open source CAM packages that I have tried can only create simplest Gcode machining operations operations compared to a commercial package. If you want to cut a basic perimeter, you are golden. If you want to have automatic compensation for tool flex / spring-back, advanced stairsstep milling to minimize distortion due to internal stresses, or more than 3 axis control, you are out of luck.

That said, I am working to transition to Solidworks as the noncommercial license is only $24 a year, while Fusion continues locking more and more basic functionality behind the paywall, and their first paid tier costs way too damn much for hobby work.

Because it works well and is quite user friendly?
CAM
have you tried https://macadamcad.com ? It's not open source but it's kernel is much more solid for complex models and organic shapes, among other things. It's also programmable with a node base graph engine similar to Rhino's grasshopper...
FluidCAD author here. Thank you for review.

To be honest, I did not expect it to reach this level of interactivity when I first started it. I only wanted to add few interative features to make CAD by code more enjoyable. Now it has become more of UI driven CAD with the code there when you hit a wall.

I'm going to add tools for surface modeling + tech drawings soon then I'll lock features for v1.

Thanks very much for creating it.

Despite my limited experience with fluidcad, and some minor issues, it's probably already more practically useful to me than onshape and certainly more useful than freecad.

Once I actually started using fluidcad, I was really surprised by how smoothly the the source code and the gui interactions work together. Using build123d and onshape, it seemed really obvious that something along that those lines could be really useful, but it really was surprising to experience how well and smoothly it works in your implementation.

Is there a preferred way to discuss with other users (or you) at the moment?

There's one key thing I want to be able to do that doesn't appear to be supported. But possibly it's already there and not documented - haven't investigated properly yet.

Github discussions or reddit https://www.reddit.com/r/FluidCAD/ Also feel free to contact me via email contact[at]marwan.dev
Awesome work so far, following this very closely! Like the OP FluidCAD is by far my favorite of the 'new' cad programs that have exploded over the last few months.
I’ve been following FluidCAD since early this year, the direction it’s going in is absolutely fantastic. It’s been a joy to use, thank you.
I'd not heard of FluidCAD until now, but this proposition:

> Model with the mouse. Control it with code.

sounds like what I loved about Flash when I first got into making things. Definitely wanna try FluidCAD now!

FluidCAD is pretty fantastic and probably has the best UI out of the OpenCascade based CAD imo.
>> Solvespace is a really beautiful piece of software but quite limited.

Maintainer here. We just merged the long-wanted named parameters capability, so you can try it in the "nightly" builds on github. Not only that, but relation constraints (arbitrary equations on a sketch) and fully parametric parts - regenerated per-instance each with own parameters. Also in the works but not in yet are linking STEP files in assembly (up to the capability of our NURBS kernel) and a fillet and chamfer tool. All that on top of a huge number of geometry kernel bug fixes. We are still not using OCCT, but bringing all this capability to the same few megabyte executable. Oh, and the single-window interface is in. Still looks the same but the next release will be incredibly more complete.

I am excited to try the changes
Well, if you like code CAD, I think I've finally got my implementation of CAD app to a state that isn't absolutely embarrassing now, if people would like to try it out.

https://helios-cad-wasm.yuechenli.chatgpt.site/

Be warned though, the Firmament DSL used is designed to be LLM friendly, so it's a language that's way easier to read than it is to write, and it has a very nontraditional constraint system.

This is quite cool, I think you had some similar ideas to mine. With LLMs your parts can at least be named nicely! What is nontraditional about your constraint system?
There is no traditional 2D constraint solver for parallel/perpendicular/equal, etc. Instead, constraints are requirements generalized in code as Concepts and construction geometries (planes, axis, profiles, etc.) are unified as Concept Structs and erased at compile time like TypeScript, so over/under-constraint for sketches doesn't exist because the constraints are explicit and pre-resolved.

It's easier if I show you some sample code.

https://github.com/yuechen-li-dev/Aetheris/blob/master/fixtu...

FluidCAD looks very interesting, but when I tried it I got:

>The FluidCAD engine did not start within 30s.

which is an open issue: https://github.com/Fluid-CAD/FluidCAD/issues/80

Not sure what the issue is. I did see that a couple of times on a slow windows vm but it stopped happening after I reopened the app.

I tried it again a few days later on a Mac and went through a couple of the tutorials and then did a couple of hours of actual work without any major issues.

So yeah, definitely some rough edges at the moment, but once I got past those, the overall experience was surprisingly good.

That issue should have been fixed but probably there is a regression in the last release. I'll check it. Do you mind telling me you environment details?
Windows 11 w/ far too many programs installed (and in not enough cases uninstalled).
> which is an open issue

> closed this as completedon Oct 5

Hmmm?

I was looking at a couple of issues in researching this and obviously confused them.
But still no decent foss alternative to parasolid, which really limits foss cad software
>> There has been a recent explosion in open source cad options.

Yea, especially more so with ArtCraft cloning the more expensive stuff.

It would not surprise me to see ArtCraft versions of DS CATIA/MatLab/Wolfram that can compete with the originals, in the near future.

Sounds interesting, but, sigh, javascript…