Top
Best
New

Posted by c0nsumer 3 days ago

OpenSCAD is kinda neat(nuxx.net)
322 points | 248 commentspage 5
typesafeJ 2 days ago|
I created a simple go library to output OpenSCAD code a few years ago. https://github.com/richi0/gocad
zihotki 3 days ago||
Mind you, it can't export to step file. That makes it impossible to re-use the models in other CADs to make assimblies. Also it's tedious to use for 3d printing when you want to include modifier objects with your model. Otherwise it's great and good enough for part modeling
timonoko 3 days ago||
I have solved the only problem OpenSCAD ever had and that is

  total lack of interactivity.
https://youtu.be/eG5lhLYvihQ?si=ehet5COZhiNrcK9b
timonoko 3 days ago|
Now they say newest version of OpenSCAD has this functionality builtin. It took only a year.
xixixao 3 days ago||
This is important and should be a given. But the more interesting challenge is to highlight the object you’re editing (where your cursor is). It’s not clear even how to exactly visualize it (it could be inside subtract of union of subtract etc).
timonoko 3 days ago||
It moves or grows or whatever. What other indication you want?

I have not yet invented any other improvement.

I tried decimal points, but that was stupid, you just add "/100" if you want micrometer accuracy.

ai-christianson 3 days ago||
Is OpenSCAD still being maintained?
floating-io 3 days ago||
Yes. The "official release" is just so old as to be useless at this point. They should either update it or take it down and point people at github or something, IMO.

I use the latest version all the time. The newer renderer ("manifold", IIRC) is much faster, and there are newer facilities that make it possible to build 3MF files containing multiple objects for multi-color printing, though that takes a bit of thought to do correctly.

MattRix 3 days ago||
Yes everything this person said is correct. The Manifold backend is no joke, probably 100x faster.

To do multi-color printing it’s pretty easy now, just turn on the poorly named feature in preferences called “lazy-unions”. This will make it so that each top level object in your file gets exported as a separate subobject in the 3mf file.

crazysim 3 days ago|||
Apparently the nightlies are the one to use. At least, they build it for Apple Silicon in those.
MattRix 3 days ago|||
Yes, but the main downloads on the site are very old for some reason. Just get the nightly version instead, and then in Preferences -> Advanced -> Backend change it to “Manifold”. It will make your models “render” 10x faster (or more!).
bdcravens 3 days ago||
I believe that's the default now (at least in the latest MacOS nightly)
coryrc 3 days ago||
It is for all nightly builds, starting in the last few months.
MattRix 2 days ago||
Good to know!
c0nsumer 3 days ago|||
The last release was 2021.01 but the GitHub repo seems to be recently updated. So I'd say... Maybe?

That said, there are often times software gets so stable that not having a new release for years is fine. Maybe this is one of them?

(I'm very new to OpenSCAD so I haven't run into bugs yet... But maybe it's pretty solid?)

aeonik 3 days ago||
Yes. https://github.com/openscad/openscad
bdcravens 3 days ago|||
It's worth noting they haven't had a new "release" in 4 1/2 years, so you'll have to build it yourself or download a development snapshot

https://openscad.org/downloads.html#snapshots

aeonik 2 days ago||
I totally forgot about this.

I build from git using the AUR.

starkparker 3 days ago|||
More usefully, https://github.com/openscad/openscad/issues/3640
bilsbie 3 days ago||
FYI I’ve had really surprising success using AI to generate openscad code.

And even if it’s not perfect it saves a lot of time looking up the documentation and generally gets the relationships between objects right.

WillAdams 3 days ago||
There is at least one blind designer who has been using this approach to surprisingly good effect:

https://makerworld.com/en/models/2040939-accessible-christma...

cmrdporcupine 3 days ago||
I came here to ask how good LLMs are at working with this. I wonder if a person could take it a step further with some MCP tools that the agent could use to verify and work with the design.
platevoltage 1 day ago||
I love it. It's really the only 3d modeling that I know to do. I've been enjoying it more after setting up VSCode as the editor.
gunalx 3 days ago||
Once had a complex model that would fully crash and lockup fusion, but once redone in openscad rendered after a little while. (badly designed + slow pc at tye time)
ur-whale 3 days ago||
OpenSCAD is great, and I use it all the time.Especially these days if you combine it with an LLM agent like codex and start vibe coding objects (see my other post on this).

However, there are a number of limitations that are truly and deeply frustrating.

1. The language is downright weird. Don't get me wrong, it's a very nice little exercise in implementing a functional-tasting scripting language. Someone obviously wanted to scratch a functional DSL design itch and he did, but the result is unfortunately extremely limiting. Creating a function that does not return geometry is barely possible (only bloody lambdas IIRC). He should have picked python instead (and yes, I know about SolidPython2)

2. From my POV: the main headache with OpenSCAD is there is no way to partially evaluate an object and use the result of that partial evaluation in the rest of the construction. For example, if you try to take two complex assemblies and place them tangent to one another ... very good luck to you sir, I pray and hope the 3D math is really strong with you.

Whereas: if you had a simple rayIntersect(csg_tree, line_in_3d_spce) that would return the first intersection and two normals ... something you can reuse in subsequent transforms and construction, man would life be simpler.

These days, with LLMs you can sort of build a scaffolding to work around this by asking the agent to break down the assembly in multiple stages and use external libraries to do the partial eval for you, but ... ugh ... what a mess.

3. Speed. The moment your CSG assembly gets complex (e.g. uses a ton of morpho ... hull, minkowski, etc...), OpenSCAD crawls to a halt.

4. NO FILLETS. The age-old, standard methodology of building things CSG style with cubes, spheres, cylinders, etc ... and then once the object is finished adding the rounding ... simply not possible with OpenSCAD. Adding fillets after the fact once you've built a complex CSG tree ... nightmare with OpenSCAD.

So, YMMV, but caveat emptor, if you get serious with the toole, you're bound to hit some very hard walls.

WillAdams 2 days ago|
For a different language choice see:

https://pythonscad.org/

rcarmo 3 days ago||
I’ve been using it for almost a decade and I still miss proper fillets and chamfers (and yes, I know the usual tricks).
VerifiedReports 3 days ago|
Anything that helps people shun Autodesk's despicable, anti-customer and anti-industry practices is laudable.
More comments...