Clear Filters
Clear Filters

From .stl to mathematical function. Is it possible?

17 views (last 30 days)
I have a 3D object as a .stl file. I need its analytical definition ( = its mathematical function). I know importGeometry function, but its output argument is a DiscreteGeometry object and I need something more analytical like a real mathematical function. Can someone help me? Thanks

Accepted Answer

Anton Semechko
Anton Semechko on 7 Jun 2018
If the object is has a relatively simple geometry and you want to get a compact description of its shape, one of the following representations could work: superquadratic [1], hyperqurdaric [2], so-called "supershape" [3]. If the object isn't so simple, you can represent it in terms polynomial bases or radial basis functions. There is a vast number of other possibilities, however.
[1] Zhou & Kambhamettu, 2000, Extending superqudratics with exponent functions [2] Ohuchi & Saito, 2001, 3D shape modeling with extended hyperqudratics [3] Fougerolle et al., 2006, Rational supershapes for surface reconstruction
  4 Comments
Davide Bassano
Davide Bassano on 15 Jun 2018
Thanks.
That function wants a triangular mesh as input. How do I get it from my 3D data set?
Anton Semechko
Anton Semechko on 15 Jun 2018
This function (also available from FEX) will generate a watertight triangular surface mesh from a 3D point cloud:
https://www.mathworks.com/matlabcentral/fileexchange/63730-surface-reconstruction-from-scattered-points-cloud

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!