Live data from Hacker News

Parametric CAD in Rust

campedersen.com

41–50 of 184 posts

Re: Parametric CAD in Rust

#42
Is anyone else put off by the AI-sounding text? Two things that give it away for me are the excessive use of punctuation-emphasized sentence fragments ex:

> No clicking. No undo. Just recompile.

> That's our mascot. Entirely CSG.

> No garbage collection pauses. No floating point surprises from a scripting layer.

And worst of all, the dreaded "and/but honestly":

> But honestly, the main reason is the toolchain.

Am I misreading things?

Re: Parametric CAD in Rust

#43
post #31

[flagged]

[flagged]

GP perhaps did not say it in a polite manner, but their criticism is valid.

Please have a check on a different monitor and browser than you are currently using, as most of the article is unreadable. Code blocks are nigh unreadable, and the screenshots are washed out as if they were HDR with improper tone mapping (I tested both with Firefox on Linux and Safari on iOS).

It's a shame, because it made me gloss over the article.

Oh, and the screenshots have the same issue both on the blog post and on the main vcad.io website. Funnily enough, code snippets on vcad.io have proper readable colors as opposed to your blog (they're still too dim to be comfortable though, but they're readable).

Re: Parametric CAD in Rust

#44

This sounds a lot like Fidget ( https://github.com/mkeeter/fidget ) and libfive ( https://github.com/libfive/libfive ) by the amazing Matt Keeter!

I had a lot of fun playing around with antimony (also from Keeter) a few years ago, but unfortunately it has been mostly abandoned. I heard libfive is supposed to be the next generation, but I haven't experimented with it yet.

Do you know how it compares?

Re: Parametric CAD in Rust

#45
post #5

Curious to how well LLM's work in this context! (mentioned as one of the reasons to embed CAD in Rust) I only know of another text -> STL AI model, I'm quite a bit more excited about this idea. Does someone have experience with this?

I've found LLMs perform surprisingly well here if you target CSG or OpenSCAD. It seems to frame the 3D modeling challenge as a logic and syntax problem rather than a spatial one, which plays to the model's strengths. You avoid the spatial hallucinations common in image generation because it's effectively just writing code.

Re: Parametric CAD in Rust

#47
post #37
post #30

Earlier quoted context omitted.

Read a bit before critisizing: > One thing I care about that most CAD tools don't: vcad is designed to be used by AI coding agents.

For that there’s openscad

I've even already asked an LLM to generate designs in openscad, and there's plenty of examples out there. Obviously there's a complexity limit, but there's also a cheat sheet that makes it pretty easy to discover how to do almost anything that's possible within.

Re: Parametric CAD in Rust

#48
post #28

The opening paragraph is very telling; the author doesn't seem to understand typical pro-level parametric CAD programs available on the market: > I keep designing physical parts for our robots. Motor mounts, sensor brackets, wheel hubs. Every time, the workflow is the same: open a GUI CAD program, click around for an hour, export an STL, realize the bolt pattern is 2mm off, repeat. This doesn't make sense. When you r…

You're correct, I'm completely uneducated! Pull requests welcome :)

The pull request is to delete the project and open SOLIDWORKS or FreeCAD.

But don't actually delete it. It looks like a nice alternative to OpenSCAD. But like OpenSCAD it's really a niche thing for designs that are highly parametric like fasteners, gears, 3D printed boxes, etc.

Like OpenSCAD using it for normal "irregular" CAD is going to be extremely frustrating. Like editing an SVG in notepad instead of Inkscape.

I still feel like there's a unexplored space where you combine the benefits of both somehow though. Like a code-based CAD but it also has a GUI editor that stays in sync and avoids the need to type in coordinates by hand. That would be extremely difficult though.

Re: Parametric CAD in Rust

#50
post #26

SketchUp was my go to for a while but I'm done with parametric personally, trying to fix meshes for 3D printing... time I grow up and use something like Fusion360 seems like or onshape. Still it was good/simple enough for non-round shapes in SketchUp except they have some kind of memory leak/bug at least for the 2017 version. But I guess quit being cheap and buy a modern copy on my part. Edit: oh I guess sketchup is…

SketchUp uses direct modelling, not parametric modelling. I think they even got some patents on direct modelling.
Post reply on HN