Live data from Hacker News

Show HN: Design/build of some parametric speaker cabinets with OpenSCAD

calbryant.uk

11–20 of 28 posts

Re: Show HN: Design/build of some parametric speaker cabinets with OpenSCAD

#11
I am an (amateur) developer so when I needed to create some simple 3D objects to print them afterward OpenSCAD looked like a dream come true ("object as code" :)).

I tried three times (over two years) to use it but it was absurdly difficult to build a piece, with something that looked like "callbacks from hell" in JS (boxed in boxes in boxes of code. I had to keep track of the position all the time and there are no constraints.

Compared to that I tried Onshape (the free version which is almost the full one but all models are public) and it took me an afternoon to create my pieces. It was really simple, on a generic laptop without any power (a Lenovo P14s)

Re: Show HN: Design/build of some parametric speaker cabinets with OpenSCAD

#12
post #9

Tangent I feel like such a noob still using SketchUp but it works, Fusion360 is on my list to learn at some point There are some great tools like GLB export (Khronos) for ThreeJS and STL mesh check for 3D printing.

Don't feel like a noob, SketchUp's interface and controls are AMAZING (or were in 2016, which is where I am stuck because I do not want to "upgrade"). I have tried many modeling tools over the years, but always come back to using SketchUp for moderately complex designs. I haven't seen a CAD tool that does exactly what I want yet, which is to be able to define geometry either via a GUI or code (e.g. build123d), but then to easily go back and forth between the two, say adjusting some geometry output manually with my mouse by dragging it, and having the code update as well (which I acknowledge is difficult).

Re: Show HN: Design/build of some parametric speaker cabinets with OpenSCAD

#13
post #9

Tangent I feel like such a noob still using SketchUp but it works, Fusion360 is on my list to learn at some point There are some great tools like GLB export (Khronos) for ThreeJS and STL mesh check for 3D printing.

I noped out of Fusion360 due to the intrusive (and dark-pattern) onboarding. Having to create an account is going to be a deal-killer for me for what should be standalone software. It feels like they may well pull the rug out from under the community at some point.

I never could "get" SketchUp. (Didn't they also kind of become more of a walled-garden after Google or whoever sold them off?)

Went with FreeCAD instead. I'm pretty sure it is grossly inferior to Fusion (the Mac version crashes on me periodically) but is free as in Blender. It has worked for the simple things I have been sending to the 3D printer.

Re: Show HN: Design/build of some parametric speaker cabinets with OpenSCAD

#14
I recently build a Hexibase subwoofer and a lot of stuff you described was along the same lines. Even better, I have an UMIK-1 on order and the calibration parts will come useful too. Didn't know about CamillaDSP, gotta check it out if I don't like Equalizer APO. Thank you for posting this!

Re: Show HN: Design/build of some parametric speaker cabinets with OpenSCAD

#15
post #9

Tangent I feel like such a noob still using SketchUp but it works, Fusion360 is on my list to learn at some point There are some great tools like GLB export (Khronos) for ThreeJS and STL mesh check for 3D printing.

If you like those, take a look at OnShape. Completely free and browser based. I had a great time designing some wainscotting with it.

Re: Show HN: Design/build of some parametric speaker cabinets with OpenSCAD

#16
post #9

Tangent I feel like such a noob still using SketchUp but it works, Fusion360 is on my list to learn at some point There are some great tools like GLB export (Khronos) for ThreeJS and STL mesh check for 3D printing.

If you like those, take a look at OnShape. Completely free and browser based. I had a great time designing some wainscotting with it.

yeah that looks good, trying to avoid a multi-thousand dollar price tag

Re: Show HN: Design/build of some parametric speaker cabinets with OpenSCAD

#17

I am an (amateur) developer so when I needed to create some simple 3D objects to print them afterward OpenSCAD looked like a dream come true ("object as code" :)). I tried three times (over two years) to use it but it was absurdly difficult to build a piece, with something that looked like "callbacks from hell" in JS (boxed in boxes in boxes of code. I had to keep track of the position all the time and there are no c…

You should have a look at CadQuery It is a pyhton library witch uses opencascade. 3d models as code, pyhton and since it is opencascade you get relative and feature based positioning.

Re: Show HN: Design/build of some parametric speaker cabinets with OpenSCAD

#19

> As the design was fully parametric, I could change a single variable to move to a floorstanding design. How far are we in 2025 from defining a Differentiable design, setting a target (e.g. maximally flat frequency response for a certain speaker placement in a certain room) and solving this automatically?

A basic speaker can't do a lot to improve "room acoustics" [1], particularly below the Schroeder frequency where room modes greatly affect the bass response. From my experience, it's the bass that needs fixing in room, because even a "perfect speaker" will get boomy/muddy at some frequencies (ie. reflections overlapping constructively), and thin/null at others (ie. reflections overlapping destructively). And if you aren't going to worry about "fixing the room", then there are already companies/products like Kali Audio IN-5 speakers [2] that have squeezed in some good performance and tech (eg. active DSP with coaxial driver) in to an affordable package.

There are ways to improve the bass situation, and one is by implementing "directional bass", aka a Cardioid array. This could be achieved with multiple individual speakers (add-on/upgrade existing system), or could be integrated in to 1 "speaker". Examples of the latter have been around for a few years - see Dutch & Dutch 8c or Kii Three. They are relatively expensive (which you could consider an early adopter tax), but affordable competition is starting to mature with speakers such as Mesanovic CDM65 [3].

There is another way to improve things too, and that is via "Active Room Treatment" [4] as Dirac calls it. Basically it uses excess capability in various speakers to "clean up" the audio of other speakers in the system by outputting "cancellation waves" (to cancel the problems). The results appear amazing, but they are taking their sweet time getting it released on to affordable equipment.

There's also "spatial audio" like Dolby Atmos that should/could work around room problems in a similar way to Dirac ART. So good speakers (like already exist) + ART + Atmos + AI "upscaled" 2 channel source music could be the final frontier? But that's just for "mechanical" sound reproduction. Maybe in the future I can just transmit the song straight in to my brain, bypassing my ears and the need for speakers entirely?!

[1] https://en.wikipedia.org/wiki/Room_acoustics [2] https://www.kaliaudio.com/independence [3] https://www.audiosciencereview.com/forum/index.php?threads/m... [4] https://www.dirac.com/live/dirac-live-active-room-treatment/

Re: Show HN: Design/build of some parametric speaker cabinets with OpenSCAD

#20
post #10
post #4

Fyi the latest builds of OpenSCAD have a new fast-csg library. My compiling never takes more then a minute, usually it's less than a second. Waiting over an hour to compile a CAD drawing seems untenable to me. https://ochafik.com/jekyll/update/2022/02/09/openscad-fast-c...

Since then there's manifold. It's even faster. To be clear, it was an hour years ago, now it's 1m40s. This includes all post processing and PNG rendering too.

Yes, manifold has been the way to go. I still get geometric artifacts with fast-csg and it doesn't nearly have the same impact on performance. Took a day-long compilation down to 10m for me just adding the `--enable manifold` flag.
Post reply on HN