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
54 stars 14 forks source link

How to import CAD Shapes using a script? #120

Closed ibmendez closed 1 year ago

ibmendez commented 1 year ago

Hey all,

I want to have a lot of CAD files that I want to import into the tonatiuh software. The shape are parts of a helical coil, so the current basic shapes available inside tonatiuh cannot be used. I was planning on creating a script to import these CAD files, but I can't seem to just simply use CreateShape("CAD_Shape"). Is there any way to import CAD shapes via script? thanks!

ibmendez commented 1 year ago

Ah. There's apparently something about import CAD files using a script on the wiki. https://github.com/iat-cener/tonatiuh/wiki/Shape-CAD