Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:
- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
How can I create and ellipsoid?
luis_suarez
Member Posts: 4 ✭
Hi, can someone please teach me how to create an ellipsoid in onshape?
a=25mm b=50mm and c=12.5mm
Thanks in advance, Ive been trying for hours
a=25mm b=50mm and c=12.5mmThanks in advance, Ive been trying for hours
0
Best Answer
-
How about transforming (scaling) a sphere non-uniformly? As far as I can see non-uniform scaling isn't possible in Part Studio, but I gave it a try in FeatureScript, and it looks quite alright to me.

Have a look, let me know if it's any useful or if I have completely missed what an ellipsoid should look like.
https://cad.onshape.com/documents/e5ce6148b9fd30e37eb1f69f/v/291b6cee261376d404f7a701/e/a6629890f4aec0014627bd56
"A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams, Mostly Harmless11
Answers
-
Hi Luis!
I did this for you but it was definitely a little complicated:
https://cad.onshape.com/documents/532b38f642224df15d401cfa/w/941a58bc127033d70d4b7727/e/144129212c83fa16f0095271
To accomplish it I sketched the cross section of the ellipsoid on all three default planes. On two of the ellipses I bisected the sketch faces with matching lines down the center (this is so I could select half of the ellipse instead of the whole thing). On the third ellipse I "split" the ellipse at the four points that intersect the major and minor axes.
https://cad.onshape.com/help/Content/sketch-tools-split.htm
I then lofted the first ellipse into the second ellipse using the split third ellipse as a guide curve.
Written down in text, this is probably confusing. Feel free to copy the document and edit the features to see how I did it.Jake Rosenfeld - Modeling Team2 -
https://cad.onshape.com/documents/c79dd64af6d9e510c22beb9f/w/cd3ff3163e4881619d96b993/e/9cfdc6ae30d7675951f88868
@Jake_Rosenfeld you beat me to it by 1 minute
, but I don't think this is good enough yet...
the lofts are comming to edges.. I see you have the same thing happening
2 -
Hmmmmmm
Yeah it appears this approach doesn't yield tangency over the 4 lofts:
(If anyone is confused, this visualization is the 'Curvature visualization' option in the cube menu under the view cube)
I'll chat with some people about making ellipsoids tomorrow.
As a side note, it should be pretty easy to make a mathematically correct ellipsoid if any two of its axes are equal (should be just one simple rotation).Jake Rosenfeld - Modeling Team1 -
https://cad.onshape.com/documents/c79dd64af6d9e510c22beb9f/w/cd3ff3163e4881619d96b993/e/9cfdc6ae30d7675951f88868
Best I could get was 3 overlapping parts, one from each axis, but they don't bool union because the intersecting surfaces are reaching infinity.
and each part's poor approximation You would have to do this an infinite amount of times
Defiantly no workaround I can muster up @luis_suarez.. sorry
1 -
How about transforming (scaling) a sphere non-uniformly? As far as I can see non-uniform scaling isn't possible in Part Studio, but I gave it a try in FeatureScript, and it looks quite alright to me.

Have a look, let me know if it's any useful or if I have completely missed what an ellipsoid should look like.
https://cad.onshape.com/documents/e5ce6148b9fd30e37eb1f69f/v/291b6cee261376d404f7a701/e/a6629890f4aec0014627bd56
"A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams, Mostly Harmless11 -
0
-
Cheers @john_mcclary.
Apparently there is already a FeatureScript out there for non-uniform scaling (I completely missed that), but funnily enough it looks very much the same
"A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams, Mostly Harmless0 -
Leon's scaled sphere solution is correct -- I don't actually currently know of another way of constructing an ellipsoid (for three arbitrary radii) in Onshape.
This is my nonuniform scale feature: https://cad.onshape.com/documents/ccbbbcd87f9c80f9650af745/v/d3f3849203d96becc718a958Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc1 -
@leon_poot or @john_mcclary it seems like it would be pretty easy to make an 'Ellipsoid' custom feature that takes in center, x, y, and z lengths if either of you want to try your hand at it.
If not I can try it out this weekend.Jake Rosenfeld - Modeling Team0 -
@Jake_Rosenfeld
Yea, one of these days I'll sit down and learn FS
but it looks like @leon_poot nailed it already
2 -
Oops! I thought leon made a sphere and just wrote a non-uniform scale. Turns out he wrote thing as one feature! Nice job @leon_poot !!
Jake Rosenfeld - Modeling Team0 -
"A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams, Mostly Harmless0
-
Thanks guys this was a headache!0
-
@leon_poot There appears to be a bug with the transform: when I choose a location other than the origin, it is not actually centered about it. E.g. a point 25mm from origin in Y direction. If Length X and Y are 25mm, it will be centered about 0,50,0. If Length X and Y are [50,25] mm, it will be centered about 0,37.5,0.
In other words, it is being moved by an extra Length.X^2/Length.Y in the Y direction, up to a max of Length.Y0 -
I also made a Sphere primitive custom feature which has non-uniform options. Handy for slappin' some geometry out there quickly.1
-
@Evan_Reese
Thanks for reminding me of that set of tools.
BTW there's an issue with the Lattice example:
Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn
1 -
-
Okay, pardon if I have missed something obvious, but why would you not make an ellipse sketch and then just use the revolve command for this? That's what I would have done.
0 -
You would still have one axis that would be circular if you did it this way.nicholas_radzykewycz said:Okay, pardon if I have missed something obvious, but why would you not make an ellipse sketch and then just use the revolve command for this? That's what I would have done.0









