shapeshifter

所属分类:图形图象
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2024-04-25 06:59:18
上 传 者sh-1993
说明:  shapeshifter,, stars:0, update:2024-04-24 22:40:49

文件列表:
requirements.txt
shapeshifter.py

# Shapeshifter Convert 3D model formats. Supports `.obj` and `.mesh` outputs. ## Requirements - Install Python 3 and pip: ```bash sudo apt install python3 python3-pip ``` - Install necessary libraries: ```bash python3 -m pip install -r ./requirements.txt ``` ## Usage Use the `converter.py` script to convert 3D models: ```bash python ./converter.py ``` - ``: A 3D mesh file compatible with [pyvista](https://docs.pyvista.org/version/stable/api/utilities/_autosummary/pyvista.read.html#pyvista.read), which leverages formats defined by [vtk](https://docs.vtk.org/en/latest/design_documents/VTKFileFormats.html) and [meshio](https://github.com/nschloe/meshio). - ``: Specify the output format as `.obj` (surface) or `.mesh` (volumetric). ### Examples Convert an STL to OBJ format: ```bash python ./converter.py ./model.stl ./model.obj ``` Convert an STL to MESH format: ```bash python ./converter.py ./model.stl ./model.mesh ```

近期下载者

相关文件


收藏者