News for hackers. Stuff that matters.
Re:Parametric CAD in Rust by Cargo4286 on Tuesday January 27, 2026 @10:18PM (#46790642)
Here's an ellipsoid in build123d using geometric transformation of a sphere:

    from build123d import *
    mat = Matrix([[2,0,0,0],[0,1.5,0,0],[0,0,0.5,0]])
    ellipsoid = Sphere(100).transform_geometry(mat)
Also, FYI build123d now runs in the browser thanks to OCP.wasm. Example playground here https://jojain.github.io/build123d-sandbox/
Re:Parametric CAD in Rust by asimeqi on Tuesday January 27, 2026 @10:47PM (#46790819)
If you are using build123d, probably the easiest way is to sketch an ellipse and revolve it.
Re:Parametric CAD in Rust by Cargo4286 on Tuesday January 27, 2026 @10:55PM (#46790877)
The definition of an ellipsoid is that it can have three independent radii. A revolved ellipse only has two independent radii. If only two independent radii are needed then yes I agree with you, but I wanted to provide a fully qualified answer.
Re:Parametric CAD in Rust by gwbas1c on Wednesday January 28, 2026 @08:29AM (#46795103)
build123d isn't Microcad