r/coolgithubprojects • • 22h ago

I made a free, open-source, offline parametric CAD program for designing 3D-printable parts

Post image

Hi everyone!

I've been working on an open-source project I'd like to share: FreeShape.

It's a free, open-source parametric CAD program inspired by Onshape, but it runs entirely on your own computer. No cloud, no account, no subscription and your designs stay yours.

I really like Onshape's workflow, but wanted something I could use locally without depending on a cloud service. I also wanted to make something that was genuinely free and open source.

So I built FreeShape.

What can it do?

  • Constrained sketches and parametric modelling
  • Extrude, revolve, sweep, loft, fillets, chamfers and holes
  • Feature history and editable dimensions
  • Variables and configurations
  • Assemblies with mates
  • STEP import/export
  • STL export for 3D printing
  • 2D technical drawings (PDF and DXF)
  • Sheet metal modelling and flat patterns

It's built on OpenCascade, the same geometry kernel used by FreeCAD, with Python and Qt.

It's released under GPL-3.0 and runs on Windows, macOS and Linux.

It's still actively developing, and I'm sure there are rough edges and features missing. I'm not claiming it's going to replace everyone's existing CAD software!

I'd particularly love feedback from people who use CAD regularly:

  • What features would you like to see?
  • What would stop you using it?
  • Are there any frustrating parts of your current CAD workflow that you'd like to see improved?

If anyone fancies giving it a try, the source code and downloads are here:

GitHub: https://github.com/richiewillmott/FreeShape

Feedback, bug reports, suggestions and contributions are all very welcome.

Thanks for taking a look!

12 Upvotes

8 comments sorted by

5

u/notddh 22h ago

Claude, I'm too dumb to learn a CAD tool I can afford. Please reinvent the wheel for me.

5

u/leonardo_albertovich 19h ago

I've been using onshape for a few years and I love it dearly but I've found that the online thing bit me in the rear a few times when I was on long train trips (4 - 8 hours) so I tried to move to freecad and found the UX to be much worse (I know, it's a me problem).

I changed a bunch of settings to get it to feel close-ish to onshape but there were a few things I couldn't do (ie. the macro code for "deselect all" I wrote was correct but couldn't get it to work), the rotation mechanism got close to it but couldn't match it with any combination of settings and the plane selection UI was just ugly compared to onshape (I know, it's petty).

This year freecad improved themendously on most fronts but I'd still like to see someone use AI to patch freecad to match those aspects. In fact, I'll give it a try myself.

What do you think about this? I'm asking honestly because I used to dismiss AI until I started using it and understood how much of a force multiplier is when the user knows what they're doing.

3

u/EnoughImagination702 19h ago

Not petty at all! Those exact things are why I made FreeShape. It's the Onshape workflow fully offline. Space deselects all, right-drag rotates around the point under the mouse, and 2.4.0 just added Onshape-style picking (planes come last, Tab cycles through what's under the mouse), resizable planes and most of Onshape's shortcuts.

Patching FreeCAD is a great idea too, and I'd love to see how you get on. Agreed on AI: it's a huge multiplier, but you still need to know what you want and test everything. If you try FreeShape on a train trip, I'd love to hear what still feels off compared to Onshape.

3

u/leonardo_albertovich 18h ago edited 18h ago

Dang, I'll have to try it after all, thanks for sharing.

What do you think your app is missing in terms of features and/or interoperability?

Do you plan on adding support for a script system similar to (or exactly) the one in onshape? I don't use many user scripts but I liked the threading and gear ones.

Also, do you have any plans to add a CAM workbench or do you think it'd be out of spec? (maybe a stand alone app would be the best way to keep the projects small, IDK)

As a free user not being able to use the CAM workbench was the most important reason (since I don't live on a train...) for me to look for a different tool (I really sucked at kirimoto and hated the experience).

Edit: To clarify, I have one of those small 3018 CNC mills that I mostly use manually both because I enjoy using it that way and because I had terrible experience with the CAM tools I tried.

Note 2: As a side note, I'm in the process of releasing a completely open source pendant (MPG) for the genmitsu 3018 prover-v2 which I'm working on with Qwen locally.

The hard part is done, all of the RE and test iteration to figure out the MPG port and and MVP are complete.

The next step is to actually make a board for the 3 mouse scroll wheels, feed rate buttons, DB-15 port and esp32 socket.

Once I find the components (lost in my pile of garbage) I'll test it and publish the project so others can make their own ultra cheap MPG.

2

u/EnoughImagination702 17h ago

Thanks, I hope you like it!

What's missing: the honest list is in the README. The big ones are flexible sub-assemblies, mate limits, and loft guide curves and tangency (OpenCascade doesn't make those easy). It's also one person's project, so it hasn't been tested on as many machines as FreeCAD. For files, it has STEP in and out (with colours), STL, BREP, and PDF or DXF drawings with proper dimensions. No IGES or 3MF yet.

Scripts: not FeatureScript, but Python plugins can add proper parametric features with their own dialogs. Threads are built in already (real ISO threads in Hole and on cylinders). There's a spur gear plugin, gear, rack and screw relations in assemblies, and plugins for timing pulleys, Gridfinity and laser-cut boxes. 2.4.0 can also export a whole project as a Python script and rebuild it.

CAM: not planned for now. I agree it would work better as a separate app, so FreeShape stays focused. For now you can export STEP and use FreeCAD's CAM workbench, which has improved a lot.

Your MPG sounds great! Reverse-engineering the port is the hard bit, so a cheap open-source pendant for the 3018 will help a lot of people. Post the link when it's up!

2

u/Radiant-Somewhere-97 21h ago

Another one. Claude can do this with his eyes closed. He's already done about 20 of them this month.

1

u/vmcrash 4h ago

How does it differ from SolveSpace?

1

u/slightfeminineboy 17h ago

why is it in python