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.5mm
Thanks in advance, Ive been trying for hours
0
Best Answer
-
leon_poot Member, Developers Posts: 87 ✭✭✭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
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 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
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).
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
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
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
This is my nonuniform scale feature: https://cad.onshape.com/documents/ccbbbcd87f9c80f9650af745/v/d3f3849203d96becc718a958
If not I can try it out this weekend.
Yea, one of these days I'll sit down and learn FS
but it looks like @leon_poot nailed it already
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.Y
Thanks for reminding me of that set of tools.
BTW there's an issue with the Lattice example: