Live data from Hacker News

µcad: New open source programming language that can generate 2D sketches and 3D

microcad.xyz

101–110 of 139 posts

Re: µcad: New open source programming language that can generate 2D sketches and 3D

#101

Earlier quoted context omitted.

If you want a classical GUI based cad tool for 3D modelling, I'd suggest taking a look at solve space and dune3d

thanks for recs, will check them out

Dune 3D in particular is the only traditional 3D CAD program I've ever tried where I actually made it through the tutorial without a showstopper (still need to find time to try Moment of Inspiration 3D).

Re: µcad: New open source programming language that can generate 2D sketches and 3D

#102

Earlier quoted context omitted.

freecad with the new ui + its openscad integration is pretty good. openscad in general is quite easy if you can functionally program

AFAIK FreeCAD's core OpenSCAD replacement is being suggested for replacement with an alternative so things may further improve. OpenSCAD in a FreeCAD context does address many of the limitations of OpenSCAD, but it's not perfectly compatible.

That's a shame.

If I could use FreeCAD by programming in OpenSCAD, I'd be far more inclined to use it.

Re: µcad: New open source programming language that can generate 2D sketches and 3D

#103
post #46
post #13

Earlier quoted context omitted.

Curious. How much experience do you have with any form of CAD? Is the preference based on that you tried graphical CAD software and you found them lacking, or is it based on imagining how they might work? Last week at the hackspace someone asked me to quickly design a manifold which holds together a scuba mouth piece, a 48mm diameter valve and a nato 40mm screw fitting. They wanted to minimise the internal tidal volu…

I've also been asking myself what people do with programmatic CAD. I've used OpenSCAD once to create a simple, cylindrical object, but about 80% of the things I create (using conventional CAD, like Fusion 360) would be way too complex for that. And even the simplest shapes are just much faster to create and modify in Fusion. Maybe this is the "everything looks like a nail" problem for programmers who have never tried…

For me, I've never done well w/ traditional 3D CAD (need to find time to try Moment of Inspiration 3D), and I've been working on wood joinery where a test joint which was 1" x 2" x 1" took some 20 minutes to do CAM, and created a ~120MB file --- programming the tool movement directly seems a better approach, so I've been working on:

https://github.com/WillAdams/gcodepreview

Re: µcad: New open source programming language that can generate 2D sketches and 3D

#104

Earlier quoted context omitted.

AFAIK FreeCAD's core OpenSCAD replacement is being suggested for replacement with an alternative so things may further improve. OpenSCAD in a FreeCAD context does address many of the limitations of OpenSCAD, but it's not perfectly compatible.

That's a shame. If I could use FreeCAD by programming in OpenSCAD, I'd be far more inclined to use it.

There is another workbench — indeed I think this is possibly a candidate to replace the core one:

https://github.com/KeithSloan/OpenSCAD_Alt_Import

There's also a CadQuery 2 workbench now: https://github.com/CadQuery/cadquery-freecad-workbench/

Re: µcad: New open source programming language that can generate 2D sketches and 3D

#105
post #89
post #31

Earlier quoted context omitted.

Zoo has said it's open to local hosting of the kernel for years. I believe it's a matter of time because it's mostly about legal tape. ucad is based on Manifold, so unfortunately, not really comparable, since it's all meshes vs brep, like OpenSCAD. Note KCL could be completely augmented with another kernel. There are people who've already tried :)

I asked sometime in 2024 and I got a pretty clear response that local/self hosting is not planned.

I'm not sure who you asked, or maybe you asked at the beginning of 2024 but the stance on no-local hosting not a hard one

Re: µcad: New open source programming language that can generate 2D sketches and 3D

#106

Earlier quoted context omitted.

This is my understanding as well.

It's incorrect, then! Lots changed since 2020 in the current 1.0.2 release, including TNP mitigations and the core assembly workbench. The 1.1 developer release (which is stable and useful and getting quite close to final release) contains further TNP mitigations; further improvements to the core assembly workbench; radically better lighting; datums have moved into the core; there's a way of enabling the advanced att…

It's not negativity. My workflow literally hasn't changed in years. The only difference I've noticed has been cosmetic.

Maybe I don't use FreeCAD to it's fullest (I don't) and maybe I don't stay on top of the latest changes (I don't), but I learned years ago to avoid the TNP, and haven't been bothered by it since.

The only noticeable changes in recent years to me have been window dressing, plain and simple. Maybe crashes are less often, but I've also learned not to do things that cause crashes many years ago.

Re: µcad: New open source programming language that can generate 2D sketches and 3D

#107
post #31

Earlier quoted context omitted.

Zoo has said it's open to local hosting of the kernel for years. I believe it's a matter of time because it's mostly about legal tape. ucad is based on Manifold, so unfortunately, not really comparable, since it's all meshes vs brep, like OpenSCAD. Note KCL could be completely augmented with another kernel. There are people who've already tried :)

Don't they use their own kernel? What legal tape?

They do. The legal tape is more like how to use legal tape to protect it :)

Re: µcad: New open source programming language that can generate 2D sketches and 3D

#108

Earlier quoted context omitted.

That's a shame. If I could use FreeCAD by programming in OpenSCAD, I'd be far more inclined to use it.

There is another workbench — indeed I think this is possibly a candidate to replace the core one: https://github.com/KeithSloan/OpenSCAD_Alt_Import There's also a CadQuery 2 workbench now: https://github.com/CadQuery/cadquery-freecad-workbench/

Thanks!

It's especially nice that CadQuery has come full circle (having started as a workbench).

Re: µcad: New open source programming language that can generate 2D sketches and 3D

#109
post #41

I've been using zoo and its KCL language with some success for boundary-representation CAD writing. If I understood correctly, µcad serves the same purpose. Comparing code samples between both of them, I personally enjoy KCL's pipelined approach more. My main beef with zoo is the fact that they are promoting vendor lock-in by forcing users to use their cloud-hosted geometry kernel with absolutely no local alternative…

Lego brick in build123d: https://build123d.readthedocs.io/en/latest/tutorial_lego.htm... Gear in build123d: https://github.com/GarryBGoode/gggears

Fascinating, thanks for sharing!

Re: µcad: New open source programming language that can generate 2D sketches and 3D

#110
There is zero reason for you to have a cookie banner taking up a third of the page.

At this point, everyone making websites should be well aware that there is no requirement for cookie banners and that implementing such is active disrespect towards your users. Your cookie banner does not tell me you care about my privacy, it tells me you're trying to collect some type of data about me and want to annoy me into letting you sell that data.

A cookie banner is exactly as much a red flag as an obviously AI generated hero image at the top of your page. Disrespectful.

Post reply on HN