Converting a 3D object (in spherical coordinates) to an stl.

26 Ansichten (letzte 30 Tage)
Erin Cox
Erin Cox am 3 Jul. 2020
Bearbeitet: DGM am 2 Okt. 2025 um 8:39
Hello all,
I am currently working on a project in which I will eventually 3D print antenna radiation patterns. As part of the project, I have to use spherical coordinates from a 3D object and convert the file to an stl. I have explored several options for how to do this, but I was wondering if anyone had ever done this before. If so, what was your overall method to converting from the 3D object to the stl?
Thank you in advance!

Antworten (2)

Monisha Nalluru
Monisha Nalluru am 8 Jul. 2020
You may use stlwrite to convert a 3D object to STL file from triangulation.
There is also a File exchange available to extend stlwrite to export variety of inputs(path/surface) to STL
  1 Kommentar
DGM
DGM am 2 Okt. 2025 um 8:36
Bearbeitet: DGM am 2 Okt. 2025 um 8:39
Unless you change the name, installing #20922 in any modern version will cause a name conflict, making the built-in stlwrite() inacessible. If you want to use it, rename it.
Alternatively, if the goal is support for inputs not accepted by the built-in tool, then just use FEX #182013 instead. It supports everything that #20922 does, and more. It won't cause conflicts in modern versions, and it's compatible with the last 16 years worth of releases.
For the given case, it's not likely that any third party tools are necessary. At most, surf2patch(...,'triangles') and stlwrite() should be all that's necessary.

Melden Sie sich an, um zu kommentieren.


DGM
DGM am 15 Jul. 2025
Bearbeitet: DGM am 2 Okt. 2025 um 8:37

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by