Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotbim and stl #27

Open
raviapatel opened this issue Jun 14, 2023 · 4 comments
Open

dotbim and stl #27

raviapatel opened this issue Jun 14, 2023 · 4 comments
Labels
question Further information is requested

Comments

@raviapatel
Copy link

raviapatel commented Jun 14, 2023

This is a very interesting project. I am very interested in how this can be taken forward in context of 3d model to simulations. Therefore my question is are there converters for dotbim to stl or something which can be used for meshing in fem solver? I can imagine this could be straightforward as both format stores meshes

@paireks
Copy link
Owner

paireks commented Jun 14, 2023

Hey @raviapatel!

The simplest solution if you'd like to convert to .stl is to use https://3dviewer.net/ exporter. You can easily update .bim file and export .stl from there to use it for meshing in another FEM software.
2023-06-14_14h43_23

Let me know what you think and the results of your tests :)

@raviapatel
Copy link
Author

ok i see any solutions with python ??? which can be integerated directly in workflows?

@paireks
Copy link
Owner

paireks commented Jun 14, 2023

I haven't created any .bim -> .stl Python scripts / converters, but I guess they should be relatively easy to implement. Check out this example with numpy-stl: https://micronote.tech/2020/12/Generating-STL-Models-with-Python/

@paireks
Copy link
Owner

paireks commented Jun 14, 2023

Also you can check a trimesh library, that has some .stl capabilities: https://trimsh.org/trimesh.exchange.stl.html
There is some example of .bim -> trimesh, so maybe this one would be interesting for you: https://github.com/paireks/dotbimpy/blob/master/dotbimpy/other/DotbimToTrimeshScene.ipynb

@paireks paireks added the question Further information is requested label Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants