Hacker News new | ask | show | jobs
by YuechenLi 15 days ago
Ok, sorry for the late response as I had work, but I think I should spend some time discussing the architecture.

The reason I say Aetheris is next generation is that while version 1(currently preserved on a separate branch)is a much more conventional CSG like kernel with 3D boolean, version 2 is its own architecture and doesn't do direct 3D boolean at all in the current production path, and the vestigial 3D boolean code was left as a fallback as a "build your own boolean" kit. To put it simply, what Aetheris does instead is that it compiles code through multiple intermediate representations into STEP geometries, which is why all kernel operation is done through Firmament V2 DSL and called via templates.

If you are talking about complex assemblies, I have had the 400+ part difference engine mockup assembly on the repo README for months now. But if you want to see more assemblies, I've finally got the frontend to an acceptable (though still buggy) state.

https://helios-cad-wasm.yuechenli.chatgpt.site/

One of the weaknesses of Aetheris is that it's not currently very import tolerant for old nonconformant STEP files well as it usually rejects import of degenerate geometry instead of healing silently. As the only parts I've tested on are modern AP242 from NIST and public files from McMaster, which is why AP214 and 203 imports are still listed as experimental for a reason.

- boxy-with-surfacetex.step is indeed a very simple part, but it is also nonconformant: 30 of the file’s cylindrical faces are bands bounded by two full circles, and the exporter (ST-Developer v14) marks both circles as FACE_OUTER_BOUND when the STEP schema allows at most one outer bound per face.

-raspberry_pi_4_model_b.step: part of it was importer bugs that was never caught (Pcurve on cone was read with incorrect convention, for example), part of it is the assembly contains degenerate geometry (a circle was written as three 120-degrees NURBS arcs, pcurves advancing in the wrong direction, geometry gaps that has the faces and edges disagree with each other on tolerances) etc.

But I think both of these bug report should be on the issue tracker on the repo instead of on HN...