How to create ellipsoid? #183
Replies: 2 comments 1 reply
-
There is indeed an ellipsoid function in OpenCascade: https://dev.opencascade.org/doc/refman/html/class_i_g_e_s_solid___ellipsoid.html To use this you should check if it is part of the javascript library opencascade.js. If not you are out of luck. Else you could try to write a new function to extend the capabilities of Replicad. I tried a similar thing in CascadeStudio but it is not simple. I managed to create adaptations of existing functions, e.g. look at how the sphere function is defined and adaot that to ellipsoid. |
Beta Was this translation helpful? Give feedback.
-
I searched a bit more and found this statement (however I do not know the author of this statement): "Ellipsoid primitive doesn't exist in opencascade. The class for ellipsoids that I referenced earlier is probably not usable for creating new solids (primitives). Using the same approach as FreeCad would require a modification to allow for non-uniform scaling. |
Beta Was this translation helpful? Give feedback.
-
Moved from #182
How to create ellipsoid?
For example, FreeCAD(Which also use OpenCascade) supports ellipsoid that have 3 different sizes.

Can we have similar thing in replicad?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions