iat-cener / tonatiuh

A Monte Carlo ray tracer for the optical simulation of solar concentrating systems
http://iat-cener.github.io/tonatiuh/
GNU General Public License v3.0
55 stars 15 forks source link

Size too large when importing CAD Shape #86

Open powelld opened 7 years ago

powelld commented 7 years ago

Hi,

I seem to be having some issues with the CAD shape import function in Tonatiuh. I have created a .STL file of the shape geometry I wish to use in solidworks (pretty simple, just a diamond shaped flat plate heliostat), however when I import it into tonatiuh the size of the shape is huge compared all of the other geometry in the simulation environment even though I've set the dimensions correctly in solidworks.

Any ideas what the issue might be?

ilescener commented 7 years ago

Dear user,

Importing CAD surfaces with a fine mesh used to crash Tonatiuh. That bug was fixed some time ago but it could be something related to it. Could you send me the .stl file you are importing and I'll do a deeper search? Meanwhile you can try to make the mesh larger so the .stl file is less weighty and Tonatiuh is able to import it.

Regards Iñigo

powelld commented 7 years ago

Hi Inigo,

I believe the issue has been resolved (seems like it was something to do with the dimension settings when I was changing the file from a .sldprt file to a .stl file).

Thanks!