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

26 ビュー (過去 30 日間)
Erin Cox
Erin Cox 2020 年 7 月 3 日
編集済み: DGM 2025 年 10 月 2 日 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!
  1 件のコメント
darova
darova 2020 年 7 月 4 日
Convert spherical coordinates to cartesian first. Show the data

サインインしてコメントする。

回答 (2 件)

Monisha Nalluru
Monisha Nalluru 2020 年 7 月 8 日
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 件のコメント
DGM
DGM 2025 年 10 月 2 日 8:36
編集済み: DGM 2025 年 10 月 2 日 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.

サインインしてコメントする。


DGM
DGM 2025 年 7 月 15 日
編集済み: DGM 2025 年 10 月 2 日 8:37

カテゴリ

Help Center および File ExchangeSTL (STereoLithography) についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by