Remix.run Logo
Cargo4286 13 hours ago

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/
gwbas1c 2 hours ago | parent | next [-]

build123d isn't Microcad

asimeqi 12 hours ago | parent | prev [-]

If you are using build123d, probably the easiest way is to sketch an ellipse and revolve it.

Cargo4286 12 hours ago | parent [-]

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.