ladybug-tools / ladybug-geometry

🐞 📦 A library with geometry objects used throughout the Ladybug Tools core libraries
https://www.ladybug.tools/ladybug-geometry/docs/
GNU Affero General Public License v3.0
25 stars 23 forks source link

Add Mesh3D.from_stl method #338

Closed chriswmackey closed 2 years ago

chriswmackey commented 2 years ago

This is going to be important for integration with CFD workflows in particular. It seems stl format is all in human-readable text. So this should hopefully be pretty straightforward.

mostaphaRoudsari commented 2 years ago

This might help as a sample:

https://github.com/proverbialsunrise/pySTL/blob/6afb180e14ee13fe313028cc9d9efa9104f7b1fe/pySTL.py#L95-L188